]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgfortran/configure
Config,Darwin: Allow for configuring Darwin to use embedded runpath.
[thirdparty/gcc.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
200
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
212 fi
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
224 /*)
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
233 fi
234 fi
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279 fi
280 exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298 { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307 return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)$/{
352 s//\1/
353 q
354 }
355 /^X\(\/\).*/{
356 s//\1/
357 q
358 }
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
383 {
384 eval $1+=\$2
385 }'
386 else
387 as_fn_append ()
388 {
389 eval $1=\$$1\$2
390 }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
400 {
401 as_val=$(( $* ))
402 }'
403 else
404 as_fn_arith ()
405 {
406 as_val=`expr "$@" || test $? -eq 1`
407 }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422 fi
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\/\)$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\).*/{
460 s//\1/
461 q
462 }
463 s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
479 p
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
485 b
486 :lineno
487 N
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
517 *)
518 ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
541 fi
542 else
543 as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='GNU Fortran Runtime Library'
589 PACKAGE_TARNAME='libgfortran'
590 PACKAGE_VERSION='0.3'
591 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
594
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 # include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 # include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
630
631 ac_header_list=
632 ac_func_list=
633 ac_c_werror_flag=
634 ac_c_werror_flag=
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 get_gcc_base_ver
640 HAVE_AVX128_FALSE
641 HAVE_AVX128_TRUE
642 tmake_file
643 IEEE_FLAGS
644 IEEE_SUPPORT
645 IEEE_SUPPORT_FALSE
646 IEEE_SUPPORT_TRUE
647 FPU_HOST_HEADER
648 USE_IEC_60559
649 LIBQUADINCLUDE
650 LIBQUADLIB_DEP
651 LIBQUADLIB
652 LIBQUADSPEC
653 extra_ldflags_libgfortran
654 ac_ct_FC
655 FCFLAGS
656 FC
657 ENABLE_DARWIN_AT_RPATH_FALSE
658 ENABLE_DARWIN_AT_RPATH_TRUE
659 enable_static
660 enable_shared
661 lt_host_flags
662 LIBM
663 OTOOL64
664 OTOOL
665 LIPO
666 NMEDIT
667 DSYMUTIL
668 OBJDUMP
669 LN_S
670 NM
671 ac_ct_DUMPBIN
672 DUMPBIN
673 LIBTOOL
674 RANLIB
675 AR
676 AS
677 HAVE_HWCAP_FALSE
678 HAVE_HWCAP_TRUE
679 HWCAP_LDFLAGS
680 LD
681 FGREP
682 SED
683 SECTION_FLAGS
684 LIBGOMP_CHECKED_REAL_KINDS
685 LIBGOMP_CHECKED_INT_KINDS
686 LIBGFOR_MINIMAL_FALSE
687 LIBGFOR_MINIMAL_TRUE
688 LIBGFOR_USE_SYMVER_SUN_FALSE
689 LIBGFOR_USE_SYMVER_SUN_TRUE
690 LIBGFOR_USE_SYMVER_GNU_FALSE
691 LIBGFOR_USE_SYMVER_GNU_TRUE
692 LIBGFOR_USE_SYMVER_FALSE
693 LIBGFOR_USE_SYMVER_TRUE
694 AM_CFLAGS
695 AM_FCFLAGS
696 HAVE_REAL_17_FALSE
697 HAVE_REAL_17_TRUE
698 toolexeclibdir
699 toolexecdir
700 EGREP
701 GREP
702 CPP
703 am__fastdepCC_FALSE
704 am__fastdepCC_TRUE
705 CCDEPMODE
706 am__nodep
707 AMDEPBACKSLASH
708 AMDEP_FALSE
709 AMDEP_TRUE
710 am__quote
711 am__include
712 DEPDIR
713 OBJEXT
714 EXEEXT
715 ac_ct_CC
716 CPPFLAGS
717 LDFLAGS
718 CFLAGS
719 CC
720 multi_basedir
721 MAINT
722 MAINTAINER_MODE_FALSE
723 MAINTAINER_MODE_TRUE
724 AM_BACKSLASH
725 AM_DEFAULT_VERBOSITY
726 AM_DEFAULT_V
727 AM_V
728 am__untar
729 am__tar
730 AMTAR
731 am__leading_dot
732 SET_MAKE
733 AWK
734 mkdir_p
735 MKDIR_P
736 INSTALL_STRIP_PROGRAM
737 STRIP
738 install_sh
739 MAKEINFO
740 AUTOHEADER
741 AUTOMAKE
742 AUTOCONF
743 ACLOCAL
744 VERSION
745 PACKAGE
746 CYGPATH_W
747 am__isrc
748 INSTALL_DATA
749 INSTALL_SCRIPT
750 INSTALL_PROGRAM
751 target_noncanonical
752 target_os
753 target_vendor
754 target_cpu
755 target
756 host_os
757 host_vendor
758 host_cpu
759 host
760 target_subdir
761 host_subdir
762 build_subdir
763 build_libsubdir
764 build_os
765 build_vendor
766 build_cpu
767 build
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files=''
807 ac_user_opts='
808 enable_option_checking
809 with_build_libsubdir
810 enable_version_specific_runtime_libs
811 enable_silent_rules
812 enable_maintainer_mode
813 enable_multilib
814 enable_dependency_tracking
815 with_toolexeclibdir
816 enable_cet
817 enable_symvers
818 with_gnu_ld
819 enable_shared
820 enable_static
821 with_pic
822 enable_fast_install
823 enable_libtool_lock
824 enable_darwin_at_rpath
825 enable_largefile
826 enable_libquadmath_support
827 with_gcc_major_version_only
828 '
829 ac_precious_vars='build_alias
830 host_alias
831 target_alias
832 CC
833 CFLAGS
834 LDFLAGS
835 LIBS
836 CPPFLAGS
837 CPP
838 FC
839 FCFLAGS'
840
841
842 # Initialize some variables set by options.
843 ac_init_help=
844 ac_init_version=false
845 ac_unrecognized_opts=
846 ac_unrecognized_sep=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
849 cache_file=/dev/null
850 exec_prefix=NONE
851 no_create=
852 no_recursion=
853 prefix=NONE
854 program_prefix=NONE
855 program_suffix=NONE
856 program_transform_name=s,x,x,
857 silent=
858 site=
859 srcdir=
860 verbose=
861 x_includes=NONE
862 x_libraries=NONE
863
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir='${exec_prefix}/bin'
871 sbindir='${exec_prefix}/sbin'
872 libexecdir='${exec_prefix}/libexec'
873 datarootdir='${prefix}/share'
874 datadir='${datarootdir}'
875 sysconfdir='${prefix}/etc'
876 sharedstatedir='${prefix}/com'
877 localstatedir='${prefix}/var'
878 includedir='${prefix}/include'
879 oldincludedir='/usr/include'
880 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir='${datarootdir}/info'
882 htmldir='${docdir}'
883 dvidir='${docdir}'
884 pdfdir='${docdir}'
885 psdir='${docdir}'
886 libdir='${exec_prefix}/lib'
887 localedir='${datarootdir}/locale'
888 mandir='${datarootdir}/man'
889
890 ac_prev=
891 ac_dashdash=
892 for ac_option
893 do
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\$ac_option
897 ac_prev=
898 continue
899 fi
900
901 case $ac_option in
902 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
903 *=) ac_optarg= ;;
904 *) ac_optarg=yes ;;
905 esac
906
907 # Accept the important Cygnus configure options, so we can diagnose typos.
908
909 case $ac_dashdash$ac_option in
910 --)
911 ac_dashdash=yes ;;
912
913 -bindir | --bindir | --bindi | --bind | --bin | --bi)
914 ac_prev=bindir ;;
915 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
916 bindir=$ac_optarg ;;
917
918 -build | --build | --buil | --bui | --bu)
919 ac_prev=build_alias ;;
920 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
921 build_alias=$ac_optarg ;;
922
923 -cache-file | --cache-file | --cache-fil | --cache-fi \
924 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
925 ac_prev=cache_file ;;
926 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
927 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
928 cache_file=$ac_optarg ;;
929
930 --config-cache | -C)
931 cache_file=config.cache ;;
932
933 -datadir | --datadir | --datadi | --datad)
934 ac_prev=datadir ;;
935 -datadir=* | --datadir=* | --datadi=* | --datad=*)
936 datadir=$ac_optarg ;;
937
938 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
939 | --dataroo | --dataro | --datar)
940 ac_prev=datarootdir ;;
941 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
942 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
943 datarootdir=$ac_optarg ;;
944
945 -disable-* | --disable-*)
946 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949 as_fn_error $? "invalid feature name: $ac_useropt"
950 ac_useropt_orig=$ac_useropt
951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
953 *"
954 "enable_$ac_useropt"
955 "*) ;;
956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep=', ';;
958 esac
959 eval enable_$ac_useropt=no ;;
960
961 -docdir | --docdir | --docdi | --doc | --do)
962 ac_prev=docdir ;;
963 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
964 docdir=$ac_optarg ;;
965
966 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967 ac_prev=dvidir ;;
968 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
969 dvidir=$ac_optarg ;;
970
971 -enable-* | --enable-*)
972 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975 as_fn_error $? "invalid feature name: $ac_useropt"
976 ac_useropt_orig=$ac_useropt
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
979 *"
980 "enable_$ac_useropt"
981 "*) ;;
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
984 esac
985 eval enable_$ac_useropt=\$ac_optarg ;;
986
987 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
988 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
989 | --exec | --exe | --ex)
990 ac_prev=exec_prefix ;;
991 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
992 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
993 | --exec=* | --exe=* | --ex=*)
994 exec_prefix=$ac_optarg ;;
995
996 -gas | --gas | --ga | --g)
997 # Obsolete; use --with-gas.
998 with_gas=yes ;;
999
1000 -help | --help | --hel | --he | -h)
1001 ac_init_help=long ;;
1002 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1003 ac_init_help=recursive ;;
1004 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1005 ac_init_help=short ;;
1006
1007 -host | --host | --hos | --ho)
1008 ac_prev=host_alias ;;
1009 -host=* | --host=* | --hos=* | --ho=*)
1010 host_alias=$ac_optarg ;;
1011
1012 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013 ac_prev=htmldir ;;
1014 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015 | --ht=*)
1016 htmldir=$ac_optarg ;;
1017
1018 -includedir | --includedir | --includedi | --included | --include \
1019 | --includ | --inclu | --incl | --inc)
1020 ac_prev=includedir ;;
1021 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1022 | --includ=* | --inclu=* | --incl=* | --inc=*)
1023 includedir=$ac_optarg ;;
1024
1025 -infodir | --infodir | --infodi | --infod | --info | --inf)
1026 ac_prev=infodir ;;
1027 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1028 infodir=$ac_optarg ;;
1029
1030 -libdir | --libdir | --libdi | --libd)
1031 ac_prev=libdir ;;
1032 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1033 libdir=$ac_optarg ;;
1034
1035 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1036 | --libexe | --libex | --libe)
1037 ac_prev=libexecdir ;;
1038 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1039 | --libexe=* | --libex=* | --libe=*)
1040 libexecdir=$ac_optarg ;;
1041
1042 -localedir | --localedir | --localedi | --localed | --locale)
1043 ac_prev=localedir ;;
1044 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1045 localedir=$ac_optarg ;;
1046
1047 -localstatedir | --localstatedir | --localstatedi | --localstated \
1048 | --localstate | --localstat | --localsta | --localst | --locals)
1049 ac_prev=localstatedir ;;
1050 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1051 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052 localstatedir=$ac_optarg ;;
1053
1054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055 ac_prev=mandir ;;
1056 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057 mandir=$ac_optarg ;;
1058
1059 -nfp | --nfp | --nf)
1060 # Obsolete; use --without-fp.
1061 with_fp=no ;;
1062
1063 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1064 | --no-cr | --no-c | -n)
1065 no_create=yes ;;
1066
1067 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1068 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1069 no_recursion=yes ;;
1070
1071 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1072 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1073 | --oldin | --oldi | --old | --ol | --o)
1074 ac_prev=oldincludedir ;;
1075 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1076 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1077 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1078 oldincludedir=$ac_optarg ;;
1079
1080 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081 ac_prev=prefix ;;
1082 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1083 prefix=$ac_optarg ;;
1084
1085 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1086 | --program-pre | --program-pr | --program-p)
1087 ac_prev=program_prefix ;;
1088 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1089 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1090 program_prefix=$ac_optarg ;;
1091
1092 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1093 | --program-suf | --program-su | --program-s)
1094 ac_prev=program_suffix ;;
1095 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1096 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1097 program_suffix=$ac_optarg ;;
1098
1099 -program-transform-name | --program-transform-name \
1100 | --program-transform-nam | --program-transform-na \
1101 | --program-transform-n | --program-transform- \
1102 | --program-transform | --program-transfor \
1103 | --program-transfo | --program-transf \
1104 | --program-trans | --program-tran \
1105 | --progr-tra | --program-tr | --program-t)
1106 ac_prev=program_transform_name ;;
1107 -program-transform-name=* | --program-transform-name=* \
1108 | --program-transform-nam=* | --program-transform-na=* \
1109 | --program-transform-n=* | --program-transform-=* \
1110 | --program-transform=* | --program-transfor=* \
1111 | --program-transfo=* | --program-transf=* \
1112 | --program-trans=* | --program-tran=* \
1113 | --progr-tra=* | --program-tr=* | --program-t=*)
1114 program_transform_name=$ac_optarg ;;
1115
1116 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117 ac_prev=pdfdir ;;
1118 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1119 pdfdir=$ac_optarg ;;
1120
1121 -psdir | --psdir | --psdi | --psd | --ps)
1122 ac_prev=psdir ;;
1123 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1124 psdir=$ac_optarg ;;
1125
1126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1127 | -silent | --silent | --silen | --sile | --sil)
1128 silent=yes ;;
1129
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 ac_prev=sbindir ;;
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 | --sbi=* | --sb=*)
1134 sbindir=$ac_optarg ;;
1135
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1139 | --sha | --sh)
1140 ac_prev=sharedstatedir ;;
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 | --sha=* | --sh=*)
1145 sharedstatedir=$ac_optarg ;;
1146
1147 -site | --site | --sit)
1148 ac_prev=site ;;
1149 -site=* | --site=* | --sit=*)
1150 site=$ac_optarg ;;
1151
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 ac_prev=srcdir ;;
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155 srcdir=$ac_optarg ;;
1156
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1159 ac_prev=sysconfdir ;;
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162 sysconfdir=$ac_optarg ;;
1163
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1165 ac_prev=target_alias ;;
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167 target_alias=$ac_optarg ;;
1168
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1170 verbose=yes ;;
1171
1172 -version | --version | --versio | --versi | --vers | -V)
1173 ac_init_version=: ;;
1174
1175 -with-* | --with-*)
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error $? "invalid package name: $ac_useropt"
1180 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1183 *"
1184 "with_$ac_useropt"
1185 "*) ;;
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep=', ';;
1188 esac
1189 eval with_$ac_useropt=\$ac_optarg ;;
1190
1191 -without-* | --without-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 as_fn_error $? "invalid package name: $ac_useropt"
1196 ac_useropt_orig=$ac_useropt
1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1199 *"
1200 "with_$ac_useropt"
1201 "*) ;;
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep=', ';;
1204 esac
1205 eval with_$ac_useropt=no ;;
1206
1207 --x)
1208 # Obsolete; use --with-x.
1209 with_x=yes ;;
1210
1211 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212 | --x-incl | --x-inc | --x-in | --x-i)
1213 ac_prev=x_includes ;;
1214 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216 x_includes=$ac_optarg ;;
1217
1218 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220 ac_prev=x_libraries ;;
1221 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223 x_libraries=$ac_optarg ;;
1224
1225 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1227 ;;
1228
1229 *=*)
1230 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' | [0-9]* | *[!_$as_cr_alnum]* )
1234 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235 esac
1236 eval $ac_envvar=\$ac_optarg
1237 export $ac_envvar ;;
1238
1239 *)
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 ;;
1246
1247 esac
1248 done
1249
1250 if test -n "$ac_prev"; then
1251 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $? "missing argument to $ac_option"
1253 fi
1254
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1257 no) ;;
1258 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 esac
1261 fi
1262
1263 # Check all directory arguments for consistency.
1264 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1268 do
1269 eval ac_val=\$$ac_var
1270 # Remove trailing slashes.
1271 case $ac_val in
1272 */ )
1273 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\$ac_val;;
1275 esac
1276 # Be sure to have absolute directory names.
1277 case $ac_val in
1278 [\\/$]* | ?:[\\/]* ) continue;;
1279 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 esac
1281 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1282 done
1283
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1287 build=$build_alias
1288 host=$host_alias
1289 target=$target_alias
1290
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x; then
1293 if test "x$build_alias" = x; then
1294 cross_compiling=maybe
1295 elif test "x$build_alias" != "x$host_alias"; then
1296 cross_compiling=yes
1297 fi
1298 fi
1299
1300 ac_tool_prefix=
1301 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1302
1303 test "$silent" = yes && exec 6>/dev/null
1304
1305
1306 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di=`ls -di .` &&
1308 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error $? "working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error $? "pwd does not report name of working directory"
1312
1313
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316 ac_srcdir_defaulted=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 $as_echo X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1325 s//\1/
1326 q
1327 }
1328 /^X\(\/\/\)[^/].*/{
1329 s//\1/
1330 q
1331 }
1332 /^X\(\/\/\)$/{
1333 s//\1/
1334 q
1335 }
1336 /^X\(\/\).*/{
1337 s//\1/
1338 q
1339 }
1340 s/.*/./; q'`
1341 srcdir=$ac_confdir
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1343 srcdir=..
1344 fi
1345 else
1346 ac_srcdir_defaulted=no
1347 fi
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1350 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1351 fi
1352 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 ac_abs_confdir=`(
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355 pwd)`
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1358 srcdir=.
1359 fi
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1363 case $srcdir in
1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 esac
1366 for ac_var in $ac_precious_vars; do
1367 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_${ac_var}_value=\$${ac_var}
1369 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1371 done
1372
1373 #
1374 # Report the --help message.
1375 #
1376 if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1379 cat <<_ACEOF
1380 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1381
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1383
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1386
1387 Defaults for the options are specified in brackets.
1388
1389 Configuration:
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print \`checking ...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for \`--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399
1400 Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1404 [PREFIX]
1405
1406 By default, \`make install' will install all the files in
1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409 for instance \`--prefix=\$HOME'.
1410
1411 For better control, use the options below.
1412
1413 Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --libdir=DIR object code libraries [EPREFIX/lib]
1421 --includedir=DIR C header files [PREFIX/include]
1422 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1423 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1424 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1425 --infodir=DIR info documentation [DATAROOTDIR/info]
1426 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1427 --mandir=DIR man documentation [DATAROOTDIR/man]
1428 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1429 --htmldir=DIR html documentation [DOCDIR]
1430 --dvidir=DIR dvi documentation [DOCDIR]
1431 --pdfdir=DIR pdf documentation [DOCDIR]
1432 --psdir=DIR ps documentation [DOCDIR]
1433 _ACEOF
1434
1435 cat <<\_ACEOF
1436
1437 Program names:
1438 --program-prefix=PREFIX prepend PREFIX to installed program names
1439 --program-suffix=SUFFIX append SUFFIX to installed program names
1440 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1441
1442 System types:
1443 --build=BUILD configure for building on BUILD [guessed]
1444 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1445 --target=TARGET configure for building compilers for TARGET [HOST]
1446 _ACEOF
1447 fi
1448
1449 if test -n "$ac_init_help"; then
1450 case $ac_init_help in
1451 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1452 esac
1453 cat <<\_ACEOF
1454
1455 Optional Features:
1456 --disable-option-checking ignore unrecognized --enable/--with options
1457 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1458 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1459 --enable-version-specific-runtime-libs
1460 specify that runtime libraries should be installed
1461 in a compiler-specific directory
1462 --enable-silent-rules less verbose build output (undo: "make V=1")
1463 --disable-silent-rules verbose build output (undo: "make V=0")
1464 --enable-maintainer-mode
1465 enable make rules and dependencies not useful (and
1466 sometimes confusing) to the casual installer
1467 --enable-multilib build many library versions (default)
1468 --enable-dependency-tracking
1469 do not reject slow dependency extractors
1470 --disable-dependency-tracking
1471 speeds up one-time build
1472 --enable-cet enable Intel CET in target libraries [default=auto]
1473 --disable-symvers disable symbol versioning for libgfortran
1474 --enable-shared[=PKGS] build shared libraries [default=yes]
1475 --enable-static[=PKGS] build static libraries [default=yes]
1476 --enable-fast-install[=PKGS]
1477 optimize for fast installation [default=yes]
1478 --disable-libtool-lock avoid locking (might break parallel builds)
1479 --enable-darwin-at-rpath
1480 install libraries with @rpath/library-name, requires
1481 rpaths to be added to executables
1482 --disable-largefile omit support for large files
1483 --disable-libquadmath-support
1484 disable libquadmath support for Fortran
1485
1486 Optional Packages:
1487 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1488 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1489 --with-build-libsubdir=DIR Directory where to find libraries for build system
1490 --with-toolexeclibdir=DIR
1491 install libraries built with a cross compiler within
1492 DIR
1493 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1494 --with-pic try to use only PIC/non-PIC objects [default=use
1495 both]
1496 --with-gcc-major-version-only
1497 use only GCC major number in filesystem paths
1498
1499 Some influential environment variables:
1500 CC C compiler command
1501 CFLAGS C compiler flags
1502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1503 nonstandard directory <lib dir>
1504 LIBS libraries to pass to the linker, e.g. -l<library>
1505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1506 you have headers in a nonstandard directory <include dir>
1507 CPP C preprocessor
1508 FC Fortran compiler command
1509 FCFLAGS Fortran compiler flags
1510
1511 Use these variables to override the choices made by `configure' or to help
1512 it to find libraries and programs with nonstandard names/locations.
1513
1514 Report bugs to the package provider.
1515 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1516 General help using GNU software: <http://www.gnu.org/gethelp/>.
1517 _ACEOF
1518 ac_status=$?
1519 fi
1520
1521 if test "$ac_init_help" = "recursive"; then
1522 # If there are subdirs, report their specific --help.
1523 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1524 test -d "$ac_dir" ||
1525 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1526 continue
1527 ac_builddir=.
1528
1529 case "$ac_dir" in
1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *)
1532 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1533 # A ".." for each directory in $ac_dir_suffix.
1534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1535 case $ac_top_builddir_sub in
1536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538 esac ;;
1539 esac
1540 ac_abs_top_builddir=$ac_pwd
1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542 # for backward compatibility:
1543 ac_top_builddir=$ac_top_build_prefix
1544
1545 case $srcdir in
1546 .) # We are building in place.
1547 ac_srcdir=.
1548 ac_top_srcdir=$ac_top_builddir_sub
1549 ac_abs_top_srcdir=$ac_pwd ;;
1550 [\\/]* | ?:[\\/]* ) # Absolute name.
1551 ac_srcdir=$srcdir$ac_dir_suffix;
1552 ac_top_srcdir=$srcdir
1553 ac_abs_top_srcdir=$srcdir ;;
1554 *) # Relative name.
1555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556 ac_top_srcdir=$ac_top_build_prefix$srcdir
1557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1558 esac
1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1560
1561 cd "$ac_dir" || { ac_status=$?; continue; }
1562 # Check for guested configure.
1563 if test -f "$ac_srcdir/configure.gnu"; then
1564 echo &&
1565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566 elif test -f "$ac_srcdir/configure"; then
1567 echo &&
1568 $SHELL "$ac_srcdir/configure" --help=recursive
1569 else
1570 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1571 fi || ac_status=$?
1572 cd "$ac_pwd" || { ac_status=$?; break; }
1573 done
1574 fi
1575
1576 test -n "$ac_init_help" && exit $ac_status
1577 if $ac_init_version; then
1578 cat <<\_ACEOF
1579 GNU Fortran Runtime Library configure 0.3
1580 generated by GNU Autoconf 2.69
1581
1582 Copyright (C) 2012 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1585 _ACEOF
1586 exit
1587 fi
1588
1589 ## ------------------------ ##
1590 ## Autoconf initialization. ##
1591 ## ------------------------ ##
1592
1593 # ac_fn_c_try_compile LINENO
1594 # --------------------------
1595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1596 ac_fn_c_try_compile ()
1597 {
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 rm -f conftest.$ac_objext
1600 if { { ac_try="$ac_compile"
1601 case "(($ac_try" in
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1604 esac
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_compile") 2>conftest.err
1608 ac_status=$?
1609 if test -s conftest.err; then
1610 grep -v '^ *+' conftest.err >conftest.er1
1611 cat conftest.er1 >&5
1612 mv -f conftest.er1 conftest.err
1613 fi
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && {
1616 test -z "$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1618 } && test -s conftest.$ac_objext; then :
1619 ac_retval=0
1620 else
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.$ac_ext >&5
1623
1624 ac_retval=1
1625 fi
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status $ac_retval
1628
1629 } # ac_fn_c_try_compile
1630
1631 # ac_fn_c_try_cpp LINENO
1632 # ----------------------
1633 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1634 ac_fn_c_try_cpp ()
1635 {
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 if { { ac_try="$ac_cpp conftest.$ac_ext"
1638 case "(($ac_try" in
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1641 esac
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1645 ac_status=$?
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1650 fi
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } > conftest.i && {
1653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1655 }; then :
1656 ac_retval=0
1657 else
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1660
1661 ac_retval=1
1662 fi
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status $ac_retval
1665
1666 } # ac_fn_c_try_cpp
1667
1668 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1669 # -------------------------------------------------------
1670 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1671 # the include files in INCLUDES and setting the cache variable VAR
1672 # accordingly.
1673 ac_fn_c_check_header_mongrel ()
1674 {
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 if eval \${$3+:} false; then :
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1681 fi
1682 eval ac_res=\$$3
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1685 else
1686 # Is the header compilable?
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1688 $as_echo_n "checking $2 usability... " >&6; }
1689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1691 $4
1692 #include <$2>
1693 _ACEOF
1694 if ac_fn_c_try_compile "$LINENO"; then :
1695 ac_header_compiler=yes
1696 else
1697 ac_header_compiler=no
1698 fi
1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1701 $as_echo "$ac_header_compiler" >&6; }
1702
1703 # Is the header present?
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1705 $as_echo_n "checking $2 presence... " >&6; }
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1708 #include <$2>
1709 _ACEOF
1710 if ac_fn_c_try_cpp "$LINENO"; then :
1711 ac_header_preproc=yes
1712 else
1713 ac_header_preproc=no
1714 fi
1715 rm -f conftest.err conftest.i conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1717 $as_echo "$ac_header_preproc" >&6; }
1718
1719 # So? What about this header?
1720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1721 yes:no: )
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1723 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1726 ;;
1727 no:yes:* )
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1729 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1731 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1733 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1735 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1737 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1738 ;;
1739 esac
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if eval \${$3+:} false; then :
1743 $as_echo_n "(cached) " >&6
1744 else
1745 eval "$3=\$ac_header_compiler"
1746 fi
1747 eval ac_res=\$$3
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750 fi
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752
1753 } # ac_fn_c_check_header_mongrel
1754
1755 # ac_fn_c_try_run LINENO
1756 # ----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1758 # that executables *can* be run.
1759 ac_fn_c_try_run ()
1760 {
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_link"
1763 case "(($ac_try" in
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>&5
1770 ac_status=$?
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1773 { { case "(($ac_try" in
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1776 esac
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_try") 2>&5
1780 ac_status=$?
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; }; }; then :
1783 ac_retval=0
1784 else
1785 $as_echo "$as_me: program exited with status $ac_status" >&5
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1788
1789 ac_retval=$ac_status
1790 fi
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1794
1795 } # ac_fn_c_try_run
1796
1797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1798 # -------------------------------------------------------
1799 # Tests whether HEADER exists and can be compiled using the include files in
1800 # INCLUDES, setting the cache variable VAR accordingly.
1801 ac_fn_c_check_header_compile ()
1802 {
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1808 else
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1811 $4
1812 #include <$2>
1813 _ACEOF
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815 eval "$3=yes"
1816 else
1817 eval "$3=no"
1818 fi
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 fi
1821 eval ac_res=\$$3
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825
1826 } # ac_fn_c_check_header_compile
1827
1828 # ac_fn_c_try_link LINENO
1829 # -----------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_c_try_link ()
1832 {
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 rm -f conftest.$ac_objext conftest$ac_exeext
1835 if { { ac_try="$ac_link"
1836 case "(($ac_try" in
1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1839 esac
1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1843 ac_status=$?
1844 if test -s conftest.err; then
1845 grep -v '^ *+' conftest.err >conftest.er1
1846 cat conftest.er1 >&5
1847 mv -f conftest.er1 conftest.err
1848 fi
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 test -x conftest$ac_exeext
1856 }; then :
1857 ac_retval=0
1858 else
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1861
1862 ac_retval=1
1863 fi
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status $ac_retval
1871
1872 } # ac_fn_c_try_link
1873
1874 # ac_fn_c_check_func LINENO FUNC VAR
1875 # ----------------------------------
1876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1877 ac_fn_c_check_func ()
1878 {
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \${$3+:} false; then :
1883 $as_echo_n "(cached) " >&6
1884 else
1885 if test x$gcc_no_link = xyes; then
1886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1887 fi
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1890 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1892 #define $2 innocuous_$2
1893
1894 /* System header to define __stub macros and hopefully few prototypes,
1895 which can conflict with char $2 (); below.
1896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1897 <limits.h> exists even on freestanding compilers. */
1898
1899 #ifdef __STDC__
1900 # include <limits.h>
1901 #else
1902 # include <assert.h>
1903 #endif
1904
1905 #undef $2
1906
1907 /* Override any GCC internal prototype to avoid an error.
1908 Use char because int might match the return type of a GCC
1909 builtin and then its argument prototype would still apply. */
1910 #ifdef __cplusplus
1911 extern "C"
1912 #endif
1913 char $2 ();
1914 /* The GNU C library defines this for functions which it implements
1915 to always fail with ENOSYS. Some functions are actually named
1916 something starting with __ and the normal name is an alias. */
1917 #if defined __stub_$2 || defined __stub___$2
1918 choke me
1919 #endif
1920
1921 int
1922 main ()
1923 {
1924 return $2 ();
1925 ;
1926 return 0;
1927 }
1928 _ACEOF
1929 if ac_fn_c_try_link "$LINENO"; then :
1930 eval "$3=yes"
1931 else
1932 eval "$3=no"
1933 fi
1934 rm -f core conftest.err conftest.$ac_objext \
1935 conftest$ac_exeext conftest.$ac_ext
1936 fi
1937 eval ac_res=\$$3
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941
1942 } # ac_fn_c_check_func
1943
1944 # ac_fn_fc_try_compile LINENO
1945 # ---------------------------
1946 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1947 ac_fn_fc_try_compile ()
1948 {
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 rm -f conftest.$ac_objext
1951 if { { ac_try="$ac_compile"
1952 case "(($ac_try" in
1953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1955 esac
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958 (eval "$ac_compile") 2>conftest.err
1959 ac_status=$?
1960 if test -s conftest.err; then
1961 grep -v '^ *+' conftest.err >conftest.er1
1962 cat conftest.er1 >&5
1963 mv -f conftest.er1 conftest.err
1964 fi
1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966 test $ac_status = 0; } && {
1967 test -z "$ac_fc_werror_flag" ||
1968 test ! -s conftest.err
1969 } && test -s conftest.$ac_objext; then :
1970 ac_retval=0
1971 else
1972 $as_echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1974
1975 ac_retval=1
1976 fi
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 as_fn_set_status $ac_retval
1979
1980 } # ac_fn_fc_try_compile
1981
1982 # ac_fn_fc_try_link LINENO
1983 # ------------------------
1984 # Try to link conftest.$ac_ext, and return whether this succeeded.
1985 ac_fn_fc_try_link ()
1986 {
1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988 rm -f conftest.$ac_objext conftest$ac_exeext
1989 if { { ac_try="$ac_link"
1990 case "(($ac_try" in
1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992 *) ac_try_echo=$ac_try;;
1993 esac
1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_link") 2>conftest.err
1997 ac_status=$?
1998 if test -s conftest.err; then
1999 grep -v '^ *+' conftest.err >conftest.er1
2000 cat conftest.er1 >&5
2001 mv -f conftest.er1 conftest.err
2002 fi
2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004 test $ac_status = 0; } && {
2005 test -z "$ac_fc_werror_flag" ||
2006 test ! -s conftest.err
2007 } && test -s conftest$ac_exeext && {
2008 test "$cross_compiling" = yes ||
2009 test -x conftest$ac_exeext
2010 }; then :
2011 ac_retval=0
2012 else
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2015
2016 ac_retval=1
2017 fi
2018 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2019 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2020 # interfere with the next link command; also delete a directory that is
2021 # left behind by Apple's compiler. We do this before executing the actions.
2022 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 as_fn_set_status $ac_retval
2025
2026 } # ac_fn_fc_try_link
2027
2028 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2029 # -------------------------------------------
2030 # Tests whether TYPE exists after having included INCLUDES, setting cache
2031 # variable VAR accordingly.
2032 ac_fn_c_check_type ()
2033 {
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2036 $as_echo_n "checking for $2... " >&6; }
2037 if eval \${$3+:} false; then :
2038 $as_echo_n "(cached) " >&6
2039 else
2040 eval "$3=no"
2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2042 /* end confdefs.h. */
2043 $4
2044 int
2045 main ()
2046 {
2047 if (sizeof ($2))
2048 return 0;
2049 ;
2050 return 0;
2051 }
2052 _ACEOF
2053 if ac_fn_c_try_compile "$LINENO"; then :
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2056 $4
2057 int
2058 main ()
2059 {
2060 if (sizeof (($2)))
2061 return 0;
2062 ;
2063 return 0;
2064 }
2065 _ACEOF
2066 if ac_fn_c_try_compile "$LINENO"; then :
2067
2068 else
2069 eval "$3=yes"
2070 fi
2071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2072 fi
2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2074 fi
2075 eval ac_res=\$$3
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079
2080 } # ac_fn_c_check_type
2081
2082 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2083 # --------------------------------------------
2084 # Tries to find the compile-time value of EXPR in a program that includes
2085 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2086 # computed
2087 ac_fn_c_compute_int ()
2088 {
2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2090 if test "$cross_compiling" = yes; then
2091 # Depending upon the size, compute the lo and hi bounds.
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2094 $4
2095 int
2096 main ()
2097 {
2098 static int test_array [1 - 2 * !(($2) >= 0)];
2099 test_array [0] = 0;
2100 return test_array [0];
2101
2102 ;
2103 return 0;
2104 }
2105 _ACEOF
2106 if ac_fn_c_try_compile "$LINENO"; then :
2107 ac_lo=0 ac_mid=0
2108 while :; do
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2111 $4
2112 int
2113 main ()
2114 {
2115 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2116 test_array [0] = 0;
2117 return test_array [0];
2118
2119 ;
2120 return 0;
2121 }
2122 _ACEOF
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_hi=$ac_mid; break
2125 else
2126 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2127 if test $ac_lo -le $ac_mid; then
2128 ac_lo= ac_hi=
2129 break
2130 fi
2131 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2132 fi
2133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2134 done
2135 else
2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h. */
2138 $4
2139 int
2140 main ()
2141 {
2142 static int test_array [1 - 2 * !(($2) < 0)];
2143 test_array [0] = 0;
2144 return test_array [0];
2145
2146 ;
2147 return 0;
2148 }
2149 _ACEOF
2150 if ac_fn_c_try_compile "$LINENO"; then :
2151 ac_hi=-1 ac_mid=-1
2152 while :; do
2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2155 $4
2156 int
2157 main ()
2158 {
2159 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2160 test_array [0] = 0;
2161 return test_array [0];
2162
2163 ;
2164 return 0;
2165 }
2166 _ACEOF
2167 if ac_fn_c_try_compile "$LINENO"; then :
2168 ac_lo=$ac_mid; break
2169 else
2170 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2171 if test $ac_mid -le $ac_hi; then
2172 ac_lo= ac_hi=
2173 break
2174 fi
2175 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2176 fi
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 done
2179 else
2180 ac_lo= ac_hi=
2181 fi
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2183 fi
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 # Binary search between lo and hi bounds.
2186 while test "x$ac_lo" != "x$ac_hi"; do
2187 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h. */
2190 $4
2191 int
2192 main ()
2193 {
2194 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2195 test_array [0] = 0;
2196 return test_array [0];
2197
2198 ;
2199 return 0;
2200 }
2201 _ACEOF
2202 if ac_fn_c_try_compile "$LINENO"; then :
2203 ac_hi=$ac_mid
2204 else
2205 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2206 fi
2207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208 done
2209 case $ac_lo in #((
2210 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2211 '') ac_retval=1 ;;
2212 esac
2213 else
2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2215 /* end confdefs.h. */
2216 $4
2217 static long int longval () { return $2; }
2218 static unsigned long int ulongval () { return $2; }
2219 #include <stdio.h>
2220 #include <stdlib.h>
2221 int
2222 main ()
2223 {
2224
2225 FILE *f = fopen ("conftest.val", "w");
2226 if (! f)
2227 return 1;
2228 if (($2) < 0)
2229 {
2230 long int i = longval ();
2231 if (i != ($2))
2232 return 1;
2233 fprintf (f, "%ld", i);
2234 }
2235 else
2236 {
2237 unsigned long int i = ulongval ();
2238 if (i != ($2))
2239 return 1;
2240 fprintf (f, "%lu", i);
2241 }
2242 /* Do not output a trailing newline, as this causes \r\n confusion
2243 on some platforms. */
2244 return ferror (f) || fclose (f) != 0;
2245
2246 ;
2247 return 0;
2248 }
2249 _ACEOF
2250 if ac_fn_c_try_run "$LINENO"; then :
2251 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2252 else
2253 ac_retval=1
2254 fi
2255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2256 conftest.$ac_objext conftest.beam conftest.$ac_ext
2257 rm -f conftest.val
2258
2259 fi
2260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2261 as_fn_set_status $ac_retval
2262
2263 } # ac_fn_c_compute_int
2264
2265 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2266 # ----------------------------------------------------
2267 # Tries to find if the field MEMBER exists in type AGGR, after including
2268 # INCLUDES, setting cache variable VAR accordingly.
2269 ac_fn_c_check_member ()
2270 {
2271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2273 $as_echo_n "checking for $2.$3... " >&6; }
2274 if eval \${$4+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276 else
2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2279 $5
2280 int
2281 main ()
2282 {
2283 static $2 ac_aggr;
2284 if (ac_aggr.$3)
2285 return 0;
2286 ;
2287 return 0;
2288 }
2289 _ACEOF
2290 if ac_fn_c_try_compile "$LINENO"; then :
2291 eval "$4=yes"
2292 else
2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2295 $5
2296 int
2297 main ()
2298 {
2299 static $2 ac_aggr;
2300 if (sizeof ac_aggr.$3)
2301 return 0;
2302 ;
2303 return 0;
2304 }
2305 _ACEOF
2306 if ac_fn_c_try_compile "$LINENO"; then :
2307 eval "$4=yes"
2308 else
2309 eval "$4=no"
2310 fi
2311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2312 fi
2313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2314 fi
2315 eval ac_res=\$$4
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2317 $as_echo "$ac_res" >&6; }
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2319
2320 } # ac_fn_c_check_member
2321 cat >config.log <<_ACEOF
2322 This file contains any messages produced by compilers while
2323 running configure, to aid debugging if configure makes a mistake.
2324
2325 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2326 generated by GNU Autoconf 2.69. Invocation command line was
2327
2328 $ $0 $@
2329
2330 _ACEOF
2331 exec 5>>config.log
2332 {
2333 cat <<_ASUNAME
2334 ## --------- ##
2335 ## Platform. ##
2336 ## --------- ##
2337
2338 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2339 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2340 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2341 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2342 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2343
2344 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2345 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2346
2347 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2348 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2349 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2350 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2351 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2352 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2353 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2354
2355 _ASUNAME
2356
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 for as_dir in $PATH
2359 do
2360 IFS=$as_save_IFS
2361 test -z "$as_dir" && as_dir=.
2362 $as_echo "PATH: $as_dir"
2363 done
2364 IFS=$as_save_IFS
2365
2366 } >&5
2367
2368 cat >&5 <<_ACEOF
2369
2370
2371 ## ----------- ##
2372 ## Core tests. ##
2373 ## ----------- ##
2374
2375 _ACEOF
2376
2377
2378 # Keep a trace of the command line.
2379 # Strip out --no-create and --no-recursion so they do not pile up.
2380 # Strip out --silent because we don't want to record it for future runs.
2381 # Also quote any args containing shell meta-characters.
2382 # Make two passes to allow for proper duplicate-argument suppression.
2383 ac_configure_args=
2384 ac_configure_args0=
2385 ac_configure_args1=
2386 ac_must_keep_next=false
2387 for ac_pass in 1 2
2388 do
2389 for ac_arg
2390 do
2391 case $ac_arg in
2392 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2394 | -silent | --silent | --silen | --sile | --sil)
2395 continue ;;
2396 *\'*)
2397 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2398 esac
2399 case $ac_pass in
2400 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2401 2)
2402 as_fn_append ac_configure_args1 " '$ac_arg'"
2403 if test $ac_must_keep_next = true; then
2404 ac_must_keep_next=false # Got value, back to normal.
2405 else
2406 case $ac_arg in
2407 *=* | --config-cache | -C | -disable-* | --disable-* \
2408 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2409 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2410 | -with-* | --with-* | -without-* | --without-* | --x)
2411 case "$ac_configure_args0 " in
2412 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2413 esac
2414 ;;
2415 -* ) ac_must_keep_next=true ;;
2416 esac
2417 fi
2418 as_fn_append ac_configure_args " '$ac_arg'"
2419 ;;
2420 esac
2421 done
2422 done
2423 { ac_configure_args0=; unset ac_configure_args0;}
2424 { ac_configure_args1=; unset ac_configure_args1;}
2425
2426 # When interrupted or exit'd, cleanup temporary files, and complete
2427 # config.log. We remove comments because anyway the quotes in there
2428 # would cause problems or look ugly.
2429 # WARNING: Use '\'' to represent an apostrophe within the trap.
2430 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2431 trap 'exit_status=$?
2432 # Save into config.log some information that might help in debugging.
2433 {
2434 echo
2435
2436 $as_echo "## ---------------- ##
2437 ## Cache variables. ##
2438 ## ---------------- ##"
2439 echo
2440 # The following way of writing the cache mishandles newlines in values,
2441 (
2442 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2443 eval ac_val=\$$ac_var
2444 case $ac_val in #(
2445 *${as_nl}*)
2446 case $ac_var in #(
2447 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2448 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2449 esac
2450 case $ac_var in #(
2451 _ | IFS | as_nl) ;; #(
2452 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2453 *) { eval $ac_var=; unset $ac_var;} ;;
2454 esac ;;
2455 esac
2456 done
2457 (set) 2>&1 |
2458 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2459 *${as_nl}ac_space=\ *)
2460 sed -n \
2461 "s/'\''/'\''\\\\'\'''\''/g;
2462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2463 ;; #(
2464 *)
2465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2466 ;;
2467 esac |
2468 sort
2469 )
2470 echo
2471
2472 $as_echo "## ----------------- ##
2473 ## Output variables. ##
2474 ## ----------------- ##"
2475 echo
2476 for ac_var in $ac_subst_vars
2477 do
2478 eval ac_val=\$$ac_var
2479 case $ac_val in
2480 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2481 esac
2482 $as_echo "$ac_var='\''$ac_val'\''"
2483 done | sort
2484 echo
2485
2486 if test -n "$ac_subst_files"; then
2487 $as_echo "## ------------------- ##
2488 ## File substitutions. ##
2489 ## ------------------- ##"
2490 echo
2491 for ac_var in $ac_subst_files
2492 do
2493 eval ac_val=\$$ac_var
2494 case $ac_val in
2495 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2496 esac
2497 $as_echo "$ac_var='\''$ac_val'\''"
2498 done | sort
2499 echo
2500 fi
2501
2502 if test -s confdefs.h; then
2503 $as_echo "## ----------- ##
2504 ## confdefs.h. ##
2505 ## ----------- ##"
2506 echo
2507 cat confdefs.h
2508 echo
2509 fi
2510 test "$ac_signal" != 0 &&
2511 $as_echo "$as_me: caught signal $ac_signal"
2512 $as_echo "$as_me: exit $exit_status"
2513 } >&5
2514 rm -f core *.core core.conftest.* &&
2515 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2516 exit $exit_status
2517 ' 0
2518 for ac_signal in 1 2 13 15; do
2519 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2520 done
2521 ac_signal=0
2522
2523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2524 rm -f -r conftest* confdefs.h
2525
2526 $as_echo "/* confdefs.h */" > confdefs.h
2527
2528 # Predefined preprocessor variables.
2529
2530 cat >>confdefs.h <<_ACEOF
2531 #define PACKAGE_NAME "$PACKAGE_NAME"
2532 _ACEOF
2533
2534 cat >>confdefs.h <<_ACEOF
2535 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2536 _ACEOF
2537
2538 cat >>confdefs.h <<_ACEOF
2539 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2540 _ACEOF
2541
2542 cat >>confdefs.h <<_ACEOF
2543 #define PACKAGE_STRING "$PACKAGE_STRING"
2544 _ACEOF
2545
2546 cat >>confdefs.h <<_ACEOF
2547 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2548 _ACEOF
2549
2550 cat >>confdefs.h <<_ACEOF
2551 #define PACKAGE_URL "$PACKAGE_URL"
2552 _ACEOF
2553
2554
2555 # Let the site file select an alternate cache file if it wants to.
2556 # Prefer an explicitly selected file to automatically selected ones.
2557 ac_site_file1=NONE
2558 ac_site_file2=NONE
2559 if test -n "$CONFIG_SITE"; then
2560 # We do not want a PATH search for config.site.
2561 case $CONFIG_SITE in #((
2562 -*) ac_site_file1=./$CONFIG_SITE;;
2563 */*) ac_site_file1=$CONFIG_SITE;;
2564 *) ac_site_file1=./$CONFIG_SITE;;
2565 esac
2566 elif test "x$prefix" != xNONE; then
2567 ac_site_file1=$prefix/share/config.site
2568 ac_site_file2=$prefix/etc/config.site
2569 else
2570 ac_site_file1=$ac_default_prefix/share/config.site
2571 ac_site_file2=$ac_default_prefix/etc/config.site
2572 fi
2573 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2574 do
2575 test "x$ac_site_file" = xNONE && continue
2576 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2578 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2579 sed 's/^/| /' "$ac_site_file" >&5
2580 . "$ac_site_file" \
2581 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2583 as_fn_error $? "failed to load site script $ac_site_file
2584 See \`config.log' for more details" "$LINENO" 5; }
2585 fi
2586 done
2587
2588 if test -r "$cache_file"; then
2589 # Some versions of bash will fail to source /dev/null (special files
2590 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2591 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2593 $as_echo "$as_me: loading cache $cache_file" >&6;}
2594 case $cache_file in
2595 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2596 *) . "./$cache_file";;
2597 esac
2598 fi
2599 else
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2601 $as_echo "$as_me: creating cache $cache_file" >&6;}
2602 >$cache_file
2603 fi
2604
2605 as_fn_append ac_header_list " unistd.h"
2606 as_fn_append ac_header_list " sys/random.h"
2607 as_fn_append ac_header_list " sys/time.h"
2608 as_fn_append ac_header_list " sys/times.h"
2609 as_fn_append ac_header_list " sys/resource.h"
2610 as_fn_append ac_header_list " sys/types.h"
2611 as_fn_append ac_header_list " sys/stat.h"
2612 as_fn_append ac_header_list " sys/uio.h"
2613 as_fn_append ac_header_list " sys/wait.h"
2614 as_fn_append ac_header_list " floatingpoint.h"
2615 as_fn_append ac_header_list " ieeefp.h"
2616 as_fn_append ac_header_list " fenv.h"
2617 as_fn_append ac_header_list " fptrap.h"
2618 as_fn_append ac_header_list " fpxcp.h"
2619 as_fn_append ac_header_list " pwd.h"
2620 as_fn_append ac_header_list " complex.h"
2621 as_fn_append ac_header_list " xlocale.h"
2622 as_fn_append ac_func_list " getrusage"
2623 as_fn_append ac_func_list " times"
2624 as_fn_append ac_func_list " mkstemp"
2625 as_fn_append ac_func_list " strtof"
2626 as_fn_append ac_func_list " strtold"
2627 as_fn_append ac_func_list " snprintf"
2628 as_fn_append ac_func_list " ftruncate"
2629 as_fn_append ac_func_list " chsize"
2630 as_fn_append ac_func_list " chdir"
2631 as_fn_append ac_func_list " getentropy"
2632 as_fn_append ac_func_list " getlogin"
2633 as_fn_append ac_func_list " gethostname"
2634 as_fn_append ac_func_list " kill"
2635 as_fn_append ac_func_list " link"
2636 as_fn_append ac_func_list " symlink"
2637 as_fn_append ac_func_list " sleep"
2638 as_fn_append ac_func_list " ttyname"
2639 as_fn_append ac_func_list " sigaction"
2640 as_fn_append ac_func_list " waitpid"
2641 as_fn_append ac_func_list " alarm"
2642 as_fn_append ac_func_list " access"
2643 as_fn_append ac_func_list " fork"
2644 as_fn_append ac_func_list " posix_spawn"
2645 as_fn_append ac_func_list " setmode"
2646 as_fn_append ac_func_list " fcntl"
2647 as_fn_append ac_func_list " writev"
2648 as_fn_append ac_func_list " gettimeofday"
2649 as_fn_append ac_func_list " stat"
2650 as_fn_append ac_func_list " fstat"
2651 as_fn_append ac_func_list " lstat"
2652 as_fn_append ac_func_list " getpwuid"
2653 as_fn_append ac_func_list " vsnprintf"
2654 as_fn_append ac_func_list " dup"
2655 as_fn_append ac_func_list " getcwd"
2656 as_fn_append ac_func_list " localtime_r"
2657 as_fn_append ac_func_list " gmtime_r"
2658 as_fn_append ac_func_list " getpwuid_r"
2659 as_fn_append ac_func_list " ttyname_r"
2660 as_fn_append ac_func_list " clock_gettime"
2661 as_fn_append ac_func_list " getgid"
2662 as_fn_append ac_func_list " getpid"
2663 as_fn_append ac_func_list " getuid"
2664 as_fn_append ac_func_list " geteuid"
2665 as_fn_append ac_func_list " umask"
2666 as_fn_append ac_func_list " getegid"
2667 as_fn_append ac_func_list " secure_getenv"
2668 as_fn_append ac_func_list " __secure_getenv"
2669 as_fn_append ac_func_list " mkostemp"
2670 as_fn_append ac_func_list " strnlen"
2671 as_fn_append ac_func_list " strndup"
2672 as_fn_append ac_func_list " newlocale"
2673 as_fn_append ac_func_list " freelocale"
2674 as_fn_append ac_func_list " uselocale"
2675 as_fn_append ac_func_list " strerror_l"
2676 as_fn_append ac_func_list " strtof128"
2677 as_fn_append ac_func_list " strfromf128"
2678 as_fn_append ac_header_list " math.h"
2679 # Check that the precious variables saved in the cache have kept the same
2680 # value.
2681 ac_cache_corrupted=false
2682 for ac_var in $ac_precious_vars; do
2683 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2684 eval ac_new_set=\$ac_env_${ac_var}_set
2685 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2686 eval ac_new_val=\$ac_env_${ac_var}_value
2687 case $ac_old_set,$ac_new_set in
2688 set,)
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2690 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2691 ac_cache_corrupted=: ;;
2692 ,set)
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2694 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2695 ac_cache_corrupted=: ;;
2696 ,);;
2697 *)
2698 if test "x$ac_old_val" != "x$ac_new_val"; then
2699 # differences in whitespace do not lead to failure.
2700 ac_old_val_w=`echo x $ac_old_val`
2701 ac_new_val_w=`echo x $ac_new_val`
2702 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2704 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2705 ac_cache_corrupted=:
2706 else
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2708 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2709 eval $ac_var=\$ac_old_val
2710 fi
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2712 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2714 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2715 fi;;
2716 esac
2717 # Pass precious variables to config.status.
2718 if test "$ac_new_set" = set; then
2719 case $ac_new_val in
2720 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2721 *) ac_arg=$ac_var=$ac_new_val ;;
2722 esac
2723 case " $ac_configure_args " in
2724 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2725 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2726 esac
2727 fi
2728 done
2729 if $ac_cache_corrupted; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2733 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2734 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2735 fi
2736 ## -------------------- ##
2737 ## Main body of script. ##
2738 ## -------------------- ##
2739
2740 ac_ext=c
2741 ac_cpp='$CPP $CPPFLAGS'
2742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2745
2746
2747
2748
2749
2750 ac_config_headers="$ac_config_headers config.h"
2751
2752 ac_aux_dir=
2753 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2754 if test -f "$ac_dir/install-sh"; then
2755 ac_aux_dir=$ac_dir
2756 ac_install_sh="$ac_aux_dir/install-sh -c"
2757 break
2758 elif test -f "$ac_dir/install.sh"; then
2759 ac_aux_dir=$ac_dir
2760 ac_install_sh="$ac_aux_dir/install.sh -c"
2761 break
2762 elif test -f "$ac_dir/shtool"; then
2763 ac_aux_dir=$ac_dir
2764 ac_install_sh="$ac_aux_dir/shtool install -c"
2765 break
2766 fi
2767 done
2768 if test -z "$ac_aux_dir"; then
2769 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2770 fi
2771
2772 # These three variables are undocumented and unsupported,
2773 # and are intended to be withdrawn in a future Autoconf release.
2774 # They can cause serious problems if a builder's source tree is in a directory
2775 # whose full name contains unusual characters.
2776 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2777 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2778 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2779
2780
2781 # Make sure we can run config.sub.
2782 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2783 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2784
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2786 $as_echo_n "checking build system type... " >&6; }
2787 if ${ac_cv_build+:} false; then :
2788 $as_echo_n "(cached) " >&6
2789 else
2790 ac_build_alias=$build_alias
2791 test "x$ac_build_alias" = x &&
2792 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2793 test "x$ac_build_alias" = x &&
2794 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2795 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2796 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2797
2798 fi
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2800 $as_echo "$ac_cv_build" >&6; }
2801 case $ac_cv_build in
2802 *-*-*) ;;
2803 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2804 esac
2805 build=$ac_cv_build
2806 ac_save_IFS=$IFS; IFS='-'
2807 set x $ac_cv_build
2808 shift
2809 build_cpu=$1
2810 build_vendor=$2
2811 shift; shift
2812 # Remember, the first character of IFS is used to create $*,
2813 # except with old shells:
2814 build_os=$*
2815 IFS=$ac_save_IFS
2816 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2817
2818
2819 case ${build_alias} in
2820 "") build_noncanonical=${build} ;;
2821 *) build_noncanonical=${build_alias} ;;
2822 esac
2823
2824 case ${host_alias} in
2825 "") host_noncanonical=${build_noncanonical} ;;
2826 *) host_noncanonical=${host_alias} ;;
2827 esac
2828
2829 case ${target_alias} in
2830 "") target_noncanonical=${host_noncanonical} ;;
2831 *) target_noncanonical=${target_alias} ;;
2832 esac
2833
2834
2835 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2836 # have matching libraries, they should use host libraries: Makefile.tpl
2837 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2838 # However, they still use the build modules, because the corresponding
2839 # host modules (e.g. bison) are only built for the host when bootstrap
2840 # finishes. So:
2841 # - build_subdir is where we find build modules, and never changes.
2842 # - build_libsubdir is where we find build libraries, and can be overridden.
2843
2844 # Prefix 'build-' so this never conflicts with target_subdir.
2845 build_subdir="build-${build_noncanonical}"
2846
2847 # Check whether --with-build-libsubdir was given.
2848 if test "${with_build_libsubdir+set}" = set; then :
2849 withval=$with_build_libsubdir; build_libsubdir="$withval"
2850 else
2851 build_libsubdir="$build_subdir"
2852 fi
2853
2854 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2855 if ( test $srcdir = . && test -d gcc ) \
2856 || test -d $srcdir/../host-${host_noncanonical}; then
2857 host_subdir="host-${host_noncanonical}"
2858 else
2859 host_subdir=.
2860 fi
2861 # No prefix.
2862 target_subdir=${target_noncanonical}
2863
2864
2865 # -------
2866 # Options
2867 # -------
2868
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2870 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2871 # Check whether --enable-version-specific-runtime-libs was given.
2872 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2873 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2874 yes) version_specific_libs=yes ;;
2875 no) version_specific_libs=no ;;
2876 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2877 esac
2878 else
2879 version_specific_libs=no
2880 fi
2881
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2883 $as_echo "$version_specific_libs" >&6; }
2884
2885 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2886 #
2887 # You will slowly go insane if you do not grok the following fact: when
2888 # building this library, the top-level /target/ becomes the library's /host/.
2889 #
2890 # configure then causes --target to default to --host, exactly like any
2891 # other package using autoconf. Therefore, 'target' and 'host' will
2892 # always be the same. This makes sense both for native and cross compilers
2893 # just think about it for a little while. :-)
2894 #
2895 # Also, if this library is being configured as part of a cross compiler, the
2896 # top-level configure script will pass the "real" host as $with_cross_host.
2897 #
2898 # Do not delete or change the following two lines. For why, see
2899 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2901 $as_echo_n "checking host system type... " >&6; }
2902 if ${ac_cv_host+:} false; then :
2903 $as_echo_n "(cached) " >&6
2904 else
2905 if test "x$host_alias" = x; then
2906 ac_cv_host=$ac_cv_build
2907 else
2908 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2909 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2910 fi
2911
2912 fi
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2914 $as_echo "$ac_cv_host" >&6; }
2915 case $ac_cv_host in
2916 *-*-*) ;;
2917 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2918 esac
2919 host=$ac_cv_host
2920 ac_save_IFS=$IFS; IFS='-'
2921 set x $ac_cv_host
2922 shift
2923 host_cpu=$1
2924 host_vendor=$2
2925 shift; shift
2926 # Remember, the first character of IFS is used to create $*,
2927 # except with old shells:
2928 host_os=$*
2929 IFS=$ac_save_IFS
2930 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2931
2932
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2934 $as_echo_n "checking target system type... " >&6; }
2935 if ${ac_cv_target+:} false; then :
2936 $as_echo_n "(cached) " >&6
2937 else
2938 if test "x$target_alias" = x; then
2939 ac_cv_target=$ac_cv_host
2940 else
2941 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2942 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2943 fi
2944
2945 fi
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2947 $as_echo "$ac_cv_target" >&6; }
2948 case $ac_cv_target in
2949 *-*-*) ;;
2950 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2951 esac
2952 target=$ac_cv_target
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_target
2955 shift
2956 target_cpu=$1
2957 target_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 target_os=$*
2962 IFS=$ac_save_IFS
2963 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2964
2965
2966 # The aliases save the names the user supplied, while $host etc.
2967 # will get canonicalized.
2968 test -n "$target_alias" &&
2969 test "$program_prefix$program_suffix$program_transform_name" = \
2970 NONENONEs,x,x, &&
2971 program_prefix=${target_alias}-
2972
2973
2974
2975
2976 target_alias=${target_alias-$host_alias}
2977
2978
2979 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2980 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2981 # 1.9.6: minimum required version
2982 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2983 # of other PACKAGE_* variables will, however, and there's nothing
2984 # we can do about that; they come from AC_INIT).
2985 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2986 # file in the top srcdir, etc, etc), so stop complaining.
2987 # no-dist: we don't want 'dist' and related rules.
2988 # -Wall: turns on all automake warnings...
2989 # -Wno-portability: ...except this one, since GNU make is required.
2990 am__api_version='1.15'
2991
2992 # Find a good install program. We prefer a C program (faster),
2993 # so one script is as good as another. But avoid the broken or
2994 # incompatible versions:
2995 # SysV /etc/install, /usr/sbin/install
2996 # SunOS /usr/etc/install
2997 # IRIX /sbin/install
2998 # AIX /bin/install
2999 # AmigaOS /C/install, which installs bootblocks on floppy discs
3000 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3001 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3002 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3003 # OS/2's system install, which has a completely different semantic
3004 # ./install, which can be erroneously created by make from ./install.sh.
3005 # Reject install programs that cannot install multiple files.
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3007 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3008 if test -z "$INSTALL"; then
3009 if ${ac_cv_path_install+:} false; then :
3010 $as_echo_n "(cached) " >&6
3011 else
3012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013 for as_dir in $PATH
3014 do
3015 IFS=$as_save_IFS
3016 test -z "$as_dir" && as_dir=.
3017 # Account for people who put trailing slashes in PATH elements.
3018 case $as_dir/ in #((
3019 ./ | .// | /[cC]/* | \
3020 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3021 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3022 /usr/ucb/* ) ;;
3023 *)
3024 # OSF1 and SCO ODT 3.0 have their own names for install.
3025 # Don't use installbsd from OSF since it installs stuff as root
3026 # by default.
3027 for ac_prog in ginstall scoinst install; do
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3030 if test $ac_prog = install &&
3031 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3032 # AIX install. It has an incompatible calling convention.
3033 :
3034 elif test $ac_prog = install &&
3035 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3036 # program-specific install script used by HP pwplus--don't use.
3037 :
3038 else
3039 rm -rf conftest.one conftest.two conftest.dir
3040 echo one > conftest.one
3041 echo two > conftest.two
3042 mkdir conftest.dir
3043 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3044 test -s conftest.one && test -s conftest.two &&
3045 test -s conftest.dir/conftest.one &&
3046 test -s conftest.dir/conftest.two
3047 then
3048 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3049 break 3
3050 fi
3051 fi
3052 fi
3053 done
3054 done
3055 ;;
3056 esac
3057
3058 done
3059 IFS=$as_save_IFS
3060
3061 rm -rf conftest.one conftest.two conftest.dir
3062
3063 fi
3064 if test "${ac_cv_path_install+set}" = set; then
3065 INSTALL=$ac_cv_path_install
3066 else
3067 # As a last resort, use the slow shell script. Don't cache a
3068 # value for INSTALL within a source directory, because that will
3069 # break other packages using the cache if that directory is
3070 # removed, or if the value is a relative name.
3071 INSTALL=$ac_install_sh
3072 fi
3073 fi
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3075 $as_echo "$INSTALL" >&6; }
3076
3077 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3078 # It thinks the first close brace ends the variable substitution.
3079 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3080
3081 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3082
3083 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3084
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3086 $as_echo_n "checking whether build environment is sane... " >&6; }
3087 # Reject unsafe characters in $srcdir or the absolute working directory
3088 # name. Accept space and tab only in the latter.
3089 am_lf='
3090 '
3091 case `pwd` in
3092 *[\\\"\#\$\&\'\`$am_lf]*)
3093 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3094 esac
3095 case $srcdir in
3096 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3097 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3098 esac
3099
3100 # Do 'set' in a subshell so we don't clobber the current shell's
3101 # arguments. Must try -L first in case configure is actually a
3102 # symlink; some systems play weird games with the mod time of symlinks
3103 # (eg FreeBSD returns the mod time of the symlink's containing
3104 # directory).
3105 if (
3106 am_has_slept=no
3107 for am_try in 1 2; do
3108 echo "timestamp, slept: $am_has_slept" > conftest.file
3109 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3110 if test "$*" = "X"; then
3111 # -L didn't work.
3112 set X `ls -t "$srcdir/configure" conftest.file`
3113 fi
3114 if test "$*" != "X $srcdir/configure conftest.file" \
3115 && test "$*" != "X conftest.file $srcdir/configure"; then
3116
3117 # If neither matched, then we have a broken ls. This can happen
3118 # if, for instance, CONFIG_SHELL is bash and it inherits a
3119 # broken ls alias from the environment. This has actually
3120 # happened. Such a system could not be considered "sane".
3121 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3122 alias in your environment" "$LINENO" 5
3123 fi
3124 if test "$2" = conftest.file || test $am_try -eq 2; then
3125 break
3126 fi
3127 # Just in case.
3128 sleep 1
3129 am_has_slept=yes
3130 done
3131 test "$2" = conftest.file
3132 )
3133 then
3134 # Ok.
3135 :
3136 else
3137 as_fn_error $? "newly created file is older than distributed files!
3138 Check your system clock" "$LINENO" 5
3139 fi
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3141 $as_echo "yes" >&6; }
3142 # If we didn't sleep, we still need to ensure time stamps of config.status and
3143 # generated files are strictly newer.
3144 am_sleep_pid=
3145 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3146 ( sleep 1 ) &
3147 am_sleep_pid=$!
3148 fi
3149
3150 rm -f conftest.file
3151
3152 test "$program_prefix" != NONE &&
3153 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3154 # Use a double $ so make ignores it.
3155 test "$program_suffix" != NONE &&
3156 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3157 # Double any \ or $.
3158 # By default was `s,x,x', remove it if useless.
3159 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3160 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3161
3162 # Expand $ac_aux_dir to an absolute path.
3163 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3164
3165 if test x"${MISSING+set}" != xset; then
3166 case $am_aux_dir in
3167 *\ * | *\ *)
3168 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3169 *)
3170 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3171 esac
3172 fi
3173 # Use eval to expand $SHELL
3174 if eval "$MISSING --is-lightweight"; then
3175 am_missing_run="$MISSING "
3176 else
3177 am_missing_run=
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3179 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3180 fi
3181
3182 if test x"${install_sh+set}" != xset; then
3183 case $am_aux_dir in
3184 *\ * | *\ *)
3185 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3186 *)
3187 install_sh="\${SHELL} $am_aux_dir/install-sh"
3188 esac
3189 fi
3190
3191 # Installed binaries are usually stripped using 'strip' when the user
3192 # run "make install-strip". However 'strip' might not be the right
3193 # tool to use in cross-compilation environments, therefore Automake
3194 # will honor the 'STRIP' environment variable to overrule this program.
3195 if test "$cross_compiling" != no; then
3196 if test -n "$ac_tool_prefix"; then
3197 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3198 set dummy ${ac_tool_prefix}strip; ac_word=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if ${ac_cv_prog_STRIP+:} false; then :
3202 $as_echo_n "(cached) " >&6
3203 else
3204 if test -n "$STRIP"; then
3205 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3206 else
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 for as_dir in $PATH
3209 do
3210 IFS=$as_save_IFS
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 break 2
3217 fi
3218 done
3219 done
3220 IFS=$as_save_IFS
3221
3222 fi
3223 fi
3224 STRIP=$ac_cv_prog_STRIP
3225 if test -n "$STRIP"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3227 $as_echo "$STRIP" >&6; }
3228 else
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3231 fi
3232
3233
3234 fi
3235 if test -z "$ac_cv_prog_STRIP"; then
3236 ac_ct_STRIP=$STRIP
3237 # Extract the first word of "strip", so it can be a program name with args.
3238 set dummy strip; ac_word=$2
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240 $as_echo_n "checking for $ac_word... " >&6; }
3241 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3242 $as_echo_n "(cached) " >&6
3243 else
3244 if test -n "$ac_ct_STRIP"; then
3245 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3246 else
3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3248 for as_dir in $PATH
3249 do
3250 IFS=$as_save_IFS
3251 test -z "$as_dir" && as_dir=.
3252 for ac_exec_ext in '' $ac_executable_extensions; do
3253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3254 ac_cv_prog_ac_ct_STRIP="strip"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 break 2
3257 fi
3258 done
3259 done
3260 IFS=$as_save_IFS
3261
3262 fi
3263 fi
3264 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3265 if test -n "$ac_ct_STRIP"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3267 $as_echo "$ac_ct_STRIP" >&6; }
3268 else
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3271 fi
3272
3273 if test "x$ac_ct_STRIP" = x; then
3274 STRIP=":"
3275 else
3276 case $cross_compiling:$ac_tool_warned in
3277 yes:)
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3280 ac_tool_warned=yes ;;
3281 esac
3282 STRIP=$ac_ct_STRIP
3283 fi
3284 else
3285 STRIP="$ac_cv_prog_STRIP"
3286 fi
3287
3288 fi
3289 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3290
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3292 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3293 if test -z "$MKDIR_P"; then
3294 if ${ac_cv_path_mkdir+:} false; then :
3295 $as_echo_n "(cached) " >&6
3296 else
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3299 do
3300 IFS=$as_save_IFS
3301 test -z "$as_dir" && as_dir=.
3302 for ac_prog in mkdir gmkdir; do
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3305 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3306 'mkdir (GNU coreutils) '* | \
3307 'mkdir (coreutils) '* | \
3308 'mkdir (fileutils) '4.1*)
3309 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3310 break 3;;
3311 esac
3312 done
3313 done
3314 done
3315 IFS=$as_save_IFS
3316
3317 fi
3318
3319 test -d ./--version && rmdir ./--version
3320 if test "${ac_cv_path_mkdir+set}" = set; then
3321 MKDIR_P="$ac_cv_path_mkdir -p"
3322 else
3323 # As a last resort, use the slow shell script. Don't cache a
3324 # value for MKDIR_P within a source directory, because that will
3325 # break other packages using the cache if that directory is
3326 # removed, or if the value is a relative name.
3327 MKDIR_P="$ac_install_sh -d"
3328 fi
3329 fi
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3331 $as_echo "$MKDIR_P" >&6; }
3332
3333 for ac_prog in gawk mawk nawk awk
3334 do
3335 # Extract the first word of "$ac_prog", so it can be a program name with args.
3336 set dummy $ac_prog; ac_word=$2
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3338 $as_echo_n "checking for $ac_word... " >&6; }
3339 if ${ac_cv_prog_AWK+:} false; then :
3340 $as_echo_n "(cached) " >&6
3341 else
3342 if test -n "$AWK"; then
3343 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3344 else
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346 for as_dir in $PATH
3347 do
3348 IFS=$as_save_IFS
3349 test -z "$as_dir" && as_dir=.
3350 for ac_exec_ext in '' $ac_executable_extensions; do
3351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3352 ac_cv_prog_AWK="$ac_prog"
3353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 break 2
3355 fi
3356 done
3357 done
3358 IFS=$as_save_IFS
3359
3360 fi
3361 fi
3362 AWK=$ac_cv_prog_AWK
3363 if test -n "$AWK"; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3365 $as_echo "$AWK" >&6; }
3366 else
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3369 fi
3370
3371
3372 test -n "$AWK" && break
3373 done
3374
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3376 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3377 set x ${MAKE-make}
3378 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3379 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3380 $as_echo_n "(cached) " >&6
3381 else
3382 cat >conftest.make <<\_ACEOF
3383 SHELL = /bin/sh
3384 all:
3385 @echo '@@@%%%=$(MAKE)=@@@%%%'
3386 _ACEOF
3387 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3388 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3389 *@@@%%%=?*=@@@%%%*)
3390 eval ac_cv_prog_make_${ac_make}_set=yes;;
3391 *)
3392 eval ac_cv_prog_make_${ac_make}_set=no;;
3393 esac
3394 rm -f conftest.make
3395 fi
3396 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3398 $as_echo "yes" >&6; }
3399 SET_MAKE=
3400 else
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3403 SET_MAKE="MAKE=${MAKE-make}"
3404 fi
3405
3406 rm -rf .tst 2>/dev/null
3407 mkdir .tst 2>/dev/null
3408 if test -d .tst; then
3409 am__leading_dot=.
3410 else
3411 am__leading_dot=_
3412 fi
3413 rmdir .tst 2>/dev/null
3414
3415 # Check whether --enable-silent-rules was given.
3416 if test "${enable_silent_rules+set}" = set; then :
3417 enableval=$enable_silent_rules;
3418 fi
3419
3420 case $enable_silent_rules in # (((
3421 yes) AM_DEFAULT_VERBOSITY=0;;
3422 no) AM_DEFAULT_VERBOSITY=1;;
3423 *) AM_DEFAULT_VERBOSITY=1;;
3424 esac
3425 am_make=${MAKE-make}
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3427 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3428 if ${am_cv_make_support_nested_variables+:} false; then :
3429 $as_echo_n "(cached) " >&6
3430 else
3431 if $as_echo 'TRUE=$(BAR$(V))
3432 BAR0=false
3433 BAR1=true
3434 V=1
3435 am__doit:
3436 @$(TRUE)
3437 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3438 am_cv_make_support_nested_variables=yes
3439 else
3440 am_cv_make_support_nested_variables=no
3441 fi
3442 fi
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3444 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3445 if test $am_cv_make_support_nested_variables = yes; then
3446 AM_V='$(V)'
3447 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3448 else
3449 AM_V=$AM_DEFAULT_VERBOSITY
3450 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3451 fi
3452 AM_BACKSLASH='\'
3453
3454 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3455 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3456 # is not polluted with repeated "-I."
3457 am__isrc=' -I$(srcdir)'
3458 # test to see if srcdir already configured
3459 if test -f $srcdir/config.status; then
3460 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3461 fi
3462 fi
3463
3464 # test whether we have cygpath
3465 if test -z "$CYGPATH_W"; then
3466 if (cygpath --version) >/dev/null 2>/dev/null; then
3467 CYGPATH_W='cygpath -w'
3468 else
3469 CYGPATH_W=echo
3470 fi
3471 fi
3472
3473
3474 # Define the identity of the package.
3475 PACKAGE='libgfortran'
3476 VERSION='0.3'
3477
3478
3479 # Some tools Automake needs.
3480
3481 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3482
3483
3484 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3485
3486
3487 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3488
3489
3490 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3491
3492
3493 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3494
3495 # For better backward compatibility. To be removed once Automake 1.9.x
3496 # dies out for good. For more background, see:
3497 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3498 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3499 mkdir_p='$(MKDIR_P)'
3500
3501 # We need awk for the "check" target (and possibly the TAP driver). The
3502 # system "awk" is bad on some platforms.
3503 # Always define AMTAR for backward compatibility. Yes, it's still used
3504 # in the wild :-( We should find a proper way to deprecate it ...
3505 AMTAR='$${TAR-tar}'
3506
3507
3508 # We'll loop over all known methods to create a tar archive until one works.
3509 _am_tools='gnutar pax cpio none'
3510
3511 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3512
3513
3514
3515
3516
3517
3518 # POSIX will say in a future version that running "rm -f" with no argument
3519 # is OK; and we want to be able to make that assumption in our Makefile
3520 # recipes. So use an aggressive probe to check that the usage we want is
3521 # actually supported "in the wild" to an acceptable degree.
3522 # See automake bug#10828.
3523 # To make any issue more visible, cause the running configure to be aborted
3524 # by default if the 'rm' program in use doesn't match our expectations; the
3525 # user can still override this though.
3526 if rm -f && rm -fr && rm -rf; then : OK; else
3527 cat >&2 <<'END'
3528 Oops!
3529
3530 Your 'rm' program seems unable to run without file operands specified
3531 on the command line, even when the '-f' option is present. This is contrary
3532 to the behaviour of most rm programs out there, and not conforming with
3533 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3534
3535 Please tell bug-automake@gnu.org about your system, including the value
3536 of your $PATH and any error possibly output before this message. This
3537 can help us improve future automake versions.
3538
3539 END
3540 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3541 echo 'Configuration will proceed anyway, since you have set the' >&2
3542 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3543 echo >&2
3544 else
3545 cat >&2 <<'END'
3546 Aborting the configuration process, to ensure you take notice of the issue.
3547
3548 You can download and install GNU coreutils to get an 'rm' implementation
3549 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3550
3551 If you want to complete the configuration process using your problematic
3552 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3553 to "yes", and re-run configure.
3554
3555 END
3556 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3557 fi
3558 fi
3559
3560
3561
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3563 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3564 # Check whether --enable-maintainer-mode was given.
3565 if test "${enable_maintainer_mode+set}" = set; then :
3566 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3567 else
3568 USE_MAINTAINER_MODE=no
3569 fi
3570
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3572 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3573 if test $USE_MAINTAINER_MODE = yes; then
3574 MAINTAINER_MODE_TRUE=
3575 MAINTAINER_MODE_FALSE='#'
3576 else
3577 MAINTAINER_MODE_TRUE='#'
3578 MAINTAINER_MODE_FALSE=
3579 fi
3580
3581 MAINT=$MAINTAINER_MODE_TRUE
3582
3583
3584 # Default to --enable-multilib
3585 # Check whether --enable-multilib was given.
3586 if test "${enable_multilib+set}" = set; then :
3587 enableval=$enable_multilib; case "$enableval" in
3588 yes) multilib=yes ;;
3589 no) multilib=no ;;
3590 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3591 esac
3592 else
3593 multilib=yes
3594 fi
3595
3596
3597 # We may get other options which we leave undocumented:
3598 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3599 # See config-ml.in if you want the gory details.
3600
3601 if test "$srcdir" = "."; then
3602 if test "$with_target_subdir" != "."; then
3603 multi_basedir="$srcdir/$with_multisrctop../.."
3604 else
3605 multi_basedir="$srcdir/$with_multisrctop.."
3606 fi
3607 else
3608 multi_basedir="$srcdir/.."
3609 fi
3610
3611
3612 # Even if the default multilib is not a cross compilation,
3613 # it may be that some of the other multilibs are.
3614 if test $cross_compiling = no && test $multilib = yes \
3615 && test "x${with_multisubdir}" != x ; then
3616 cross_compiling=maybe
3617 fi
3618
3619 ac_config_commands="$ac_config_commands default-1"
3620
3621
3622 # Handy for debugging:
3623 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3624
3625 # Are we being configured with some form of cross compiler?
3626 # NB: We don't actually need to know this just now, but when, say, a test
3627 # suite is included, we'll have to know.
3628 if test "$build" != "$host"; then
3629 LIBGFOR_IS_NATIVE=false
3630
3631 else
3632 LIBGFOR_IS_NATIVE=true
3633 fi
3634
3635 DEPDIR="${am__leading_dot}deps"
3636
3637 ac_config_commands="$ac_config_commands depfiles"
3638
3639
3640 am_make=${MAKE-make}
3641 cat > confinc << 'END'
3642 am__doit:
3643 @echo this is the am__doit target
3644 .PHONY: am__doit
3645 END
3646 # If we don't find an include directive, just comment out the code.
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3648 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3649 am__include="#"
3650 am__quote=
3651 _am_result=none
3652 # First try GNU make style include.
3653 echo "include confinc" > confmf
3654 # Ignore all kinds of additional output from 'make'.
3655 case `$am_make -s -f confmf 2> /dev/null` in #(
3656 *the\ am__doit\ target*)
3657 am__include=include
3658 am__quote=
3659 _am_result=GNU
3660 ;;
3661 esac
3662 # Now try BSD make style include.
3663 if test "$am__include" = "#"; then
3664 echo '.include "confinc"' > confmf
3665 case `$am_make -s -f confmf 2> /dev/null` in #(
3666 *the\ am__doit\ target*)
3667 am__include=.include
3668 am__quote="\""
3669 _am_result=BSD
3670 ;;
3671 esac
3672 fi
3673
3674
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3676 $as_echo "$_am_result" >&6; }
3677 rm -f confinc confmf
3678
3679 # Check whether --enable-dependency-tracking was given.
3680 if test "${enable_dependency_tracking+set}" = set; then :
3681 enableval=$enable_dependency_tracking;
3682 fi
3683
3684 if test "x$enable_dependency_tracking" != xno; then
3685 am_depcomp="$ac_aux_dir/depcomp"
3686 AMDEPBACKSLASH='\'
3687 am__nodep='_no'
3688 fi
3689 if test "x$enable_dependency_tracking" != xno; then
3690 AMDEP_TRUE=
3691 AMDEP_FALSE='#'
3692 else
3693 AMDEP_TRUE='#'
3694 AMDEP_FALSE=
3695 fi
3696
3697
3698 ac_ext=c
3699 ac_cpp='$CPP $CPPFLAGS'
3700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3703 if test -n "$ac_tool_prefix"; then
3704 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3705 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3707 $as_echo_n "checking for $ac_word... " >&6; }
3708 if ${ac_cv_prog_CC+:} false; then :
3709 $as_echo_n "(cached) " >&6
3710 else
3711 if test -n "$CC"; then
3712 ac_cv_prog_CC="$CC" # Let the user override the test.
3713 else
3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715 for as_dir in $PATH
3716 do
3717 IFS=$as_save_IFS
3718 test -z "$as_dir" && as_dir=.
3719 for ac_exec_ext in '' $ac_executable_extensions; do
3720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3721 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 break 2
3724 fi
3725 done
3726 done
3727 IFS=$as_save_IFS
3728
3729 fi
3730 fi
3731 CC=$ac_cv_prog_CC
3732 if test -n "$CC"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734 $as_echo "$CC" >&6; }
3735 else
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3738 fi
3739
3740
3741 fi
3742 if test -z "$ac_cv_prog_CC"; then
3743 ac_ct_CC=$CC
3744 # Extract the first word of "gcc", so it can be a program name with args.
3745 set dummy gcc; ac_word=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3749 $as_echo_n "(cached) " >&6
3750 else
3751 if test -n "$ac_ct_CC"; then
3752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3753 else
3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 for as_dir in $PATH
3756 do
3757 IFS=$as_save_IFS
3758 test -z "$as_dir" && as_dir=.
3759 for ac_exec_ext in '' $ac_executable_extensions; do
3760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_ac_ct_CC="gcc"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 break 2
3764 fi
3765 done
3766 done
3767 IFS=$as_save_IFS
3768
3769 fi
3770 fi
3771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3772 if test -n "$ac_ct_CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3774 $as_echo "$ac_ct_CC" >&6; }
3775 else
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3778 fi
3779
3780 if test "x$ac_ct_CC" = x; then
3781 CC=""
3782 else
3783 case $cross_compiling:$ac_tool_warned in
3784 yes:)
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3787 ac_tool_warned=yes ;;
3788 esac
3789 CC=$ac_ct_CC
3790 fi
3791 else
3792 CC="$ac_cv_prog_CC"
3793 fi
3794
3795 if test -z "$CC"; then
3796 if test -n "$ac_tool_prefix"; then
3797 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3798 set dummy ${ac_tool_prefix}cc; ac_word=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if ${ac_cv_prog_CC+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803 else
3804 if test -n "$CC"; then
3805 ac_cv_prog_CC="$CC" # Let the user override the test.
3806 else
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 for as_dir in $PATH
3809 do
3810 IFS=$as_save_IFS
3811 test -z "$as_dir" && as_dir=.
3812 for ac_exec_ext in '' $ac_executable_extensions; do
3813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_CC="${ac_tool_prefix}cc"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 break 2
3817 fi
3818 done
3819 done
3820 IFS=$as_save_IFS
3821
3822 fi
3823 fi
3824 CC=$ac_cv_prog_CC
3825 if test -n "$CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3827 $as_echo "$CC" >&6; }
3828 else
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3831 fi
3832
3833
3834 fi
3835 fi
3836 if test -z "$CC"; then
3837 # Extract the first word of "cc", so it can be a program name with args.
3838 set dummy cc; ac_word=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if ${ac_cv_prog_CC+:} false; then :
3842 $as_echo_n "(cached) " >&6
3843 else
3844 if test -n "$CC"; then
3845 ac_cv_prog_CC="$CC" # Let the user override the test.
3846 else
3847 ac_prog_rejected=no
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 for as_dir in $PATH
3850 do
3851 IFS=$as_save_IFS
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3855 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3856 ac_prog_rejected=yes
3857 continue
3858 fi
3859 ac_cv_prog_CC="cc"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 break 2
3862 fi
3863 done
3864 done
3865 IFS=$as_save_IFS
3866
3867 if test $ac_prog_rejected = yes; then
3868 # We found a bogon in the path, so make sure we never use it.
3869 set dummy $ac_cv_prog_CC
3870 shift
3871 if test $# != 0; then
3872 # We chose a different compiler from the bogus one.
3873 # However, it has the same basename, so the bogon will be chosen
3874 # first if we set CC to just the basename; use the full file name.
3875 shift
3876 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3877 fi
3878 fi
3879 fi
3880 fi
3881 CC=$ac_cv_prog_CC
3882 if test -n "$CC"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3884 $as_echo "$CC" >&6; }
3885 else
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887 $as_echo "no" >&6; }
3888 fi
3889
3890
3891 fi
3892 if test -z "$CC"; then
3893 if test -n "$ac_tool_prefix"; then
3894 for ac_prog in cl.exe
3895 do
3896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if ${ac_cv_prog_CC+:} false; then :
3901 $as_echo_n "(cached) " >&6
3902 else
3903 if test -n "$CC"; then
3904 ac_cv_prog_CC="$CC" # Let the user override the test.
3905 else
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907 for as_dir in $PATH
3908 do
3909 IFS=$as_save_IFS
3910 test -z "$as_dir" && as_dir=.
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 break 2
3916 fi
3917 done
3918 done
3919 IFS=$as_save_IFS
3920
3921 fi
3922 fi
3923 CC=$ac_cv_prog_CC
3924 if test -n "$CC"; then
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3926 $as_echo "$CC" >&6; }
3927 else
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3930 fi
3931
3932
3933 test -n "$CC" && break
3934 done
3935 fi
3936 if test -z "$CC"; then
3937 ac_ct_CC=$CC
3938 for ac_prog in cl.exe
3939 do
3940 # Extract the first word of "$ac_prog", so it can be a program name with args.
3941 set dummy $ac_prog; ac_word=$2
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3943 $as_echo_n "checking for $ac_word... " >&6; }
3944 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3945 $as_echo_n "(cached) " >&6
3946 else
3947 if test -n "$ac_ct_CC"; then
3948 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3949 else
3950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951 for as_dir in $PATH
3952 do
3953 IFS=$as_save_IFS
3954 test -z "$as_dir" && as_dir=.
3955 for ac_exec_ext in '' $ac_executable_extensions; do
3956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3957 ac_cv_prog_ac_ct_CC="$ac_prog"
3958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3959 break 2
3960 fi
3961 done
3962 done
3963 IFS=$as_save_IFS
3964
3965 fi
3966 fi
3967 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3968 if test -n "$ac_ct_CC"; then
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3970 $as_echo "$ac_ct_CC" >&6; }
3971 else
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3973 $as_echo "no" >&6; }
3974 fi
3975
3976
3977 test -n "$ac_ct_CC" && break
3978 done
3979
3980 if test "x$ac_ct_CC" = x; then
3981 CC=""
3982 else
3983 case $cross_compiling:$ac_tool_warned in
3984 yes:)
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3987 ac_tool_warned=yes ;;
3988 esac
3989 CC=$ac_ct_CC
3990 fi
3991 fi
3992
3993 fi
3994
3995
3996 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3998 as_fn_error $? "no acceptable C compiler found in \$PATH
3999 See \`config.log' for more details" "$LINENO" 5; }
4000
4001 # Provide some information about the compiler.
4002 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4003 set X $ac_compile
4004 ac_compiler=$2
4005 for ac_option in --version -v -V -qversion; do
4006 { { ac_try="$ac_compiler $ac_option >&5"
4007 case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4014 ac_status=$?
4015 if test -s conftest.err; then
4016 sed '10a\
4017 ... rest of stderr output deleted ...
4018 10q' conftest.err >conftest.er1
4019 cat conftest.er1 >&5
4020 fi
4021 rm -f conftest.er1 conftest.err
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }
4024 done
4025
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4028 #include <stdio.h>
4029 int
4030 main ()
4031 {
4032 printf ("hello world\n");
4033 ;
4034 return 0;
4035 }
4036 _ACEOF
4037 # FIXME: Cleanup?
4038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4039 (eval $ac_link) 2>&5
4040 ac_status=$?
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; then :
4043 gcc_no_link=no
4044 else
4045 gcc_no_link=yes
4046 fi
4047 if test x$gcc_no_link = xyes; then
4048 # Setting cross_compile will disable run tests; it will
4049 # also disable AC_CHECK_FILE but that's generally
4050 # correct if we can't link.
4051 cross_compiling=yes
4052 EXEEXT=
4053 else
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4056
4057 int
4058 main ()
4059 {
4060
4061 ;
4062 return 0;
4063 }
4064 _ACEOF
4065 ac_clean_files_save=$ac_clean_files
4066 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4067 # Try to create an executable without -o first, disregard a.out.
4068 # It will help us diagnose broken compilers, and finding out an intuition
4069 # of exeext.
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4071 $as_echo_n "checking whether the C compiler works... " >&6; }
4072 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4073
4074 # The possible output files:
4075 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4076
4077 ac_rmfiles=
4078 for ac_file in $ac_files
4079 do
4080 case $ac_file in
4081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4082 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4083 esac
4084 done
4085 rm -f $ac_rmfiles
4086
4087 if { { ac_try="$ac_link_default"
4088 case "(($ac_try" in
4089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4091 esac
4092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 $as_echo "$ac_try_echo"; } >&5
4094 (eval "$ac_link_default") 2>&5
4095 ac_status=$?
4096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 test $ac_status = 0; }; then :
4098 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4099 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4100 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4101 # so that the user can short-circuit this test for compilers unknown to
4102 # Autoconf.
4103 for ac_file in $ac_files ''
4104 do
4105 test -f "$ac_file" || continue
4106 case $ac_file in
4107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4108 ;;
4109 [ab].out )
4110 # We found the default executable, but exeext='' is most
4111 # certainly right.
4112 break;;
4113 *.* )
4114 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4115 then :; else
4116 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4117 fi
4118 # We set ac_cv_exeext here because the later test for it is not
4119 # safe: cross compilers may not add the suffix if given an `-o'
4120 # argument, so we may need to know it at that point already.
4121 # Even if this section looks crufty: it has the advantage of
4122 # actually working.
4123 break;;
4124 * )
4125 break;;
4126 esac
4127 done
4128 test "$ac_cv_exeext" = no && ac_cv_exeext=
4129
4130 else
4131 ac_file=''
4132 fi
4133 if test -z "$ac_file"; then :
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4136 $as_echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.$ac_ext >&5
4138
4139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4141 as_fn_error 77 "C compiler cannot create executables
4142 See \`config.log' for more details" "$LINENO" 5; }
4143 else
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4145 $as_echo "yes" >&6; }
4146 fi
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4148 $as_echo_n "checking for C compiler default output file name... " >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4150 $as_echo "$ac_file" >&6; }
4151 ac_exeext=$ac_cv_exeext
4152
4153 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4154 ac_clean_files=$ac_clean_files_save
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4156 $as_echo_n "checking for suffix of executables... " >&6; }
4157 if { { ac_try="$ac_link"
4158 case "(($ac_try" in
4159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4161 esac
4162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163 $as_echo "$ac_try_echo"; } >&5
4164 (eval "$ac_link") 2>&5
4165 ac_status=$?
4166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4167 test $ac_status = 0; }; then :
4168 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4169 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4170 # work properly (i.e., refer to `conftest.exe'), while it won't with
4171 # `rm'.
4172 for ac_file in conftest.exe conftest conftest.*; do
4173 test -f "$ac_file" || continue
4174 case $ac_file in
4175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4176 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4177 break;;
4178 * ) break;;
4179 esac
4180 done
4181 else
4182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4184 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4185 See \`config.log' for more details" "$LINENO" 5; }
4186 fi
4187 rm -f conftest conftest$ac_cv_exeext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4189 $as_echo "$ac_cv_exeext" >&6; }
4190
4191 rm -f conftest.$ac_ext
4192 EXEEXT=$ac_cv_exeext
4193 ac_exeext=$EXEEXT
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196 #include <stdio.h>
4197 int
4198 main ()
4199 {
4200 FILE *f = fopen ("conftest.out", "w");
4201 return ferror (f) || fclose (f) != 0;
4202
4203 ;
4204 return 0;
4205 }
4206 _ACEOF
4207 ac_clean_files="$ac_clean_files conftest.out"
4208 # Check that the compiler produces executables we can run. If not, either
4209 # the compiler is broken, or we cross compile.
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4211 $as_echo_n "checking whether we are cross compiling... " >&6; }
4212 if test "$cross_compiling" != yes; then
4213 { { ac_try="$ac_link"
4214 case "(($ac_try" in
4215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4217 esac
4218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219 $as_echo "$ac_try_echo"; } >&5
4220 (eval "$ac_link") 2>&5
4221 ac_status=$?
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }
4224 if { ac_try='./conftest$ac_cv_exeext'
4225 { { case "(($ac_try" in
4226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4228 esac
4229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4230 $as_echo "$ac_try_echo"; } >&5
4231 (eval "$ac_try") 2>&5
4232 ac_status=$?
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }; }; then
4235 cross_compiling=no
4236 else
4237 if test "$cross_compiling" = maybe; then
4238 cross_compiling=yes
4239 else
4240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4242 as_fn_error $? "cannot run C compiled programs.
4243 If you meant to cross compile, use \`--host'.
4244 See \`config.log' for more details" "$LINENO" 5; }
4245 fi
4246 fi
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4249 $as_echo "$cross_compiling" >&6; }
4250
4251 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4252 ac_clean_files=$ac_clean_files_save
4253 fi
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4255 $as_echo_n "checking for suffix of object files... " >&6; }
4256 if ${ac_cv_objext+:} false; then :
4257 $as_echo_n "(cached) " >&6
4258 else
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4261
4262 int
4263 main ()
4264 {
4265
4266 ;
4267 return 0;
4268 }
4269 _ACEOF
4270 rm -f conftest.o conftest.obj
4271 if { { ac_try="$ac_compile"
4272 case "(($ac_try" in
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4275 esac
4276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4277 $as_echo "$ac_try_echo"; } >&5
4278 (eval "$ac_compile") 2>&5
4279 ac_status=$?
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }; then :
4282 for ac_file in conftest.o conftest.obj conftest.*; do
4283 test -f "$ac_file" || continue;
4284 case $ac_file in
4285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4286 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4287 break;;
4288 esac
4289 done
4290 else
4291 $as_echo "$as_me: failed program was:" >&5
4292 sed 's/^/| /' conftest.$ac_ext >&5
4293
4294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4296 as_fn_error $? "cannot compute suffix of object files: cannot compile
4297 See \`config.log' for more details" "$LINENO" 5; }
4298 fi
4299 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4300 fi
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4302 $as_echo "$ac_cv_objext" >&6; }
4303 OBJEXT=$ac_cv_objext
4304 ac_objext=$OBJEXT
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4306 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4307 if ${ac_cv_c_compiler_gnu+:} false; then :
4308 $as_echo_n "(cached) " >&6
4309 else
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4312
4313 int
4314 main ()
4315 {
4316 #ifndef __GNUC__
4317 choke me
4318 #endif
4319
4320 ;
4321 return 0;
4322 }
4323 _ACEOF
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_compiler_gnu=yes
4326 else
4327 ac_compiler_gnu=no
4328 fi
4329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4331
4332 fi
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4334 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4335 if test $ac_compiler_gnu = yes; then
4336 GCC=yes
4337 else
4338 GCC=
4339 fi
4340 ac_test_CFLAGS=${CFLAGS+set}
4341 ac_save_CFLAGS=$CFLAGS
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4343 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4344 if ${ac_cv_prog_cc_g+:} false; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 ac_save_c_werror_flag=$ac_c_werror_flag
4348 ac_c_werror_flag=yes
4349 ac_cv_prog_cc_g=no
4350 CFLAGS="-g"
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4353
4354 int
4355 main ()
4356 {
4357
4358 ;
4359 return 0;
4360 }
4361 _ACEOF
4362 if ac_fn_c_try_compile "$LINENO"; then :
4363 ac_cv_prog_cc_g=yes
4364 else
4365 CFLAGS=""
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4368
4369 int
4370 main ()
4371 {
4372
4373 ;
4374 return 0;
4375 }
4376 _ACEOF
4377 if ac_fn_c_try_compile "$LINENO"; then :
4378
4379 else
4380 ac_c_werror_flag=$ac_save_c_werror_flag
4381 CFLAGS="-g"
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4384
4385 int
4386 main ()
4387 {
4388
4389 ;
4390 return 0;
4391 }
4392 _ACEOF
4393 if ac_fn_c_try_compile "$LINENO"; then :
4394 ac_cv_prog_cc_g=yes
4395 fi
4396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4397 fi
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 fi
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 ac_c_werror_flag=$ac_save_c_werror_flag
4402 fi
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4404 $as_echo "$ac_cv_prog_cc_g" >&6; }
4405 if test "$ac_test_CFLAGS" = set; then
4406 CFLAGS=$ac_save_CFLAGS
4407 elif test $ac_cv_prog_cc_g = yes; then
4408 if test "$GCC" = yes; then
4409 CFLAGS="-g -O2"
4410 else
4411 CFLAGS="-g"
4412 fi
4413 else
4414 if test "$GCC" = yes; then
4415 CFLAGS="-O2"
4416 else
4417 CFLAGS=
4418 fi
4419 fi
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4421 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4422 if ${ac_cv_prog_cc_c89+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 ac_cv_prog_cc_c89=no
4426 ac_save_CC=$CC
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4429 #include <stdarg.h>
4430 #include <stdio.h>
4431 struct stat;
4432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4433 struct buf { int x; };
4434 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4435 static char *e (p, i)
4436 char **p;
4437 int i;
4438 {
4439 return p[i];
4440 }
4441 static char *f (char * (*g) (char **, int), char **p, ...)
4442 {
4443 char *s;
4444 va_list v;
4445 va_start (v,p);
4446 s = g (p, va_arg (v,int));
4447 va_end (v);
4448 return s;
4449 }
4450
4451 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4452 function prototypes and stuff, but not '\xHH' hex character constants.
4453 These don't provoke an error unfortunately, instead are silently treated
4454 as 'x'. The following induces an error, until -std is added to get
4455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4456 array size at least. It's necessary to write '\x00'==0 to get something
4457 that's true only with -std. */
4458 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4459
4460 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4461 inside strings and character constants. */
4462 #define FOO(x) 'x'
4463 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4464
4465 int test (int i, double x);
4466 struct s1 {int (*f) (int a);};
4467 struct s2 {int (*f) (double a);};
4468 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4469 int argc;
4470 char **argv;
4471 int
4472 main ()
4473 {
4474 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4475 ;
4476 return 0;
4477 }
4478 _ACEOF
4479 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4480 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4481 do
4482 CC="$ac_save_CC $ac_arg"
4483 if ac_fn_c_try_compile "$LINENO"; then :
4484 ac_cv_prog_cc_c89=$ac_arg
4485 fi
4486 rm -f core conftest.err conftest.$ac_objext
4487 test "x$ac_cv_prog_cc_c89" != "xno" && break
4488 done
4489 rm -f conftest.$ac_ext
4490 CC=$ac_save_CC
4491
4492 fi
4493 # AC_CACHE_VAL
4494 case "x$ac_cv_prog_cc_c89" in
4495 x)
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4497 $as_echo "none needed" >&6; } ;;
4498 xno)
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4500 $as_echo "unsupported" >&6; } ;;
4501 *)
4502 CC="$CC $ac_cv_prog_cc_c89"
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4504 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4505 esac
4506 if test "x$ac_cv_prog_cc_c89" != xno; then :
4507
4508 fi
4509
4510 ac_ext=c
4511 ac_cpp='$CPP $CPPFLAGS'
4512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515
4516 ac_ext=c
4517 ac_cpp='$CPP $CPPFLAGS'
4518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4522 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4523 if ${am_cv_prog_cc_c_o+:} false; then :
4524 $as_echo_n "(cached) " >&6
4525 else
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4528
4529 int
4530 main ()
4531 {
4532
4533 ;
4534 return 0;
4535 }
4536 _ACEOF
4537 # Make sure it works both with $CC and with simple cc.
4538 # Following AC_PROG_CC_C_O, we do the test twice because some
4539 # compilers refuse to overwrite an existing .o file with -o,
4540 # though they will create one.
4541 am_cv_prog_cc_c_o=yes
4542 for am_i in 1 2; do
4543 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4544 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4545 ac_status=$?
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } \
4548 && test -f conftest2.$ac_objext; then
4549 : OK
4550 else
4551 am_cv_prog_cc_c_o=no
4552 break
4553 fi
4554 done
4555 rm -f core conftest*
4556 unset am_i
4557 fi
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4559 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4560 if test "$am_cv_prog_cc_c_o" != yes; then
4561 # Losing compiler, so override with the script.
4562 # FIXME: It is wrong to rewrite CC.
4563 # But if we don't then we get into trouble of one sort or another.
4564 # A longer-term fix would be to have automake use am__CC in this case,
4565 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4566 CC="$am_aux_dir/compile $CC"
4567 fi
4568 ac_ext=c
4569 ac_cpp='$CPP $CPPFLAGS'
4570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4573
4574
4575 depcc="$CC" am_compiler_list=
4576
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4578 $as_echo_n "checking dependency style of $depcc... " >&6; }
4579 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4583 # We make a subdir and do the tests there. Otherwise we can end up
4584 # making bogus files that we don't know about and never remove. For
4585 # instance it was reported that on HP-UX the gcc test will end up
4586 # making a dummy file named 'D' -- because '-MD' means "put the output
4587 # in D".
4588 rm -rf conftest.dir
4589 mkdir conftest.dir
4590 # Copy depcomp to subdir because otherwise we won't find it if we're
4591 # using a relative directory.
4592 cp "$am_depcomp" conftest.dir
4593 cd conftest.dir
4594 # We will build objects and dependencies in a subdirectory because
4595 # it helps to detect inapplicable dependency modes. For instance
4596 # both Tru64's cc and ICC support -MD to output dependencies as a
4597 # side effect of compilation, but ICC will put the dependencies in
4598 # the current directory while Tru64 will put them in the object
4599 # directory.
4600 mkdir sub
4601
4602 am_cv_CC_dependencies_compiler_type=none
4603 if test "$am_compiler_list" = ""; then
4604 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4605 fi
4606 am__universal=false
4607 case " $depcc " in #(
4608 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4609 esac
4610
4611 for depmode in $am_compiler_list; do
4612 # Setup a source with many dependencies, because some compilers
4613 # like to wrap large dependency lists on column 80 (with \), and
4614 # we should not choose a depcomp mode which is confused by this.
4615 #
4616 # We need to recreate these files for each test, as the compiler may
4617 # overwrite some of them when testing with obscure command lines.
4618 # This happens at least with the AIX C compiler.
4619 : > sub/conftest.c
4620 for i in 1 2 3 4 5 6; do
4621 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4622 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4623 # Solaris 10 /bin/sh.
4624 echo '/* dummy */' > sub/conftst$i.h
4625 done
4626 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4627
4628 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4629 # mode. It turns out that the SunPro C++ compiler does not properly
4630 # handle '-M -o', and we need to detect this. Also, some Intel
4631 # versions had trouble with output in subdirs.
4632 am__obj=sub/conftest.${OBJEXT-o}
4633 am__minus_obj="-o $am__obj"
4634 case $depmode in
4635 gcc)
4636 # This depmode causes a compiler race in universal mode.
4637 test "$am__universal" = false || continue
4638 ;;
4639 nosideeffect)
4640 # After this tag, mechanisms are not by side-effect, so they'll
4641 # only be used when explicitly requested.
4642 if test "x$enable_dependency_tracking" = xyes; then
4643 continue
4644 else
4645 break
4646 fi
4647 ;;
4648 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4649 # This compiler won't grok '-c -o', but also, the minuso test has
4650 # not run yet. These depmodes are late enough in the game, and
4651 # so weak that their functioning should not be impacted.
4652 am__obj=conftest.${OBJEXT-o}
4653 am__minus_obj=
4654 ;;
4655 none) break ;;
4656 esac
4657 if depmode=$depmode \
4658 source=sub/conftest.c object=$am__obj \
4659 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4660 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4661 >/dev/null 2>conftest.err &&
4662 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4663 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4664 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4665 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4666 # icc doesn't choke on unknown options, it will just issue warnings
4667 # or remarks (even with -Werror). So we grep stderr for any message
4668 # that says an option was ignored or not supported.
4669 # When given -MP, icc 7.0 and 7.1 complain thusly:
4670 # icc: Command line warning: ignoring option '-M'; no argument required
4671 # The diagnosis changed in icc 8.0:
4672 # icc: Command line remark: option '-MP' not supported
4673 if (grep 'ignoring option' conftest.err ||
4674 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4675 am_cv_CC_dependencies_compiler_type=$depmode
4676 break
4677 fi
4678 fi
4679 done
4680
4681 cd ..
4682 rm -rf conftest.dir
4683 else
4684 am_cv_CC_dependencies_compiler_type=none
4685 fi
4686
4687 fi
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4689 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4690 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4691
4692 if
4693 test "x$enable_dependency_tracking" != xno \
4694 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4695 am__fastdepCC_TRUE=
4696 am__fastdepCC_FALSE='#'
4697 else
4698 am__fastdepCC_TRUE='#'
4699 am__fastdepCC_FALSE=
4700 fi
4701
4702
4703
4704 ac_ext=c
4705 ac_cpp='$CPP $CPPFLAGS'
4706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4710 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4711 # On Suns, sometimes $CPP names a directory.
4712 if test -n "$CPP" && test -d "$CPP"; then
4713 CPP=
4714 fi
4715 if test -z "$CPP"; then
4716 if ${ac_cv_prog_CPP+:} false; then :
4717 $as_echo_n "(cached) " >&6
4718 else
4719 # Double quotes because CPP needs to be expanded
4720 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4721 do
4722 ac_preproc_ok=false
4723 for ac_c_preproc_warn_flag in '' yes
4724 do
4725 # Use a header file that comes with gcc, so configuring glibc
4726 # with a fresh cross-compiler works.
4727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4728 # <limits.h> exists even on freestanding compilers.
4729 # On the NeXT, cc -E runs the code through the compiler's parser,
4730 # not just through cpp. "Syntax error" is here to catch this case.
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4733 #ifdef __STDC__
4734 # include <limits.h>
4735 #else
4736 # include <assert.h>
4737 #endif
4738 Syntax error
4739 _ACEOF
4740 if ac_fn_c_try_cpp "$LINENO"; then :
4741
4742 else
4743 # Broken: fails on valid input.
4744 continue
4745 fi
4746 rm -f conftest.err conftest.i conftest.$ac_ext
4747
4748 # OK, works on sane cases. Now check whether nonexistent headers
4749 # can be detected and how.
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4752 #include <ac_nonexistent.h>
4753 _ACEOF
4754 if ac_fn_c_try_cpp "$LINENO"; then :
4755 # Broken: success on invalid input.
4756 continue
4757 else
4758 # Passes both tests.
4759 ac_preproc_ok=:
4760 break
4761 fi
4762 rm -f conftest.err conftest.i conftest.$ac_ext
4763
4764 done
4765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4766 rm -f conftest.i conftest.err conftest.$ac_ext
4767 if $ac_preproc_ok; then :
4768 break
4769 fi
4770
4771 done
4772 ac_cv_prog_CPP=$CPP
4773
4774 fi
4775 CPP=$ac_cv_prog_CPP
4776 else
4777 ac_cv_prog_CPP=$CPP
4778 fi
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4780 $as_echo "$CPP" >&6; }
4781 ac_preproc_ok=false
4782 for ac_c_preproc_warn_flag in '' yes
4783 do
4784 # Use a header file that comes with gcc, so configuring glibc
4785 # with a fresh cross-compiler works.
4786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4787 # <limits.h> exists even on freestanding compilers.
4788 # On the NeXT, cc -E runs the code through the compiler's parser,
4789 # not just through cpp. "Syntax error" is here to catch this case.
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4792 #ifdef __STDC__
4793 # include <limits.h>
4794 #else
4795 # include <assert.h>
4796 #endif
4797 Syntax error
4798 _ACEOF
4799 if ac_fn_c_try_cpp "$LINENO"; then :
4800
4801 else
4802 # Broken: fails on valid input.
4803 continue
4804 fi
4805 rm -f conftest.err conftest.i conftest.$ac_ext
4806
4807 # OK, works on sane cases. Now check whether nonexistent headers
4808 # can be detected and how.
4809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4811 #include <ac_nonexistent.h>
4812 _ACEOF
4813 if ac_fn_c_try_cpp "$LINENO"; then :
4814 # Broken: success on invalid input.
4815 continue
4816 else
4817 # Passes both tests.
4818 ac_preproc_ok=:
4819 break
4820 fi
4821 rm -f conftest.err conftest.i conftest.$ac_ext
4822
4823 done
4824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4825 rm -f conftest.i conftest.err conftest.$ac_ext
4826 if $ac_preproc_ok; then :
4827
4828 else
4829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4831 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4832 See \`config.log' for more details" "$LINENO" 5; }
4833 fi
4834
4835 ac_ext=c
4836 ac_cpp='$CPP $CPPFLAGS'
4837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4840
4841
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4843 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4844 if ${ac_cv_path_GREP+:} false; then :
4845 $as_echo_n "(cached) " >&6
4846 else
4847 if test -z "$GREP"; then
4848 ac_path_GREP_found=false
4849 # Loop through the user's path and test for each of PROGNAME-LIST
4850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4852 do
4853 IFS=$as_save_IFS
4854 test -z "$as_dir" && as_dir=.
4855 for ac_prog in grep ggrep; do
4856 for ac_exec_ext in '' $ac_executable_extensions; do
4857 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4858 as_fn_executable_p "$ac_path_GREP" || continue
4859 # Check for GNU ac_path_GREP and select it if it is found.
4860 # Check for GNU $ac_path_GREP
4861 case `"$ac_path_GREP" --version 2>&1` in
4862 *GNU*)
4863 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4864 *)
4865 ac_count=0
4866 $as_echo_n 0123456789 >"conftest.in"
4867 while :
4868 do
4869 cat "conftest.in" "conftest.in" >"conftest.tmp"
4870 mv "conftest.tmp" "conftest.in"
4871 cp "conftest.in" "conftest.nl"
4872 $as_echo 'GREP' >> "conftest.nl"
4873 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4874 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4875 as_fn_arith $ac_count + 1 && ac_count=$as_val
4876 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4877 # Best one so far, save it but keep looking for a better one
4878 ac_cv_path_GREP="$ac_path_GREP"
4879 ac_path_GREP_max=$ac_count
4880 fi
4881 # 10*(2^10) chars as input seems more than enough
4882 test $ac_count -gt 10 && break
4883 done
4884 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4885 esac
4886
4887 $ac_path_GREP_found && break 3
4888 done
4889 done
4890 done
4891 IFS=$as_save_IFS
4892 if test -z "$ac_cv_path_GREP"; then
4893 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4894 fi
4895 else
4896 ac_cv_path_GREP=$GREP
4897 fi
4898
4899 fi
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4901 $as_echo "$ac_cv_path_GREP" >&6; }
4902 GREP="$ac_cv_path_GREP"
4903
4904
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4906 $as_echo_n "checking for egrep... " >&6; }
4907 if ${ac_cv_path_EGREP+:} false; then :
4908 $as_echo_n "(cached) " >&6
4909 else
4910 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4911 then ac_cv_path_EGREP="$GREP -E"
4912 else
4913 if test -z "$EGREP"; then
4914 ac_path_EGREP_found=false
4915 # Loop through the user's path and test for each of PROGNAME-LIST
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4918 do
4919 IFS=$as_save_IFS
4920 test -z "$as_dir" && as_dir=.
4921 for ac_prog in egrep; do
4922 for ac_exec_ext in '' $ac_executable_extensions; do
4923 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4924 as_fn_executable_p "$ac_path_EGREP" || continue
4925 # Check for GNU ac_path_EGREP and select it if it is found.
4926 # Check for GNU $ac_path_EGREP
4927 case `"$ac_path_EGREP" --version 2>&1` in
4928 *GNU*)
4929 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4930 *)
4931 ac_count=0
4932 $as_echo_n 0123456789 >"conftest.in"
4933 while :
4934 do
4935 cat "conftest.in" "conftest.in" >"conftest.tmp"
4936 mv "conftest.tmp" "conftest.in"
4937 cp "conftest.in" "conftest.nl"
4938 $as_echo 'EGREP' >> "conftest.nl"
4939 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4940 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4941 as_fn_arith $ac_count + 1 && ac_count=$as_val
4942 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4943 # Best one so far, save it but keep looking for a better one
4944 ac_cv_path_EGREP="$ac_path_EGREP"
4945 ac_path_EGREP_max=$ac_count
4946 fi
4947 # 10*(2^10) chars as input seems more than enough
4948 test $ac_count -gt 10 && break
4949 done
4950 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4951 esac
4952
4953 $ac_path_EGREP_found && break 3
4954 done
4955 done
4956 done
4957 IFS=$as_save_IFS
4958 if test -z "$ac_cv_path_EGREP"; then
4959 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4960 fi
4961 else
4962 ac_cv_path_EGREP=$EGREP
4963 fi
4964
4965 fi
4966 fi
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4968 $as_echo "$ac_cv_path_EGREP" >&6; }
4969 EGREP="$ac_cv_path_EGREP"
4970
4971
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4973 $as_echo_n "checking for ANSI C header files... " >&6; }
4974 if ${ac_cv_header_stdc+:} false; then :
4975 $as_echo_n "(cached) " >&6
4976 else
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4979 #include <stdlib.h>
4980 #include <stdarg.h>
4981 #include <string.h>
4982 #include <float.h>
4983
4984 int
4985 main ()
4986 {
4987
4988 ;
4989 return 0;
4990 }
4991 _ACEOF
4992 if ac_fn_c_try_compile "$LINENO"; then :
4993 ac_cv_header_stdc=yes
4994 else
4995 ac_cv_header_stdc=no
4996 fi
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998
4999 if test $ac_cv_header_stdc = yes; then
5000 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5003 #include <string.h>
5004
5005 _ACEOF
5006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5007 $EGREP "memchr" >/dev/null 2>&1; then :
5008
5009 else
5010 ac_cv_header_stdc=no
5011 fi
5012 rm -f conftest*
5013
5014 fi
5015
5016 if test $ac_cv_header_stdc = yes; then
5017 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5020 #include <stdlib.h>
5021
5022 _ACEOF
5023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5024 $EGREP "free" >/dev/null 2>&1; then :
5025
5026 else
5027 ac_cv_header_stdc=no
5028 fi
5029 rm -f conftest*
5030
5031 fi
5032
5033 if test $ac_cv_header_stdc = yes; then
5034 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5035 if test "$cross_compiling" = yes; then :
5036 :
5037 else
5038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5039 /* end confdefs.h. */
5040 #include <ctype.h>
5041 #include <stdlib.h>
5042 #if ((' ' & 0x0FF) == 0x020)
5043 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5044 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5045 #else
5046 # define ISLOWER(c) \
5047 (('a' <= (c) && (c) <= 'i') \
5048 || ('j' <= (c) && (c) <= 'r') \
5049 || ('s' <= (c) && (c) <= 'z'))
5050 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5051 #endif
5052
5053 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5054 int
5055 main ()
5056 {
5057 int i;
5058 for (i = 0; i < 256; i++)
5059 if (XOR (islower (i), ISLOWER (i))
5060 || toupper (i) != TOUPPER (i))
5061 return 2;
5062 return 0;
5063 }
5064 _ACEOF
5065 if ac_fn_c_try_run "$LINENO"; then :
5066
5067 else
5068 ac_cv_header_stdc=no
5069 fi
5070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5071 conftest.$ac_objext conftest.beam conftest.$ac_ext
5072 fi
5073
5074 fi
5075 fi
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5077 $as_echo "$ac_cv_header_stdc" >&6; }
5078 if test $ac_cv_header_stdc = yes; then
5079
5080 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5081
5082 fi
5083
5084 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5085 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5086 inttypes.h stdint.h unistd.h
5087 do :
5088 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5089 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5090 "
5091 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5092 cat >>confdefs.h <<_ACEOF
5093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5094 _ACEOF
5095
5096 fi
5097
5098 done
5099
5100
5101
5102 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5103 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5104 MINIX=yes
5105 else
5106 MINIX=
5107 fi
5108
5109
5110 if test "$MINIX" = yes; then
5111
5112 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5113
5114
5115 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5116
5117
5118 $as_echo "#define _MINIX 1" >>confdefs.h
5119
5120 fi
5121
5122
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5124 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5125 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5126 $as_echo_n "(cached) " >&6
5127 else
5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5130
5131 # define __EXTENSIONS__ 1
5132 $ac_includes_default
5133 int
5134 main ()
5135 {
5136
5137 ;
5138 return 0;
5139 }
5140 _ACEOF
5141 if ac_fn_c_try_compile "$LINENO"; then :
5142 ac_cv_safe_to_define___extensions__=yes
5143 else
5144 ac_cv_safe_to_define___extensions__=no
5145 fi
5146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5147 fi
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5149 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5150 test $ac_cv_safe_to_define___extensions__ = yes &&
5151 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5152
5153 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5154
5155 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5156
5157 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5158
5159 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5160
5161
5162
5163
5164 # Check whether --with-toolexeclibdir was given.
5165 if test "${with_toolexeclibdir+set}" = set; then :
5166 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5167 /)
5168 ;;
5169 */)
5170 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
5171 ;;
5172 esac
5173 else
5174 with_toolexeclibdir=no
5175 fi
5176
5177
5178
5179 # Calculate toolexeclibdir
5180 # Also toolexecdir, though it's only used in toolexeclibdir
5181 case ${version_specific_libs} in
5182 yes)
5183 # Need the gcc compiler version to know where to install libraries
5184 # and header files if --enable-version-specific-runtime-libs option
5185 # is selected.
5186 toolexecdir='$(libdir)/gcc/$(target_alias)'
5187 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5188 ;;
5189 no)
5190 if test -n "$with_cross_host" &&
5191 test x"$with_cross_host" != x"no"; then
5192 # Install a library built with a cross compiler in tooldir, not libdir.
5193 toolexecdir='$(exec_prefix)/$(target_alias)'
5194 case ${with_toolexeclibdir} in
5195 no)
5196 toolexeclibdir='$(toolexecdir)/lib'
5197 ;;
5198 *)
5199 toolexeclibdir=${with_toolexeclibdir}
5200 ;;
5201 esac
5202 else
5203 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5204 toolexeclibdir='$(libdir)'
5205 fi
5206 multi_os_directory=`$CC -print-multi-os-directory`
5207 case $multi_os_directory in
5208 .) ;; # Avoid trailing /.
5209 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5210 esac
5211 ;;
5212 esac
5213
5214
5215
5216 # Create a spec file, so that compile/link tests don't fail
5217 test -f libgfortran.spec || touch libgfortran.spec
5218
5219 ac_ext=c
5220 ac_cpp='$CPP $CPPFLAGS'
5221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5224
5225 # Check the compiler.
5226 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5227 # We must force CC to /not/ be precious variables; otherwise
5228 # the wrong, non-multilib-adjusted value will be used in multilibs.
5229 # As a side effect, we have to subst CFLAGS ourselves.
5230
5231
5232
5233 ac_ext=c
5234 ac_cpp='$CPP $CPPFLAGS'
5235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5238 if test -n "$ac_tool_prefix"; then
5239 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5240 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_CC+:} false; then :
5244 $as_echo_n "(cached) " >&6
5245 else
5246 if test -n "$CC"; then
5247 ac_cv_prog_CC="$CC" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5251 do
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5259 fi
5260 done
5261 done
5262 IFS=$as_save_IFS
5263
5264 fi
5265 fi
5266 CC=$ac_cv_prog_CC
5267 if test -n "$CC"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5269 $as_echo "$CC" >&6; }
5270 else
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5273 fi
5274
5275
5276 fi
5277 if test -z "$ac_cv_prog_CC"; then
5278 ac_ct_CC=$CC
5279 # Extract the first word of "gcc", so it can be a program name with args.
5280 set dummy gcc; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 if test -n "$ac_ct_CC"; then
5287 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5288 else
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH
5291 do
5292 IFS=$as_save_IFS
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_ac_ct_CC="gcc"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 break 2
5299 fi
5300 done
5301 done
5302 IFS=$as_save_IFS
5303
5304 fi
5305 fi
5306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5307 if test -n "$ac_ct_CC"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5309 $as_echo "$ac_ct_CC" >&6; }
5310 else
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5313 fi
5314
5315 if test "x$ac_ct_CC" = x; then
5316 CC=""
5317 else
5318 case $cross_compiling:$ac_tool_warned in
5319 yes:)
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5322 ac_tool_warned=yes ;;
5323 esac
5324 CC=$ac_ct_CC
5325 fi
5326 else
5327 CC="$ac_cv_prog_CC"
5328 fi
5329
5330 if test -z "$CC"; then
5331 if test -n "$ac_tool_prefix"; then
5332 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5333 set dummy ${ac_tool_prefix}cc; ac_word=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_prog_CC+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 if test -n "$CC"; then
5340 ac_cv_prog_CC="$CC" # Let the user override the test.
5341 else
5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343 for as_dir in $PATH
5344 do
5345 IFS=$as_save_IFS
5346 test -z "$as_dir" && as_dir=.
5347 for ac_exec_ext in '' $ac_executable_extensions; do
5348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5349 ac_cv_prog_CC="${ac_tool_prefix}cc"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 break 2
5352 fi
5353 done
5354 done
5355 IFS=$as_save_IFS
5356
5357 fi
5358 fi
5359 CC=$ac_cv_prog_CC
5360 if test -n "$CC"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5362 $as_echo "$CC" >&6; }
5363 else
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5366 fi
5367
5368
5369 fi
5370 fi
5371 if test -z "$CC"; then
5372 # Extract the first word of "cc", so it can be a program name with args.
5373 set dummy cc; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_CC+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$CC"; then
5380 ac_cv_prog_CC="$CC" # Let the user override the test.
5381 else
5382 ac_prog_rejected=no
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH
5385 do
5386 IFS=$as_save_IFS
5387 test -z "$as_dir" && as_dir=.
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5390 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5391 ac_prog_rejected=yes
5392 continue
5393 fi
5394 ac_cv_prog_CC="cc"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5397 fi
5398 done
5399 done
5400 IFS=$as_save_IFS
5401
5402 if test $ac_prog_rejected = yes; then
5403 # We found a bogon in the path, so make sure we never use it.
5404 set dummy $ac_cv_prog_CC
5405 shift
5406 if test $# != 0; then
5407 # We chose a different compiler from the bogus one.
5408 # However, it has the same basename, so the bogon will be chosen
5409 # first if we set CC to just the basename; use the full file name.
5410 shift
5411 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5412 fi
5413 fi
5414 fi
5415 fi
5416 CC=$ac_cv_prog_CC
5417 if test -n "$CC"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5419 $as_echo "$CC" >&6; }
5420 else
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5423 fi
5424
5425
5426 fi
5427 if test -z "$CC"; then
5428 if test -n "$ac_tool_prefix"; then
5429 for ac_prog in cl.exe
5430 do
5431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_CC+:} false; then :
5436 $as_echo_n "(cached) " >&6
5437 else
5438 if test -n "$CC"; then
5439 ac_cv_prog_CC="$CC" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5443 do
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5448 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5451 fi
5452 done
5453 done
5454 IFS=$as_save_IFS
5455
5456 fi
5457 fi
5458 CC=$ac_cv_prog_CC
5459 if test -n "$CC"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5461 $as_echo "$CC" >&6; }
5462 else
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5465 fi
5466
5467
5468 test -n "$CC" && break
5469 done
5470 fi
5471 if test -z "$CC"; then
5472 ac_ct_CC=$CC
5473 for ac_prog in cl.exe
5474 do
5475 # Extract the first word of "$ac_prog", so it can be a program name with args.
5476 set dummy $ac_prog; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 if test -n "$ac_ct_CC"; then
5483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5487 do
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_ac_ct_CC="$ac_prog"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5495 fi
5496 done
5497 done
5498 IFS=$as_save_IFS
5499
5500 fi
5501 fi
5502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5503 if test -n "$ac_ct_CC"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5505 $as_echo "$ac_ct_CC" >&6; }
5506 else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5509 fi
5510
5511
5512 test -n "$ac_ct_CC" && break
5513 done
5514
5515 if test "x$ac_ct_CC" = x; then
5516 CC=""
5517 else
5518 case $cross_compiling:$ac_tool_warned in
5519 yes:)
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5522 ac_tool_warned=yes ;;
5523 esac
5524 CC=$ac_ct_CC
5525 fi
5526 fi
5527
5528 fi
5529
5530
5531 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5533 as_fn_error $? "no acceptable C compiler found in \$PATH
5534 See \`config.log' for more details" "$LINENO" 5; }
5535
5536 # Provide some information about the compiler.
5537 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5538 set X $ac_compile
5539 ac_compiler=$2
5540 for ac_option in --version -v -V -qversion; do
5541 { { ac_try="$ac_compiler $ac_option >&5"
5542 case "(($ac_try" in
5543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5544 *) ac_try_echo=$ac_try;;
5545 esac
5546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5547 $as_echo "$ac_try_echo"; } >&5
5548 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5549 ac_status=$?
5550 if test -s conftest.err; then
5551 sed '10a\
5552 ... rest of stderr output deleted ...
5553 10q' conftest.err >conftest.er1
5554 cat conftest.er1 >&5
5555 fi
5556 rm -f conftest.er1 conftest.err
5557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5558 test $ac_status = 0; }
5559 done
5560
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5562 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5563 if ${ac_cv_c_compiler_gnu+:} false; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5568
5569 int
5570 main ()
5571 {
5572 #ifndef __GNUC__
5573 choke me
5574 #endif
5575
5576 ;
5577 return 0;
5578 }
5579 _ACEOF
5580 if ac_fn_c_try_compile "$LINENO"; then :
5581 ac_compiler_gnu=yes
5582 else
5583 ac_compiler_gnu=no
5584 fi
5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5586 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5587
5588 fi
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5590 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5591 if test $ac_compiler_gnu = yes; then
5592 GCC=yes
5593 else
5594 GCC=
5595 fi
5596 ac_test_CFLAGS=${CFLAGS+set}
5597 ac_save_CFLAGS=$CFLAGS
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5599 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5600 if ${ac_cv_prog_cc_g+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602 else
5603 ac_save_c_werror_flag=$ac_c_werror_flag
5604 ac_c_werror_flag=yes
5605 ac_cv_prog_cc_g=no
5606 CFLAGS="-g"
5607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5609
5610 int
5611 main ()
5612 {
5613
5614 ;
5615 return 0;
5616 }
5617 _ACEOF
5618 if ac_fn_c_try_compile "$LINENO"; then :
5619 ac_cv_prog_cc_g=yes
5620 else
5621 CFLAGS=""
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5624
5625 int
5626 main ()
5627 {
5628
5629 ;
5630 return 0;
5631 }
5632 _ACEOF
5633 if ac_fn_c_try_compile "$LINENO"; then :
5634
5635 else
5636 ac_c_werror_flag=$ac_save_c_werror_flag
5637 CFLAGS="-g"
5638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5639 /* end confdefs.h. */
5640
5641 int
5642 main ()
5643 {
5644
5645 ;
5646 return 0;
5647 }
5648 _ACEOF
5649 if ac_fn_c_try_compile "$LINENO"; then :
5650 ac_cv_prog_cc_g=yes
5651 fi
5652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5653 fi
5654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5655 fi
5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5657 ac_c_werror_flag=$ac_save_c_werror_flag
5658 fi
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5660 $as_echo "$ac_cv_prog_cc_g" >&6; }
5661 if test "$ac_test_CFLAGS" = set; then
5662 CFLAGS=$ac_save_CFLAGS
5663 elif test $ac_cv_prog_cc_g = yes; then
5664 if test "$GCC" = yes; then
5665 CFLAGS="-g -O2"
5666 else
5667 CFLAGS="-g"
5668 fi
5669 else
5670 if test "$GCC" = yes; then
5671 CFLAGS="-O2"
5672 else
5673 CFLAGS=
5674 fi
5675 fi
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5677 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5678 if ${ac_cv_prog_cc_c89+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680 else
5681 ac_cv_prog_cc_c89=no
5682 ac_save_CC=$CC
5683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5685 #include <stdarg.h>
5686 #include <stdio.h>
5687 struct stat;
5688 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5689 struct buf { int x; };
5690 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5691 static char *e (p, i)
5692 char **p;
5693 int i;
5694 {
5695 return p[i];
5696 }
5697 static char *f (char * (*g) (char **, int), char **p, ...)
5698 {
5699 char *s;
5700 va_list v;
5701 va_start (v,p);
5702 s = g (p, va_arg (v,int));
5703 va_end (v);
5704 return s;
5705 }
5706
5707 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5708 function prototypes and stuff, but not '\xHH' hex character constants.
5709 These don't provoke an error unfortunately, instead are silently treated
5710 as 'x'. The following induces an error, until -std is added to get
5711 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5712 array size at least. It's necessary to write '\x00'==0 to get something
5713 that's true only with -std. */
5714 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5715
5716 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5717 inside strings and character constants. */
5718 #define FOO(x) 'x'
5719 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5720
5721 int test (int i, double x);
5722 struct s1 {int (*f) (int a);};
5723 struct s2 {int (*f) (double a);};
5724 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5725 int argc;
5726 char **argv;
5727 int
5728 main ()
5729 {
5730 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5731 ;
5732 return 0;
5733 }
5734 _ACEOF
5735 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5736 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5737 do
5738 CC="$ac_save_CC $ac_arg"
5739 if ac_fn_c_try_compile "$LINENO"; then :
5740 ac_cv_prog_cc_c89=$ac_arg
5741 fi
5742 rm -f core conftest.err conftest.$ac_objext
5743 test "x$ac_cv_prog_cc_c89" != "xno" && break
5744 done
5745 rm -f conftest.$ac_ext
5746 CC=$ac_save_CC
5747
5748 fi
5749 # AC_CACHE_VAL
5750 case "x$ac_cv_prog_cc_c89" in
5751 x)
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5753 $as_echo "none needed" >&6; } ;;
5754 xno)
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5756 $as_echo "unsupported" >&6; } ;;
5757 *)
5758 CC="$CC $ac_cv_prog_cc_c89"
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5760 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5761 esac
5762 if test "x$ac_cv_prog_cc_c89" != xno; then :
5763
5764 fi
5765
5766 ac_ext=c
5767 ac_cpp='$CPP $CPPFLAGS'
5768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5771
5772 ac_ext=c
5773 ac_cpp='$CPP $CPPFLAGS'
5774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5778 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5779 if ${am_cv_prog_cc_c_o+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5784
5785 int
5786 main ()
5787 {
5788
5789 ;
5790 return 0;
5791 }
5792 _ACEOF
5793 # Make sure it works both with $CC and with simple cc.
5794 # Following AC_PROG_CC_C_O, we do the test twice because some
5795 # compilers refuse to overwrite an existing .o file with -o,
5796 # though they will create one.
5797 am_cv_prog_cc_c_o=yes
5798 for am_i in 1 2; do
5799 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5800 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5801 ac_status=$?
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); } \
5804 && test -f conftest2.$ac_objext; then
5805 : OK
5806 else
5807 am_cv_prog_cc_c_o=no
5808 break
5809 fi
5810 done
5811 rm -f core conftest*
5812 unset am_i
5813 fi
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5815 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5816 if test "$am_cv_prog_cc_c_o" != yes; then
5817 # Losing compiler, so override with the script.
5818 # FIXME: It is wrong to rewrite CC.
5819 # But if we don't then we get into trouble of one sort or another.
5820 # A longer-term fix would be to have automake use am__CC in this case,
5821 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5822 CC="$am_aux_dir/compile $CC"
5823 fi
5824 ac_ext=c
5825 ac_cpp='$CPP $CPPFLAGS'
5826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5829
5830
5831 depcc="$CC" am_compiler_list=
5832
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5834 $as_echo_n "checking dependency style of $depcc... " >&6; }
5835 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5839 # We make a subdir and do the tests there. Otherwise we can end up
5840 # making bogus files that we don't know about and never remove. For
5841 # instance it was reported that on HP-UX the gcc test will end up
5842 # making a dummy file named 'D' -- because '-MD' means "put the output
5843 # in D".
5844 rm -rf conftest.dir
5845 mkdir conftest.dir
5846 # Copy depcomp to subdir because otherwise we won't find it if we're
5847 # using a relative directory.
5848 cp "$am_depcomp" conftest.dir
5849 cd conftest.dir
5850 # We will build objects and dependencies in a subdirectory because
5851 # it helps to detect inapplicable dependency modes. For instance
5852 # both Tru64's cc and ICC support -MD to output dependencies as a
5853 # side effect of compilation, but ICC will put the dependencies in
5854 # the current directory while Tru64 will put them in the object
5855 # directory.
5856 mkdir sub
5857
5858 am_cv_CC_dependencies_compiler_type=none
5859 if test "$am_compiler_list" = ""; then
5860 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5861 fi
5862 am__universal=false
5863 case " $depcc " in #(
5864 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5865 esac
5866
5867 for depmode in $am_compiler_list; do
5868 # Setup a source with many dependencies, because some compilers
5869 # like to wrap large dependency lists on column 80 (with \), and
5870 # we should not choose a depcomp mode which is confused by this.
5871 #
5872 # We need to recreate these files for each test, as the compiler may
5873 # overwrite some of them when testing with obscure command lines.
5874 # This happens at least with the AIX C compiler.
5875 : > sub/conftest.c
5876 for i in 1 2 3 4 5 6; do
5877 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5878 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5879 # Solaris 10 /bin/sh.
5880 echo '/* dummy */' > sub/conftst$i.h
5881 done
5882 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5883
5884 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5885 # mode. It turns out that the SunPro C++ compiler does not properly
5886 # handle '-M -o', and we need to detect this. Also, some Intel
5887 # versions had trouble with output in subdirs.
5888 am__obj=sub/conftest.${OBJEXT-o}
5889 am__minus_obj="-o $am__obj"
5890 case $depmode in
5891 gcc)
5892 # This depmode causes a compiler race in universal mode.
5893 test "$am__universal" = false || continue
5894 ;;
5895 nosideeffect)
5896 # After this tag, mechanisms are not by side-effect, so they'll
5897 # only be used when explicitly requested.
5898 if test "x$enable_dependency_tracking" = xyes; then
5899 continue
5900 else
5901 break
5902 fi
5903 ;;
5904 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5905 # This compiler won't grok '-c -o', but also, the minuso test has
5906 # not run yet. These depmodes are late enough in the game, and
5907 # so weak that their functioning should not be impacted.
5908 am__obj=conftest.${OBJEXT-o}
5909 am__minus_obj=
5910 ;;
5911 none) break ;;
5912 esac
5913 if depmode=$depmode \
5914 source=sub/conftest.c object=$am__obj \
5915 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5916 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5917 >/dev/null 2>conftest.err &&
5918 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5919 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5920 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5921 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5922 # icc doesn't choke on unknown options, it will just issue warnings
5923 # or remarks (even with -Werror). So we grep stderr for any message
5924 # that says an option was ignored or not supported.
5925 # When given -MP, icc 7.0 and 7.1 complain thusly:
5926 # icc: Command line warning: ignoring option '-M'; no argument required
5927 # The diagnosis changed in icc 8.0:
5928 # icc: Command line remark: option '-MP' not supported
5929 if (grep 'ignoring option' conftest.err ||
5930 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5931 am_cv_CC_dependencies_compiler_type=$depmode
5932 break
5933 fi
5934 fi
5935 done
5936
5937 cd ..
5938 rm -rf conftest.dir
5939 else
5940 am_cv_CC_dependencies_compiler_type=none
5941 fi
5942
5943 fi
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5945 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5946 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5947
5948 if
5949 test "x$enable_dependency_tracking" != xno \
5950 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5951 am__fastdepCC_TRUE=
5952 am__fastdepCC_FALSE='#'
5953 else
5954 am__fastdepCC_TRUE='#'
5955 am__fastdepCC_FALSE=
5956 fi
5957
5958
5959
5960
5961
5962
5963
5964
5965 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5966 have_real_17=no
5967 if test "x$GCC" = "xyes"; then
5968 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5969 ## We like to use C11 and C99 routines when available. This makes
5970 ## sure that
5971 ## __STDC_VERSION__ is set such that libc includes make them available.
5972 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5973 ## Compile the following tests with the same system header contents
5974 ## that we'll encounter when compiling our own source files.
5975 CFLAGS="-std=gnu11 $CFLAGS"
5976
5977 case x$target in
5978 xpowerpc64le*-linux*)
5979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5981 #if __SIZEOF_LONG_DOUBLE__ != 16
5982 #error long double is double
5983 #endif
5984 int
5985 main ()
5986 {
5987 (void) 0;
5988 ;
5989 return 0;
5990 }
5991 _ACEOF
5992 if ac_fn_c_try_cpp "$LINENO"; then :
5993 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5994 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5995 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5996 have_real_17=yes
5997 fi
5998 rm -f conftest.err conftest.i conftest.$ac_ext
5999 ;;
6000 *)
6001 ;;
6002 esac
6003 fi
6004 if test "x$have_real_17" != xno; then
6005 HAVE_REAL_17_TRUE=
6006 HAVE_REAL_17_FALSE='#'
6007 else
6008 HAVE_REAL_17_TRUE='#'
6009 HAVE_REAL_17_FALSE=
6010 fi
6011
6012
6013 # Add CET specific flags if CET is enabled
6014 # Check whether --enable-cet was given.
6015 if test "${enable_cet+set}" = set; then :
6016 enableval=$enable_cet;
6017 case "$enableval" in
6018 yes|no|auto) ;;
6019 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6020 esac
6021
6022 else
6023 enable_cet=auto
6024 fi
6025
6026
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6028 $as_echo_n "checking for CET support... " >&6; }
6029
6030 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6031 case "$host" in
6032 i[34567]86-*-linux* | x86_64-*-linux*)
6033 case "$enable_cet" in
6034 auto)
6035 # Check if target supports multi-byte NOPs
6036 # and if compiler and assembler support CET insn.
6037 cet_save_CFLAGS="$CFLAGS"
6038 CFLAGS="$CFLAGS -fcf-protection"
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6041
6042 int
6043 main ()
6044 {
6045
6046 #if !defined(__SSE2__)
6047 #error target does not support multi-byte NOPs
6048 #else
6049 asm ("setssbsy");
6050 #endif
6051
6052 ;
6053 return 0;
6054 }
6055 _ACEOF
6056 if ac_fn_c_try_compile "$LINENO"; then :
6057 enable_cet=yes
6058 else
6059 enable_cet=no
6060 fi
6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6062 CFLAGS="$cet_save_CFLAGS"
6063 ;;
6064 yes)
6065 # Check if assembler supports CET.
6066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6068
6069 int
6070 main ()
6071 {
6072 asm ("setssbsy");
6073 ;
6074 return 0;
6075 }
6076 _ACEOF
6077 if ac_fn_c_try_compile "$LINENO"; then :
6078
6079 else
6080 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6081 fi
6082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6083 ;;
6084 esac
6085 ;;
6086 *)
6087 enable_cet=no
6088 ;;
6089 esac
6090 if test x$enable_cet = xyes; then
6091 CET_FLAGS="-fcf-protection -mshstk"
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6093 $as_echo "yes" >&6; }
6094 else
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6097 fi
6098
6099 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6100 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6101 CFLAGS="$CFLAGS $CET_FLAGS"
6102
6103
6104
6105
6106
6107 # Check for symbol versioning (copied from libssp).
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6109 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6110 # Check whether --enable-symvers was given.
6111 if test "${enable_symvers+set}" = set; then :
6112 enableval=$enable_symvers; gfortran_use_symver=$enableval
6113 else
6114 gfortran_use_symver=yes
6115 fi
6116
6117 if test "x$gfortran_use_symver" != xno; then
6118 save_LDFLAGS="$LDFLAGS"
6119 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6120 cat > conftest.map <<EOF
6121 FOO_1.0 {
6122 global: *foo*; bar; local: *;
6123 };
6124 EOF
6125 if test x$gcc_no_link = xyes; then
6126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6127 fi
6128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6130 int foo;
6131 int
6132 main ()
6133 {
6134
6135 ;
6136 return 0;
6137 }
6138 _ACEOF
6139 if ac_fn_c_try_link "$LINENO"; then :
6140 gfortran_use_symver=gnu
6141 else
6142 gfortran_use_symver=no
6143 fi
6144 rm -f core conftest.err conftest.$ac_objext \
6145 conftest$ac_exeext conftest.$ac_ext
6146 if test x$gfortran_use_symver = xno; then
6147 case "$target_os" in
6148 solaris2*)
6149 LDFLAGS="$save_LDFLAGS"
6150 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6151 # Sun ld cannot handle wildcards and treats all entries as undefined.
6152 cat > conftest.map <<EOF
6153 FOO_1.0 {
6154 global: foo; local: *;
6155 };
6156 EOF
6157 if test x$gcc_no_link = xyes; then
6158 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6159 fi
6160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6161 /* end confdefs.h. */
6162 int foo;
6163 int
6164 main ()
6165 {
6166
6167 ;
6168 return 0;
6169 }
6170 _ACEOF
6171 if ac_fn_c_try_link "$LINENO"; then :
6172 gfortran_use_symver=sun
6173 else
6174 gfortran_use_symver=no
6175 fi
6176 rm -f core conftest.err conftest.$ac_objext \
6177 conftest$ac_exeext conftest.$ac_ext
6178 ;;
6179 esac
6180 fi
6181 LDFLAGS="$save_LDFLAGS"
6182 fi
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6184 $as_echo "$gfortran_use_symver" >&6; }
6185 if test "x$gfortran_use_symver" != xno; then
6186 LIBGFOR_USE_SYMVER_TRUE=
6187 LIBGFOR_USE_SYMVER_FALSE='#'
6188 else
6189 LIBGFOR_USE_SYMVER_TRUE='#'
6190 LIBGFOR_USE_SYMVER_FALSE=
6191 fi
6192
6193 if test "x$gfortran_use_symver" = xgnu; then
6194 LIBGFOR_USE_SYMVER_GNU_TRUE=
6195 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6196 else
6197 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6198 LIBGFOR_USE_SYMVER_GNU_FALSE=
6199 fi
6200
6201 if test "x$gfortran_use_symver" = xsun; then
6202 LIBGFOR_USE_SYMVER_SUN_TRUE=
6203 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6204 else
6205 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6206 LIBGFOR_USE_SYMVER_SUN_FALSE=
6207 fi
6208
6209
6210 # For GPU offloading, not everything in libfortran can be supported.
6211 # Currently, the only target that has this problem is nvptx. The
6212 # following is a (partial) list of features that are unsupportable on
6213 # this particular target:
6214 # * Constructors
6215 # * alloca
6216 # * C library support for I/O, with printf as the one notable exception
6217 # * C library support for other features such as signal, environment
6218 # variables, time functions
6219
6220 if test "x${target_cpu}" = xnvptx; then
6221 LIBGFOR_MINIMAL_TRUE=
6222 LIBGFOR_MINIMAL_FALSE='#'
6223 else
6224 LIBGFOR_MINIMAL_TRUE='#'
6225 LIBGFOR_MINIMAL_FALSE=
6226 fi
6227
6228
6229 # Some compiler target support may have limited support for integer
6230 # or floating point numbers – or may want to reduce the libgfortran size
6231 # although they do have the support.
6232 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6233 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6234
6235
6236
6237
6238 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6239 # similarly to how libstdc++ does it
6240 ac_test_CFLAGS="${CFLAGS+set}"
6241 ac_save_CFLAGS="$CFLAGS"
6242
6243 # Check for -ffunction-sections -fdata-sections
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6245 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6246 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6249
6250 int
6251 main ()
6252 {
6253 int foo;
6254 ;
6255 return 0;
6256 }
6257 _ACEOF
6258 if ac_fn_c_try_compile "$LINENO"; then :
6259 ac_fdsections=yes
6260 else
6261 ac_fdsections=no
6262 fi
6263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6264 if test "$ac_test_CFLAGS" = set; then
6265 CFLAGS="$ac_save_CFLAGS"
6266 else
6267 # this is the suspicious part
6268 CFLAGS=""
6269 fi
6270 if test x"$ac_fdsections" = x"yes"; then
6271 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6272 fi
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6274 $as_echo "$ac_fdsections" >&6; }
6275
6276
6277 # Check linker hardware capability support.
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6279 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6280 if ${ac_cv_path_SED+:} false; then :
6281 $as_echo_n "(cached) " >&6
6282 else
6283 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6284 for ac_i in 1 2 3 4 5 6 7; do
6285 ac_script="$ac_script$as_nl$ac_script"
6286 done
6287 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6288 { ac_script=; unset ac_script;}
6289 if test -z "$SED"; then
6290 ac_path_SED_found=false
6291 # Loop through the user's path and test for each of PROGNAME-LIST
6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 for as_dir in $PATH
6294 do
6295 IFS=$as_save_IFS
6296 test -z "$as_dir" && as_dir=.
6297 for ac_prog in sed gsed; do
6298 for ac_exec_ext in '' $ac_executable_extensions; do
6299 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6300 as_fn_executable_p "$ac_path_SED" || continue
6301 # Check for GNU ac_path_SED and select it if it is found.
6302 # Check for GNU $ac_path_SED
6303 case `"$ac_path_SED" --version 2>&1` in
6304 *GNU*)
6305 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6306 *)
6307 ac_count=0
6308 $as_echo_n 0123456789 >"conftest.in"
6309 while :
6310 do
6311 cat "conftest.in" "conftest.in" >"conftest.tmp"
6312 mv "conftest.tmp" "conftest.in"
6313 cp "conftest.in" "conftest.nl"
6314 $as_echo '' >> "conftest.nl"
6315 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6316 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6317 as_fn_arith $ac_count + 1 && ac_count=$as_val
6318 if test $ac_count -gt ${ac_path_SED_max-0}; then
6319 # Best one so far, save it but keep looking for a better one
6320 ac_cv_path_SED="$ac_path_SED"
6321 ac_path_SED_max=$ac_count
6322 fi
6323 # 10*(2^10) chars as input seems more than enough
6324 test $ac_count -gt 10 && break
6325 done
6326 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6327 esac
6328
6329 $ac_path_SED_found && break 3
6330 done
6331 done
6332 done
6333 IFS=$as_save_IFS
6334 if test -z "$ac_cv_path_SED"; then
6335 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6336 fi
6337 else
6338 ac_cv_path_SED=$SED
6339 fi
6340
6341 fi
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6343 $as_echo "$ac_cv_path_SED" >&6; }
6344 SED="$ac_cv_path_SED"
6345 rm -f conftest.sed
6346
6347 test -z "$SED" && SED=sed
6348 Xsed="$SED -e 1s/^X//"
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6361 $as_echo_n "checking for fgrep... " >&6; }
6362 if ${ac_cv_path_FGREP+:} false; then :
6363 $as_echo_n "(cached) " >&6
6364 else
6365 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6366 then ac_cv_path_FGREP="$GREP -F"
6367 else
6368 if test -z "$FGREP"; then
6369 ac_path_FGREP_found=false
6370 # Loop through the user's path and test for each of PROGNAME-LIST
6371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6373 do
6374 IFS=$as_save_IFS
6375 test -z "$as_dir" && as_dir=.
6376 for ac_prog in fgrep; do
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6379 as_fn_executable_p "$ac_path_FGREP" || continue
6380 # Check for GNU ac_path_FGREP and select it if it is found.
6381 # Check for GNU $ac_path_FGREP
6382 case `"$ac_path_FGREP" --version 2>&1` in
6383 *GNU*)
6384 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6385 *)
6386 ac_count=0
6387 $as_echo_n 0123456789 >"conftest.in"
6388 while :
6389 do
6390 cat "conftest.in" "conftest.in" >"conftest.tmp"
6391 mv "conftest.tmp" "conftest.in"
6392 cp "conftest.in" "conftest.nl"
6393 $as_echo 'FGREP' >> "conftest.nl"
6394 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6395 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6396 as_fn_arith $ac_count + 1 && ac_count=$as_val
6397 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6398 # Best one so far, save it but keep looking for a better one
6399 ac_cv_path_FGREP="$ac_path_FGREP"
6400 ac_path_FGREP_max=$ac_count
6401 fi
6402 # 10*(2^10) chars as input seems more than enough
6403 test $ac_count -gt 10 && break
6404 done
6405 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6406 esac
6407
6408 $ac_path_FGREP_found && break 3
6409 done
6410 done
6411 done
6412 IFS=$as_save_IFS
6413 if test -z "$ac_cv_path_FGREP"; then
6414 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6415 fi
6416 else
6417 ac_cv_path_FGREP=$FGREP
6418 fi
6419
6420 fi
6421 fi
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6423 $as_echo "$ac_cv_path_FGREP" >&6; }
6424 FGREP="$ac_cv_path_FGREP"
6425
6426
6427 test -z "$GREP" && GREP=grep
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6446 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6447 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6448
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6450 $as_echo_n "checking how to print strings... " >&6; }
6451 # Test print first, because it will be a builtin if present.
6452 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6453 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6454 ECHO='print -r --'
6455 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6456 ECHO='printf %s\n'
6457 else
6458 # Use this function as a fallback that always works.
6459 func_fallback_echo ()
6460 {
6461 eval 'cat <<_LTECHO_EOF
6462 $1
6463 _LTECHO_EOF'
6464 }
6465 ECHO='func_fallback_echo'
6466 fi
6467
6468 # func_echo_all arg...
6469 # Invoke $ECHO with all args, space-separated.
6470 func_echo_all ()
6471 {
6472 $ECHO ""
6473 }
6474
6475 case "$ECHO" in
6476 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6477 $as_echo "printf" >&6; } ;;
6478 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6479 $as_echo "print -r" >&6; } ;;
6480 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6481 $as_echo "cat" >&6; } ;;
6482 esac
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499 # Check whether --with-gnu-ld was given.
6500 if test "${with_gnu_ld+set}" = set; then :
6501 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6502 else
6503 with_gnu_ld=no
6504 fi
6505
6506 ac_prog=ld
6507 if test "$GCC" = yes; then
6508 # Check if gcc -print-prog-name=ld gives a path.
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6510 $as_echo_n "checking for ld used by $CC... " >&6; }
6511 case $host in
6512 *-*-mingw*)
6513 # gcc leaves a trailing carriage return which upsets mingw
6514 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6515 *)
6516 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6517 esac
6518 case $ac_prog in
6519 # Accept absolute paths.
6520 [\\/]* | ?:[\\/]*)
6521 re_direlt='/[^/][^/]*/\.\./'
6522 # Canonicalize the pathname of ld
6523 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6524 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6525 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6526 done
6527 test -z "$LD" && LD="$ac_prog"
6528 ;;
6529 "")
6530 # If it fails, then pretend we aren't using GCC.
6531 ac_prog=ld
6532 ;;
6533 *)
6534 # If it is relative, then search for the first ld in PATH.
6535 with_gnu_ld=unknown
6536 ;;
6537 esac
6538 elif test "$with_gnu_ld" = yes; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6540 $as_echo_n "checking for GNU ld... " >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6543 $as_echo_n "checking for non-GNU ld... " >&6; }
6544 fi
6545 if ${lt_cv_path_LD+:} false; then :
6546 $as_echo_n "(cached) " >&6
6547 else
6548 if test -z "$LD"; then
6549 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6550 for ac_dir in $PATH; do
6551 IFS="$lt_save_ifs"
6552 test -z "$ac_dir" && ac_dir=.
6553 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6554 lt_cv_path_LD="$ac_dir/$ac_prog"
6555 # Check to see if the program is GNU ld. I'd rather use --version,
6556 # but apparently some variants of GNU ld only accept -v.
6557 # Break only if it was the GNU/non-GNU ld that we prefer.
6558 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6559 *GNU* | *'with BFD'*)
6560 test "$with_gnu_ld" != no && break
6561 ;;
6562 *)
6563 test "$with_gnu_ld" != yes && break
6564 ;;
6565 esac
6566 fi
6567 done
6568 IFS="$lt_save_ifs"
6569 else
6570 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6571 fi
6572 fi
6573
6574 LD="$lt_cv_path_LD"
6575 if test -n "$LD"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6577 $as_echo "$LD" >&6; }
6578 else
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6581 fi
6582 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6584 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6585 if ${lt_cv_prog_gnu_ld+:} false; then :
6586 $as_echo_n "(cached) " >&6
6587 else
6588 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6589 case `$LD -v 2>&1 </dev/null` in
6590 *GNU* | *'with BFD'*)
6591 lt_cv_prog_gnu_ld=yes
6592 ;;
6593 *)
6594 lt_cv_prog_gnu_ld=no
6595 ;;
6596 esac
6597 fi
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6599 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6600 with_gnu_ld=$lt_cv_prog_gnu_ld
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6612
6613
6614 ac_save_LDFLAGS="$LDFLAGS"
6615 LDFLAGS="$LFLAGS -mclear-hwcap"
6616
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6618 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6619 if test x$gcc_no_link = xyes; then
6620 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6621 fi
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624
6625 int
6626 main ()
6627 {
6628 return 0;
6629 ;
6630 return 0;
6631 }
6632 _ACEOF
6633 if ac_fn_c_try_link "$LINENO"; then :
6634 ac_hwcap_ldflags=yes
6635 else
6636 ac_hwcap_ldflags=no
6637 fi
6638 rm -f core conftest.err conftest.$ac_objext \
6639 conftest$ac_exeext conftest.$ac_ext
6640 if test "$ac_hwcap_ldflags" = "yes"; then
6641 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6642 fi
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6644 $as_echo "$ac_hwcap_ldflags" >&6; }
6645
6646 LDFLAGS="$ac_save_LDFLAGS"
6647
6648
6649
6650 if test $ac_hwcap_ldflags != no; then
6651 HAVE_HWCAP_TRUE=
6652 HAVE_HWCAP_FALSE='#'
6653 else
6654 HAVE_HWCAP_TRUE='#'
6655 HAVE_HWCAP_FALSE=
6656 fi
6657
6658
6659
6660 # Find other programs we need.
6661 if test -n "$ac_tool_prefix"; then
6662 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6663 set dummy ${ac_tool_prefix}as; ac_word=$2
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 $as_echo_n "checking for $ac_word... " >&6; }
6666 if ${ac_cv_prog_AS+:} false; then :
6667 $as_echo_n "(cached) " >&6
6668 else
6669 if test -n "$AS"; then
6670 ac_cv_prog_AS="$AS" # Let the user override the test.
6671 else
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 for as_dir in $PATH
6674 do
6675 IFS=$as_save_IFS
6676 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6679 ac_cv_prog_AS="${ac_tool_prefix}as"
6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 break 2
6682 fi
6683 done
6684 done
6685 IFS=$as_save_IFS
6686
6687 fi
6688 fi
6689 AS=$ac_cv_prog_AS
6690 if test -n "$AS"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6692 $as_echo "$AS" >&6; }
6693 else
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6695 $as_echo "no" >&6; }
6696 fi
6697
6698
6699 fi
6700 if test -z "$ac_cv_prog_AS"; then
6701 ac_ct_AS=$AS
6702 # Extract the first word of "as", so it can be a program name with args.
6703 set dummy as; ac_word=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705 $as_echo_n "checking for $ac_word... " >&6; }
6706 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6707 $as_echo_n "(cached) " >&6
6708 else
6709 if test -n "$ac_ct_AS"; then
6710 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6711 else
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 for as_dir in $PATH
6714 do
6715 IFS=$as_save_IFS
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6719 ac_cv_prog_ac_ct_AS="as"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 break 2
6722 fi
6723 done
6724 done
6725 IFS=$as_save_IFS
6726
6727 fi
6728 fi
6729 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6730 if test -n "$ac_ct_AS"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6732 $as_echo "$ac_ct_AS" >&6; }
6733 else
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735 $as_echo "no" >&6; }
6736 fi
6737
6738 if test "x$ac_ct_AS" = x; then
6739 AS=""
6740 else
6741 case $cross_compiling:$ac_tool_warned in
6742 yes:)
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6745 ac_tool_warned=yes ;;
6746 esac
6747 AS=$ac_ct_AS
6748 fi
6749 else
6750 AS="$ac_cv_prog_AS"
6751 fi
6752
6753 if test -n "$ac_tool_prefix"; then
6754 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6755 set dummy ${ac_tool_prefix}ar; ac_word=$2
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 $as_echo_n "checking for $ac_word... " >&6; }
6758 if ${ac_cv_prog_AR+:} false; then :
6759 $as_echo_n "(cached) " >&6
6760 else
6761 if test -n "$AR"; then
6762 ac_cv_prog_AR="$AR" # Let the user override the test.
6763 else
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6765 for as_dir in $PATH
6766 do
6767 IFS=$as_save_IFS
6768 test -z "$as_dir" && as_dir=.
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6771 ac_cv_prog_AR="${ac_tool_prefix}ar"
6772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 break 2
6774 fi
6775 done
6776 done
6777 IFS=$as_save_IFS
6778
6779 fi
6780 fi
6781 AR=$ac_cv_prog_AR
6782 if test -n "$AR"; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6784 $as_echo "$AR" >&6; }
6785 else
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6787 $as_echo "no" >&6; }
6788 fi
6789
6790
6791 fi
6792 if test -z "$ac_cv_prog_AR"; then
6793 ac_ct_AR=$AR
6794 # Extract the first word of "ar", so it can be a program name with args.
6795 set dummy ar; ac_word=$2
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6797 $as_echo_n "checking for $ac_word... " >&6; }
6798 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6799 $as_echo_n "(cached) " >&6
6800 else
6801 if test -n "$ac_ct_AR"; then
6802 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6803 else
6804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805 for as_dir in $PATH
6806 do
6807 IFS=$as_save_IFS
6808 test -z "$as_dir" && as_dir=.
6809 for ac_exec_ext in '' $ac_executable_extensions; do
6810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6811 ac_cv_prog_ac_ct_AR="ar"
6812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813 break 2
6814 fi
6815 done
6816 done
6817 IFS=$as_save_IFS
6818
6819 fi
6820 fi
6821 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6822 if test -n "$ac_ct_AR"; then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6824 $as_echo "$ac_ct_AR" >&6; }
6825 else
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6827 $as_echo "no" >&6; }
6828 fi
6829
6830 if test "x$ac_ct_AR" = x; then
6831 AR=""
6832 else
6833 case $cross_compiling:$ac_tool_warned in
6834 yes:)
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6837 ac_tool_warned=yes ;;
6838 esac
6839 AR=$ac_ct_AR
6840 fi
6841 else
6842 AR="$ac_cv_prog_AR"
6843 fi
6844
6845 if test -n "$ac_tool_prefix"; then
6846 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6847 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6849 $as_echo_n "checking for $ac_word... " >&6; }
6850 if ${ac_cv_prog_RANLIB+:} false; then :
6851 $as_echo_n "(cached) " >&6
6852 else
6853 if test -n "$RANLIB"; then
6854 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6855 else
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6857 for as_dir in $PATH
6858 do
6859 IFS=$as_save_IFS
6860 test -z "$as_dir" && as_dir=.
6861 for ac_exec_ext in '' $ac_executable_extensions; do
6862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6863 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 break 2
6866 fi
6867 done
6868 done
6869 IFS=$as_save_IFS
6870
6871 fi
6872 fi
6873 RANLIB=$ac_cv_prog_RANLIB
6874 if test -n "$RANLIB"; then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6876 $as_echo "$RANLIB" >&6; }
6877 else
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6879 $as_echo "no" >&6; }
6880 fi
6881
6882
6883 fi
6884 if test -z "$ac_cv_prog_RANLIB"; then
6885 ac_ct_RANLIB=$RANLIB
6886 # Extract the first word of "ranlib", so it can be a program name with args.
6887 set dummy ranlib; ac_word=$2
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889 $as_echo_n "checking for $ac_word... " >&6; }
6890 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6891 $as_echo_n "(cached) " >&6
6892 else
6893 if test -n "$ac_ct_RANLIB"; then
6894 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6895 else
6896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 for as_dir in $PATH
6898 do
6899 IFS=$as_save_IFS
6900 test -z "$as_dir" && as_dir=.
6901 for ac_exec_ext in '' $ac_executable_extensions; do
6902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6903 ac_cv_prog_ac_ct_RANLIB="ranlib"
6904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 break 2
6906 fi
6907 done
6908 done
6909 IFS=$as_save_IFS
6910
6911 fi
6912 fi
6913 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6914 if test -n "$ac_ct_RANLIB"; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6916 $as_echo "$ac_ct_RANLIB" >&6; }
6917 else
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919 $as_echo "no" >&6; }
6920 fi
6921
6922 if test "x$ac_ct_RANLIB" = x; then
6923 RANLIB="ranlib-not-found-in-path-error"
6924 else
6925 case $cross_compiling:$ac_tool_warned in
6926 yes:)
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6929 ac_tool_warned=yes ;;
6930 esac
6931 RANLIB=$ac_ct_RANLIB
6932 fi
6933 else
6934 RANLIB="$ac_cv_prog_RANLIB"
6935 fi
6936
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6938 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6939 set x ${MAKE-make}
6940 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6941 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6942 $as_echo_n "(cached) " >&6
6943 else
6944 cat >conftest.make <<\_ACEOF
6945 SHELL = /bin/sh
6946 all:
6947 @echo '@@@%%%=$(MAKE)=@@@%%%'
6948 _ACEOF
6949 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6950 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6951 *@@@%%%=?*=@@@%%%*)
6952 eval ac_cv_prog_make_${ac_make}_set=yes;;
6953 *)
6954 eval ac_cv_prog_make_${ac_make}_set=no;;
6955 esac
6956 rm -f conftest.make
6957 fi
6958 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6960 $as_echo "yes" >&6; }
6961 SET_MAKE=
6962 else
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6965 SET_MAKE="MAKE=${MAKE-make}"
6966 fi
6967
6968
6969
6970 # Configure libtool
6971 #AC_MSG_NOTICE([====== Starting libtool configuration])
6972 enable_dlopen=yes
6973
6974
6975
6976 case `pwd` in
6977 *\ * | *\ *)
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6979 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6980 esac
6981
6982
6983
6984 macro_version='2.2.7a'
6985 macro_revision='1.3134'
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999 ltmain="$ac_aux_dir/ltmain.sh"
7000
7001 # Backslashify metacharacters that are still active within
7002 # double-quoted strings.
7003 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7004
7005 # Same as above, but do not quote variable references.
7006 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7007
7008 # Sed substitution to delay expansion of an escaped shell variable in a
7009 # double_quote_subst'ed string.
7010 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7011
7012 # Sed substitution to delay expansion of an escaped single quote.
7013 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7014
7015 # Sed substitution to avoid accidental globbing in evaled expressions
7016 no_glob_subst='s/\*/\\\*/g'
7017
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7019 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7020 if ${lt_cv_path_NM+:} false; then :
7021 $as_echo_n "(cached) " >&6
7022 else
7023 if test -n "$NM"; then
7024 # Let the user override the nm to test.
7025 lt_nm_to_check="$NM"
7026 else
7027 lt_nm_to_check="${ac_tool_prefix}nm"
7028 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7029 lt_nm_to_check="$lt_nm_to_check nm"
7030 fi
7031 fi
7032 for lt_tmp_nm in "$lt_nm_to_check"; do
7033 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7034 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7035 IFS="$lt_save_ifs"
7036 test -z "$ac_dir" && ac_dir=.
7037 # Strip out any user-provided options from the nm to test twice,
7038 # the first time to test to see if nm (rather than its options) has
7039 # an explicit path, the second time to yield a file which can be
7040 # nm'ed itself.
7041 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
7042 case "$tmp_nm_path" in
7043 */*|*\\*) tmp_nm="$lt_tmp_nm";;
7044 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
7045 esac
7046 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
7047 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
7048 # Check to see if the nm accepts a BSD-compat flag.
7049 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7050 # nm: unknown option "B" ignored
7051 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7052 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
7053 break
7054 ;;
7055 *)
7056 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7057 *$tmp_nm*)
7058 lt_cv_path_NM="$tmp_nm -p"
7059 break
7060 ;;
7061 *)
7062 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7063 continue # so that we can try to find one that supports BSD flags
7064 ;;
7065 esac
7066 ;;
7067 esac
7068 fi
7069 done
7070 IFS="$lt_save_ifs"
7071 done
7072 : ${lt_cv_path_NM=no}
7073 fi
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7075 $as_echo "$lt_cv_path_NM" >&6; }
7076 if test "$lt_cv_path_NM" != "no"; then
7077 NM="$lt_cv_path_NM"
7078 else
7079 # Didn't find any BSD compatible name lister, look for dumpbin.
7080 if test -n "$DUMPBIN"; then :
7081 # Let the user override the test.
7082 else
7083 if test -n "$ac_tool_prefix"; then
7084 for ac_prog in dumpbin "link -dump"
7085 do
7086 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7087 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 $as_echo_n "checking for $ac_word... " >&6; }
7090 if ${ac_cv_prog_DUMPBIN+:} false; then :
7091 $as_echo_n "(cached) " >&6
7092 else
7093 if test -n "$DUMPBIN"; then
7094 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7095 else
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 for as_dir in $PATH
7098 do
7099 IFS=$as_save_IFS
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7105 break 2
7106 fi
7107 done
7108 done
7109 IFS=$as_save_IFS
7110
7111 fi
7112 fi
7113 DUMPBIN=$ac_cv_prog_DUMPBIN
7114 if test -n "$DUMPBIN"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7116 $as_echo "$DUMPBIN" >&6; }
7117 else
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 $as_echo "no" >&6; }
7120 fi
7121
7122
7123 test -n "$DUMPBIN" && break
7124 done
7125 fi
7126 if test -z "$DUMPBIN"; then
7127 ac_ct_DUMPBIN=$DUMPBIN
7128 for ac_prog in dumpbin "link -dump"
7129 do
7130 # Extract the first word of "$ac_prog", so it can be a program name with args.
7131 set dummy $ac_prog; ac_word=$2
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7133 $as_echo_n "checking for $ac_word... " >&6; }
7134 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7135 $as_echo_n "(cached) " >&6
7136 else
7137 if test -n "$ac_ct_DUMPBIN"; then
7138 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7139 else
7140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141 for as_dir in $PATH
7142 do
7143 IFS=$as_save_IFS
7144 test -z "$as_dir" && as_dir=.
7145 for ac_exec_ext in '' $ac_executable_extensions; do
7146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7147 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7149 break 2
7150 fi
7151 done
7152 done
7153 IFS=$as_save_IFS
7154
7155 fi
7156 fi
7157 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7158 if test -n "$ac_ct_DUMPBIN"; then
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7160 $as_echo "$ac_ct_DUMPBIN" >&6; }
7161 else
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163 $as_echo "no" >&6; }
7164 fi
7165
7166
7167 test -n "$ac_ct_DUMPBIN" && break
7168 done
7169
7170 if test "x$ac_ct_DUMPBIN" = x; then
7171 DUMPBIN=":"
7172 else
7173 case $cross_compiling:$ac_tool_warned in
7174 yes:)
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7177 ac_tool_warned=yes ;;
7178 esac
7179 DUMPBIN=$ac_ct_DUMPBIN
7180 fi
7181 fi
7182
7183 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7184 *COFF*)
7185 DUMPBIN="$DUMPBIN -symbols"
7186 ;;
7187 *)
7188 DUMPBIN=:
7189 ;;
7190 esac
7191 fi
7192
7193 if test "$DUMPBIN" != ":"; then
7194 NM="$DUMPBIN"
7195 fi
7196 fi
7197 test -z "$NM" && NM=nm
7198
7199
7200
7201
7202
7203
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7205 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7206 if ${lt_cv_nm_interface+:} false; then :
7207 $as_echo_n "(cached) " >&6
7208 else
7209 lt_cv_nm_interface="BSD nm"
7210 echo "int some_variable = 0;" > conftest.$ac_ext
7211 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7212 (eval "$ac_compile" 2>conftest.err)
7213 cat conftest.err >&5
7214 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7215 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7216 cat conftest.err >&5
7217 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7218 cat conftest.out >&5
7219 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7220 lt_cv_nm_interface="MS dumpbin"
7221 fi
7222 rm -f conftest*
7223 fi
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7225 $as_echo "$lt_cv_nm_interface" >&6; }
7226
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7228 $as_echo_n "checking whether ln -s works... " >&6; }
7229 LN_S=$as_ln_s
7230 if test "$LN_S" = "ln -s"; then
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7232 $as_echo "yes" >&6; }
7233 else
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7235 $as_echo "no, using $LN_S" >&6; }
7236 fi
7237
7238 # find the maximum length of command line arguments
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7240 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7241 if ${lt_cv_sys_max_cmd_len+:} false; then :
7242 $as_echo_n "(cached) " >&6
7243 else
7244 i=0
7245 teststring="ABCD"
7246
7247 case $build_os in
7248 msdosdjgpp*)
7249 # On DJGPP, this test can blow up pretty badly due to problems in libc
7250 # (any single argument exceeding 2000 bytes causes a buffer overrun
7251 # during glob expansion). Even if it were fixed, the result of this
7252 # check would be larger than it should be.
7253 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7254 ;;
7255
7256 gnu*)
7257 # Under GNU Hurd, this test is not required because there is
7258 # no limit to the length of command line arguments.
7259 # Libtool will interpret -1 as no limit whatsoever
7260 lt_cv_sys_max_cmd_len=-1;
7261 ;;
7262
7263 cygwin* | mingw* | cegcc*)
7264 # On Win9x/ME, this test blows up -- it succeeds, but takes
7265 # about 5 minutes as the teststring grows exponentially.
7266 # Worse, since 9x/ME are not pre-emptively multitasking,
7267 # you end up with a "frozen" computer, even though with patience
7268 # the test eventually succeeds (with a max line length of 256k).
7269 # Instead, let's just punt: use the minimum linelength reported by
7270 # all of the supported platforms: 8192 (on NT/2K/XP).
7271 lt_cv_sys_max_cmd_len=8192;
7272 ;;
7273
7274 mint*)
7275 # On MiNT this can take a long time and run out of memory.
7276 lt_cv_sys_max_cmd_len=8192;
7277 ;;
7278
7279 amigaos*)
7280 # On AmigaOS with pdksh, this test takes hours, literally.
7281 # So we just punt and use a minimum line length of 8192.
7282 lt_cv_sys_max_cmd_len=8192;
7283 ;;
7284
7285 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7286 # This has been around since 386BSD, at least. Likely further.
7287 if test -x /sbin/sysctl; then
7288 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7289 elif test -x /usr/sbin/sysctl; then
7290 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7291 else
7292 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7293 fi
7294 # And add a safety zone
7295 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7296 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7297 ;;
7298
7299 interix*)
7300 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7301 lt_cv_sys_max_cmd_len=196608
7302 ;;
7303
7304 osf*)
7305 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7306 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7307 # nice to cause kernel panics so lets avoid the loop below.
7308 # First set a reasonable default.
7309 lt_cv_sys_max_cmd_len=16384
7310 #
7311 if test -x /sbin/sysconfig; then
7312 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7313 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7314 esac
7315 fi
7316 ;;
7317 sco3.2v5*)
7318 lt_cv_sys_max_cmd_len=102400
7319 ;;
7320 sysv5* | sco5v6* | sysv4.2uw2*)
7321 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7322 if test -n "$kargmax"; then
7323 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7324 else
7325 lt_cv_sys_max_cmd_len=32768
7326 fi
7327 ;;
7328 *)
7329 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7330 if test -n "$lt_cv_sys_max_cmd_len"; then
7331 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7332 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7333 else
7334 # Make teststring a little bigger before we do anything with it.
7335 # a 1K string should be a reasonable start.
7336 for i in 1 2 3 4 5 6 7 8 ; do
7337 teststring=$teststring$teststring
7338 done
7339 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7340 # If test is not a shell built-in, we'll probably end up computing a
7341 # maximum length that is only half of the actual maximum length, but
7342 # we can't tell.
7343 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7344 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7345 test $i != 17 # 1/2 MB should be enough
7346 do
7347 i=`expr $i + 1`
7348 teststring=$teststring$teststring
7349 done
7350 # Only check the string length outside the loop.
7351 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7352 teststring=
7353 # Add a significant safety factor because C++ compilers can tack on
7354 # massive amounts of additional arguments before passing them to the
7355 # linker. It appears as though 1/2 is a usable value.
7356 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7357 fi
7358 ;;
7359 esac
7360
7361 fi
7362
7363 if test -n $lt_cv_sys_max_cmd_len ; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7365 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7366 else
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7368 $as_echo "none" >&6; }
7369 fi
7370 max_cmd_len=$lt_cv_sys_max_cmd_len
7371
7372
7373
7374
7375
7376
7377 : ${CP="cp -f"}
7378 : ${MV="mv -f"}
7379 : ${RM="rm -f"}
7380
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7382 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7383 # Try some XSI features
7384 xsi_shell=no
7385 ( _lt_dummy="a/b/c"
7386 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7387 = c,a/b,, \
7388 && eval 'test $(( 1 + 1 )) -eq 2 \
7389 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7390 && xsi_shell=yes
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7392 $as_echo "$xsi_shell" >&6; }
7393
7394
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7396 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7397 lt_shell_append=no
7398 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7399 >/dev/null 2>&1 \
7400 && lt_shell_append=yes
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7402 $as_echo "$lt_shell_append" >&6; }
7403
7404
7405 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7406 lt_unset=unset
7407 else
7408 lt_unset=false
7409 fi
7410
7411
7412
7413
7414
7415 # test EBCDIC or ASCII
7416 case `echo X|tr X '\101'` in
7417 A) # ASCII based system
7418 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7419 lt_SP2NL='tr \040 \012'
7420 lt_NL2SP='tr \015\012 \040\040'
7421 ;;
7422 *) # EBCDIC based system
7423 lt_SP2NL='tr \100 \n'
7424 lt_NL2SP='tr \r\n \100\100'
7425 ;;
7426 esac
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7437 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7438 if ${lt_cv_ld_reload_flag+:} false; then :
7439 $as_echo_n "(cached) " >&6
7440 else
7441 lt_cv_ld_reload_flag='-r'
7442 fi
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7444 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7445 reload_flag=$lt_cv_ld_reload_flag
7446 case $reload_flag in
7447 "" | " "*) ;;
7448 *) reload_flag=" $reload_flag" ;;
7449 esac
7450 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7451 case $host_os in
7452 darwin*)
7453 if test "$GCC" = yes; then
7454 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7455 else
7456 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7457 fi
7458 ;;
7459 esac
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469 if test -n "$ac_tool_prefix"; then
7470 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7471 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if ${ac_cv_prog_OBJDUMP+:} false; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 if test -n "$OBJDUMP"; then
7478 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7482 do
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7487 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7490 fi
7491 done
7492 done
7493 IFS=$as_save_IFS
7494
7495 fi
7496 fi
7497 OBJDUMP=$ac_cv_prog_OBJDUMP
7498 if test -n "$OBJDUMP"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7500 $as_echo "$OBJDUMP" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7504 fi
7505
7506
7507 fi
7508 if test -z "$ac_cv_prog_OBJDUMP"; then
7509 ac_ct_OBJDUMP=$OBJDUMP
7510 # Extract the first word of "objdump", so it can be a program name with args.
7511 set dummy objdump; ac_word=$2
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513 $as_echo_n "checking for $ac_word... " >&6; }
7514 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7515 $as_echo_n "(cached) " >&6
7516 else
7517 if test -n "$ac_ct_OBJDUMP"; then
7518 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7519 else
7520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 for as_dir in $PATH
7522 do
7523 IFS=$as_save_IFS
7524 test -z "$as_dir" && as_dir=.
7525 for ac_exec_ext in '' $ac_executable_extensions; do
7526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7527 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7529 break 2
7530 fi
7531 done
7532 done
7533 IFS=$as_save_IFS
7534
7535 fi
7536 fi
7537 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7538 if test -n "$ac_ct_OBJDUMP"; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7540 $as_echo "$ac_ct_OBJDUMP" >&6; }
7541 else
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543 $as_echo "no" >&6; }
7544 fi
7545
7546 if test "x$ac_ct_OBJDUMP" = x; then
7547 OBJDUMP="false"
7548 else
7549 case $cross_compiling:$ac_tool_warned in
7550 yes:)
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7553 ac_tool_warned=yes ;;
7554 esac
7555 OBJDUMP=$ac_ct_OBJDUMP
7556 fi
7557 else
7558 OBJDUMP="$ac_cv_prog_OBJDUMP"
7559 fi
7560
7561 test -z "$OBJDUMP" && OBJDUMP=objdump
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7572 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7573 if ${lt_cv_deplibs_check_method+:} false; then :
7574 $as_echo_n "(cached) " >&6
7575 else
7576 lt_cv_file_magic_cmd='$MAGIC_CMD'
7577 lt_cv_file_magic_test_file=
7578 lt_cv_deplibs_check_method='unknown'
7579 # Need to set the preceding variable on all platforms that support
7580 # interlibrary dependencies.
7581 # 'none' -- dependencies not supported.
7582 # `unknown' -- same as none, but documents that we really don't know.
7583 # 'pass_all' -- all dependencies passed with no checks.
7584 # 'test_compile' -- check by making test program.
7585 # 'file_magic [[regex]]' -- check by looking for files in library path
7586 # which responds to the $file_magic_cmd with a given extended regex.
7587 # If you have `file' or equivalent on your system and you're not sure
7588 # whether `pass_all' will *always* work, you probably want this one.
7589
7590 case $host_os in
7591 aix[4-9]*)
7592 lt_cv_deplibs_check_method=pass_all
7593 ;;
7594
7595 beos*)
7596 lt_cv_deplibs_check_method=pass_all
7597 ;;
7598
7599 bsdi[45]*)
7600 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7601 lt_cv_file_magic_cmd='/usr/bin/file -L'
7602 lt_cv_file_magic_test_file=/shlib/libc.so
7603 ;;
7604
7605 cygwin*)
7606 # func_win32_libid is a shell function defined in ltmain.sh
7607 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7608 lt_cv_file_magic_cmd='func_win32_libid'
7609 ;;
7610
7611 mingw* | pw32*)
7612 # Base MSYS/MinGW do not provide the 'file' command needed by
7613 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7614 # unless we find 'file', for example because we are cross-compiling.
7615 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7616 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7617 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7618 lt_cv_file_magic_cmd='func_win32_libid'
7619 else
7620 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7621 lt_cv_file_magic_cmd='$OBJDUMP -f'
7622 fi
7623 ;;
7624
7625 cegcc*)
7626 # use the weaker test based on 'objdump'. See mingw*.
7627 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7628 lt_cv_file_magic_cmd='$OBJDUMP -f'
7629 ;;
7630
7631 darwin* | rhapsody*)
7632 lt_cv_deplibs_check_method=pass_all
7633 ;;
7634
7635 freebsd* | dragonfly*)
7636 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7637 case $host_cpu in
7638 i*86 )
7639 # Not sure whether the presence of OpenBSD here was a mistake.
7640 # Let's accept both of them until this is cleared up.
7641 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7642 lt_cv_file_magic_cmd=/usr/bin/file
7643 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7644 ;;
7645 esac
7646 else
7647 lt_cv_deplibs_check_method=pass_all
7648 fi
7649 ;;
7650
7651 gnu*)
7652 lt_cv_deplibs_check_method=pass_all
7653 ;;
7654
7655 haiku*)
7656 lt_cv_deplibs_check_method=pass_all
7657 ;;
7658
7659 hpux10.20* | hpux11*)
7660 lt_cv_file_magic_cmd=/usr/bin/file
7661 case $host_cpu in
7662 ia64*)
7663 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7664 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7665 ;;
7666 hppa*64*)
7667 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]'
7668 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7669 ;;
7670 *)
7671 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7672 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7673 ;;
7674 esac
7675 ;;
7676
7677 interix[3-9]*)
7678 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7679 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7680 ;;
7681
7682 irix5* | irix6* | nonstopux*)
7683 case $LD in
7684 *-32|*"-32 ") libmagic=32-bit;;
7685 *-n32|*"-n32 ") libmagic=N32;;
7686 *-64|*"-64 ") libmagic=64-bit;;
7687 *) libmagic=never-match;;
7688 esac
7689 lt_cv_deplibs_check_method=pass_all
7690 ;;
7691
7692 # This must be Linux ELF.
7693 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7694 lt_cv_deplibs_check_method=pass_all
7695 ;;
7696
7697 netbsd*)
7698 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7699 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7700 else
7701 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7702 fi
7703 ;;
7704
7705 newos6*)
7706 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7707 lt_cv_file_magic_cmd=/usr/bin/file
7708 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7709 ;;
7710
7711 *nto* | *qnx*)
7712 lt_cv_deplibs_check_method=pass_all
7713 ;;
7714
7715 openbsd*)
7716 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7717 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7718 else
7719 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7720 fi
7721 ;;
7722
7723 osf3* | osf4* | osf5*)
7724 lt_cv_deplibs_check_method=pass_all
7725 ;;
7726
7727 rdos*)
7728 lt_cv_deplibs_check_method=pass_all
7729 ;;
7730
7731 solaris*)
7732 lt_cv_deplibs_check_method=pass_all
7733 ;;
7734
7735 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7736 lt_cv_deplibs_check_method=pass_all
7737 ;;
7738
7739 sysv4 | sysv4.3*)
7740 case $host_vendor in
7741 motorola)
7742 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]'
7743 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7744 ;;
7745 ncr)
7746 lt_cv_deplibs_check_method=pass_all
7747 ;;
7748 sequent)
7749 lt_cv_file_magic_cmd='/bin/file'
7750 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7751 ;;
7752 sni)
7753 lt_cv_file_magic_cmd='/bin/file'
7754 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7755 lt_cv_file_magic_test_file=/lib/libc.so
7756 ;;
7757 siemens)
7758 lt_cv_deplibs_check_method=pass_all
7759 ;;
7760 pc)
7761 lt_cv_deplibs_check_method=pass_all
7762 ;;
7763 esac
7764 ;;
7765
7766 tpf*)
7767 lt_cv_deplibs_check_method=pass_all
7768 ;;
7769 vxworks*)
7770 # Assume VxWorks cross toolchains are built on Linux, possibly
7771 # as canadian for Windows hosts.
7772 lt_cv_deplibs_check_method=pass_all
7773 ;;
7774 esac
7775
7776 fi
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7778 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7779 file_magic_cmd=$lt_cv_file_magic_cmd
7780 deplibs_check_method=$lt_cv_deplibs_check_method
7781 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794 plugin_option=
7795 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7796 for plugin in $plugin_names; do
7797 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7798 if test x$plugin_so = x$plugin; then
7799 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7800 fi
7801 if test x$plugin_so != x$plugin; then
7802 plugin_option="--plugin $plugin_so"
7803 break
7804 fi
7805 done
7806
7807 if test -n "$ac_tool_prefix"; then
7808 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7809 set dummy ${ac_tool_prefix}ar; ac_word=$2
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811 $as_echo_n "checking for $ac_word... " >&6; }
7812 if ${ac_cv_prog_AR+:} false; then :
7813 $as_echo_n "(cached) " >&6
7814 else
7815 if test -n "$AR"; then
7816 ac_cv_prog_AR="$AR" # Let the user override the test.
7817 else
7818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 for as_dir in $PATH
7820 do
7821 IFS=$as_save_IFS
7822 test -z "$as_dir" && as_dir=.
7823 for ac_exec_ext in '' $ac_executable_extensions; do
7824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7825 ac_cv_prog_AR="${ac_tool_prefix}ar"
7826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7827 break 2
7828 fi
7829 done
7830 done
7831 IFS=$as_save_IFS
7832
7833 fi
7834 fi
7835 AR=$ac_cv_prog_AR
7836 if test -n "$AR"; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7838 $as_echo "$AR" >&6; }
7839 else
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841 $as_echo "no" >&6; }
7842 fi
7843
7844
7845 fi
7846 if test -z "$ac_cv_prog_AR"; then
7847 ac_ct_AR=$AR
7848 # Extract the first word of "ar", so it can be a program name with args.
7849 set dummy ar; ac_word=$2
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7851 $as_echo_n "checking for $ac_word... " >&6; }
7852 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7853 $as_echo_n "(cached) " >&6
7854 else
7855 if test -n "$ac_ct_AR"; then
7856 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7857 else
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859 for as_dir in $PATH
7860 do
7861 IFS=$as_save_IFS
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7865 ac_cv_prog_ac_ct_AR="ar"
7866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 break 2
7868 fi
7869 done
7870 done
7871 IFS=$as_save_IFS
7872
7873 fi
7874 fi
7875 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7876 if test -n "$ac_ct_AR"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7878 $as_echo "$ac_ct_AR" >&6; }
7879 else
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7881 $as_echo "no" >&6; }
7882 fi
7883
7884 if test "x$ac_ct_AR" = x; then
7885 AR="false"
7886 else
7887 case $cross_compiling:$ac_tool_warned in
7888 yes:)
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7891 ac_tool_warned=yes ;;
7892 esac
7893 AR=$ac_ct_AR
7894 fi
7895 else
7896 AR="$ac_cv_prog_AR"
7897 fi
7898
7899 test -z "$AR" && AR=ar
7900 if test -n "$plugin_option"; then
7901 if $AR --help 2>&1 | grep -q "\--plugin"; then
7902 touch conftest.c
7903 $AR $plugin_option rc conftest.a conftest.c
7904 if test "$?" != 0; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7906 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7907 else
7908 AR="$AR $plugin_option"
7909 fi
7910 rm -f conftest.*
7911 fi
7912 fi
7913 test -z "$AR_FLAGS" && AR_FLAGS=cru
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925 if test -n "$ac_tool_prefix"; then
7926 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7927 set dummy ${ac_tool_prefix}strip; ac_word=$2
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929 $as_echo_n "checking for $ac_word... " >&6; }
7930 if ${ac_cv_prog_STRIP+:} false; then :
7931 $as_echo_n "(cached) " >&6
7932 else
7933 if test -n "$STRIP"; then
7934 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7935 else
7936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 for as_dir in $PATH
7938 do
7939 IFS=$as_save_IFS
7940 test -z "$as_dir" && as_dir=.
7941 for ac_exec_ext in '' $ac_executable_extensions; do
7942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7943 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7945 break 2
7946 fi
7947 done
7948 done
7949 IFS=$as_save_IFS
7950
7951 fi
7952 fi
7953 STRIP=$ac_cv_prog_STRIP
7954 if test -n "$STRIP"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7956 $as_echo "$STRIP" >&6; }
7957 else
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7960 fi
7961
7962
7963 fi
7964 if test -z "$ac_cv_prog_STRIP"; then
7965 ac_ct_STRIP=$STRIP
7966 # Extract the first word of "strip", so it can be a program name with args.
7967 set dummy strip; ac_word=$2
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7969 $as_echo_n "checking for $ac_word... " >&6; }
7970 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7971 $as_echo_n "(cached) " >&6
7972 else
7973 if test -n "$ac_ct_STRIP"; then
7974 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7975 else
7976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7977 for as_dir in $PATH
7978 do
7979 IFS=$as_save_IFS
7980 test -z "$as_dir" && as_dir=.
7981 for ac_exec_ext in '' $ac_executable_extensions; do
7982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7983 ac_cv_prog_ac_ct_STRIP="strip"
7984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 break 2
7986 fi
7987 done
7988 done
7989 IFS=$as_save_IFS
7990
7991 fi
7992 fi
7993 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7994 if test -n "$ac_ct_STRIP"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7996 $as_echo "$ac_ct_STRIP" >&6; }
7997 else
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999 $as_echo "no" >&6; }
8000 fi
8001
8002 if test "x$ac_ct_STRIP" = x; then
8003 STRIP=":"
8004 else
8005 case $cross_compiling:$ac_tool_warned in
8006 yes:)
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8009 ac_tool_warned=yes ;;
8010 esac
8011 STRIP=$ac_ct_STRIP
8012 fi
8013 else
8014 STRIP="$ac_cv_prog_STRIP"
8015 fi
8016
8017 test -z "$STRIP" && STRIP=:
8018
8019
8020
8021
8022
8023
8024 if test -n "$ac_tool_prefix"; then
8025 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8026 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8028 $as_echo_n "checking for $ac_word... " >&6; }
8029 if ${ac_cv_prog_RANLIB+:} false; then :
8030 $as_echo_n "(cached) " >&6
8031 else
8032 if test -n "$RANLIB"; then
8033 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8034 else
8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8036 for as_dir in $PATH
8037 do
8038 IFS=$as_save_IFS
8039 test -z "$as_dir" && as_dir=.
8040 for ac_exec_ext in '' $ac_executable_extensions; do
8041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8042 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8044 break 2
8045 fi
8046 done
8047 done
8048 IFS=$as_save_IFS
8049
8050 fi
8051 fi
8052 RANLIB=$ac_cv_prog_RANLIB
8053 if test -n "$RANLIB"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8055 $as_echo "$RANLIB" >&6; }
8056 else
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8058 $as_echo "no" >&6; }
8059 fi
8060
8061
8062 fi
8063 if test -z "$ac_cv_prog_RANLIB"; then
8064 ac_ct_RANLIB=$RANLIB
8065 # Extract the first word of "ranlib", so it can be a program name with args.
8066 set dummy ranlib; ac_word=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8068 $as_echo_n "checking for $ac_word... " >&6; }
8069 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8070 $as_echo_n "(cached) " >&6
8071 else
8072 if test -n "$ac_ct_RANLIB"; then
8073 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8074 else
8075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076 for as_dir in $PATH
8077 do
8078 IFS=$as_save_IFS
8079 test -z "$as_dir" && as_dir=.
8080 for ac_exec_ext in '' $ac_executable_extensions; do
8081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8082 ac_cv_prog_ac_ct_RANLIB="ranlib"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8084 break 2
8085 fi
8086 done
8087 done
8088 IFS=$as_save_IFS
8089
8090 fi
8091 fi
8092 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8093 if test -n "$ac_ct_RANLIB"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8095 $as_echo "$ac_ct_RANLIB" >&6; }
8096 else
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8099 fi
8100
8101 if test "x$ac_ct_RANLIB" = x; then
8102 RANLIB=":"
8103 else
8104 case $cross_compiling:$ac_tool_warned in
8105 yes:)
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8108 ac_tool_warned=yes ;;
8109 esac
8110 RANLIB=$ac_ct_RANLIB
8111 fi
8112 else
8113 RANLIB="$ac_cv_prog_RANLIB"
8114 fi
8115
8116 test -z "$RANLIB" && RANLIB=:
8117 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8118 if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
8119 RANLIB="$RANLIB $plugin_option"
8120 fi
8121 fi
8122
8123
8124
8125
8126
8127
8128 # Determine commands to create old-style static archives.
8129 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8130 old_postinstall_cmds='chmod 644 $oldlib'
8131 old_postuninstall_cmds=
8132
8133 if test -n "$RANLIB"; then
8134 case $host_os in
8135 openbsd*)
8136 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8137 ;;
8138 *)
8139 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8140 ;;
8141 esac
8142 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8143 fi
8144
8145 case $host_os in
8146 darwin*)
8147 lock_old_archive_extraction=yes ;;
8148 *)
8149 lock_old_archive_extraction=no ;;
8150 esac
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190 # If no C compiler was specified, use CC.
8191 LTCC=${LTCC-"$CC"}
8192
8193 # If no C compiler flags were specified, use CFLAGS.
8194 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8195
8196 # Allow CC to be a program name with arguments.
8197 compiler=$CC
8198
8199
8200 # Check for command to grab the raw symbol name followed by C symbol from nm.
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8202 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8203 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206
8207 # These are sane defaults that work on at least a few old systems.
8208 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8209
8210 # Character class describing NM global symbol codes.
8211 symcode='[BCDEGRST]'
8212
8213 # Regexp to match symbols that can be accessed directly from C.
8214 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8215
8216 # Define system-specific variables.
8217 case $host_os in
8218 aix*)
8219 symcode='[BCDT]'
8220 ;;
8221 cygwin* | mingw* | pw32* | cegcc*)
8222 symcode='[ABCDGISTW]'
8223 ;;
8224 hpux*)
8225 if test "$host_cpu" = ia64; then
8226 symcode='[ABCDEGRST]'
8227 fi
8228 ;;
8229 irix* | nonstopux*)
8230 symcode='[BCDEGRST]'
8231 ;;
8232 osf*)
8233 symcode='[BCDEGQRST]'
8234 ;;
8235 solaris*)
8236 symcode='[BCDRT]'
8237 ;;
8238 sco3.2v5*)
8239 symcode='[DT]'
8240 ;;
8241 sysv4.2uw2*)
8242 symcode='[DT]'
8243 ;;
8244 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8245 symcode='[ABDT]'
8246 ;;
8247 sysv4)
8248 symcode='[DFNSTU]'
8249 ;;
8250 esac
8251
8252 # If we're using GNU nm, then use its standard symbol codes.
8253 case `$NM -V 2>&1` in
8254 *GNU* | *'with BFD'*)
8255 symcode='[ABCDGIRSTW]' ;;
8256 esac
8257
8258 # Transform an extracted symbol line into a proper C declaration.
8259 # Some systems (esp. on ia64) link data and code symbols differently,
8260 # so use this general approach.
8261 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8262
8263 # Transform an extracted symbol line into symbol name and symbol address
8264 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8265 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'"
8266
8267 # Handle CRLF in mingw tool chain
8268 opt_cr=
8269 case $build_os in
8270 mingw*)
8271 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8272 ;;
8273 esac
8274
8275 # Try without a prefix underscore, then with it.
8276 for ac_symprfx in "" "_"; do
8277
8278 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8279 symxfrm="\\1 $ac_symprfx\\2 \\2"
8280
8281 # Write the raw and C identifiers.
8282 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8283 # Fake it for dumpbin and say T for any non-static function
8284 # and D for any global variable.
8285 # Also find C++ and __fastcall symbols from MSVC++,
8286 # which start with @ or ?.
8287 lt_cv_sys_global_symbol_pipe="$AWK '"\
8288 " {last_section=section; section=\$ 3};"\
8289 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8290 " \$ 0!~/External *\|/{next};"\
8291 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8292 " {if(hide[section]) next};"\
8293 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8294 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8295 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8296 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8297 " ' prfx=^$ac_symprfx"
8298 else
8299 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8300 fi
8301
8302 # Check to see that the pipe works correctly.
8303 pipe_works=no
8304
8305 rm -f conftest*
8306 cat > conftest.$ac_ext <<_LT_EOF
8307 #ifdef __cplusplus
8308 extern "C" {
8309 #endif
8310 char nm_test_var;
8311 void nm_test_func(void);
8312 void nm_test_func(void){}
8313 #ifdef __cplusplus
8314 }
8315 #endif
8316 int main(){nm_test_var='a';nm_test_func();return(0);}
8317 _LT_EOF
8318
8319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8320 (eval $ac_compile) 2>&5
8321 ac_status=$?
8322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8323 test $ac_status = 0; }; then
8324 # Now try to grab the symbols.
8325 nlist=conftest.nm
8326 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8327 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8328 ac_status=$?
8329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8330 test $ac_status = 0; } && test -s "$nlist"; then
8331 # Try sorting and uniquifying the output.
8332 if sort "$nlist" | uniq > "$nlist"T; then
8333 mv -f "$nlist"T "$nlist"
8334 else
8335 rm -f "$nlist"T
8336 fi
8337
8338 # Make sure that we snagged all the symbols we need.
8339 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8340 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8341 cat <<_LT_EOF > conftest.$ac_ext
8342 #ifdef __cplusplus
8343 extern "C" {
8344 #endif
8345
8346 _LT_EOF
8347 # Now generate the symbol file.
8348 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8349
8350 cat <<_LT_EOF >> conftest.$ac_ext
8351
8352 /* The mapping between symbol names and symbols. */
8353 const struct {
8354 const char *name;
8355 void *address;
8356 }
8357 lt__PROGRAM__LTX_preloaded_symbols[] =
8358 {
8359 { "@PROGRAM@", (void *) 0 },
8360 _LT_EOF
8361 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8362 cat <<\_LT_EOF >> conftest.$ac_ext
8363 {0, (void *) 0}
8364 };
8365
8366 /* This works around a problem in FreeBSD linker */
8367 #ifdef FREEBSD_WORKAROUND
8368 static const void *lt_preloaded_setup() {
8369 return lt__PROGRAM__LTX_preloaded_symbols;
8370 }
8371 #endif
8372
8373 #ifdef __cplusplus
8374 }
8375 #endif
8376 _LT_EOF
8377 # Now try linking the two files.
8378 mv conftest.$ac_objext conftstm.$ac_objext
8379 lt_save_LIBS="$LIBS"
8380 lt_save_CFLAGS="$CFLAGS"
8381 LIBS="conftstm.$ac_objext"
8382 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8384 (eval $ac_link) 2>&5
8385 ac_status=$?
8386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8387 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8388 pipe_works=yes
8389 fi
8390 LIBS="$lt_save_LIBS"
8391 CFLAGS="$lt_save_CFLAGS"
8392 else
8393 echo "cannot find nm_test_func in $nlist" >&5
8394 fi
8395 else
8396 echo "cannot find nm_test_var in $nlist" >&5
8397 fi
8398 else
8399 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8400 fi
8401 else
8402 echo "$progname: failed program was:" >&5
8403 cat conftest.$ac_ext >&5
8404 fi
8405 rm -rf conftest* conftst*
8406
8407 # Do not use the global_symbol_pipe unless it works.
8408 if test "$pipe_works" = yes; then
8409 break
8410 else
8411 lt_cv_sys_global_symbol_pipe=
8412 fi
8413 done
8414
8415 fi
8416
8417 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8418 lt_cv_sys_global_symbol_to_cdecl=
8419 fi
8420 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8422 $as_echo "failed" >&6; }
8423 else
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8425 $as_echo "ok" >&6; }
8426 fi
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449 # Check whether --enable-libtool-lock was given.
8450 if test "${enable_libtool_lock+set}" = set; then :
8451 enableval=$enable_libtool_lock;
8452 fi
8453
8454 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8455
8456 # Some flags need to be propagated to the compiler or linker for good
8457 # libtool support.
8458 case $host in
8459 ia64-*-hpux*)
8460 # Find out which ABI we are using.
8461 echo 'int i;' > 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 case `/usr/bin/file conftest.$ac_objext` in
8468 *ELF-32*)
8469 HPUX_IA64_MODE="32"
8470 ;;
8471 *ELF-64*)
8472 HPUX_IA64_MODE="64"
8473 ;;
8474 esac
8475 fi
8476 rm -rf conftest*
8477 ;;
8478 *-*-irix6*)
8479 # Find out which ABI we are using.
8480 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8482 (eval $ac_compile) 2>&5
8483 ac_status=$?
8484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8485 test $ac_status = 0; }; then
8486 if test "$lt_cv_prog_gnu_ld" = yes; then
8487 case `/usr/bin/file conftest.$ac_objext` in
8488 *32-bit*)
8489 LD="${LD-ld} -melf32bsmip"
8490 ;;
8491 *N32*)
8492 LD="${LD-ld} -melf32bmipn32"
8493 ;;
8494 *64-bit*)
8495 LD="${LD-ld} -melf64bmip"
8496 ;;
8497 esac
8498 else
8499 case `/usr/bin/file conftest.$ac_objext` in
8500 *32-bit*)
8501 LD="${LD-ld} -32"
8502 ;;
8503 *N32*)
8504 LD="${LD-ld} -n32"
8505 ;;
8506 *64-bit*)
8507 LD="${LD-ld} -64"
8508 ;;
8509 esac
8510 fi
8511 fi
8512 rm -rf conftest*
8513 ;;
8514
8515 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8516 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8517 # Find out which ABI we are using.
8518 echo 'int i;' > conftest.$ac_ext
8519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8520 (eval $ac_compile) 2>&5
8521 ac_status=$?
8522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8523 test $ac_status = 0; }; then
8524 case `/usr/bin/file conftest.o` in
8525 *32-bit*)
8526 case $host in
8527 x86_64-*kfreebsd*-gnu)
8528 LD="${LD-ld} -m elf_i386_fbsd"
8529 ;;
8530 x86_64-*linux*)
8531 case `/usr/bin/file conftest.o` in
8532 *x86-64*)
8533 LD="${LD-ld} -m elf32_x86_64"
8534 ;;
8535 *)
8536 LD="${LD-ld} -m elf_i386"
8537 ;;
8538 esac
8539 ;;
8540 powerpc64le-*linux*)
8541 LD="${LD-ld} -m elf32lppclinux"
8542 ;;
8543 powerpc64-*linux*)
8544 LD="${LD-ld} -m elf32ppclinux"
8545 ;;
8546 s390x-*linux*)
8547 LD="${LD-ld} -m elf_s390"
8548 ;;
8549 sparc64-*linux*)
8550 LD="${LD-ld} -m elf32_sparc"
8551 ;;
8552 esac
8553 ;;
8554 *64-bit*)
8555 case $host in
8556 x86_64-*kfreebsd*-gnu)
8557 LD="${LD-ld} -m elf_x86_64_fbsd"
8558 ;;
8559 x86_64-*linux*)
8560 LD="${LD-ld} -m elf_x86_64"
8561 ;;
8562 powerpcle-*linux*)
8563 LD="${LD-ld} -m elf64lppc"
8564 ;;
8565 powerpc-*linux*)
8566 LD="${LD-ld} -m elf64ppc"
8567 ;;
8568 s390*-*linux*|s390*-*tpf*)
8569 LD="${LD-ld} -m elf64_s390"
8570 ;;
8571 sparc*-*linux*)
8572 LD="${LD-ld} -m elf64_sparc"
8573 ;;
8574 esac
8575 ;;
8576 esac
8577 fi
8578 rm -rf conftest*
8579 ;;
8580
8581 *-*-sco3.2v5*)
8582 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8583 SAVE_CFLAGS="$CFLAGS"
8584 CFLAGS="$CFLAGS -belf"
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8586 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8587 if ${lt_cv_cc_needs_belf+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 ac_ext=c
8591 ac_cpp='$CPP $CPPFLAGS'
8592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8595
8596 if test x$gcc_no_link = xyes; then
8597 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8598 fi
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601
8602 int
8603 main ()
8604 {
8605
8606 ;
8607 return 0;
8608 }
8609 _ACEOF
8610 if ac_fn_c_try_link "$LINENO"; then :
8611 lt_cv_cc_needs_belf=yes
8612 else
8613 lt_cv_cc_needs_belf=no
8614 fi
8615 rm -f core conftest.err conftest.$ac_objext \
8616 conftest$ac_exeext conftest.$ac_ext
8617 ac_ext=c
8618 ac_cpp='$CPP $CPPFLAGS'
8619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8622
8623 fi
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8625 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8626 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8627 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8628 CFLAGS="$SAVE_CFLAGS"
8629 fi
8630 ;;
8631 sparc*-*solaris*)
8632 # Find out which ABI we are using.
8633 echo 'int i;' > conftest.$ac_ext
8634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8635 (eval $ac_compile) 2>&5
8636 ac_status=$?
8637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8638 test $ac_status = 0; }; then
8639 case `/usr/bin/file conftest.o` in
8640 *64-bit*)
8641 case $lt_cv_prog_gnu_ld in
8642 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8643 *)
8644 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8645 LD="${LD-ld} -64"
8646 fi
8647 ;;
8648 esac
8649 ;;
8650 esac
8651 fi
8652 rm -rf conftest*
8653 ;;
8654 esac
8655
8656 need_locks="$enable_libtool_lock"
8657
8658
8659 case $host_os in
8660 rhapsody* | darwin*)
8661 if test -n "$ac_tool_prefix"; then
8662 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8663 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8665 $as_echo_n "checking for $ac_word... " >&6; }
8666 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 if test -n "$DSYMUTIL"; then
8670 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8671 else
8672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8673 for as_dir in $PATH
8674 do
8675 IFS=$as_save_IFS
8676 test -z "$as_dir" && as_dir=.
8677 for ac_exec_ext in '' $ac_executable_extensions; do
8678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8679 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8681 break 2
8682 fi
8683 done
8684 done
8685 IFS=$as_save_IFS
8686
8687 fi
8688 fi
8689 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8690 if test -n "$DSYMUTIL"; then
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8692 $as_echo "$DSYMUTIL" >&6; }
8693 else
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8695 $as_echo "no" >&6; }
8696 fi
8697
8698
8699 fi
8700 if test -z "$ac_cv_prog_DSYMUTIL"; then
8701 ac_ct_DSYMUTIL=$DSYMUTIL
8702 # Extract the first word of "dsymutil", so it can be a program name with args.
8703 set dummy dsymutil; ac_word=$2
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8705 $as_echo_n "checking for $ac_word... " >&6; }
8706 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8707 $as_echo_n "(cached) " >&6
8708 else
8709 if test -n "$ac_ct_DSYMUTIL"; then
8710 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8711 else
8712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8713 for as_dir in $PATH
8714 do
8715 IFS=$as_save_IFS
8716 test -z "$as_dir" && as_dir=.
8717 for ac_exec_ext in '' $ac_executable_extensions; do
8718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8719 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8721 break 2
8722 fi
8723 done
8724 done
8725 IFS=$as_save_IFS
8726
8727 fi
8728 fi
8729 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8730 if test -n "$ac_ct_DSYMUTIL"; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8732 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8733 else
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8735 $as_echo "no" >&6; }
8736 fi
8737
8738 if test "x$ac_ct_DSYMUTIL" = x; then
8739 DSYMUTIL=":"
8740 else
8741 case $cross_compiling:$ac_tool_warned in
8742 yes:)
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8745 ac_tool_warned=yes ;;
8746 esac
8747 DSYMUTIL=$ac_ct_DSYMUTIL
8748 fi
8749 else
8750 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8751 fi
8752
8753 if test -n "$ac_tool_prefix"; then
8754 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8755 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8757 $as_echo_n "checking for $ac_word... " >&6; }
8758 if ${ac_cv_prog_NMEDIT+:} false; then :
8759 $as_echo_n "(cached) " >&6
8760 else
8761 if test -n "$NMEDIT"; then
8762 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8763 else
8764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 for as_dir in $PATH
8766 do
8767 IFS=$as_save_IFS
8768 test -z "$as_dir" && as_dir=.
8769 for ac_exec_ext in '' $ac_executable_extensions; do
8770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8771 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8773 break 2
8774 fi
8775 done
8776 done
8777 IFS=$as_save_IFS
8778
8779 fi
8780 fi
8781 NMEDIT=$ac_cv_prog_NMEDIT
8782 if test -n "$NMEDIT"; then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8784 $as_echo "$NMEDIT" >&6; }
8785 else
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8787 $as_echo "no" >&6; }
8788 fi
8789
8790
8791 fi
8792 if test -z "$ac_cv_prog_NMEDIT"; then
8793 ac_ct_NMEDIT=$NMEDIT
8794 # Extract the first word of "nmedit", so it can be a program name with args.
8795 set dummy nmedit; ac_word=$2
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8797 $as_echo_n "checking for $ac_word... " >&6; }
8798 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8799 $as_echo_n "(cached) " >&6
8800 else
8801 if test -n "$ac_ct_NMEDIT"; then
8802 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8803 else
8804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8805 for as_dir in $PATH
8806 do
8807 IFS=$as_save_IFS
8808 test -z "$as_dir" && as_dir=.
8809 for ac_exec_ext in '' $ac_executable_extensions; do
8810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8811 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8813 break 2
8814 fi
8815 done
8816 done
8817 IFS=$as_save_IFS
8818
8819 fi
8820 fi
8821 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8822 if test -n "$ac_ct_NMEDIT"; then
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8824 $as_echo "$ac_ct_NMEDIT" >&6; }
8825 else
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8827 $as_echo "no" >&6; }
8828 fi
8829
8830 if test "x$ac_ct_NMEDIT" = x; then
8831 NMEDIT=":"
8832 else
8833 case $cross_compiling:$ac_tool_warned in
8834 yes:)
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8837 ac_tool_warned=yes ;;
8838 esac
8839 NMEDIT=$ac_ct_NMEDIT
8840 fi
8841 else
8842 NMEDIT="$ac_cv_prog_NMEDIT"
8843 fi
8844
8845 if test -n "$ac_tool_prefix"; then
8846 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8847 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8849 $as_echo_n "checking for $ac_word... " >&6; }
8850 if ${ac_cv_prog_LIPO+:} false; then :
8851 $as_echo_n "(cached) " >&6
8852 else
8853 if test -n "$LIPO"; then
8854 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8855 else
8856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8857 for as_dir in $PATH
8858 do
8859 IFS=$as_save_IFS
8860 test -z "$as_dir" && as_dir=.
8861 for ac_exec_ext in '' $ac_executable_extensions; do
8862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8863 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8865 break 2
8866 fi
8867 done
8868 done
8869 IFS=$as_save_IFS
8870
8871 fi
8872 fi
8873 LIPO=$ac_cv_prog_LIPO
8874 if test -n "$LIPO"; then
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8876 $as_echo "$LIPO" >&6; }
8877 else
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8879 $as_echo "no" >&6; }
8880 fi
8881
8882
8883 fi
8884 if test -z "$ac_cv_prog_LIPO"; then
8885 ac_ct_LIPO=$LIPO
8886 # Extract the first word of "lipo", so it can be a program name with args.
8887 set dummy lipo; ac_word=$2
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8889 $as_echo_n "checking for $ac_word... " >&6; }
8890 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 if test -n "$ac_ct_LIPO"; then
8894 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8895 else
8896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8897 for as_dir in $PATH
8898 do
8899 IFS=$as_save_IFS
8900 test -z "$as_dir" && as_dir=.
8901 for ac_exec_ext in '' $ac_executable_extensions; do
8902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8903 ac_cv_prog_ac_ct_LIPO="lipo"
8904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8905 break 2
8906 fi
8907 done
8908 done
8909 IFS=$as_save_IFS
8910
8911 fi
8912 fi
8913 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8914 if test -n "$ac_ct_LIPO"; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8916 $as_echo "$ac_ct_LIPO" >&6; }
8917 else
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8919 $as_echo "no" >&6; }
8920 fi
8921
8922 if test "x$ac_ct_LIPO" = x; then
8923 LIPO=":"
8924 else
8925 case $cross_compiling:$ac_tool_warned in
8926 yes:)
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8929 ac_tool_warned=yes ;;
8930 esac
8931 LIPO=$ac_ct_LIPO
8932 fi
8933 else
8934 LIPO="$ac_cv_prog_LIPO"
8935 fi
8936
8937 if test -n "$ac_tool_prefix"; then
8938 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8939 set dummy ${ac_tool_prefix}otool; ac_word=$2
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8941 $as_echo_n "checking for $ac_word... " >&6; }
8942 if ${ac_cv_prog_OTOOL+:} false; then :
8943 $as_echo_n "(cached) " >&6
8944 else
8945 if test -n "$OTOOL"; then
8946 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8947 else
8948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8949 for as_dir in $PATH
8950 do
8951 IFS=$as_save_IFS
8952 test -z "$as_dir" && as_dir=.
8953 for ac_exec_ext in '' $ac_executable_extensions; do
8954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8955 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8957 break 2
8958 fi
8959 done
8960 done
8961 IFS=$as_save_IFS
8962
8963 fi
8964 fi
8965 OTOOL=$ac_cv_prog_OTOOL
8966 if test -n "$OTOOL"; then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8968 $as_echo "$OTOOL" >&6; }
8969 else
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8971 $as_echo "no" >&6; }
8972 fi
8973
8974
8975 fi
8976 if test -z "$ac_cv_prog_OTOOL"; then
8977 ac_ct_OTOOL=$OTOOL
8978 # Extract the first word of "otool", so it can be a program name with args.
8979 set dummy otool; ac_word=$2
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8981 $as_echo_n "checking for $ac_word... " >&6; }
8982 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8983 $as_echo_n "(cached) " >&6
8984 else
8985 if test -n "$ac_ct_OTOOL"; then
8986 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8987 else
8988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8989 for as_dir in $PATH
8990 do
8991 IFS=$as_save_IFS
8992 test -z "$as_dir" && as_dir=.
8993 for ac_exec_ext in '' $ac_executable_extensions; do
8994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8995 ac_cv_prog_ac_ct_OTOOL="otool"
8996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8997 break 2
8998 fi
8999 done
9000 done
9001 IFS=$as_save_IFS
9002
9003 fi
9004 fi
9005 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9006 if test -n "$ac_ct_OTOOL"; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9008 $as_echo "$ac_ct_OTOOL" >&6; }
9009 else
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9012 fi
9013
9014 if test "x$ac_ct_OTOOL" = x; then
9015 OTOOL=":"
9016 else
9017 case $cross_compiling:$ac_tool_warned in
9018 yes:)
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9021 ac_tool_warned=yes ;;
9022 esac
9023 OTOOL=$ac_ct_OTOOL
9024 fi
9025 else
9026 OTOOL="$ac_cv_prog_OTOOL"
9027 fi
9028
9029 if test -n "$ac_tool_prefix"; then
9030 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9031 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9033 $as_echo_n "checking for $ac_word... " >&6; }
9034 if ${ac_cv_prog_OTOOL64+:} false; then :
9035 $as_echo_n "(cached) " >&6
9036 else
9037 if test -n "$OTOOL64"; then
9038 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9039 else
9040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9041 for as_dir in $PATH
9042 do
9043 IFS=$as_save_IFS
9044 test -z "$as_dir" && as_dir=.
9045 for ac_exec_ext in '' $ac_executable_extensions; do
9046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9047 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9049 break 2
9050 fi
9051 done
9052 done
9053 IFS=$as_save_IFS
9054
9055 fi
9056 fi
9057 OTOOL64=$ac_cv_prog_OTOOL64
9058 if test -n "$OTOOL64"; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9060 $as_echo "$OTOOL64" >&6; }
9061 else
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9063 $as_echo "no" >&6; }
9064 fi
9065
9066
9067 fi
9068 if test -z "$ac_cv_prog_OTOOL64"; then
9069 ac_ct_OTOOL64=$OTOOL64
9070 # Extract the first word of "otool64", so it can be a program name with args.
9071 set dummy otool64; ac_word=$2
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9073 $as_echo_n "checking for $ac_word... " >&6; }
9074 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9075 $as_echo_n "(cached) " >&6
9076 else
9077 if test -n "$ac_ct_OTOOL64"; then
9078 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9079 else
9080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9081 for as_dir in $PATH
9082 do
9083 IFS=$as_save_IFS
9084 test -z "$as_dir" && as_dir=.
9085 for ac_exec_ext in '' $ac_executable_extensions; do
9086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9087 ac_cv_prog_ac_ct_OTOOL64="otool64"
9088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9089 break 2
9090 fi
9091 done
9092 done
9093 IFS=$as_save_IFS
9094
9095 fi
9096 fi
9097 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9098 if test -n "$ac_ct_OTOOL64"; then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9100 $as_echo "$ac_ct_OTOOL64" >&6; }
9101 else
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9103 $as_echo "no" >&6; }
9104 fi
9105
9106 if test "x$ac_ct_OTOOL64" = x; then
9107 OTOOL64=":"
9108 else
9109 case $cross_compiling:$ac_tool_warned in
9110 yes:)
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9113 ac_tool_warned=yes ;;
9114 esac
9115 OTOOL64=$ac_ct_OTOOL64
9116 fi
9117 else
9118 OTOOL64="$ac_cv_prog_OTOOL64"
9119 fi
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9148 $as_echo_n "checking for -single_module linker flag... " >&6; }
9149 if ${lt_cv_apple_cc_single_mod+:} false; then :
9150 $as_echo_n "(cached) " >&6
9151 else
9152 lt_cv_apple_cc_single_mod=no
9153 if test -z "${LT_MULTI_MODULE}"; then
9154 # By default we will add the -single_module flag. You can override
9155 # by either setting the environment variable LT_MULTI_MODULE
9156 # non-empty at configure time, or by adding -multi_module to the
9157 # link flags.
9158 rm -rf libconftest.dylib*
9159 echo "int foo(void){return 1;}" > conftest.c
9160 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9161 -dynamiclib -Wl,-single_module conftest.c" >&5
9162 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9163 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9164 _lt_result=$?
9165 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9166 lt_cv_apple_cc_single_mod=yes
9167 else
9168 cat conftest.err >&5
9169 fi
9170 rm -rf libconftest.dylib*
9171 rm -f conftest.*
9172 fi
9173 fi
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9175 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9177 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9178 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9179 $as_echo_n "(cached) " >&6
9180 else
9181 lt_cv_ld_exported_symbols_list=no
9182 save_LDFLAGS=$LDFLAGS
9183 echo "_main" > conftest.sym
9184 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9185 if test x$gcc_no_link = xyes; then
9186 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9187 fi
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9190
9191 int
9192 main ()
9193 {
9194
9195 ;
9196 return 0;
9197 }
9198 _ACEOF
9199 if ac_fn_c_try_link "$LINENO"; then :
9200 lt_cv_ld_exported_symbols_list=yes
9201 else
9202 lt_cv_ld_exported_symbols_list=no
9203 fi
9204 rm -f core conftest.err conftest.$ac_objext \
9205 conftest$ac_exeext conftest.$ac_ext
9206 LDFLAGS="$save_LDFLAGS"
9207
9208 fi
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9210 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9212 $as_echo_n "checking for -force_load linker flag... " >&6; }
9213 if ${lt_cv_ld_force_load+:} false; then :
9214 $as_echo_n "(cached) " >&6
9215 else
9216 lt_cv_ld_force_load=no
9217 cat > conftest.c << _LT_EOF
9218 int forced_loaded() { return 2;}
9219 _LT_EOF
9220 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9221 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9222 echo "$AR cru libconftest.a conftest.o" >&5
9223 $AR cru libconftest.a conftest.o 2>&5
9224 cat > conftest.c << _LT_EOF
9225 int main() { return 0;}
9226 _LT_EOF
9227 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9228 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9229 _lt_result=$?
9230 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9231 lt_cv_ld_force_load=yes
9232 else
9233 cat conftest.err >&5
9234 fi
9235 rm -f conftest.err libconftest.a conftest conftest.c
9236 rm -rf conftest.dSYM
9237
9238 fi
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9240 $as_echo "$lt_cv_ld_force_load" >&6; }
9241 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9242 # build without first building modern cctools / linker.
9243 case $host_cpu-$host_os in
9244 *-rhapsody* | *-darwin1.[012])
9245 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9246 *-darwin1.*)
9247 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9248 *-darwin*)
9249 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9250 # deployment target is forced to an earlier version.
9251 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9252 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
9253 ;;
9254 10.[012][,.]*)
9255 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9256 ;;
9257 *)
9258 ;;
9259 esac
9260 ;;
9261 esac
9262 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9263 _lt_dar_single_mod='$single_module'
9264 fi
9265 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9266 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9267 else
9268 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9269 fi
9270 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9271 _lt_dsymutil='~$DSYMUTIL $lib || :'
9272 else
9273 _lt_dsymutil=
9274 fi
9275 ;;
9276 esac
9277
9278 for ac_header in dlfcn.h
9279 do :
9280 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9281 "
9282 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9283 cat >>confdefs.h <<_ACEOF
9284 #define HAVE_DLFCN_H 1
9285 _ACEOF
9286
9287 fi
9288
9289 done
9290
9291
9292
9293
9294
9295 # Set options
9296
9297
9298
9299
9300 enable_win32_dll=no
9301
9302
9303 # Check whether --enable-shared was given.
9304 if test "${enable_shared+set}" = set; then :
9305 enableval=$enable_shared; p=${PACKAGE-default}
9306 case $enableval in
9307 yes) enable_shared=yes ;;
9308 no) enable_shared=no ;;
9309 *)
9310 enable_shared=no
9311 # Look at the argument we got. We use all the common list separators.
9312 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9313 for pkg in $enableval; do
9314 IFS="$lt_save_ifs"
9315 if test "X$pkg" = "X$p"; then
9316 enable_shared=yes
9317 fi
9318 done
9319 IFS="$lt_save_ifs"
9320 ;;
9321 esac
9322 else
9323 enable_shared=yes
9324 fi
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334 # Check whether --enable-static was given.
9335 if test "${enable_static+set}" = set; then :
9336 enableval=$enable_static; p=${PACKAGE-default}
9337 case $enableval in
9338 yes) enable_static=yes ;;
9339 no) enable_static=no ;;
9340 *)
9341 enable_static=no
9342 # Look at the argument we got. We use all the common list separators.
9343 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9344 for pkg in $enableval; do
9345 IFS="$lt_save_ifs"
9346 if test "X$pkg" = "X$p"; then
9347 enable_static=yes
9348 fi
9349 done
9350 IFS="$lt_save_ifs"
9351 ;;
9352 esac
9353 else
9354 enable_static=yes
9355 fi
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366 # Check whether --with-pic was given.
9367 if test "${with_pic+set}" = set; then :
9368 withval=$with_pic; pic_mode="$withval"
9369 else
9370 pic_mode=default
9371 fi
9372
9373
9374 test -z "$pic_mode" && pic_mode=default
9375
9376
9377
9378
9379
9380
9381
9382 # Check whether --enable-fast-install was given.
9383 if test "${enable_fast_install+set}" = set; then :
9384 enableval=$enable_fast_install; p=${PACKAGE-default}
9385 case $enableval in
9386 yes) enable_fast_install=yes ;;
9387 no) enable_fast_install=no ;;
9388 *)
9389 enable_fast_install=no
9390 # Look at the argument we got. We use all the common list separators.
9391 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9392 for pkg in $enableval; do
9393 IFS="$lt_save_ifs"
9394 if test "X$pkg" = "X$p"; then
9395 enable_fast_install=yes
9396 fi
9397 done
9398 IFS="$lt_save_ifs"
9399 ;;
9400 esac
9401 else
9402 enable_fast_install=yes
9403 fi
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415 # This can be used to rebuild libtool when needed
9416 LIBTOOL_DEPS="$ltmain"
9417
9418 # Always use our own libtool.
9419 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446 test -z "$LN_S" && LN_S="ln -s"
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461 if test -n "${ZSH_VERSION+set}" ; then
9462 setopt NO_GLOB_SUBST
9463 fi
9464
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9466 $as_echo_n "checking for objdir... " >&6; }
9467 if ${lt_cv_objdir+:} false; then :
9468 $as_echo_n "(cached) " >&6
9469 else
9470 rm -f .libs 2>/dev/null
9471 mkdir .libs 2>/dev/null
9472 if test -d .libs; then
9473 lt_cv_objdir=.libs
9474 else
9475 # MS-DOS does not allow filenames that begin with a dot.
9476 lt_cv_objdir=_libs
9477 fi
9478 rmdir .libs 2>/dev/null
9479 fi
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9481 $as_echo "$lt_cv_objdir" >&6; }
9482 objdir=$lt_cv_objdir
9483
9484
9485
9486
9487
9488 cat >>confdefs.h <<_ACEOF
9489 #define LT_OBJDIR "$lt_cv_objdir/"
9490 _ACEOF
9491
9492
9493
9494
9495 case $host_os in
9496 aix3*)
9497 # AIX sometimes has problems with the GCC collect2 program. For some
9498 # reason, if we set the COLLECT_NAMES environment variable, the problems
9499 # vanish in a puff of smoke.
9500 if test "X${COLLECT_NAMES+set}" != Xset; then
9501 COLLECT_NAMES=
9502 export COLLECT_NAMES
9503 fi
9504 ;;
9505 esac
9506
9507 # Global variables:
9508 ofile=libtool
9509 can_build_shared=yes
9510
9511 # All known linkers require a `.a' archive for static linking (except MSVC,
9512 # which needs '.lib').
9513 libext=a
9514
9515 with_gnu_ld="$lt_cv_prog_gnu_ld"
9516
9517 old_CC="$CC"
9518 old_CFLAGS="$CFLAGS"
9519
9520 # Set sane defaults for various variables
9521 test -z "$CC" && CC=cc
9522 test -z "$LTCC" && LTCC=$CC
9523 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9524 test -z "$LD" && LD=ld
9525 test -z "$ac_objext" && ac_objext=o
9526
9527 for cc_temp in $compiler""; do
9528 case $cc_temp in
9529 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9530 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9531 \-*) ;;
9532 *) break;;
9533 esac
9534 done
9535 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9536
9537
9538 # Only perform the check for file, if the check method requires it
9539 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9540 case $deplibs_check_method in
9541 file_magic*)
9542 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9544 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9545 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9546 $as_echo_n "(cached) " >&6
9547 else
9548 case $MAGIC_CMD in
9549 [\\/*] | ?:[\\/]*)
9550 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9551 ;;
9552 *)
9553 lt_save_MAGIC_CMD="$MAGIC_CMD"
9554 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9555 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9556 for ac_dir in $ac_dummy; do
9557 IFS="$lt_save_ifs"
9558 test -z "$ac_dir" && ac_dir=.
9559 if test -f $ac_dir/${ac_tool_prefix}file; then
9560 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9561 if test -n "$file_magic_test_file"; then
9562 case $deplibs_check_method in
9563 "file_magic "*)
9564 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9565 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9566 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9567 $EGREP "$file_magic_regex" > /dev/null; then
9568 :
9569 else
9570 cat <<_LT_EOF 1>&2
9571
9572 *** Warning: the command libtool uses to detect shared libraries,
9573 *** $file_magic_cmd, produces output that libtool cannot recognize.
9574 *** The result is that libtool may fail to recognize shared libraries
9575 *** as such. This will affect the creation of libtool libraries that
9576 *** depend on shared libraries, but programs linked with such libtool
9577 *** libraries will work regardless of this problem. Nevertheless, you
9578 *** may want to report the problem to your system manager and/or to
9579 *** bug-libtool@gnu.org
9580
9581 _LT_EOF
9582 fi ;;
9583 esac
9584 fi
9585 break
9586 fi
9587 done
9588 IFS="$lt_save_ifs"
9589 MAGIC_CMD="$lt_save_MAGIC_CMD"
9590 ;;
9591 esac
9592 fi
9593
9594 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9595 if test -n "$MAGIC_CMD"; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9597 $as_echo "$MAGIC_CMD" >&6; }
9598 else
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9600 $as_echo "no" >&6; }
9601 fi
9602
9603
9604
9605
9606
9607 if test -z "$lt_cv_path_MAGIC_CMD"; then
9608 if test -n "$ac_tool_prefix"; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9610 $as_echo_n "checking for file... " >&6; }
9611 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9612 $as_echo_n "(cached) " >&6
9613 else
9614 case $MAGIC_CMD in
9615 [\\/*] | ?:[\\/]*)
9616 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9617 ;;
9618 *)
9619 lt_save_MAGIC_CMD="$MAGIC_CMD"
9620 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9621 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9622 for ac_dir in $ac_dummy; do
9623 IFS="$lt_save_ifs"
9624 test -z "$ac_dir" && ac_dir=.
9625 if test -f $ac_dir/file; then
9626 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9627 if test -n "$file_magic_test_file"; then
9628 case $deplibs_check_method in
9629 "file_magic "*)
9630 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9631 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9632 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9633 $EGREP "$file_magic_regex" > /dev/null; then
9634 :
9635 else
9636 cat <<_LT_EOF 1>&2
9637
9638 *** Warning: the command libtool uses to detect shared libraries,
9639 *** $file_magic_cmd, produces output that libtool cannot recognize.
9640 *** The result is that libtool may fail to recognize shared libraries
9641 *** as such. This will affect the creation of libtool libraries that
9642 *** depend on shared libraries, but programs linked with such libtool
9643 *** libraries will work regardless of this problem. Nevertheless, you
9644 *** may want to report the problem to your system manager and/or to
9645 *** bug-libtool@gnu.org
9646
9647 _LT_EOF
9648 fi ;;
9649 esac
9650 fi
9651 break
9652 fi
9653 done
9654 IFS="$lt_save_ifs"
9655 MAGIC_CMD="$lt_save_MAGIC_CMD"
9656 ;;
9657 esac
9658 fi
9659
9660 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9661 if test -n "$MAGIC_CMD"; then
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9663 $as_echo "$MAGIC_CMD" >&6; }
9664 else
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9666 $as_echo "no" >&6; }
9667 fi
9668
9669
9670 else
9671 MAGIC_CMD=:
9672 fi
9673 fi
9674
9675 fi
9676 ;;
9677 esac
9678
9679 # Use C for the default configuration in the libtool script
9680
9681 lt_save_CC="$CC"
9682 ac_ext=c
9683 ac_cpp='$CPP $CPPFLAGS'
9684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9687
9688
9689 # Source file extension for C test sources.
9690 ac_ext=c
9691
9692 # Object file extension for compiled C test sources.
9693 objext=o
9694 objext=$objext
9695
9696 # Code to be used in simple compile tests
9697 lt_simple_compile_test_code="int some_variable = 0;"
9698
9699 # Code to be used in simple link tests
9700 lt_simple_link_test_code='int main(){return(0);}'
9701
9702
9703
9704
9705
9706
9707
9708 # If no C compiler was specified, use CC.
9709 LTCC=${LTCC-"$CC"}
9710
9711 # If no C compiler flags were specified, use CFLAGS.
9712 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9713
9714 # Allow CC to be a program name with arguments.
9715 compiler=$CC
9716
9717 # Save the default compiler, since it gets overwritten when the other
9718 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9719 compiler_DEFAULT=$CC
9720
9721 # save warnings/boilerplate of simple test code
9722 ac_outfile=conftest.$ac_objext
9723 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9724 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9725 _lt_compiler_boilerplate=`cat conftest.err`
9726 $RM conftest*
9727
9728 ac_outfile=conftest.$ac_objext
9729 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9730 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9731 _lt_linker_boilerplate=`cat conftest.err`
9732 $RM -r conftest*
9733
9734
9735 ## CAVEAT EMPTOR:
9736 ## There is no encapsulation within the following macros, do not change
9737 ## the running order or otherwise move them around unless you know exactly
9738 ## what you are doing...
9739 if test -n "$compiler"; then
9740
9741 lt_prog_compiler_no_builtin_flag=
9742
9743 if test "$GCC" = yes; then
9744 case $cc_basename in
9745 nvcc*)
9746 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9747 *)
9748 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9749 esac
9750
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9752 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9753 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9754 $as_echo_n "(cached) " >&6
9755 else
9756 lt_cv_prog_compiler_rtti_exceptions=no
9757 ac_outfile=conftest.$ac_objext
9758 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9759 lt_compiler_flag="-fno-rtti -fno-exceptions"
9760 # Insert the option either (1) after the last *FLAGS variable, or
9761 # (2) before a word containing "conftest.", or (3) at the end.
9762 # Note that $ac_compile itself does not contain backslashes and begins
9763 # with a dollar sign (not a hyphen), so the echo should work correctly.
9764 # The option is referenced via a variable to avoid confusing sed.
9765 lt_compile=`echo "$ac_compile" | $SED \
9766 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9767 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9768 -e 's:$: $lt_compiler_flag:'`
9769 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9770 (eval "$lt_compile" 2>conftest.err)
9771 ac_status=$?
9772 cat conftest.err >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 if (exit $ac_status) && test -s "$ac_outfile"; then
9775 # The compiler can only warn and ignore the option if not recognized
9776 # So say no if there are warnings other than the usual output.
9777 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9778 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9779 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9780 lt_cv_prog_compiler_rtti_exceptions=yes
9781 fi
9782 fi
9783 $RM conftest*
9784
9785 fi
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9787 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9788
9789 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9790 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9791 else
9792 :
9793 fi
9794
9795 fi
9796
9797
9798
9799
9800
9801
9802 lt_prog_compiler_wl=
9803 lt_prog_compiler_pic=
9804 lt_prog_compiler_static=
9805
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9807 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9808
9809 if test "$GCC" = yes; then
9810 lt_prog_compiler_wl='-Wl,'
9811 lt_prog_compiler_static='-static'
9812
9813 case $host_os in
9814 aix*)
9815 # All AIX code is PIC.
9816 if test "$host_cpu" = ia64; then
9817 # AIX 5 now supports IA64 processor
9818 lt_prog_compiler_static='-Bstatic'
9819 fi
9820 lt_prog_compiler_pic='-fPIC'
9821 ;;
9822
9823 amigaos*)
9824 case $host_cpu in
9825 powerpc)
9826 # see comment about AmigaOS4 .so support
9827 lt_prog_compiler_pic='-fPIC'
9828 ;;
9829 m68k)
9830 # FIXME: we need at least 68020 code to build shared libraries, but
9831 # adding the `-m68020' flag to GCC prevents building anything better,
9832 # like `-m68040'.
9833 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9834 ;;
9835 esac
9836 ;;
9837
9838 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9839 # PIC is the default for these OSes.
9840 ;;
9841
9842 mingw* | cygwin* | pw32* | os2* | cegcc*)
9843 # This hack is so that the source file can tell whether it is being
9844 # built for inclusion in a dll (and should export symbols for example).
9845 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9846 # (--disable-auto-import) libraries
9847 lt_prog_compiler_pic='-DDLL_EXPORT'
9848 ;;
9849
9850 darwin* | rhapsody*)
9851 # PIC is the default on this platform
9852 # Common symbols not allowed in MH_DYLIB files
9853 lt_prog_compiler_pic='-fno-common'
9854 ;;
9855
9856 haiku*)
9857 # PIC is the default for Haiku.
9858 # The "-static" flag exists, but is broken.
9859 lt_prog_compiler_static=
9860 ;;
9861
9862 hpux*)
9863 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9864 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9865 # sets the default TLS model and affects inlining.
9866 case $host_cpu in
9867 hppa*64*)
9868 # +Z the default
9869 ;;
9870 *)
9871 lt_prog_compiler_pic='-fPIC'
9872 ;;
9873 esac
9874 ;;
9875
9876 interix[3-9]*)
9877 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9878 # Instead, we relocate shared libraries at runtime.
9879 ;;
9880
9881 msdosdjgpp*)
9882 # Just because we use GCC doesn't mean we suddenly get shared libraries
9883 # on systems that don't support them.
9884 lt_prog_compiler_can_build_shared=no
9885 enable_shared=no
9886 ;;
9887
9888 *nto* | *qnx*)
9889 # QNX uses GNU C++, but need to define -shared option too, otherwise
9890 # it will coredump.
9891 lt_prog_compiler_pic='-fPIC -shared'
9892 ;;
9893
9894 sysv4*MP*)
9895 if test -d /usr/nec; then
9896 lt_prog_compiler_pic=-Kconform_pic
9897 fi
9898 ;;
9899
9900 *)
9901 lt_prog_compiler_pic='-fPIC'
9902 ;;
9903 esac
9904
9905 case $cc_basename in
9906 nvcc*) # Cuda Compiler Driver 2.2
9907 lt_prog_compiler_wl='-Xlinker '
9908 lt_prog_compiler_pic='-Xcompiler -fPIC'
9909 ;;
9910 esac
9911 else
9912 # PORTME Check for flag to pass linker flags through the system compiler.
9913 case $host_os in
9914 aix*)
9915 lt_prog_compiler_wl='-Wl,'
9916 if test "$host_cpu" = ia64; then
9917 # AIX 5 now supports IA64 processor
9918 lt_prog_compiler_static='-Bstatic'
9919 else
9920 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9921 fi
9922 ;;
9923
9924 mingw* | cygwin* | pw32* | os2* | cegcc*)
9925 # This hack is so that the source file can tell whether it is being
9926 # built for inclusion in a dll (and should export symbols for example).
9927 lt_prog_compiler_pic='-DDLL_EXPORT'
9928 ;;
9929
9930 hpux9* | hpux10* | hpux11*)
9931 lt_prog_compiler_wl='-Wl,'
9932 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9933 # not for PA HP-UX.
9934 case $host_cpu in
9935 hppa*64*|ia64*)
9936 # +Z the default
9937 ;;
9938 *)
9939 lt_prog_compiler_pic='+Z'
9940 ;;
9941 esac
9942 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9943 lt_prog_compiler_static='${wl}-a ${wl}archive'
9944 ;;
9945
9946 irix5* | irix6* | nonstopux*)
9947 lt_prog_compiler_wl='-Wl,'
9948 # PIC (with -KPIC) is the default.
9949 lt_prog_compiler_static='-non_shared'
9950 ;;
9951
9952 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9953 case $cc_basename in
9954 # old Intel for x86_64 which still supported -KPIC.
9955 ecc*)
9956 lt_prog_compiler_wl='-Wl,'
9957 lt_prog_compiler_pic='-KPIC'
9958 lt_prog_compiler_static='-static'
9959 ;;
9960 # icc used to be incompatible with GCC.
9961 # ICC 10 doesn't accept -KPIC any more.
9962 icc* | ifort*)
9963 lt_prog_compiler_wl='-Wl,'
9964 lt_prog_compiler_pic='-fPIC'
9965 lt_prog_compiler_static='-static'
9966 ;;
9967 # Lahey Fortran 8.1.
9968 lf95*)
9969 lt_prog_compiler_wl='-Wl,'
9970 lt_prog_compiler_pic='--shared'
9971 lt_prog_compiler_static='--static'
9972 ;;
9973 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9974 # Portland Group compilers (*not* the Pentium gcc compiler,
9975 # which looks to be a dead project)
9976 lt_prog_compiler_wl='-Wl,'
9977 lt_prog_compiler_pic='-fpic'
9978 lt_prog_compiler_static='-Bstatic'
9979 ;;
9980 ccc*)
9981 lt_prog_compiler_wl='-Wl,'
9982 # All Alpha code is PIC.
9983 lt_prog_compiler_static='-non_shared'
9984 ;;
9985 xl* | bgxl* | bgf* | mpixl*)
9986 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9987 lt_prog_compiler_wl='-Wl,'
9988 lt_prog_compiler_pic='-qpic'
9989 lt_prog_compiler_static='-qstaticlink'
9990 ;;
9991 *)
9992 case `$CC -V 2>&1 | sed 5q` in
9993 *Sun\ F* | *Sun*Fortran*)
9994 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9995 lt_prog_compiler_pic='-KPIC'
9996 lt_prog_compiler_static='-Bstatic'
9997 lt_prog_compiler_wl=''
9998 ;;
9999 *Sun\ C*)
10000 # Sun C 5.9
10001 lt_prog_compiler_pic='-KPIC'
10002 lt_prog_compiler_static='-Bstatic'
10003 lt_prog_compiler_wl='-Wl,'
10004 ;;
10005 esac
10006 ;;
10007 esac
10008 ;;
10009
10010 newsos6)
10011 lt_prog_compiler_pic='-KPIC'
10012 lt_prog_compiler_static='-Bstatic'
10013 ;;
10014
10015 *nto* | *qnx*)
10016 # QNX uses GNU C++, but need to define -shared option too, otherwise
10017 # it will coredump.
10018 lt_prog_compiler_pic='-fPIC -shared'
10019 ;;
10020
10021 osf3* | osf4* | osf5*)
10022 lt_prog_compiler_wl='-Wl,'
10023 # All OSF/1 code is PIC.
10024 lt_prog_compiler_static='-non_shared'
10025 ;;
10026
10027 rdos*)
10028 lt_prog_compiler_static='-non_shared'
10029 ;;
10030
10031 solaris*)
10032 lt_prog_compiler_pic='-KPIC'
10033 lt_prog_compiler_static='-Bstatic'
10034 case $cc_basename in
10035 f77* | f90* | f95*)
10036 lt_prog_compiler_wl='-Qoption ld ';;
10037 *)
10038 lt_prog_compiler_wl='-Wl,';;
10039 esac
10040 ;;
10041
10042 sunos4*)
10043 lt_prog_compiler_wl='-Qoption ld '
10044 lt_prog_compiler_pic='-PIC'
10045 lt_prog_compiler_static='-Bstatic'
10046 ;;
10047
10048 sysv4 | sysv4.2uw2* | sysv4.3*)
10049 lt_prog_compiler_wl='-Wl,'
10050 lt_prog_compiler_pic='-KPIC'
10051 lt_prog_compiler_static='-Bstatic'
10052 ;;
10053
10054 sysv4*MP*)
10055 if test -d /usr/nec ;then
10056 lt_prog_compiler_pic='-Kconform_pic'
10057 lt_prog_compiler_static='-Bstatic'
10058 fi
10059 ;;
10060
10061 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10062 lt_prog_compiler_wl='-Wl,'
10063 lt_prog_compiler_pic='-KPIC'
10064 lt_prog_compiler_static='-Bstatic'
10065 ;;
10066
10067 unicos*)
10068 lt_prog_compiler_wl='-Wl,'
10069 lt_prog_compiler_can_build_shared=no
10070 ;;
10071
10072 uts4*)
10073 lt_prog_compiler_pic='-pic'
10074 lt_prog_compiler_static='-Bstatic'
10075 ;;
10076
10077 *)
10078 lt_prog_compiler_can_build_shared=no
10079 ;;
10080 esac
10081 fi
10082
10083 case $host_os in
10084 # For platforms which do not support PIC, -DPIC is meaningless:
10085 *djgpp*)
10086 lt_prog_compiler_pic=
10087 ;;
10088 *)
10089 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10090 ;;
10091 esac
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10093 $as_echo "$lt_prog_compiler_pic" >&6; }
10094
10095
10096
10097
10098
10099
10100 #
10101 # Check to make sure the PIC flag actually works.
10102 #
10103 if test -n "$lt_prog_compiler_pic"; then
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10105 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10106 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 lt_cv_prog_compiler_pic_works=no
10110 ac_outfile=conftest.$ac_objext
10111 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10112 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10113 # Insert the option either (1) after the last *FLAGS variable, or
10114 # (2) before a word containing "conftest.", or (3) at the end.
10115 # Note that $ac_compile itself does not contain backslashes and begins
10116 # with a dollar sign (not a hyphen), so the echo should work correctly.
10117 # The option is referenced via a variable to avoid confusing sed.
10118 lt_compile=`echo "$ac_compile" | $SED \
10119 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10120 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10121 -e 's:$: $lt_compiler_flag:'`
10122 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10123 (eval "$lt_compile" 2>conftest.err)
10124 ac_status=$?
10125 cat conftest.err >&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 if (exit $ac_status) && test -s "$ac_outfile"; then
10128 # The compiler can only warn and ignore the option if not recognized
10129 # So say no if there are warnings other than the usual output.
10130 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10131 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10132 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10133 lt_cv_prog_compiler_pic_works=yes
10134 fi
10135 fi
10136 $RM conftest*
10137
10138 fi
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10140 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10141
10142 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10143 case $lt_prog_compiler_pic in
10144 "" | " "*) ;;
10145 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10146 esac
10147 else
10148 lt_prog_compiler_pic=
10149 lt_prog_compiler_can_build_shared=no
10150 fi
10151
10152 fi
10153
10154
10155
10156
10157
10158
10159 #
10160 # Check to make sure the static flag actually works.
10161 #
10162 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10164 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10165 if ${lt_cv_prog_compiler_static_works+:} false; then :
10166 $as_echo_n "(cached) " >&6
10167 else
10168 lt_cv_prog_compiler_static_works=no
10169 save_LDFLAGS="$LDFLAGS"
10170 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10171 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10172 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10173 # The linker can only warn and ignore the option if not recognized
10174 # So say no if there are warnings
10175 if test -s conftest.err; then
10176 # Append any errors to the config.log.
10177 cat conftest.err 1>&5
10178 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10179 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10180 if diff conftest.exp conftest.er2 >/dev/null; then
10181 lt_cv_prog_compiler_static_works=yes
10182 fi
10183 else
10184 lt_cv_prog_compiler_static_works=yes
10185 fi
10186 fi
10187 $RM -r conftest*
10188 LDFLAGS="$save_LDFLAGS"
10189
10190 fi
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10192 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10193
10194 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10195 :
10196 else
10197 lt_prog_compiler_static=
10198 fi
10199
10200
10201
10202
10203
10204
10205
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10207 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10208 if ${lt_cv_prog_compiler_c_o+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 lt_cv_prog_compiler_c_o=no
10212 $RM -r conftest 2>/dev/null
10213 mkdir conftest
10214 cd conftest
10215 mkdir out
10216 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10217
10218 lt_compiler_flag="-o out/conftest2.$ac_objext"
10219 # Insert the option either (1) after the last *FLAGS variable, or
10220 # (2) before a word containing "conftest.", or (3) at the end.
10221 # Note that $ac_compile itself does not contain backslashes and begins
10222 # with a dollar sign (not a hyphen), so the echo should work correctly.
10223 lt_compile=`echo "$ac_compile" | $SED \
10224 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10225 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10226 -e 's:$: $lt_compiler_flag:'`
10227 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10228 (eval "$lt_compile" 2>out/conftest.err)
10229 ac_status=$?
10230 cat out/conftest.err >&5
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10233 then
10234 # The compiler can only warn and ignore the option if not recognized
10235 # So say no if there are warnings
10236 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10237 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10238 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10239 lt_cv_prog_compiler_c_o=yes
10240 fi
10241 fi
10242 chmod u+w . 2>&5
10243 $RM conftest*
10244 # SGI C++ compiler will create directory out/ii_files/ for
10245 # template instantiation
10246 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10247 $RM out/* && rmdir out
10248 cd ..
10249 $RM -r conftest
10250 $RM conftest*
10251
10252 fi
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10254 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10255
10256
10257
10258
10259
10260
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10262 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10263 if ${lt_cv_prog_compiler_c_o+:} false; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 lt_cv_prog_compiler_c_o=no
10267 $RM -r conftest 2>/dev/null
10268 mkdir conftest
10269 cd conftest
10270 mkdir out
10271 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10272
10273 lt_compiler_flag="-o out/conftest2.$ac_objext"
10274 # Insert the option either (1) after the last *FLAGS variable, or
10275 # (2) before a word containing "conftest.", or (3) at the end.
10276 # Note that $ac_compile itself does not contain backslashes and begins
10277 # with a dollar sign (not a hyphen), so the echo should work correctly.
10278 lt_compile=`echo "$ac_compile" | $SED \
10279 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10281 -e 's:$: $lt_compiler_flag:'`
10282 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10283 (eval "$lt_compile" 2>out/conftest.err)
10284 ac_status=$?
10285 cat out/conftest.err >&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10288 then
10289 # The compiler can only warn and ignore the option if not recognized
10290 # So say no if there are warnings
10291 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10292 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10293 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10294 lt_cv_prog_compiler_c_o=yes
10295 fi
10296 fi
10297 chmod u+w . 2>&5
10298 $RM conftest*
10299 # SGI C++ compiler will create directory out/ii_files/ for
10300 # template instantiation
10301 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10302 $RM out/* && rmdir out
10303 cd ..
10304 $RM -r conftest
10305 $RM conftest*
10306
10307 fi
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10309 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10310
10311
10312
10313
10314 hard_links="nottested"
10315 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10316 # do not overwrite the value of need_locks provided by the user
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10318 $as_echo_n "checking if we can lock with hard links... " >&6; }
10319 hard_links=yes
10320 $RM conftest*
10321 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10322 touch conftest.a
10323 ln conftest.a conftest.b 2>&5 || hard_links=no
10324 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10326 $as_echo "$hard_links" >&6; }
10327 if test "$hard_links" = no; then
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10329 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10330 need_locks=warn
10331 fi
10332 else
10333 need_locks=no
10334 fi
10335
10336
10337
10338
10339
10340
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10342 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10343
10344 runpath_var=
10345 allow_undefined_flag=
10346 always_export_symbols=no
10347 archive_cmds=
10348 archive_expsym_cmds=
10349 compiler_needs_object=no
10350 enable_shared_with_static_runtimes=no
10351 export_dynamic_flag_spec=
10352 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10353 hardcode_automatic=no
10354 hardcode_direct=no
10355 hardcode_direct_absolute=no
10356 hardcode_libdir_flag_spec=
10357 hardcode_libdir_flag_spec_ld=
10358 hardcode_libdir_separator=
10359 hardcode_minus_L=no
10360 hardcode_shlibpath_var=unsupported
10361 inherit_rpath=no
10362 link_all_deplibs=unknown
10363 module_cmds=
10364 module_expsym_cmds=
10365 old_archive_from_new_cmds=
10366 old_archive_from_expsyms_cmds=
10367 thread_safe_flag_spec=
10368 whole_archive_flag_spec=
10369 # include_expsyms should be a list of space-separated symbols to be *always*
10370 # included in the symbol list
10371 include_expsyms=
10372 # exclude_expsyms can be an extended regexp of symbols to exclude
10373 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10374 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10375 # as well as any symbol that contains `d'.
10376 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10377 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10378 # platforms (ab)use it in PIC code, but their linkers get confused if
10379 # the symbol is explicitly referenced. Since portable code cannot
10380 # rely on this symbol name, it's probably fine to never include it in
10381 # preloaded symbol tables.
10382 # Exclude shared library initialization/finalization symbols.
10383 extract_expsyms_cmds=
10384
10385 case $host_os in
10386 cygwin* | mingw* | pw32* | cegcc*)
10387 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10388 # When not using gcc, we currently assume that we are using
10389 # Microsoft Visual C++.
10390 if test "$GCC" != yes; then
10391 with_gnu_ld=no
10392 fi
10393 ;;
10394 interix*)
10395 # we just hope/assume this is gcc and not c89 (= MSVC++)
10396 with_gnu_ld=yes
10397 ;;
10398 openbsd*)
10399 with_gnu_ld=no
10400 ;;
10401 esac
10402
10403 ld_shlibs=yes
10404
10405 # On some targets, GNU ld is compatible enough with the native linker
10406 # that we're better off using the native interface for both.
10407 lt_use_gnu_ld_interface=no
10408 if test "$with_gnu_ld" = yes; then
10409 case $host_os in
10410 aix*)
10411 # The AIX port of GNU ld has always aspired to compatibility
10412 # with the native linker. However, as the warning in the GNU ld
10413 # block says, versions before 2.19.5* couldn't really create working
10414 # shared libraries, regardless of the interface used.
10415 case `$LD -v 2>&1` in
10416 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10417 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10418 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10419 *)
10420 lt_use_gnu_ld_interface=yes
10421 ;;
10422 esac
10423 ;;
10424 *)
10425 lt_use_gnu_ld_interface=yes
10426 ;;
10427 esac
10428 fi
10429
10430 if test "$lt_use_gnu_ld_interface" = yes; then
10431 # If archive_cmds runs LD, not CC, wlarc should be empty
10432 wlarc='${wl}'
10433
10434 # Set some defaults for GNU ld with shared library support. These
10435 # are reset later if shared libraries are not supported. Putting them
10436 # here allows them to be overridden if necessary.
10437 runpath_var=LD_RUN_PATH
10438 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10439 export_dynamic_flag_spec='${wl}--export-dynamic'
10440 # ancient GNU ld didn't support --whole-archive et. al.
10441 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10442 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10443 else
10444 whole_archive_flag_spec=
10445 fi
10446 supports_anon_versioning=no
10447 case `$LD -v 2>&1` in
10448 *GNU\ gold*) supports_anon_versioning=yes ;;
10449 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10450 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10451 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10452 *\ 2.11.*) ;; # other 2.11 versions
10453 *) supports_anon_versioning=yes ;;
10454 esac
10455
10456 # See if GNU ld supports shared libraries.
10457 case $host_os in
10458 aix[3-9]*)
10459 # On AIX/PPC, the GNU linker is very broken
10460 if test "$host_cpu" != ia64; then
10461 ld_shlibs=no
10462 cat <<_LT_EOF 1>&2
10463
10464 *** Warning: the GNU linker, at least up to release 2.19, is reported
10465 *** to be unable to reliably create shared libraries on AIX.
10466 *** Therefore, libtool is disabling shared libraries support. If you
10467 *** really care for shared libraries, you may want to install binutils
10468 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10469 *** You will then need to restart the configuration process.
10470
10471 _LT_EOF
10472 fi
10473 ;;
10474
10475 amigaos*)
10476 case $host_cpu in
10477 powerpc)
10478 # see comment about AmigaOS4 .so support
10479 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10480 archive_expsym_cmds=''
10481 ;;
10482 m68k)
10483 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)'
10484 hardcode_libdir_flag_spec='-L$libdir'
10485 hardcode_minus_L=yes
10486 ;;
10487 esac
10488 ;;
10489
10490 beos*)
10491 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10492 allow_undefined_flag=unsupported
10493 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10494 # support --undefined. This deserves some investigation. FIXME
10495 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10496 else
10497 ld_shlibs=no
10498 fi
10499 ;;
10500
10501 cygwin* | mingw* | pw32* | cegcc*)
10502 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10503 # as there is no search path for DLLs.
10504 hardcode_libdir_flag_spec='-L$libdir'
10505 export_dynamic_flag_spec='${wl}--export-all-symbols'
10506 allow_undefined_flag=unsupported
10507 always_export_symbols=no
10508 enable_shared_with_static_runtimes=yes
10509 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10510
10511 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10512 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10513 # If the export-symbols file already is a .def file (1st line
10514 # is EXPORTS), use it as is; otherwise, prepend...
10515 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10516 cp $export_symbols $output_objdir/$soname.def;
10517 else
10518 echo EXPORTS > $output_objdir/$soname.def;
10519 cat $export_symbols >> $output_objdir/$soname.def;
10520 fi~
10521 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10522 else
10523 ld_shlibs=no
10524 fi
10525 ;;
10526
10527 haiku*)
10528 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10529 link_all_deplibs=yes
10530 ;;
10531
10532 interix[3-9]*)
10533 hardcode_direct=no
10534 hardcode_shlibpath_var=no
10535 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10536 export_dynamic_flag_spec='${wl}-E'
10537 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10538 # Instead, shared libraries are loaded at an image base (0x10000000 by
10539 # default) and relocated if they conflict, which is a slow very memory
10540 # consuming and fragmenting process. To avoid this, we pick a random,
10541 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10542 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10543 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10544 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'
10545 ;;
10546
10547 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10548 tmp_diet=no
10549 if test "$host_os" = linux-dietlibc; then
10550 case $cc_basename in
10551 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10552 esac
10553 fi
10554 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10555 && test "$tmp_diet" = no
10556 then
10557 tmp_addflag=' $pic_flag'
10558 tmp_sharedflag='-shared'
10559 case $cc_basename,$host_cpu in
10560 pgcc*) # Portland Group C compiler
10561 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10562 tmp_addflag=' $pic_flag'
10563 ;;
10564 pgf77* | pgf90* | pgf95* | pgfortran*)
10565 # Portland Group f77 and f90 compilers
10566 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'
10567 tmp_addflag=' $pic_flag -Mnomain' ;;
10568 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10569 tmp_addflag=' -i_dynamic' ;;
10570 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10571 tmp_addflag=' -i_dynamic -nofor_main' ;;
10572 ifc* | ifort*) # Intel Fortran compiler
10573 tmp_addflag=' -nofor_main' ;;
10574 lf95*) # Lahey Fortran 8.1
10575 whole_archive_flag_spec=
10576 tmp_sharedflag='--shared' ;;
10577 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10578 tmp_sharedflag='-qmkshrobj'
10579 tmp_addflag= ;;
10580 nvcc*) # Cuda Compiler Driver 2.2
10581 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'
10582 compiler_needs_object=yes
10583 ;;
10584 esac
10585 case `$CC -V 2>&1 | sed 5q` in
10586 *Sun\ C*) # Sun C 5.9
10587 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'
10588 compiler_needs_object=yes
10589 tmp_sharedflag='-G' ;;
10590 *Sun\ F*) # Sun Fortran 8.3
10591 tmp_sharedflag='-G' ;;
10592 esac
10593 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10594
10595 if test "x$supports_anon_versioning" = xyes; then
10596 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10597 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10598 echo "local: *; };" >> $output_objdir/$libname.ver~
10599 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10600 fi
10601
10602 case $cc_basename in
10603 xlf* | bgf* | bgxlf* | mpixlf*)
10604 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10605 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10606 hardcode_libdir_flag_spec=
10607 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10608 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10609 if test "x$supports_anon_versioning" = xyes; then
10610 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10611 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10612 echo "local: *; };" >> $output_objdir/$libname.ver~
10613 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10614 fi
10615 ;;
10616 esac
10617 else
10618 ld_shlibs=no
10619 fi
10620 ;;
10621
10622 netbsd*)
10623 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10624 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10625 wlarc=
10626 else
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 fi
10630 ;;
10631
10632 solaris*)
10633 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10634 ld_shlibs=no
10635 cat <<_LT_EOF 1>&2
10636
10637 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10638 *** create shared libraries on Solaris systems. Therefore, libtool
10639 *** is disabling shared libraries support. We urge you to upgrade GNU
10640 *** binutils to release 2.9.1 or newer. Another option is to modify
10641 *** your PATH or compiler configuration so that the native linker is
10642 *** used, and then restart.
10643
10644 _LT_EOF
10645 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10646 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10647 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10648 else
10649 ld_shlibs=no
10650 fi
10651 ;;
10652
10653 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10654 case `$LD -v 2>&1` in
10655 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10656 ld_shlibs=no
10657 cat <<_LT_EOF 1>&2
10658
10659 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10660 *** reliably create shared libraries on SCO systems. Therefore, libtool
10661 *** is disabling shared libraries support. We urge you to upgrade GNU
10662 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10663 *** your PATH or compiler configuration so that the native linker is
10664 *** used, and then restart.
10665
10666 _LT_EOF
10667 ;;
10668 *)
10669 # For security reasons, it is highly recommended that you always
10670 # use absolute paths for naming shared libraries, and exclude the
10671 # DT_RUNPATH tag from executables and libraries. But doing so
10672 # requires that you compile everything twice, which is a pain.
10673 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10674 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10675 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10676 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10677 else
10678 ld_shlibs=no
10679 fi
10680 ;;
10681 esac
10682 ;;
10683
10684 sunos4*)
10685 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10686 wlarc=
10687 hardcode_direct=yes
10688 hardcode_shlibpath_var=no
10689 ;;
10690
10691 *)
10692 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10693 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10694 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10695 else
10696 ld_shlibs=no
10697 fi
10698 ;;
10699 esac
10700
10701 if test "$ld_shlibs" = no; then
10702 runpath_var=
10703 hardcode_libdir_flag_spec=
10704 export_dynamic_flag_spec=
10705 whole_archive_flag_spec=
10706 fi
10707 else
10708 # PORTME fill in a description of your system's linker (not GNU ld)
10709 case $host_os in
10710 aix3*)
10711 allow_undefined_flag=unsupported
10712 always_export_symbols=yes
10713 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'
10714 # Note: this linker hardcodes the directories in LIBPATH if there
10715 # are no directories specified by -L.
10716 hardcode_minus_L=yes
10717 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10718 # Neither direct hardcoding nor static linking is supported with a
10719 # broken collect2.
10720 hardcode_direct=unsupported
10721 fi
10722 ;;
10723
10724 aix[4-9]*)
10725 if test "$host_cpu" = ia64; then
10726 # On IA64, the linker does run time linking by default, so we don't
10727 # have to do anything special.
10728 aix_use_runtimelinking=no
10729 exp_sym_flag='-Bexport'
10730 no_entry_flag=""
10731 else
10732 # If we're using GNU nm, then we don't want the "-C" option.
10733 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10734 # Also, AIX nm treats weak defined symbols like other global
10735 # defined symbols, whereas GNU nm marks them as "W".
10736 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10737 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'
10738 else
10739 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'
10740 fi
10741 aix_use_runtimelinking=no
10742
10743 # Test if we are trying to use run time linking or normal
10744 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10745 # need to do runtime linking.
10746 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10747 for ld_flag in $LDFLAGS; do
10748 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10749 aix_use_runtimelinking=yes
10750 break
10751 fi
10752 done
10753 ;;
10754 esac
10755
10756 exp_sym_flag='-bexport'
10757 no_entry_flag='-bnoentry'
10758 fi
10759
10760 # When large executables or shared objects are built, AIX ld can
10761 # have problems creating the table of contents. If linking a library
10762 # or program results in "error TOC overflow" add -mminimal-toc to
10763 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10764 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10765
10766 archive_cmds=''
10767 hardcode_direct=yes
10768 hardcode_direct_absolute=yes
10769 hardcode_libdir_separator=':'
10770 link_all_deplibs=yes
10771 file_list_spec='${wl}-f,'
10772
10773 if test "$GCC" = yes; then
10774 case $host_os in aix4.[012]|aix4.[012].*)
10775 # We only want to do this on AIX 4.2 and lower, the check
10776 # below for broken collect2 doesn't work under 4.3+
10777 collect2name=`${CC} -print-prog-name=collect2`
10778 if test -f "$collect2name" &&
10779 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10780 then
10781 # We have reworked collect2
10782 :
10783 else
10784 # We have old collect2
10785 hardcode_direct=unsupported
10786 # It fails to find uninstalled libraries when the uninstalled
10787 # path is not listed in the libpath. Setting hardcode_minus_L
10788 # to unsupported forces relinking
10789 hardcode_minus_L=yes
10790 hardcode_libdir_flag_spec='-L$libdir'
10791 hardcode_libdir_separator=
10792 fi
10793 ;;
10794 esac
10795 shared_flag='-shared'
10796 if test "$aix_use_runtimelinking" = yes; then
10797 shared_flag="$shared_flag "'${wl}-G'
10798 fi
10799 else
10800 # not using gcc
10801 if test "$host_cpu" = ia64; then
10802 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10803 # chokes on -Wl,-G. The following line is correct:
10804 shared_flag='-G'
10805 else
10806 if test "$aix_use_runtimelinking" = yes; then
10807 shared_flag='${wl}-G'
10808 else
10809 shared_flag='${wl}-bM:SRE'
10810 fi
10811 fi
10812 fi
10813
10814 export_dynamic_flag_spec='${wl}-bexpall'
10815 # It seems that -bexpall does not export symbols beginning with
10816 # underscore (_), so it is better to generate a list of symbols to export.
10817 always_export_symbols=yes
10818 if test "$aix_use_runtimelinking" = yes; then
10819 # Warning - without using the other runtime loading flags (-brtl),
10820 # -berok will link without error, but may produce a broken library.
10821 allow_undefined_flag='-berok'
10822 # Determine the default libpath from the value encoded in an
10823 # empty executable.
10824 if test x$gcc_no_link = xyes; then
10825 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10826 fi
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10829
10830 int
10831 main ()
10832 {
10833
10834 ;
10835 return 0;
10836 }
10837 _ACEOF
10838 if ac_fn_c_try_link "$LINENO"; then :
10839
10840 lt_aix_libpath_sed='
10841 /Import File Strings/,/^$/ {
10842 /^0/ {
10843 s/^0 *\(.*\)$/\1/
10844 p
10845 }
10846 }'
10847 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10848 # Check for a 64-bit object if we didn't find anything.
10849 if test -z "$aix_libpath"; then
10850 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10851 fi
10852 fi
10853 rm -f core conftest.err conftest.$ac_objext \
10854 conftest$ac_exeext conftest.$ac_ext
10855 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10856
10857 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10858 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"
10859 else
10860 if test "$host_cpu" = ia64; then
10861 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10862 allow_undefined_flag="-z nodefs"
10863 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"
10864 else
10865 # Determine the default libpath from the value encoded in an
10866 # empty executable.
10867 if test x$gcc_no_link = xyes; then
10868 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10869 fi
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10872
10873 int
10874 main ()
10875 {
10876
10877 ;
10878 return 0;
10879 }
10880 _ACEOF
10881 if ac_fn_c_try_link "$LINENO"; then :
10882
10883 lt_aix_libpath_sed='
10884 /Import File Strings/,/^$/ {
10885 /^0/ {
10886 s/^0 *\(.*\)$/\1/
10887 p
10888 }
10889 }'
10890 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10891 # Check for a 64-bit object if we didn't find anything.
10892 if test -z "$aix_libpath"; then
10893 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10894 fi
10895 fi
10896 rm -f core conftest.err conftest.$ac_objext \
10897 conftest$ac_exeext conftest.$ac_ext
10898 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10899
10900 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10901 # Warning - without using the other run time loading flags,
10902 # -berok will link without error, but may produce a broken library.
10903 no_undefined_flag=' ${wl}-bernotok'
10904 allow_undefined_flag=' ${wl}-berok'
10905 if test "$with_gnu_ld" = yes; then
10906 # We only use this code for GNU lds that support --whole-archive.
10907 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10908 else
10909 # Exported symbols can be pulled into shared objects from archives
10910 whole_archive_flag_spec='$convenience'
10911 fi
10912 archive_cmds_need_lc=yes
10913 # This is similar to how AIX traditionally builds its shared libraries.
10914 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'
10915 fi
10916 fi
10917 ;;
10918
10919 amigaos*)
10920 case $host_cpu in
10921 powerpc)
10922 # see comment about AmigaOS4 .so support
10923 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10924 archive_expsym_cmds=''
10925 ;;
10926 m68k)
10927 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)'
10928 hardcode_libdir_flag_spec='-L$libdir'
10929 hardcode_minus_L=yes
10930 ;;
10931 esac
10932 ;;
10933
10934 bsdi[45]*)
10935 export_dynamic_flag_spec=-rdynamic
10936 ;;
10937
10938 cygwin* | mingw* | pw32* | cegcc*)
10939 # When not using gcc, we currently assume that we are using
10940 # Microsoft Visual C++.
10941 # hardcode_libdir_flag_spec is actually meaningless, as there is
10942 # no search path for DLLs.
10943 hardcode_libdir_flag_spec=' '
10944 allow_undefined_flag=unsupported
10945 # Tell ltmain to make .lib files, not .a files.
10946 libext=lib
10947 # Tell ltmain to make .dll files, not .so files.
10948 shrext_cmds=".dll"
10949 # FIXME: Setting linknames here is a bad hack.
10950 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10951 # The linker will automatically build a .lib file if we build a DLL.
10952 old_archive_from_new_cmds='true'
10953 # FIXME: Should let the user specify the lib program.
10954 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10955 fix_srcfile_path='`cygpath -w "$srcfile"`'
10956 enable_shared_with_static_runtimes=yes
10957 ;;
10958
10959 darwin* | rhapsody*)
10960
10961
10962
10963 # Publish an arg to allow the user to select that Darwin host (and target)
10964 # libraries should be given install-names like @rpath/libfoo.dylib. This
10965 # requires that the user of the library then adds an 'rpath' to the DSO that
10966 # needs access.
10967 # NOTE: there are defaults below, for systems that support rpaths. The person
10968 # configuring can override the defaults for any system version that supports
10969 # them - they are, however, forced off for system versions without support.
10970 # Check whether --enable-darwin-at-rpath was given.
10971 if test "${enable_darwin_at_rpath+set}" = set; then :
10972 enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10973 # This is not supported before macOS 10.5 / Darwin9.
10974 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10975 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10977 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10978 enable_darwin_at_rpath=no
10979 ;;
10980 esac
10981 fi
10982 else
10983 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10984 # As above, before 10.5 / Darwin9 this does not work.
10985 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
10986 enable_darwin_at_rpath=no
10987 ;;
10988
10989 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10990 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10991 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10992 UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* )
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10994 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10995 enable_darwin_at_rpath=yes
10996 ;;
10997 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10998 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10999
11000 esac
11001
11002 fi
11003
11004
11005 archive_cmds_need_lc=no
11006 hardcode_direct=no
11007 hardcode_automatic=yes
11008 hardcode_shlibpath_var=unsupported
11009 if test "$lt_cv_ld_force_load" = "yes"; then
11010 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\"`'
11011 else
11012 whole_archive_flag_spec=''
11013 fi
11014 link_all_deplibs=yes
11015 allow_undefined_flag="$_lt_dar_allow_undefined"
11016 case $cc_basename in
11017 ifort*) _lt_dar_can_shared=yes ;;
11018 *) _lt_dar_can_shared=$GCC ;;
11019 esac
11020 if test "$_lt_dar_can_shared" = "yes"; then
11021 output_verbose_link_cmd=func_echo_all
11022 _lt_install_name='\$rpath/\$soname'
11023 if test "x$enable_darwin_at_rpath" = "xyes"; then
11024 _lt_install_name='@rpath/\$soname'
11025 fi
11026 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
11027 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11028 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
11029 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}"
11030
11031 else
11032 ld_shlibs=no
11033 fi
11034
11035 ;;
11036
11037 dgux*)
11038 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11039 hardcode_libdir_flag_spec='-L$libdir'
11040 hardcode_shlibpath_var=no
11041 ;;
11042
11043 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11044 # support. Future versions do this automatically, but an explicit c++rt0.o
11045 # does not break anything, and helps significantly (at the cost of a little
11046 # extra space).
11047 freebsd2.2*)
11048 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11049 hardcode_libdir_flag_spec='-R$libdir'
11050 hardcode_direct=yes
11051 hardcode_shlibpath_var=no
11052 ;;
11053
11054 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11055 freebsd2.*)
11056 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11057 hardcode_direct=yes
11058 hardcode_minus_L=yes
11059 hardcode_shlibpath_var=no
11060 ;;
11061
11062 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11063 freebsd* | dragonfly*)
11064 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11065 hardcode_libdir_flag_spec='-R$libdir'
11066 hardcode_direct=yes
11067 hardcode_shlibpath_var=no
11068 ;;
11069
11070 hpux9*)
11071 if test "$GCC" = yes; then
11072 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'
11073 else
11074 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'
11075 fi
11076 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11077 hardcode_libdir_separator=:
11078 hardcode_direct=yes
11079
11080 # hardcode_minus_L: Not really in the search PATH,
11081 # but as the default location of the library.
11082 hardcode_minus_L=yes
11083 export_dynamic_flag_spec='${wl}-E'
11084 ;;
11085
11086 hpux10*)
11087 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11088 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11089 else
11090 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11091 fi
11092 if test "$with_gnu_ld" = no; then
11093 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11094 hardcode_libdir_flag_spec_ld='+b $libdir'
11095 hardcode_libdir_separator=:
11096 hardcode_direct=yes
11097 hardcode_direct_absolute=yes
11098 export_dynamic_flag_spec='${wl}-E'
11099 # hardcode_minus_L: Not really in the search PATH,
11100 # but as the default location of the library.
11101 hardcode_minus_L=yes
11102 fi
11103 ;;
11104
11105 hpux11*)
11106 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11107 case $host_cpu in
11108 hppa*64*)
11109 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11110 ;;
11111 ia64*)
11112 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11113 ;;
11114 *)
11115 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11116 ;;
11117 esac
11118 else
11119 case $host_cpu in
11120 hppa*64*)
11121 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11122 ;;
11123 ia64*)
11124 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11125 ;;
11126 *)
11127
11128 # Older versions of the 11.00 compiler do not understand -b yet
11129 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11131 $as_echo_n "checking if $CC understands -b... " >&6; }
11132 if ${lt_cv_prog_compiler__b+:} false; then :
11133 $as_echo_n "(cached) " >&6
11134 else
11135 lt_cv_prog_compiler__b=no
11136 save_LDFLAGS="$LDFLAGS"
11137 LDFLAGS="$LDFLAGS -b"
11138 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11139 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11140 # The linker can only warn and ignore the option if not recognized
11141 # So say no if there are warnings
11142 if test -s conftest.err; then
11143 # Append any errors to the config.log.
11144 cat conftest.err 1>&5
11145 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11146 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11147 if diff conftest.exp conftest.er2 >/dev/null; then
11148 lt_cv_prog_compiler__b=yes
11149 fi
11150 else
11151 lt_cv_prog_compiler__b=yes
11152 fi
11153 fi
11154 $RM -r conftest*
11155 LDFLAGS="$save_LDFLAGS"
11156
11157 fi
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11159 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11160
11161 if test x"$lt_cv_prog_compiler__b" = xyes; then
11162 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11163 else
11164 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11165 fi
11166
11167 ;;
11168 esac
11169 fi
11170 if test "$with_gnu_ld" = no; then
11171 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11172 hardcode_libdir_separator=:
11173
11174 case $host_cpu in
11175 hppa*64*|ia64*)
11176 hardcode_direct=no
11177 hardcode_shlibpath_var=no
11178 ;;
11179 *)
11180 hardcode_direct=yes
11181 hardcode_direct_absolute=yes
11182 export_dynamic_flag_spec='${wl}-E'
11183
11184 # hardcode_minus_L: Not really in the search PATH,
11185 # but as the default location of the library.
11186 hardcode_minus_L=yes
11187 ;;
11188 esac
11189 fi
11190 ;;
11191
11192 irix5* | irix6* | nonstopux*)
11193 if test "$GCC" = yes; then
11194 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'
11195 # Try to use the -exported_symbol ld option, if it does not
11196 # work, assume that -exports_file does not work either and
11197 # implicitly export all symbols.
11198 save_LDFLAGS="$LDFLAGS"
11199 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11200 if test x$gcc_no_link = xyes; then
11201 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11202 fi
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11205 int foo(void) {}
11206 _ACEOF
11207 if ac_fn_c_try_link "$LINENO"; then :
11208 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'
11209
11210 fi
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LDFLAGS="$save_LDFLAGS"
11214 else
11215 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'
11216 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'
11217 fi
11218 archive_cmds_need_lc='no'
11219 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11220 hardcode_libdir_separator=:
11221 inherit_rpath=yes
11222 link_all_deplibs=yes
11223 ;;
11224
11225 netbsd*)
11226 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11227 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11228 else
11229 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11230 fi
11231 hardcode_libdir_flag_spec='-R$libdir'
11232 hardcode_direct=yes
11233 hardcode_shlibpath_var=no
11234 ;;
11235
11236 newsos6)
11237 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11238 hardcode_direct=yes
11239 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11240 hardcode_libdir_separator=:
11241 hardcode_shlibpath_var=no
11242 ;;
11243
11244 *nto* | *qnx*)
11245 ;;
11246
11247 openbsd*)
11248 if test -f /usr/libexec/ld.so; then
11249 hardcode_direct=yes
11250 hardcode_shlibpath_var=no
11251 hardcode_direct_absolute=yes
11252 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11253 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11254 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11255 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11256 export_dynamic_flag_spec='${wl}-E'
11257 else
11258 case $host_os in
11259 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11260 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11261 hardcode_libdir_flag_spec='-R$libdir'
11262 ;;
11263 *)
11264 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11265 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11266 ;;
11267 esac
11268 fi
11269 else
11270 ld_shlibs=no
11271 fi
11272 ;;
11273
11274 os2*)
11275 hardcode_libdir_flag_spec='-L$libdir'
11276 hardcode_minus_L=yes
11277 allow_undefined_flag=unsupported
11278 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'
11279 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11280 ;;
11281
11282 osf3*)
11283 if test "$GCC" = yes; then
11284 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11285 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'
11286 else
11287 allow_undefined_flag=' -expect_unresolved \*'
11288 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'
11289 fi
11290 archive_cmds_need_lc='no'
11291 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11292 hardcode_libdir_separator=:
11293 ;;
11294
11295 osf4* | osf5*) # as osf3* with the addition of -msym flag
11296 if test "$GCC" = yes; then
11297 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11298 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'
11299 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11300 else
11301 allow_undefined_flag=' -expect_unresolved \*'
11302 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'
11303 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~
11304 $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'
11305
11306 # Both c and cxx compiler support -rpath directly
11307 hardcode_libdir_flag_spec='-rpath $libdir'
11308 fi
11309 archive_cmds_need_lc='no'
11310 hardcode_libdir_separator=:
11311 ;;
11312
11313 solaris*)
11314 no_undefined_flag=' -z defs'
11315 if test "$GCC" = yes; then
11316 wlarc='${wl}'
11317 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11318 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11319 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11320 else
11321 case `$CC -V 2>&1` in
11322 *"Compilers 5.0"*)
11323 wlarc=''
11324 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11325 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11326 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11327 ;;
11328 *)
11329 wlarc='${wl}'
11330 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11331 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11332 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11333 ;;
11334 esac
11335 fi
11336 hardcode_libdir_flag_spec='-R$libdir'
11337 hardcode_shlibpath_var=no
11338 case $host_os in
11339 solaris2.[0-5] | solaris2.[0-5].*) ;;
11340 *)
11341 # The compiler driver will combine and reorder linker options,
11342 # but understands `-z linker_flag'. GCC discards it without `$wl',
11343 # but is careful enough not to reorder.
11344 # Supported since Solaris 2.6 (maybe 2.5.1?)
11345 if test "$GCC" = yes; then
11346 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11347 else
11348 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11349 fi
11350 ;;
11351 esac
11352 link_all_deplibs=yes
11353 ;;
11354
11355 sunos4*)
11356 if test "x$host_vendor" = xsequent; then
11357 # Use $CC to link under sequent, because it throws in some extra .o
11358 # files that make .init and .fini sections work.
11359 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11360 else
11361 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11362 fi
11363 hardcode_libdir_flag_spec='-L$libdir'
11364 hardcode_direct=yes
11365 hardcode_minus_L=yes
11366 hardcode_shlibpath_var=no
11367 ;;
11368
11369 sysv4)
11370 case $host_vendor in
11371 sni)
11372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11373 hardcode_direct=yes # is this really true???
11374 ;;
11375 siemens)
11376 ## LD is ld it makes a PLAMLIB
11377 ## CC just makes a GrossModule.
11378 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11379 reload_cmds='$CC -r -o $output$reload_objs'
11380 hardcode_direct=no
11381 ;;
11382 motorola)
11383 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11384 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11385 ;;
11386 esac
11387 runpath_var='LD_RUN_PATH'
11388 hardcode_shlibpath_var=no
11389 ;;
11390
11391 sysv4.3*)
11392 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11393 hardcode_shlibpath_var=no
11394 export_dynamic_flag_spec='-Bexport'
11395 ;;
11396
11397 sysv4*MP*)
11398 if test -d /usr/nec; then
11399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11400 hardcode_shlibpath_var=no
11401 runpath_var=LD_RUN_PATH
11402 hardcode_runpath_var=yes
11403 ld_shlibs=yes
11404 fi
11405 ;;
11406
11407 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11408 no_undefined_flag='${wl}-z,text'
11409 archive_cmds_need_lc=no
11410 hardcode_shlibpath_var=no
11411 runpath_var='LD_RUN_PATH'
11412
11413 if test "$GCC" = yes; then
11414 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11415 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11416 else
11417 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11418 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11419 fi
11420 ;;
11421
11422 sysv5* | sco3.2v5* | sco5v6*)
11423 # Note: We can NOT use -z defs as we might desire, because we do not
11424 # link with -lc, and that would cause any symbols used from libc to
11425 # always be unresolved, which means just about no library would
11426 # ever link correctly. If we're not using GNU ld we use -z text
11427 # though, which does catch some bad symbols but isn't as heavy-handed
11428 # as -z defs.
11429 no_undefined_flag='${wl}-z,text'
11430 allow_undefined_flag='${wl}-z,nodefs'
11431 archive_cmds_need_lc=no
11432 hardcode_shlibpath_var=no
11433 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11434 hardcode_libdir_separator=':'
11435 link_all_deplibs=yes
11436 export_dynamic_flag_spec='${wl}-Bexport'
11437 runpath_var='LD_RUN_PATH'
11438
11439 if test "$GCC" = yes; then
11440 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11441 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11442 else
11443 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11444 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11445 fi
11446 ;;
11447
11448 uts4*)
11449 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11450 hardcode_libdir_flag_spec='-L$libdir'
11451 hardcode_shlibpath_var=no
11452 ;;
11453
11454 *)
11455 ld_shlibs=no
11456 ;;
11457 esac
11458
11459 if test x$host_vendor = xsni; then
11460 case $host in
11461 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11462 export_dynamic_flag_spec='${wl}-Blargedynsym'
11463 ;;
11464 esac
11465 fi
11466 fi
11467
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11469 $as_echo "$ld_shlibs" >&6; }
11470 test "$ld_shlibs" = no && can_build_shared=no
11471
11472 with_gnu_ld=$with_gnu_ld
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488 #
11489 # Do we need to explicitly link libc?
11490 #
11491 case "x$archive_cmds_need_lc" in
11492 x|xyes)
11493 # Assume -lc should be added
11494 archive_cmds_need_lc=yes
11495
11496 if test "$enable_shared" = yes && test "$GCC" = yes; then
11497 case $archive_cmds in
11498 *'~'*)
11499 # FIXME: we may have to deal with multi-command sequences.
11500 ;;
11501 '$CC '*)
11502 # Test whether the compiler implicitly links with -lc since on some
11503 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11504 # to ld, don't add -lc before -lgcc.
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11506 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11507 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 $RM conftest*
11511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11512
11513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11514 (eval $ac_compile) 2>&5
11515 ac_status=$?
11516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11517 test $ac_status = 0; } 2>conftest.err; then
11518 soname=conftest
11519 lib=conftest
11520 libobjs=conftest.$ac_objext
11521 deplibs=
11522 wl=$lt_prog_compiler_wl
11523 pic_flag=$lt_prog_compiler_pic
11524 compiler_flags=-v
11525 linker_flags=-v
11526 verstring=
11527 output_objdir=.
11528 libname=conftest
11529 lt_save_allow_undefined_flag=$allow_undefined_flag
11530 allow_undefined_flag=
11531 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11532 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11533 ac_status=$?
11534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11535 test $ac_status = 0; }
11536 then
11537 lt_cv_archive_cmds_need_lc=no
11538 else
11539 lt_cv_archive_cmds_need_lc=yes
11540 fi
11541 allow_undefined_flag=$lt_save_allow_undefined_flag
11542 else
11543 cat conftest.err 1>&5
11544 fi
11545 $RM conftest*
11546
11547 fi
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11549 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11550 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11551 ;;
11552 esac
11553 fi
11554 ;;
11555 esac
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11714 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11715
11716 if test "$GCC" = yes; then
11717 case $host_os in
11718 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11719 *) lt_awk_arg="/^libraries:/" ;;
11720 esac
11721 case $host_os in
11722 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11723 *) lt_sed_strip_eq="s,=/,/,g" ;;
11724 esac
11725 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11726 case $lt_search_path_spec in
11727 *\;*)
11728 # if the path contains ";" then we assume it to be the separator
11729 # otherwise default to the standard path separator (i.e. ":") - it is
11730 # assumed that no part of a normal pathname contains ";" but that should
11731 # okay in the real world where ";" in dirpaths is itself problematic.
11732 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11733 ;;
11734 *)
11735 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11736 ;;
11737 esac
11738 # Ok, now we have the path, separated by spaces, we can step through it
11739 # and add multilib dir if necessary.
11740 lt_tmp_lt_search_path_spec=
11741 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11742 for lt_sys_path in $lt_search_path_spec; do
11743 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11744 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11745 else
11746 test -d "$lt_sys_path" && \
11747 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11748 fi
11749 done
11750 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11751 BEGIN {RS=" "; FS="/|\n";} {
11752 lt_foo="";
11753 lt_count=0;
11754 for (lt_i = NF; lt_i > 0; lt_i--) {
11755 if ($lt_i != "" && $lt_i != ".") {
11756 if ($lt_i == "..") {
11757 lt_count++;
11758 } else {
11759 if (lt_count == 0) {
11760 lt_foo="/" $lt_i lt_foo;
11761 } else {
11762 lt_count--;
11763 }
11764 }
11765 }
11766 }
11767 if (lt_foo != "") { lt_freq[lt_foo]++; }
11768 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11769 }'`
11770 # AWK program above erroneously prepends '/' to C:/dos/paths
11771 # for these hosts.
11772 case $host_os in
11773 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11774 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11775 esac
11776 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11777 else
11778 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11779 fi
11780 library_names_spec=
11781 libname_spec='lib$name'
11782 soname_spec=
11783 shrext_cmds=".so"
11784 postinstall_cmds=
11785 postuninstall_cmds=
11786 finish_cmds=
11787 finish_eval=
11788 shlibpath_var=
11789 shlibpath_overrides_runpath=unknown
11790 version_type=none
11791 dynamic_linker="$host_os ld.so"
11792 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11793 need_lib_prefix=unknown
11794 hardcode_into_libs=no
11795
11796 # when you set need_version to no, make sure it does not cause -set_version
11797 # flags to be left without arguments
11798 need_version=unknown
11799
11800 case $host_os in
11801 aix3*)
11802 version_type=linux
11803 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11804 shlibpath_var=LIBPATH
11805
11806 # AIX 3 has no versioning support, so we append a major version to the name.
11807 soname_spec='${libname}${release}${shared_ext}$major'
11808 ;;
11809
11810 aix[4-9]*)
11811 version_type=linux
11812 need_lib_prefix=no
11813 need_version=no
11814 hardcode_into_libs=yes
11815 if test "$host_cpu" = ia64; then
11816 # AIX 5 supports IA64
11817 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11818 shlibpath_var=LD_LIBRARY_PATH
11819 else
11820 # With GCC up to 2.95.x, collect2 would create an import file
11821 # for dependence libraries. The import file would start with
11822 # the line `#! .'. This would cause the generated library to
11823 # depend on `.', always an invalid library. This was fixed in
11824 # development snapshots of GCC prior to 3.0.
11825 case $host_os in
11826 aix4 | aix4.[01] | aix4.[01].*)
11827 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11828 echo ' yes '
11829 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11830 :
11831 else
11832 can_build_shared=no
11833 fi
11834 ;;
11835 esac
11836 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11837 # soname into executable. Probably we can add versioning support to
11838 # collect2, so additional links can be useful in future.
11839 if test "$aix_use_runtimelinking" = yes; then
11840 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11841 # instead of lib<name>.a to let people know that these are not
11842 # typical AIX shared libraries.
11843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11844 else
11845 # We preserve .a as extension for shared libraries through AIX4.2
11846 # and later when we are not doing run time linking.
11847 library_names_spec='${libname}${release}.a $libname.a'
11848 soname_spec='${libname}${release}${shared_ext}$major'
11849 fi
11850 shlibpath_var=LIBPATH
11851 fi
11852 ;;
11853
11854 amigaos*)
11855 case $host_cpu in
11856 powerpc)
11857 # Since July 2007 AmigaOS4 officially supports .so libraries.
11858 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11860 ;;
11861 m68k)
11862 library_names_spec='$libname.ixlibrary $libname.a'
11863 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11864 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'
11865 ;;
11866 esac
11867 ;;
11868
11869 beos*)
11870 library_names_spec='${libname}${shared_ext}'
11871 dynamic_linker="$host_os ld.so"
11872 shlibpath_var=LIBRARY_PATH
11873 ;;
11874
11875 bsdi[45]*)
11876 version_type=linux
11877 need_version=no
11878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11879 soname_spec='${libname}${release}${shared_ext}$major'
11880 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11881 shlibpath_var=LD_LIBRARY_PATH
11882 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11883 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11884 # the default ld.so.conf also contains /usr/contrib/lib and
11885 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11886 # libtool to hard-code these into programs
11887 ;;
11888
11889 cygwin* | mingw* | pw32* | cegcc*)
11890 version_type=windows
11891 shrext_cmds=".dll"
11892 need_version=no
11893 need_lib_prefix=no
11894
11895 case $GCC,$host_os in
11896 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11897 library_names_spec='$libname.dll.a'
11898 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11899 postinstall_cmds='base_file=`basename \${file}`~
11900 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11901 dldir=$destdir/`dirname \$dlpath`~
11902 test -d \$dldir || mkdir -p \$dldir~
11903 $install_prog $dir/$dlname \$dldir/$dlname~
11904 chmod a+x \$dldir/$dlname~
11905 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11906 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11907 fi'
11908 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11909 dlpath=$dir/\$dldll~
11910 $RM \$dlpath'
11911 shlibpath_overrides_runpath=yes
11912
11913 case $host_os in
11914 cygwin*)
11915 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11916 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11917
11918 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11919 ;;
11920 mingw* | cegcc*)
11921 # MinGW DLLs use traditional 'lib' prefix
11922 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11923 ;;
11924 pw32*)
11925 # pw32 DLLs use 'pw' prefix rather than 'lib'
11926 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11927 ;;
11928 esac
11929 ;;
11930
11931 *)
11932 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11933 ;;
11934 esac
11935 dynamic_linker='Win32 ld.exe'
11936 # FIXME: first we should search . and the directory the executable is in
11937 shlibpath_var=PATH
11938 ;;
11939
11940 darwin* | rhapsody*)
11941 dynamic_linker="$host_os dyld"
11942 version_type=darwin
11943 need_lib_prefix=no
11944 need_version=no
11945 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11946 soname_spec='${libname}${release}${major}$shared_ext'
11947 shlibpath_overrides_runpath=yes
11948 shlibpath_var=DYLD_LIBRARY_PATH
11949 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11950
11951 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11952 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11953 ;;
11954
11955 dgux*)
11956 version_type=linux
11957 need_lib_prefix=no
11958 need_version=no
11959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11960 soname_spec='${libname}${release}${shared_ext}$major'
11961 shlibpath_var=LD_LIBRARY_PATH
11962 ;;
11963
11964 freebsd* | dragonfly*)
11965 # DragonFly does not have aout. When/if they implement a new
11966 # versioning mechanism, adjust this.
11967 if test -x /usr/bin/objformat; then
11968 objformat=`/usr/bin/objformat`
11969 else
11970 case $host_os in
11971 freebsd[23].*) objformat=aout ;;
11972 *) objformat=elf ;;
11973 esac
11974 fi
11975 version_type=freebsd-$objformat
11976 case $version_type in
11977 freebsd-elf*)
11978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11979 need_version=no
11980 need_lib_prefix=no
11981 ;;
11982 freebsd-*)
11983 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11984 need_version=yes
11985 ;;
11986 esac
11987 shlibpath_var=LD_LIBRARY_PATH
11988 case $host_os in
11989 freebsd2.*)
11990 shlibpath_overrides_runpath=yes
11991 ;;
11992 freebsd3.[01]* | freebsdelf3.[01]*)
11993 shlibpath_overrides_runpath=yes
11994 hardcode_into_libs=yes
11995 ;;
11996 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11997 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11998 shlibpath_overrides_runpath=no
11999 hardcode_into_libs=yes
12000 ;;
12001 *) # from 4.6 on, and DragonFly
12002 shlibpath_overrides_runpath=yes
12003 hardcode_into_libs=yes
12004 ;;
12005 esac
12006 ;;
12007
12008 haiku*)
12009 version_type=linux
12010 need_lib_prefix=no
12011 need_version=no
12012 dynamic_linker="$host_os runtime_loader"
12013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12014 soname_spec='${libname}${release}${shared_ext}$major'
12015 shlibpath_var=LIBRARY_PATH
12016 shlibpath_overrides_runpath=yes
12017 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12018 hardcode_into_libs=yes
12019 ;;
12020
12021 hpux9* | hpux10* | hpux11*)
12022 # Give a soname corresponding to the major version so that dld.sl refuses to
12023 # link against other versions.
12024 version_type=sunos
12025 need_lib_prefix=no
12026 need_version=no
12027 case $host_cpu in
12028 ia64*)
12029 shrext_cmds='.so'
12030 hardcode_into_libs=yes
12031 dynamic_linker="$host_os dld.so"
12032 shlibpath_var=LD_LIBRARY_PATH
12033 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12035 soname_spec='${libname}${release}${shared_ext}$major'
12036 if test "X$HPUX_IA64_MODE" = X32; then
12037 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12038 else
12039 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12040 fi
12041 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12042 ;;
12043 hppa*64*)
12044 shrext_cmds='.sl'
12045 hardcode_into_libs=yes
12046 dynamic_linker="$host_os dld.sl"
12047 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12048 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12050 soname_spec='${libname}${release}${shared_ext}$major'
12051 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12052 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12053 ;;
12054 *)
12055 shrext_cmds='.sl'
12056 dynamic_linker="$host_os dld.sl"
12057 shlibpath_var=SHLIB_PATH
12058 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12060 soname_spec='${libname}${release}${shared_ext}$major'
12061 ;;
12062 esac
12063 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12064 postinstall_cmds='chmod 555 $lib'
12065 # or fails outright, so override atomically:
12066 install_override_mode=555
12067 ;;
12068
12069 interix[3-9]*)
12070 version_type=linux
12071 need_lib_prefix=no
12072 need_version=no
12073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12074 soname_spec='${libname}${release}${shared_ext}$major'
12075 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12076 shlibpath_var=LD_LIBRARY_PATH
12077 shlibpath_overrides_runpath=no
12078 hardcode_into_libs=yes
12079 ;;
12080
12081 irix5* | irix6* | nonstopux*)
12082 case $host_os in
12083 nonstopux*) version_type=nonstopux ;;
12084 *)
12085 if test "$lt_cv_prog_gnu_ld" = yes; then
12086 version_type=linux
12087 else
12088 version_type=irix
12089 fi ;;
12090 esac
12091 need_lib_prefix=no
12092 need_version=no
12093 soname_spec='${libname}${release}${shared_ext}$major'
12094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12095 case $host_os in
12096 irix5* | nonstopux*)
12097 libsuff= shlibsuff=
12098 ;;
12099 *)
12100 case $LD in # libtool.m4 will add one of these switches to LD
12101 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12102 libsuff= shlibsuff= libmagic=32-bit;;
12103 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12104 libsuff=32 shlibsuff=N32 libmagic=N32;;
12105 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12106 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12107 *) libsuff= shlibsuff= libmagic=never-match;;
12108 esac
12109 ;;
12110 esac
12111 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12112 shlibpath_overrides_runpath=no
12113 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12114 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12115 hardcode_into_libs=yes
12116 ;;
12117
12118 # No shared lib support for Linux oldld, aout, or coff.
12119 linux*oldld* | linux*aout* | linux*coff*)
12120 dynamic_linker=no
12121 ;;
12122
12123 # This must be Linux ELF.
12124
12125 # uclinux* changes (here and below) have been submitted to the libtool
12126 # project, but have not yet been accepted: they are GCC-local changes
12127 # for the time being. (See
12128 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12129 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
12130 version_type=linux
12131 need_lib_prefix=no
12132 need_version=no
12133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12134 soname_spec='${libname}${release}${shared_ext}$major'
12135 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12136 shlibpath_var=LD_LIBRARY_PATH
12137 shlibpath_overrides_runpath=no
12138
12139 # Some binutils ld are patched to set DT_RUNPATH
12140 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 lt_cv_shlibpath_overrides_runpath=no
12144 save_LDFLAGS=$LDFLAGS
12145 save_libdir=$libdir
12146 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12147 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12148 if test x$gcc_no_link = xyes; then
12149 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12150 fi
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12153
12154 int
12155 main ()
12156 {
12157
12158 ;
12159 return 0;
12160 }
12161 _ACEOF
12162 if ac_fn_c_try_link "$LINENO"; then :
12163 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12164 lt_cv_shlibpath_overrides_runpath=yes
12165 fi
12166 fi
12167 rm -f core conftest.err conftest.$ac_objext \
12168 conftest$ac_exeext conftest.$ac_ext
12169 LDFLAGS=$save_LDFLAGS
12170 libdir=$save_libdir
12171
12172 fi
12173
12174 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12175
12176 # This implies no fast_install, which is unacceptable.
12177 # Some rework will be needed to allow for fast_install
12178 # before this can be enabled.
12179 hardcode_into_libs=yes
12180
12181 # Append ld.so.conf contents to the search path
12182 if test -f /etc/ld.so.conf; then
12183 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' ' '`
12184 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12185 fi
12186
12187 # We used to test for /lib/ld.so.1 and disable shared libraries on
12188 # powerpc, because MkLinux only supported shared libraries with the
12189 # GNU dynamic linker. Since this was broken with cross compilers,
12190 # most powerpc-linux boxes support dynamic linking these days and
12191 # people can always --disable-shared, the test was removed, and we
12192 # assume the GNU/Linux dynamic linker is in use.
12193 dynamic_linker='GNU/Linux ld.so'
12194 ;;
12195
12196 netbsd*)
12197 version_type=sunos
12198 need_lib_prefix=no
12199 need_version=no
12200 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12202 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12203 dynamic_linker='NetBSD (a.out) ld.so'
12204 else
12205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12206 soname_spec='${libname}${release}${shared_ext}$major'
12207 dynamic_linker='NetBSD ld.elf_so'
12208 fi
12209 shlibpath_var=LD_LIBRARY_PATH
12210 shlibpath_overrides_runpath=yes
12211 hardcode_into_libs=yes
12212 ;;
12213
12214 newsos6)
12215 version_type=linux
12216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12217 shlibpath_var=LD_LIBRARY_PATH
12218 shlibpath_overrides_runpath=yes
12219 ;;
12220
12221 *nto* | *qnx*)
12222 version_type=qnx
12223 need_lib_prefix=no
12224 need_version=no
12225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12226 soname_spec='${libname}${release}${shared_ext}$major'
12227 shlibpath_var=LD_LIBRARY_PATH
12228 shlibpath_overrides_runpath=no
12229 hardcode_into_libs=yes
12230 dynamic_linker='ldqnx.so'
12231 ;;
12232
12233 openbsd*)
12234 version_type=sunos
12235 sys_lib_dlsearch_path_spec="/usr/lib"
12236 need_lib_prefix=no
12237 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12238 case $host_os in
12239 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12240 *) need_version=no ;;
12241 esac
12242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12243 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12244 shlibpath_var=LD_LIBRARY_PATH
12245 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12246 case $host_os in
12247 openbsd2.[89] | openbsd2.[89].*)
12248 shlibpath_overrides_runpath=no
12249 ;;
12250 *)
12251 shlibpath_overrides_runpath=yes
12252 ;;
12253 esac
12254 else
12255 shlibpath_overrides_runpath=yes
12256 fi
12257 ;;
12258
12259 os2*)
12260 libname_spec='$name'
12261 shrext_cmds=".dll"
12262 need_lib_prefix=no
12263 library_names_spec='$libname${shared_ext} $libname.a'
12264 dynamic_linker='OS/2 ld.exe'
12265 shlibpath_var=LIBPATH
12266 ;;
12267
12268 osf3* | osf4* | osf5*)
12269 version_type=osf
12270 need_lib_prefix=no
12271 need_version=no
12272 soname_spec='${libname}${release}${shared_ext}$major'
12273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12274 shlibpath_var=LD_LIBRARY_PATH
12275 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12276 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12277 ;;
12278
12279 rdos*)
12280 dynamic_linker=no
12281 ;;
12282
12283 solaris*)
12284 version_type=linux
12285 need_lib_prefix=no
12286 need_version=no
12287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12288 soname_spec='${libname}${release}${shared_ext}$major'
12289 shlibpath_var=LD_LIBRARY_PATH
12290 shlibpath_overrides_runpath=yes
12291 hardcode_into_libs=yes
12292 # ldd complains unless libraries are executable
12293 postinstall_cmds='chmod +x $lib'
12294 ;;
12295
12296 sunos4*)
12297 version_type=sunos
12298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12299 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12300 shlibpath_var=LD_LIBRARY_PATH
12301 shlibpath_overrides_runpath=yes
12302 if test "$with_gnu_ld" = yes; then
12303 need_lib_prefix=no
12304 fi
12305 need_version=yes
12306 ;;
12307
12308 sysv4 | sysv4.3*)
12309 version_type=linux
12310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12311 soname_spec='${libname}${release}${shared_ext}$major'
12312 shlibpath_var=LD_LIBRARY_PATH
12313 case $host_vendor in
12314 sni)
12315 shlibpath_overrides_runpath=no
12316 need_lib_prefix=no
12317 runpath_var=LD_RUN_PATH
12318 ;;
12319 siemens)
12320 need_lib_prefix=no
12321 ;;
12322 motorola)
12323 need_lib_prefix=no
12324 need_version=no
12325 shlibpath_overrides_runpath=no
12326 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12327 ;;
12328 esac
12329 ;;
12330
12331 sysv4*MP*)
12332 if test -d /usr/nec ;then
12333 version_type=linux
12334 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12335 soname_spec='$libname${shared_ext}.$major'
12336 shlibpath_var=LD_LIBRARY_PATH
12337 fi
12338 ;;
12339
12340 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12341 version_type=freebsd-elf
12342 need_lib_prefix=no
12343 need_version=no
12344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12345 soname_spec='${libname}${release}${shared_ext}$major'
12346 shlibpath_var=LD_LIBRARY_PATH
12347 shlibpath_overrides_runpath=yes
12348 hardcode_into_libs=yes
12349 if test "$with_gnu_ld" = yes; then
12350 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12351 else
12352 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12353 case $host_os in
12354 sco3.2v5*)
12355 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12356 ;;
12357 esac
12358 fi
12359 sys_lib_dlsearch_path_spec='/usr/lib'
12360 ;;
12361
12362 tpf*)
12363 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12364 version_type=linux
12365 need_lib_prefix=no
12366 need_version=no
12367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12368 shlibpath_var=LD_LIBRARY_PATH
12369 shlibpath_overrides_runpath=no
12370 hardcode_into_libs=yes
12371 ;;
12372
12373 uts4*)
12374 version_type=linux
12375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12376 soname_spec='${libname}${release}${shared_ext}$major'
12377 shlibpath_var=LD_LIBRARY_PATH
12378 ;;
12379
12380 # Shared libraries for VwWorks, >= 7 only at this stage
12381 # and (fpic) still incompatible with "large" code models
12382 # in a few configurations. Only for RTP mode in any case,
12383 # and upon explicit request at configure time.
12384 vxworks7*)
12385 dynamic_linker=no
12386 case ${with_multisubdir}-${enable_shared} in
12387 *large*)
12388 ;;
12389 *mrtp*-yes)
12390 version_type=linux
12391 need_lib_prefix=no
12392 need_version=no
12393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12394 soname_spec='${libname}${release}${shared_ext}$major'
12395 dynamic_linker="$host_os module_loader"
12396 ;;
12397 esac
12398 ;;
12399 *)
12400 dynamic_linker=no
12401 ;;
12402 esac
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12404 $as_echo "$dynamic_linker" >&6; }
12405 test "$dynamic_linker" = no && can_build_shared=no
12406
12407 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12408 if test "$GCC" = yes; then
12409 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12410 fi
12411
12412 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12413 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12414 fi
12415 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12416 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12417 fi
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12511 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12512 hardcode_action=
12513 if test -n "$hardcode_libdir_flag_spec" ||
12514 test -n "$runpath_var" ||
12515 test "X$hardcode_automatic" = "Xyes" ; then
12516
12517 # We can hardcode non-existent directories.
12518 if test "$hardcode_direct" != no &&
12519 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12520 # have to relink, otherwise we might link with an installed library
12521 # when we should be linking with a yet-to-be-installed one
12522 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12523 test "$hardcode_minus_L" != no; then
12524 # Linking always hardcodes the temporary library directory.
12525 hardcode_action=relink
12526 else
12527 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12528 hardcode_action=immediate
12529 fi
12530 else
12531 # We cannot hardcode anything, or else we can only hardcode existing
12532 # directories.
12533 hardcode_action=unsupported
12534 fi
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12536 $as_echo "$hardcode_action" >&6; }
12537
12538 if test "$hardcode_action" = relink ||
12539 test "$inherit_rpath" = yes; then
12540 # Fast installation is not supported
12541 enable_fast_install=no
12542 elif test "$shlibpath_overrides_runpath" = yes ||
12543 test "$enable_shared" = no; then
12544 # Fast installation is not necessary
12545 enable_fast_install=needless
12546 fi
12547
12548
12549
12550
12551
12552
12553 if test "x$enable_dlopen" != xyes; then
12554 enable_dlopen=unknown
12555 enable_dlopen_self=unknown
12556 enable_dlopen_self_static=unknown
12557 else
12558 lt_cv_dlopen=no
12559 lt_cv_dlopen_libs=
12560
12561 case $host_os in
12562 beos*)
12563 lt_cv_dlopen="load_add_on"
12564 lt_cv_dlopen_libs=
12565 lt_cv_dlopen_self=yes
12566 ;;
12567
12568 mingw* | pw32* | cegcc*)
12569 lt_cv_dlopen="LoadLibrary"
12570 lt_cv_dlopen_libs=
12571 ;;
12572
12573 cygwin*)
12574 lt_cv_dlopen="dlopen"
12575 lt_cv_dlopen_libs=
12576 ;;
12577
12578 darwin*)
12579 # if libdl is installed we need to link against it
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12581 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12582 if ${ac_cv_lib_dl_dlopen+:} false; then :
12583 $as_echo_n "(cached) " >&6
12584 else
12585 ac_check_lib_save_LIBS=$LIBS
12586 LIBS="-ldl $LIBS"
12587 if test x$gcc_no_link = xyes; then
12588 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12589 fi
12590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12592
12593 /* Override any GCC internal prototype to avoid an error.
12594 Use char because int might match the return type of a GCC
12595 builtin and then its argument prototype would still apply. */
12596 #ifdef __cplusplus
12597 extern "C"
12598 #endif
12599 char dlopen ();
12600 int
12601 main ()
12602 {
12603 return dlopen ();
12604 ;
12605 return 0;
12606 }
12607 _ACEOF
12608 if ac_fn_c_try_link "$LINENO"; then :
12609 ac_cv_lib_dl_dlopen=yes
12610 else
12611 ac_cv_lib_dl_dlopen=no
12612 fi
12613 rm -f core conftest.err conftest.$ac_objext \
12614 conftest$ac_exeext conftest.$ac_ext
12615 LIBS=$ac_check_lib_save_LIBS
12616 fi
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12618 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12619 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12620 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12621 else
12622
12623 lt_cv_dlopen="dyld"
12624 lt_cv_dlopen_libs=
12625 lt_cv_dlopen_self=yes
12626
12627 fi
12628
12629 ;;
12630
12631 *)
12632 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12633 if test "x$ac_cv_func_shl_load" = xyes; then :
12634 lt_cv_dlopen="shl_load"
12635 else
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12637 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12638 if ${ac_cv_lib_dld_shl_load+:} false; then :
12639 $as_echo_n "(cached) " >&6
12640 else
12641 ac_check_lib_save_LIBS=$LIBS
12642 LIBS="-ldld $LIBS"
12643 if test x$gcc_no_link = xyes; then
12644 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12645 fi
12646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12648
12649 /* Override any GCC internal prototype to avoid an error.
12650 Use char because int might match the return type of a GCC
12651 builtin and then its argument prototype would still apply. */
12652 #ifdef __cplusplus
12653 extern "C"
12654 #endif
12655 char shl_load ();
12656 int
12657 main ()
12658 {
12659 return shl_load ();
12660 ;
12661 return 0;
12662 }
12663 _ACEOF
12664 if ac_fn_c_try_link "$LINENO"; then :
12665 ac_cv_lib_dld_shl_load=yes
12666 else
12667 ac_cv_lib_dld_shl_load=no
12668 fi
12669 rm -f core conftest.err conftest.$ac_objext \
12670 conftest$ac_exeext conftest.$ac_ext
12671 LIBS=$ac_check_lib_save_LIBS
12672 fi
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12674 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12675 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12676 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12677 else
12678 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12679 if test "x$ac_cv_func_dlopen" = xyes; then :
12680 lt_cv_dlopen="dlopen"
12681 else
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12683 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12684 if ${ac_cv_lib_dl_dlopen+:} false; then :
12685 $as_echo_n "(cached) " >&6
12686 else
12687 ac_check_lib_save_LIBS=$LIBS
12688 LIBS="-ldl $LIBS"
12689 if test x$gcc_no_link = xyes; then
12690 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12691 fi
12692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12693 /* end confdefs.h. */
12694
12695 /* Override any GCC internal prototype to avoid an error.
12696 Use char because int might match the return type of a GCC
12697 builtin and then its argument prototype would still apply. */
12698 #ifdef __cplusplus
12699 extern "C"
12700 #endif
12701 char dlopen ();
12702 int
12703 main ()
12704 {
12705 return dlopen ();
12706 ;
12707 return 0;
12708 }
12709 _ACEOF
12710 if ac_fn_c_try_link "$LINENO"; then :
12711 ac_cv_lib_dl_dlopen=yes
12712 else
12713 ac_cv_lib_dl_dlopen=no
12714 fi
12715 rm -f core conftest.err conftest.$ac_objext \
12716 conftest$ac_exeext conftest.$ac_ext
12717 LIBS=$ac_check_lib_save_LIBS
12718 fi
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12720 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12721 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12722 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12723 else
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12725 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12726 if ${ac_cv_lib_svld_dlopen+:} false; then :
12727 $as_echo_n "(cached) " >&6
12728 else
12729 ac_check_lib_save_LIBS=$LIBS
12730 LIBS="-lsvld $LIBS"
12731 if test x$gcc_no_link = xyes; then
12732 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12733 fi
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12736
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12740 #ifdef __cplusplus
12741 extern "C"
12742 #endif
12743 char dlopen ();
12744 int
12745 main ()
12746 {
12747 return dlopen ();
12748 ;
12749 return 0;
12750 }
12751 _ACEOF
12752 if ac_fn_c_try_link "$LINENO"; then :
12753 ac_cv_lib_svld_dlopen=yes
12754 else
12755 ac_cv_lib_svld_dlopen=no
12756 fi
12757 rm -f core conftest.err conftest.$ac_objext \
12758 conftest$ac_exeext conftest.$ac_ext
12759 LIBS=$ac_check_lib_save_LIBS
12760 fi
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12762 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12763 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12764 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12765 else
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12767 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12768 if ${ac_cv_lib_dld_dld_link+:} false; then :
12769 $as_echo_n "(cached) " >&6
12770 else
12771 ac_check_lib_save_LIBS=$LIBS
12772 LIBS="-ldld $LIBS"
12773 if test x$gcc_no_link = xyes; then
12774 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12775 fi
12776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12777 /* end confdefs.h. */
12778
12779 /* Override any GCC internal prototype to avoid an error.
12780 Use char because int might match the return type of a GCC
12781 builtin and then its argument prototype would still apply. */
12782 #ifdef __cplusplus
12783 extern "C"
12784 #endif
12785 char dld_link ();
12786 int
12787 main ()
12788 {
12789 return dld_link ();
12790 ;
12791 return 0;
12792 }
12793 _ACEOF
12794 if ac_fn_c_try_link "$LINENO"; then :
12795 ac_cv_lib_dld_dld_link=yes
12796 else
12797 ac_cv_lib_dld_dld_link=no
12798 fi
12799 rm -f core conftest.err conftest.$ac_objext \
12800 conftest$ac_exeext conftest.$ac_ext
12801 LIBS=$ac_check_lib_save_LIBS
12802 fi
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12804 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12805 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12806 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12807 fi
12808
12809
12810 fi
12811
12812
12813 fi
12814
12815
12816 fi
12817
12818
12819 fi
12820
12821
12822 fi
12823
12824 ;;
12825 esac
12826
12827 if test "x$lt_cv_dlopen" != xno; then
12828 enable_dlopen=yes
12829 else
12830 enable_dlopen=no
12831 fi
12832
12833 case $lt_cv_dlopen in
12834 dlopen)
12835 save_CPPFLAGS="$CPPFLAGS"
12836 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12837
12838 save_LDFLAGS="$LDFLAGS"
12839 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12840
12841 save_LIBS="$LIBS"
12842 LIBS="$lt_cv_dlopen_libs $LIBS"
12843
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12845 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12846 if ${lt_cv_dlopen_self+:} false; then :
12847 $as_echo_n "(cached) " >&6
12848 else
12849 if test "$cross_compiling" = yes; then :
12850 lt_cv_dlopen_self=cross
12851 else
12852 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12853 lt_status=$lt_dlunknown
12854 cat > conftest.$ac_ext <<_LT_EOF
12855 #line 12855 "configure"
12856 #include "confdefs.h"
12857
12858 #if HAVE_DLFCN_H
12859 #include <dlfcn.h>
12860 #endif
12861
12862 #include <stdio.h>
12863
12864 #ifdef RTLD_GLOBAL
12865 # define LT_DLGLOBAL RTLD_GLOBAL
12866 #else
12867 # ifdef DL_GLOBAL
12868 # define LT_DLGLOBAL DL_GLOBAL
12869 # else
12870 # define LT_DLGLOBAL 0
12871 # endif
12872 #endif
12873
12874 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12875 find out it does not work in some platform. */
12876 #ifndef LT_DLLAZY_OR_NOW
12877 # ifdef RTLD_LAZY
12878 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12879 # else
12880 # ifdef DL_LAZY
12881 # define LT_DLLAZY_OR_NOW DL_LAZY
12882 # else
12883 # ifdef RTLD_NOW
12884 # define LT_DLLAZY_OR_NOW RTLD_NOW
12885 # else
12886 # ifdef DL_NOW
12887 # define LT_DLLAZY_OR_NOW DL_NOW
12888 # else
12889 # define LT_DLLAZY_OR_NOW 0
12890 # endif
12891 # endif
12892 # endif
12893 # endif
12894 #endif
12895
12896 /* When -fvisbility=hidden is used, assume the code has been annotated
12897 correspondingly for the symbols needed. */
12898 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12899 void fnord () __attribute__((visibility("default")));
12900 #endif
12901
12902 void fnord () { int i=42; }
12903 int main ()
12904 {
12905 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12906 int status = $lt_dlunknown;
12907
12908 if (self)
12909 {
12910 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12911 else
12912 {
12913 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12914 else puts (dlerror ());
12915 }
12916 /* dlclose (self); */
12917 }
12918 else
12919 puts (dlerror ());
12920
12921 return status;
12922 }
12923 _LT_EOF
12924 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12925 (eval $ac_link) 2>&5
12926 ac_status=$?
12927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12928 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12929 (./conftest; exit; ) >&5 2>/dev/null
12930 lt_status=$?
12931 case x$lt_status in
12932 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12933 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12934 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12935 esac
12936 else :
12937 # compilation failed
12938 lt_cv_dlopen_self=no
12939 fi
12940 fi
12941 rm -fr conftest*
12942
12943
12944 fi
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12946 $as_echo "$lt_cv_dlopen_self" >&6; }
12947
12948 if test "x$lt_cv_dlopen_self" = xyes; then
12949 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12951 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12952 if ${lt_cv_dlopen_self_static+:} false; then :
12953 $as_echo_n "(cached) " >&6
12954 else
12955 if test "$cross_compiling" = yes; then :
12956 lt_cv_dlopen_self_static=cross
12957 else
12958 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12959 lt_status=$lt_dlunknown
12960 cat > conftest.$ac_ext <<_LT_EOF
12961 #line 12961 "configure"
12962 #include "confdefs.h"
12963
12964 #if HAVE_DLFCN_H
12965 #include <dlfcn.h>
12966 #endif
12967
12968 #include <stdio.h>
12969
12970 #ifdef RTLD_GLOBAL
12971 # define LT_DLGLOBAL RTLD_GLOBAL
12972 #else
12973 # ifdef DL_GLOBAL
12974 # define LT_DLGLOBAL DL_GLOBAL
12975 # else
12976 # define LT_DLGLOBAL 0
12977 # endif
12978 #endif
12979
12980 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12981 find out it does not work in some platform. */
12982 #ifndef LT_DLLAZY_OR_NOW
12983 # ifdef RTLD_LAZY
12984 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12985 # else
12986 # ifdef DL_LAZY
12987 # define LT_DLLAZY_OR_NOW DL_LAZY
12988 # else
12989 # ifdef RTLD_NOW
12990 # define LT_DLLAZY_OR_NOW RTLD_NOW
12991 # else
12992 # ifdef DL_NOW
12993 # define LT_DLLAZY_OR_NOW DL_NOW
12994 # else
12995 # define LT_DLLAZY_OR_NOW 0
12996 # endif
12997 # endif
12998 # endif
12999 # endif
13000 #endif
13001
13002 /* When -fvisbility=hidden is used, assume the code has been annotated
13003 correspondingly for the symbols needed. */
13004 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13005 void fnord () __attribute__((visibility("default")));
13006 #endif
13007
13008 void fnord () { int i=42; }
13009 int main ()
13010 {
13011 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13012 int status = $lt_dlunknown;
13013
13014 if (self)
13015 {
13016 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13017 else
13018 {
13019 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13020 else puts (dlerror ());
13021 }
13022 /* dlclose (self); */
13023 }
13024 else
13025 puts (dlerror ());
13026
13027 return status;
13028 }
13029 _LT_EOF
13030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13031 (eval $ac_link) 2>&5
13032 ac_status=$?
13033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13034 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13035 (./conftest; exit; ) >&5 2>/dev/null
13036 lt_status=$?
13037 case x$lt_status in
13038 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13039 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13040 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13041 esac
13042 else :
13043 # compilation failed
13044 lt_cv_dlopen_self_static=no
13045 fi
13046 fi
13047 rm -fr conftest*
13048
13049
13050 fi
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13052 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13053 fi
13054
13055 CPPFLAGS="$save_CPPFLAGS"
13056 LDFLAGS="$save_LDFLAGS"
13057 LIBS="$save_LIBS"
13058 ;;
13059 esac
13060
13061 case $lt_cv_dlopen_self in
13062 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13063 *) enable_dlopen_self=unknown ;;
13064 esac
13065
13066 case $lt_cv_dlopen_self_static in
13067 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13068 *) enable_dlopen_self_static=unknown ;;
13069 esac
13070 fi
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088 striplib=
13089 old_striplib=
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13091 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13092 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13093 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13094 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13096 $as_echo "yes" >&6; }
13097 else
13098 # FIXME - insert some real tests, host_os isn't really good enough
13099 case $host_os in
13100 darwin*)
13101 if test -n "$STRIP" ; then
13102 striplib="$STRIP -x"
13103 old_striplib="$STRIP -S"
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13105 $as_echo "yes" >&6; }
13106 else
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13108 $as_echo "no" >&6; }
13109 fi
13110 ;;
13111 *)
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13114 ;;
13115 esac
13116 fi
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129 # Report which library types will actually be built
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13131 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13133 $as_echo "$can_build_shared" >&6; }
13134
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13136 $as_echo_n "checking whether to build shared libraries... " >&6; }
13137 test "$can_build_shared" = "no" && enable_shared=no
13138
13139 # On AIX, shared libraries and static libraries use the same namespace, and
13140 # are all built from PIC.
13141 case $host_os in
13142 aix3*)
13143 test "$enable_shared" = yes && enable_static=no
13144 if test -n "$RANLIB"; then
13145 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13146 postinstall_cmds='$RANLIB $lib'
13147 fi
13148 ;;
13149
13150 aix[4-9]*)
13151 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13152 test "$enable_shared" = yes && enable_static=no
13153 fi
13154 ;;
13155 esac
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13157 $as_echo "$enable_shared" >&6; }
13158
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13160 $as_echo_n "checking whether to build static libraries... " >&6; }
13161 # Make sure either enable_shared or enable_static is yes.
13162 test "$enable_shared" = yes || enable_static=yes
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13164 $as_echo "$enable_static" >&6; }
13165
13166
13167
13168
13169 fi
13170 ac_ext=c
13171 ac_cpp='$CPP $CPPFLAGS'
13172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13175
13176 CC="$lt_save_CC"
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190 ac_config_commands="$ac_config_commands libtool"
13191
13192
13193
13194
13195 # Only expand once:
13196
13197
13198 LIBM=
13199 case $host in
13200 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13201 # These system don't have libm, or don't need it
13202 ;;
13203 *-ncr-sysv4.3*)
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13205 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13206 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
13207 $as_echo_n "(cached) " >&6
13208 else
13209 ac_check_lib_save_LIBS=$LIBS
13210 LIBS="-lmw $LIBS"
13211 if test x$gcc_no_link = xyes; then
13212 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13213 fi
13214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13215 /* end confdefs.h. */
13216
13217 /* Override any GCC internal prototype to avoid an error.
13218 Use char because int might match the return type of a GCC
13219 builtin and then its argument prototype would still apply. */
13220 #ifdef __cplusplus
13221 extern "C"
13222 #endif
13223 char _mwvalidcheckl ();
13224 int
13225 main ()
13226 {
13227 return _mwvalidcheckl ();
13228 ;
13229 return 0;
13230 }
13231 _ACEOF
13232 if ac_fn_c_try_link "$LINENO"; then :
13233 ac_cv_lib_mw__mwvalidcheckl=yes
13234 else
13235 ac_cv_lib_mw__mwvalidcheckl=no
13236 fi
13237 rm -f core conftest.err conftest.$ac_objext \
13238 conftest$ac_exeext conftest.$ac_ext
13239 LIBS=$ac_check_lib_save_LIBS
13240 fi
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13242 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13243 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
13244 LIBM="-lmw"
13245 fi
13246
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13248 $as_echo_n "checking for cos in -lm... " >&6; }
13249 if ${ac_cv_lib_m_cos+:} false; then :
13250 $as_echo_n "(cached) " >&6
13251 else
13252 ac_check_lib_save_LIBS=$LIBS
13253 LIBS="-lm $LIBS"
13254 if test x$gcc_no_link = xyes; then
13255 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13256 fi
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13259
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13263 #ifdef __cplusplus
13264 extern "C"
13265 #endif
13266 char cos ();
13267 int
13268 main ()
13269 {
13270 return cos ();
13271 ;
13272 return 0;
13273 }
13274 _ACEOF
13275 if ac_fn_c_try_link "$LINENO"; then :
13276 ac_cv_lib_m_cos=yes
13277 else
13278 ac_cv_lib_m_cos=no
13279 fi
13280 rm -f core conftest.err conftest.$ac_objext \
13281 conftest$ac_exeext conftest.$ac_ext
13282 LIBS=$ac_check_lib_save_LIBS
13283 fi
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13285 $as_echo "$ac_cv_lib_m_cos" >&6; }
13286 if test "x$ac_cv_lib_m_cos" = xyes; then :
13287 LIBM="$LIBM -lm"
13288 fi
13289
13290 ;;
13291 *)
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13293 $as_echo_n "checking for cos in -lm... " >&6; }
13294 if ${ac_cv_lib_m_cos+:} false; then :
13295 $as_echo_n "(cached) " >&6
13296 else
13297 ac_check_lib_save_LIBS=$LIBS
13298 LIBS="-lm $LIBS"
13299 if test x$gcc_no_link = xyes; then
13300 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13301 fi
13302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13304
13305 /* Override any GCC internal prototype to avoid an error.
13306 Use char because int might match the return type of a GCC
13307 builtin and then its argument prototype would still apply. */
13308 #ifdef __cplusplus
13309 extern "C"
13310 #endif
13311 char cos ();
13312 int
13313 main ()
13314 {
13315 return cos ();
13316 ;
13317 return 0;
13318 }
13319 _ACEOF
13320 if ac_fn_c_try_link "$LINENO"; then :
13321 ac_cv_lib_m_cos=yes
13322 else
13323 ac_cv_lib_m_cos=no
13324 fi
13325 rm -f core conftest.err conftest.$ac_objext \
13326 conftest$ac_exeext conftest.$ac_ext
13327 LIBS=$ac_check_lib_save_LIBS
13328 fi
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13330 $as_echo "$ac_cv_lib_m_cos" >&6; }
13331 if test "x$ac_cv_lib_m_cos" = xyes; then :
13332 LIBM="-lm"
13333 fi
13334
13335 ;;
13336 esac
13337
13338
13339
13340
13341
13342 case $host in
13343 *-cygwin* | *-mingw*)
13344 # 'host' will be top-level target in the case of a target lib,
13345 # we must compare to with_cross_host to decide if this is a native
13346 # or cross-compiler and select where to install dlls appropriately.
13347 if test -n "$with_cross_host" &&
13348 test x"$with_cross_host" != x"no"; then
13349 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13350 else
13351 lt_host_flags='-no-undefined -bindir "$(bindir)"';
13352 fi
13353 ;;
13354 *)
13355 lt_host_flags=
13356 ;;
13357 esac
13358
13359
13360
13361
13362
13363 if test x$enable_darwin_at_rpath = xyes; then
13364 ENABLE_DARWIN_AT_RPATH_TRUE=
13365 ENABLE_DARWIN_AT_RPATH_FALSE='#'
13366 else
13367 ENABLE_DARWIN_AT_RPATH_TRUE='#'
13368 ENABLE_DARWIN_AT_RPATH_FALSE=
13369 fi
13370
13371 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13372
13373 # We need gfortran to compile parts of the library
13374 #AC_PROG_FC(gfortran)
13375 FC="$GFORTRAN"
13376 ac_ext=${ac_fc_srcext-f}
13377 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13378 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13379 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13380 if test -n "$ac_tool_prefix"; then
13381 for ac_prog in gfortran
13382 do
13383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13384 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13386 $as_echo_n "checking for $ac_word... " >&6; }
13387 if ${ac_cv_prog_FC+:} false; then :
13388 $as_echo_n "(cached) " >&6
13389 else
13390 if test -n "$FC"; then
13391 ac_cv_prog_FC="$FC" # Let the user override the test.
13392 else
13393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13394 for as_dir in $PATH
13395 do
13396 IFS=$as_save_IFS
13397 test -z "$as_dir" && as_dir=.
13398 for ac_exec_ext in '' $ac_executable_extensions; do
13399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13400 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13402 break 2
13403 fi
13404 done
13405 done
13406 IFS=$as_save_IFS
13407
13408 fi
13409 fi
13410 FC=$ac_cv_prog_FC
13411 if test -n "$FC"; then
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13413 $as_echo "$FC" >&6; }
13414 else
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13416 $as_echo "no" >&6; }
13417 fi
13418
13419
13420 test -n "$FC" && break
13421 done
13422 fi
13423 if test -z "$FC"; then
13424 ac_ct_FC=$FC
13425 for ac_prog in gfortran
13426 do
13427 # Extract the first word of "$ac_prog", so it can be a program name with args.
13428 set dummy $ac_prog; ac_word=$2
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13430 $as_echo_n "checking for $ac_word... " >&6; }
13431 if ${ac_cv_prog_ac_ct_FC+:} false; then :
13432 $as_echo_n "(cached) " >&6
13433 else
13434 if test -n "$ac_ct_FC"; then
13435 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13436 else
13437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13438 for as_dir in $PATH
13439 do
13440 IFS=$as_save_IFS
13441 test -z "$as_dir" && as_dir=.
13442 for ac_exec_ext in '' $ac_executable_extensions; do
13443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13444 ac_cv_prog_ac_ct_FC="$ac_prog"
13445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13446 break 2
13447 fi
13448 done
13449 done
13450 IFS=$as_save_IFS
13451
13452 fi
13453 fi
13454 ac_ct_FC=$ac_cv_prog_ac_ct_FC
13455 if test -n "$ac_ct_FC"; then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13457 $as_echo "$ac_ct_FC" >&6; }
13458 else
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13460 $as_echo "no" >&6; }
13461 fi
13462
13463
13464 test -n "$ac_ct_FC" && break
13465 done
13466
13467 if test "x$ac_ct_FC" = x; then
13468 FC=""
13469 else
13470 case $cross_compiling:$ac_tool_warned in
13471 yes:)
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13474 ac_tool_warned=yes ;;
13475 esac
13476 FC=$ac_ct_FC
13477 fi
13478 fi
13479
13480
13481 # Provide some information about the compiler.
13482 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13483 set X $ac_compile
13484 ac_compiler=$2
13485 for ac_option in --version -v -V -qversion; do
13486 { { ac_try="$ac_compiler $ac_option >&5"
13487 case "(($ac_try" in
13488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13489 *) ac_try_echo=$ac_try;;
13490 esac
13491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13492 $as_echo "$ac_try_echo"; } >&5
13493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13494 ac_status=$?
13495 if test -s conftest.err; then
13496 sed '10a\
13497 ... rest of stderr output deleted ...
13498 10q' conftest.err >conftest.er1
13499 cat conftest.er1 >&5
13500 fi
13501 rm -f conftest.er1 conftest.err
13502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13503 test $ac_status = 0; }
13504 done
13505 rm -f a.out
13506
13507 # If we don't use `.F' as extension, the preprocessor is not run on the
13508 # input file. (Note that this only needs to work for GNU compilers.)
13509 ac_save_ext=$ac_ext
13510 ac_ext=F
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13512 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13513 if ${ac_cv_fc_compiler_gnu+:} false; then :
13514 $as_echo_n "(cached) " >&6
13515 else
13516 cat > conftest.$ac_ext <<_ACEOF
13517 program main
13518 #ifndef __GNUC__
13519 choke me
13520 #endif
13521
13522 end
13523 _ACEOF
13524 if ac_fn_fc_try_compile "$LINENO"; then :
13525 ac_compiler_gnu=yes
13526 else
13527 ac_compiler_gnu=no
13528 fi
13529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13530 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13531
13532 fi
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13534 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13535 ac_ext=$ac_save_ext
13536 ac_test_FCFLAGS=${FCFLAGS+set}
13537 ac_save_FCFLAGS=$FCFLAGS
13538 FCFLAGS=
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13540 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13541 if ${ac_cv_prog_fc_g+:} false; then :
13542 $as_echo_n "(cached) " >&6
13543 else
13544 FCFLAGS=-g
13545 cat > conftest.$ac_ext <<_ACEOF
13546 program main
13547
13548 end
13549 _ACEOF
13550 if ac_fn_fc_try_compile "$LINENO"; then :
13551 ac_cv_prog_fc_g=yes
13552 else
13553 ac_cv_prog_fc_g=no
13554 fi
13555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13556
13557 fi
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13559 $as_echo "$ac_cv_prog_fc_g" >&6; }
13560 if test "$ac_test_FCFLAGS" = set; then
13561 FCFLAGS=$ac_save_FCFLAGS
13562 elif test $ac_cv_prog_fc_g = yes; then
13563 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13564 FCFLAGS="-g -O2"
13565 else
13566 FCFLAGS="-g"
13567 fi
13568 else
13569 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13570 FCFLAGS="-O2"
13571 else
13572 FCFLAGS=
13573 fi
13574 fi
13575
13576 if test $ac_compiler_gnu = yes; then
13577 GFC=yes
13578 else
13579 GFC=
13580 fi
13581 ac_ext=c
13582 ac_cpp='$CPP $CPPFLAGS'
13583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13586
13587 ac_ext=${ac_fc_srcext-f}
13588 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13589 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13590 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13591
13592
13593 if test -z "$FC" || test "X$FC" = "Xno"; then
13594 _lt_disable_FC=yes
13595 fi
13596
13597 archive_cmds_need_lc_FC=no
13598 allow_undefined_flag_FC=
13599 always_export_symbols_FC=no
13600 archive_expsym_cmds_FC=
13601 export_dynamic_flag_spec_FC=
13602 hardcode_direct_FC=no
13603 hardcode_direct_absolute_FC=no
13604 hardcode_libdir_flag_spec_FC=
13605 hardcode_libdir_flag_spec_ld_FC=
13606 hardcode_libdir_separator_FC=
13607 hardcode_minus_L_FC=no
13608 hardcode_automatic_FC=no
13609 inherit_rpath_FC=no
13610 module_cmds_FC=
13611 module_expsym_cmds_FC=
13612 link_all_deplibs_FC=unknown
13613 old_archive_cmds_FC=$old_archive_cmds
13614 reload_flag_FC=$reload_flag
13615 reload_cmds_FC=$reload_cmds
13616 no_undefined_flag_FC=
13617 whole_archive_flag_spec_FC=
13618 enable_shared_with_static_runtimes_FC=no
13619
13620 # Source file extension for fc test sources.
13621 ac_ext=${ac_fc_srcext-f}
13622
13623 # Object file extension for compiled fc test sources.
13624 objext=o
13625 objext_FC=$objext
13626
13627 # No sense in running all these tests if we already determined that
13628 # the FC compiler isn't working. Some variables (like enable_shared)
13629 # are currently assumed to apply to all compilers on this platform,
13630 # and will be corrupted by setting them based on a non-working compiler.
13631 if test "$_lt_disable_FC" != yes; then
13632 # Code to be used in simple compile tests
13633 lt_simple_compile_test_code="\
13634 subroutine t
13635 return
13636 end
13637 "
13638
13639 # Code to be used in simple link tests
13640 lt_simple_link_test_code="\
13641 program t
13642 end
13643 "
13644
13645 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13646
13647
13648
13649
13650
13651
13652 # If no C compiler was specified, use CC.
13653 LTCC=${LTCC-"$CC"}
13654
13655 # If no C compiler flags were specified, use CFLAGS.
13656 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13657
13658 # Allow CC to be a program name with arguments.
13659 compiler=$CC
13660
13661
13662 # save warnings/boilerplate of simple test code
13663 ac_outfile=conftest.$ac_objext
13664 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13665 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13666 _lt_compiler_boilerplate=`cat conftest.err`
13667 $RM conftest*
13668
13669 ac_outfile=conftest.$ac_objext
13670 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13671 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13672 _lt_linker_boilerplate=`cat conftest.err`
13673 $RM -r conftest*
13674
13675
13676 # Allow CC to be a program name with arguments.
13677 lt_save_CC="$CC"
13678 lt_save_GCC=$GCC
13679 CC=${FC-"f95"}
13680 compiler=$CC
13681 GCC=$ac_cv_fc_compiler_gnu
13682
13683 compiler_FC=$CC
13684 for cc_temp in $compiler""; do
13685 case $cc_temp in
13686 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13687 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13688 \-*) ;;
13689 *) break;;
13690 esac
13691 done
13692 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13693
13694
13695 if test -n "$compiler"; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13697 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13699 $as_echo "$can_build_shared" >&6; }
13700
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13702 $as_echo_n "checking whether to build shared libraries... " >&6; }
13703 test "$can_build_shared" = "no" && enable_shared=no
13704
13705 # On AIX, shared libraries and static libraries use the same namespace, and
13706 # are all built from PIC.
13707 case $host_os in
13708 aix3*)
13709 test "$enable_shared" = yes && enable_static=no
13710 if test -n "$RANLIB"; then
13711 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13712 postinstall_cmds='$RANLIB $lib'
13713 fi
13714 ;;
13715 aix[4-9]*)
13716 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13717 test "$enable_shared" = yes && enable_static=no
13718 fi
13719 ;;
13720 esac
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13722 $as_echo "$enable_shared" >&6; }
13723
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13725 $as_echo_n "checking whether to build static libraries... " >&6; }
13726 # Make sure either enable_shared or enable_static is yes.
13727 test "$enable_shared" = yes || enable_static=yes
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13729 $as_echo "$enable_static" >&6; }
13730
13731 GCC_FC="$ac_cv_fc_compiler_gnu"
13732 LD_FC="$LD"
13733
13734 ## CAVEAT EMPTOR:
13735 ## There is no encapsulation within the following macros, do not change
13736 ## the running order or otherwise move them around unless you know exactly
13737 ## what you are doing...
13738 # Dependencies to place before and after the object being linked:
13739 predep_objects_FC=
13740 postdep_objects_FC=
13741 predeps_FC=
13742 postdeps_FC=
13743 compiler_lib_search_path_FC=
13744
13745 cat > conftest.$ac_ext <<_LT_EOF
13746 subroutine foo
13747 implicit none
13748 integer a
13749 a=0
13750 return
13751 end
13752 _LT_EOF
13753
13754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13755 (eval $ac_compile) 2>&5
13756 ac_status=$?
13757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13758 test $ac_status = 0; }; then
13759 # Parse the compiler output and extract the necessary
13760 # objects, libraries and library flags.
13761
13762 # Sentinel used to keep track of whether or not we are before
13763 # the conftest object file.
13764 pre_test_object_deps_done=no
13765
13766 for p in `eval "$output_verbose_link_cmd"`; do
13767 case $p in
13768
13769 -L* | -R* | -l*)
13770 # Some compilers place space between "-{L,R}" and the path.
13771 # Remove the space.
13772 if test $p = "-L" ||
13773 test $p = "-R"; then
13774 prev=$p
13775 continue
13776 else
13777 prev=
13778 fi
13779
13780 if test "$pre_test_object_deps_done" = no; then
13781 case $p in
13782 -L* | -R*)
13783 # Internal compiler library paths should come after those
13784 # provided the user. The postdeps already come after the
13785 # user supplied libs so there is no need to process them.
13786 if test -z "$compiler_lib_search_path_FC"; then
13787 compiler_lib_search_path_FC="${prev}${p}"
13788 else
13789 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13790 fi
13791 ;;
13792 # The "-l" case would never come before the object being
13793 # linked, so don't bother handling this case.
13794 esac
13795 else
13796 if test -z "$postdeps_FC"; then
13797 postdeps_FC="${prev}${p}"
13798 else
13799 postdeps_FC="${postdeps_FC} ${prev}${p}"
13800 fi
13801 fi
13802 ;;
13803
13804 *.$objext)
13805 # This assumes that the test object file only shows up
13806 # once in the compiler output.
13807 if test "$p" = "conftest.$objext"; then
13808 pre_test_object_deps_done=yes
13809 continue
13810 fi
13811
13812 if test "$pre_test_object_deps_done" = no; then
13813 if test -z "$predep_objects_FC"; then
13814 predep_objects_FC="$p"
13815 else
13816 predep_objects_FC="$predep_objects_FC $p"
13817 fi
13818 else
13819 if test -z "$postdep_objects_FC"; then
13820 postdep_objects_FC="$p"
13821 else
13822 postdep_objects_FC="$postdep_objects_FC $p"
13823 fi
13824 fi
13825 ;;
13826
13827 *) ;; # Ignore the rest.
13828
13829 esac
13830 done
13831
13832 # Clean up.
13833 rm -f a.out a.exe
13834 else
13835 echo "libtool.m4: error: problem compiling FC test program"
13836 fi
13837
13838 $RM -f confest.$objext
13839
13840 # PORTME: override above test on systems where it is broken
13841
13842
13843 case " $postdeps_FC " in
13844 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13845 esac
13846 compiler_lib_search_dirs_FC=
13847 if test -n "${compiler_lib_search_path_FC}"; then
13848 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13849 fi
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881 lt_prog_compiler_wl_FC=
13882 lt_prog_compiler_pic_FC=
13883 lt_prog_compiler_static_FC=
13884
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13886 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13887
13888 if test "$GCC" = yes; then
13889 lt_prog_compiler_wl_FC='-Wl,'
13890 lt_prog_compiler_static_FC='-static'
13891
13892 case $host_os in
13893 aix*)
13894 # All AIX code is PIC.
13895 if test "$host_cpu" = ia64; then
13896 # AIX 5 now supports IA64 processor
13897 lt_prog_compiler_static_FC='-Bstatic'
13898 fi
13899 lt_prog_compiler_pic_FC='-fPIC'
13900 ;;
13901
13902 amigaos*)
13903 case $host_cpu in
13904 powerpc)
13905 # see comment about AmigaOS4 .so support
13906 lt_prog_compiler_pic_FC='-fPIC'
13907 ;;
13908 m68k)
13909 # FIXME: we need at least 68020 code to build shared libraries, but
13910 # adding the `-m68020' flag to GCC prevents building anything better,
13911 # like `-m68040'.
13912 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13913 ;;
13914 esac
13915 ;;
13916
13917 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13918 # PIC is the default for these OSes.
13919 ;;
13920
13921 mingw* | cygwin* | pw32* | os2* | cegcc*)
13922 # This hack is so that the source file can tell whether it is being
13923 # built for inclusion in a dll (and should export symbols for example).
13924 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13925 # (--disable-auto-import) libraries
13926 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13927 ;;
13928
13929 darwin* | rhapsody*)
13930 # PIC is the default on this platform
13931 # Common symbols not allowed in MH_DYLIB files
13932 lt_prog_compiler_pic_FC='-fno-common'
13933 ;;
13934
13935 haiku*)
13936 # PIC is the default for Haiku.
13937 # The "-static" flag exists, but is broken.
13938 lt_prog_compiler_static_FC=
13939 ;;
13940
13941 hpux*)
13942 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13943 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13944 # sets the default TLS model and affects inlining.
13945 case $host_cpu in
13946 hppa*64*)
13947 # +Z the default
13948 ;;
13949 *)
13950 lt_prog_compiler_pic_FC='-fPIC'
13951 ;;
13952 esac
13953 ;;
13954
13955 interix[3-9]*)
13956 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13957 # Instead, we relocate shared libraries at runtime.
13958 ;;
13959
13960 msdosdjgpp*)
13961 # Just because we use GCC doesn't mean we suddenly get shared libraries
13962 # on systems that don't support them.
13963 lt_prog_compiler_can_build_shared_FC=no
13964 enable_shared=no
13965 ;;
13966
13967 *nto* | *qnx*)
13968 # QNX uses GNU C++, but need to define -shared option too, otherwise
13969 # it will coredump.
13970 lt_prog_compiler_pic_FC='-fPIC -shared'
13971 ;;
13972
13973 sysv4*MP*)
13974 if test -d /usr/nec; then
13975 lt_prog_compiler_pic_FC=-Kconform_pic
13976 fi
13977 ;;
13978
13979 *)
13980 lt_prog_compiler_pic_FC='-fPIC'
13981 ;;
13982 esac
13983
13984 case $cc_basename in
13985 nvcc*) # Cuda Compiler Driver 2.2
13986 lt_prog_compiler_wl_FC='-Xlinker '
13987 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13988 ;;
13989 esac
13990 else
13991 # PORTME Check for flag to pass linker flags through the system compiler.
13992 case $host_os in
13993 aix*)
13994 lt_prog_compiler_wl_FC='-Wl,'
13995 if test "$host_cpu" = ia64; then
13996 # AIX 5 now supports IA64 processor
13997 lt_prog_compiler_static_FC='-Bstatic'
13998 else
13999 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
14000 fi
14001 ;;
14002
14003 mingw* | cygwin* | pw32* | os2* | cegcc*)
14004 # This hack is so that the source file can tell whether it is being
14005 # built for inclusion in a dll (and should export symbols for example).
14006 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
14007 ;;
14008
14009 hpux9* | hpux10* | hpux11*)
14010 lt_prog_compiler_wl_FC='-Wl,'
14011 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14012 # not for PA HP-UX.
14013 case $host_cpu in
14014 hppa*64*|ia64*)
14015 # +Z the default
14016 ;;
14017 *)
14018 lt_prog_compiler_pic_FC='+Z'
14019 ;;
14020 esac
14021 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14022 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
14023 ;;
14024
14025 irix5* | irix6* | nonstopux*)
14026 lt_prog_compiler_wl_FC='-Wl,'
14027 # PIC (with -KPIC) is the default.
14028 lt_prog_compiler_static_FC='-non_shared'
14029 ;;
14030
14031 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14032 case $cc_basename in
14033 # old Intel for x86_64 which still supported -KPIC.
14034 ecc*)
14035 lt_prog_compiler_wl_FC='-Wl,'
14036 lt_prog_compiler_pic_FC='-KPIC'
14037 lt_prog_compiler_static_FC='-static'
14038 ;;
14039 # icc used to be incompatible with GCC.
14040 # ICC 10 doesn't accept -KPIC any more.
14041 icc* | ifort*)
14042 lt_prog_compiler_wl_FC='-Wl,'
14043 lt_prog_compiler_pic_FC='-fPIC'
14044 lt_prog_compiler_static_FC='-static'
14045 ;;
14046 # Lahey Fortran 8.1.
14047 lf95*)
14048 lt_prog_compiler_wl_FC='-Wl,'
14049 lt_prog_compiler_pic_FC='--shared'
14050 lt_prog_compiler_static_FC='--static'
14051 ;;
14052 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
14053 # Portland Group compilers (*not* the Pentium gcc compiler,
14054 # which looks to be a dead project)
14055 lt_prog_compiler_wl_FC='-Wl,'
14056 lt_prog_compiler_pic_FC='-fpic'
14057 lt_prog_compiler_static_FC='-Bstatic'
14058 ;;
14059 ccc*)
14060 lt_prog_compiler_wl_FC='-Wl,'
14061 # All Alpha code is PIC.
14062 lt_prog_compiler_static_FC='-non_shared'
14063 ;;
14064 xl* | bgxl* | bgf* | mpixl*)
14065 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14066 lt_prog_compiler_wl_FC='-Wl,'
14067 lt_prog_compiler_pic_FC='-qpic'
14068 lt_prog_compiler_static_FC='-qstaticlink'
14069 ;;
14070 *)
14071 case `$CC -V 2>&1 | sed 5q` in
14072 *Sun\ F* | *Sun*Fortran*)
14073 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14074 lt_prog_compiler_pic_FC='-KPIC'
14075 lt_prog_compiler_static_FC='-Bstatic'
14076 lt_prog_compiler_wl_FC=''
14077 ;;
14078 *Sun\ C*)
14079 # Sun C 5.9
14080 lt_prog_compiler_pic_FC='-KPIC'
14081 lt_prog_compiler_static_FC='-Bstatic'
14082 lt_prog_compiler_wl_FC='-Wl,'
14083 ;;
14084 esac
14085 ;;
14086 esac
14087 ;;
14088
14089 newsos6)
14090 lt_prog_compiler_pic_FC='-KPIC'
14091 lt_prog_compiler_static_FC='-Bstatic'
14092 ;;
14093
14094 *nto* | *qnx*)
14095 # QNX uses GNU C++, but need to define -shared option too, otherwise
14096 # it will coredump.
14097 lt_prog_compiler_pic_FC='-fPIC -shared'
14098 ;;
14099
14100 osf3* | osf4* | osf5*)
14101 lt_prog_compiler_wl_FC='-Wl,'
14102 # All OSF/1 code is PIC.
14103 lt_prog_compiler_static_FC='-non_shared'
14104 ;;
14105
14106 rdos*)
14107 lt_prog_compiler_static_FC='-non_shared'
14108 ;;
14109
14110 solaris*)
14111 lt_prog_compiler_pic_FC='-KPIC'
14112 lt_prog_compiler_static_FC='-Bstatic'
14113 case $cc_basename in
14114 f77* | f90* | f95*)
14115 lt_prog_compiler_wl_FC='-Qoption ld ';;
14116 *)
14117 lt_prog_compiler_wl_FC='-Wl,';;
14118 esac
14119 ;;
14120
14121 sunos4*)
14122 lt_prog_compiler_wl_FC='-Qoption ld '
14123 lt_prog_compiler_pic_FC='-PIC'
14124 lt_prog_compiler_static_FC='-Bstatic'
14125 ;;
14126
14127 sysv4 | sysv4.2uw2* | sysv4.3*)
14128 lt_prog_compiler_wl_FC='-Wl,'
14129 lt_prog_compiler_pic_FC='-KPIC'
14130 lt_prog_compiler_static_FC='-Bstatic'
14131 ;;
14132
14133 sysv4*MP*)
14134 if test -d /usr/nec ;then
14135 lt_prog_compiler_pic_FC='-Kconform_pic'
14136 lt_prog_compiler_static_FC='-Bstatic'
14137 fi
14138 ;;
14139
14140 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14141 lt_prog_compiler_wl_FC='-Wl,'
14142 lt_prog_compiler_pic_FC='-KPIC'
14143 lt_prog_compiler_static_FC='-Bstatic'
14144 ;;
14145
14146 unicos*)
14147 lt_prog_compiler_wl_FC='-Wl,'
14148 lt_prog_compiler_can_build_shared_FC=no
14149 ;;
14150
14151 uts4*)
14152 lt_prog_compiler_pic_FC='-pic'
14153 lt_prog_compiler_static_FC='-Bstatic'
14154 ;;
14155
14156 *)
14157 lt_prog_compiler_can_build_shared_FC=no
14158 ;;
14159 esac
14160 fi
14161
14162 case $host_os in
14163 # For platforms which do not support PIC, -DPIC is meaningless:
14164 *djgpp*)
14165 lt_prog_compiler_pic_FC=
14166 ;;
14167 *)
14168 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
14169 ;;
14170 esac
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14172 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14173
14174
14175
14176 #
14177 # Check to make sure the PIC flag actually works.
14178 #
14179 if test -n "$lt_prog_compiler_pic_FC"; then
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14181 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14182 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
14183 $as_echo_n "(cached) " >&6
14184 else
14185 lt_cv_prog_compiler_pic_works_FC=no
14186 ac_outfile=conftest.$ac_objext
14187 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14188 lt_compiler_flag="$lt_prog_compiler_pic_FC"
14189 # Insert the option either (1) after the last *FLAGS variable, or
14190 # (2) before a word containing "conftest.", or (3) at the end.
14191 # Note that $ac_compile itself does not contain backslashes and begins
14192 # with a dollar sign (not a hyphen), so the echo should work correctly.
14193 # The option is referenced via a variable to avoid confusing sed.
14194 lt_compile=`echo "$ac_compile" | $SED \
14195 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14196 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14197 -e 's:$: $lt_compiler_flag:'`
14198 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14199 (eval "$lt_compile" 2>conftest.err)
14200 ac_status=$?
14201 cat conftest.err >&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 if (exit $ac_status) && test -s "$ac_outfile"; then
14204 # The compiler can only warn and ignore the option if not recognized
14205 # So say no if there are warnings other than the usual output.
14206 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14207 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14208 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14209 lt_cv_prog_compiler_pic_works_FC=yes
14210 fi
14211 fi
14212 $RM conftest*
14213
14214 fi
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14216 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14217
14218 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
14219 case $lt_prog_compiler_pic_FC in
14220 "" | " "*) ;;
14221 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
14222 esac
14223 else
14224 lt_prog_compiler_pic_FC=
14225 lt_prog_compiler_can_build_shared_FC=no
14226 fi
14227
14228 fi
14229
14230
14231
14232 #
14233 # Check to make sure the static flag actually works.
14234 #
14235 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14237 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14238 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
14239 $as_echo_n "(cached) " >&6
14240 else
14241 lt_cv_prog_compiler_static_works_FC=no
14242 save_LDFLAGS="$LDFLAGS"
14243 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14244 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14245 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14246 # The linker can only warn and ignore the option if not recognized
14247 # So say no if there are warnings
14248 if test -s conftest.err; then
14249 # Append any errors to the config.log.
14250 cat conftest.err 1>&5
14251 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14252 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14253 if diff conftest.exp conftest.er2 >/dev/null; then
14254 lt_cv_prog_compiler_static_works_FC=yes
14255 fi
14256 else
14257 lt_cv_prog_compiler_static_works_FC=yes
14258 fi
14259 fi
14260 $RM -r conftest*
14261 LDFLAGS="$save_LDFLAGS"
14262
14263 fi
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14265 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14266
14267 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
14268 :
14269 else
14270 lt_prog_compiler_static_FC=
14271 fi
14272
14273
14274
14275
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14277 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14278 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 lt_cv_prog_compiler_c_o_FC=no
14282 $RM -r conftest 2>/dev/null
14283 mkdir conftest
14284 cd conftest
14285 mkdir out
14286 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14287
14288 lt_compiler_flag="-o out/conftest2.$ac_objext"
14289 # Insert the option either (1) after the last *FLAGS variable, or
14290 # (2) before a word containing "conftest.", or (3) at the end.
14291 # Note that $ac_compile itself does not contain backslashes and begins
14292 # with a dollar sign (not a hyphen), so the echo should work correctly.
14293 lt_compile=`echo "$ac_compile" | $SED \
14294 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14295 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14296 -e 's:$: $lt_compiler_flag:'`
14297 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14298 (eval "$lt_compile" 2>out/conftest.err)
14299 ac_status=$?
14300 cat out/conftest.err >&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14303 then
14304 # The compiler can only warn and ignore the option if not recognized
14305 # So say no if there are warnings
14306 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14307 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14308 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14309 lt_cv_prog_compiler_c_o_FC=yes
14310 fi
14311 fi
14312 chmod u+w . 2>&5
14313 $RM conftest*
14314 # SGI C++ compiler will create directory out/ii_files/ for
14315 # template instantiation
14316 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14317 $RM out/* && rmdir out
14318 cd ..
14319 $RM -r conftest
14320 $RM conftest*
14321
14322 fi
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14324 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14325
14326
14327
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14329 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14330 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14331 $as_echo_n "(cached) " >&6
14332 else
14333 lt_cv_prog_compiler_c_o_FC=no
14334 $RM -r conftest 2>/dev/null
14335 mkdir conftest
14336 cd conftest
14337 mkdir out
14338 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14339
14340 lt_compiler_flag="-o out/conftest2.$ac_objext"
14341 # Insert the option either (1) after the last *FLAGS variable, or
14342 # (2) before a word containing "conftest.", or (3) at the end.
14343 # Note that $ac_compile itself does not contain backslashes and begins
14344 # with a dollar sign (not a hyphen), so the echo should work correctly.
14345 lt_compile=`echo "$ac_compile" | $SED \
14346 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14348 -e 's:$: $lt_compiler_flag:'`
14349 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14350 (eval "$lt_compile" 2>out/conftest.err)
14351 ac_status=$?
14352 cat out/conftest.err >&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14355 then
14356 # The compiler can only warn and ignore the option if not recognized
14357 # So say no if there are warnings
14358 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14359 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14360 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14361 lt_cv_prog_compiler_c_o_FC=yes
14362 fi
14363 fi
14364 chmod u+w . 2>&5
14365 $RM conftest*
14366 # SGI C++ compiler will create directory out/ii_files/ for
14367 # template instantiation
14368 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14369 $RM out/* && rmdir out
14370 cd ..
14371 $RM -r conftest
14372 $RM conftest*
14373
14374 fi
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14376 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14377
14378
14379
14380
14381 hard_links="nottested"
14382 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14383 # do not overwrite the value of need_locks provided by the user
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14385 $as_echo_n "checking if we can lock with hard links... " >&6; }
14386 hard_links=yes
14387 $RM conftest*
14388 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14389 touch conftest.a
14390 ln conftest.a conftest.b 2>&5 || hard_links=no
14391 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14393 $as_echo "$hard_links" >&6; }
14394 if test "$hard_links" = no; then
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14396 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14397 need_locks=warn
14398 fi
14399 else
14400 need_locks=no
14401 fi
14402
14403
14404
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14406 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14407
14408 runpath_var=
14409 allow_undefined_flag_FC=
14410 always_export_symbols_FC=no
14411 archive_cmds_FC=
14412 archive_expsym_cmds_FC=
14413 compiler_needs_object_FC=no
14414 enable_shared_with_static_runtimes_FC=no
14415 export_dynamic_flag_spec_FC=
14416 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14417 hardcode_automatic_FC=no
14418 hardcode_direct_FC=no
14419 hardcode_direct_absolute_FC=no
14420 hardcode_libdir_flag_spec_FC=
14421 hardcode_libdir_flag_spec_ld_FC=
14422 hardcode_libdir_separator_FC=
14423 hardcode_minus_L_FC=no
14424 hardcode_shlibpath_var_FC=unsupported
14425 inherit_rpath_FC=no
14426 link_all_deplibs_FC=unknown
14427 module_cmds_FC=
14428 module_expsym_cmds_FC=
14429 old_archive_from_new_cmds_FC=
14430 old_archive_from_expsyms_cmds_FC=
14431 thread_safe_flag_spec_FC=
14432 whole_archive_flag_spec_FC=
14433 # include_expsyms should be a list of space-separated symbols to be *always*
14434 # included in the symbol list
14435 include_expsyms_FC=
14436 # exclude_expsyms can be an extended regexp of symbols to exclude
14437 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14438 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14439 # as well as any symbol that contains `d'.
14440 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14441 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14442 # platforms (ab)use it in PIC code, but their linkers get confused if
14443 # the symbol is explicitly referenced. Since portable code cannot
14444 # rely on this symbol name, it's probably fine to never include it in
14445 # preloaded symbol tables.
14446 # Exclude shared library initialization/finalization symbols.
14447 extract_expsyms_cmds=
14448
14449 case $host_os in
14450 cygwin* | mingw* | pw32* | cegcc*)
14451 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14452 # When not using gcc, we currently assume that we are using
14453 # Microsoft Visual C++.
14454 if test "$GCC" != yes; then
14455 with_gnu_ld=no
14456 fi
14457 ;;
14458 interix*)
14459 # we just hope/assume this is gcc and not c89 (= MSVC++)
14460 with_gnu_ld=yes
14461 ;;
14462 openbsd*)
14463 with_gnu_ld=no
14464 ;;
14465 esac
14466
14467 ld_shlibs_FC=yes
14468
14469 # On some targets, GNU ld is compatible enough with the native linker
14470 # that we're better off using the native interface for both.
14471 lt_use_gnu_ld_interface=no
14472 if test "$with_gnu_ld" = yes; then
14473 case $host_os in
14474 aix*)
14475 # The AIX port of GNU ld has always aspired to compatibility
14476 # with the native linker. However, as the warning in the GNU ld
14477 # block says, versions before 2.19.5* couldn't really create working
14478 # shared libraries, regardless of the interface used.
14479 case `$LD -v 2>&1` in
14480 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14481 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14482 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14483 *)
14484 lt_use_gnu_ld_interface=yes
14485 ;;
14486 esac
14487 ;;
14488 *)
14489 lt_use_gnu_ld_interface=yes
14490 ;;
14491 esac
14492 fi
14493
14494 if test "$lt_use_gnu_ld_interface" = yes; then
14495 # If archive_cmds runs LD, not CC, wlarc should be empty
14496 wlarc='${wl}'
14497
14498 # Set some defaults for GNU ld with shared library support. These
14499 # are reset later if shared libraries are not supported. Putting them
14500 # here allows them to be overridden if necessary.
14501 runpath_var=LD_RUN_PATH
14502 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14503 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14504 # ancient GNU ld didn't support --whole-archive et. al.
14505 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14506 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14507 else
14508 whole_archive_flag_spec_FC=
14509 fi
14510 supports_anon_versioning=no
14511 case `$LD -v 2>&1` in
14512 *GNU\ gold*) supports_anon_versioning=yes ;;
14513 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14514 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14515 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14516 *\ 2.11.*) ;; # other 2.11 versions
14517 *) supports_anon_versioning=yes ;;
14518 esac
14519
14520 # See if GNU ld supports shared libraries.
14521 case $host_os in
14522 aix[3-9]*)
14523 # On AIX/PPC, the GNU linker is very broken
14524 if test "$host_cpu" != ia64; then
14525 ld_shlibs_FC=no
14526 cat <<_LT_EOF 1>&2
14527
14528 *** Warning: the GNU linker, at least up to release 2.19, is reported
14529 *** to be unable to reliably create shared libraries on AIX.
14530 *** Therefore, libtool is disabling shared libraries support. If you
14531 *** really care for shared libraries, you may want to install binutils
14532 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14533 *** You will then need to restart the configuration process.
14534
14535 _LT_EOF
14536 fi
14537 ;;
14538
14539 amigaos*)
14540 case $host_cpu in
14541 powerpc)
14542 # see comment about AmigaOS4 .so support
14543 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14544 archive_expsym_cmds_FC=''
14545 ;;
14546 m68k)
14547 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)'
14548 hardcode_libdir_flag_spec_FC='-L$libdir'
14549 hardcode_minus_L_FC=yes
14550 ;;
14551 esac
14552 ;;
14553
14554 beos*)
14555 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14556 allow_undefined_flag_FC=unsupported
14557 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14558 # support --undefined. This deserves some investigation. FIXME
14559 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14560 else
14561 ld_shlibs_FC=no
14562 fi
14563 ;;
14564
14565 cygwin* | mingw* | pw32* | cegcc*)
14566 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14567 # as there is no search path for DLLs.
14568 hardcode_libdir_flag_spec_FC='-L$libdir'
14569 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14570 allow_undefined_flag_FC=unsupported
14571 always_export_symbols_FC=no
14572 enable_shared_with_static_runtimes_FC=yes
14573 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14574
14575 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14576 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14577 # If the export-symbols file already is a .def file (1st line
14578 # is EXPORTS), use it as is; otherwise, prepend...
14579 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14580 cp $export_symbols $output_objdir/$soname.def;
14581 else
14582 echo EXPORTS > $output_objdir/$soname.def;
14583 cat $export_symbols >> $output_objdir/$soname.def;
14584 fi~
14585 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14586 else
14587 ld_shlibs_FC=no
14588 fi
14589 ;;
14590
14591 haiku*)
14592 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14593 link_all_deplibs_FC=yes
14594 ;;
14595
14596 interix[3-9]*)
14597 hardcode_direct_FC=no
14598 hardcode_shlibpath_var_FC=no
14599 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14600 export_dynamic_flag_spec_FC='${wl}-E'
14601 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14602 # Instead, shared libraries are loaded at an image base (0x10000000 by
14603 # default) and relocated if they conflict, which is a slow very memory
14604 # consuming and fragmenting process. To avoid this, we pick a random,
14605 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14606 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14607 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'
14608 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'
14609 ;;
14610
14611 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14612 tmp_diet=no
14613 if test "$host_os" = linux-dietlibc; then
14614 case $cc_basename in
14615 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14616 esac
14617 fi
14618 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14619 && test "$tmp_diet" = no
14620 then
14621 tmp_addflag=' $pic_flag'
14622 tmp_sharedflag='-shared'
14623 case $cc_basename,$host_cpu in
14624 pgcc*) # Portland Group C compiler
14625 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14626 tmp_addflag=' $pic_flag'
14627 ;;
14628 pgf77* | pgf90* | pgf95* | pgfortran*)
14629 # Portland Group f77 and f90 compilers
14630 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'
14631 tmp_addflag=' $pic_flag -Mnomain' ;;
14632 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14633 tmp_addflag=' -i_dynamic' ;;
14634 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14635 tmp_addflag=' -i_dynamic -nofor_main' ;;
14636 ifc* | ifort*) # Intel Fortran compiler
14637 tmp_addflag=' -nofor_main' ;;
14638 lf95*) # Lahey Fortran 8.1
14639 whole_archive_flag_spec_FC=
14640 tmp_sharedflag='--shared' ;;
14641 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14642 tmp_sharedflag='-qmkshrobj'
14643 tmp_addflag= ;;
14644 nvcc*) # Cuda Compiler Driver 2.2
14645 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'
14646 compiler_needs_object_FC=yes
14647 ;;
14648 esac
14649 case `$CC -V 2>&1 | sed 5q` in
14650 *Sun\ C*) # Sun C 5.9
14651 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'
14652 compiler_needs_object_FC=yes
14653 tmp_sharedflag='-G' ;;
14654 *Sun\ F*) # Sun Fortran 8.3
14655 tmp_sharedflag='-G' ;;
14656 esac
14657 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14658
14659 if test "x$supports_anon_versioning" = xyes; then
14660 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14661 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14662 echo "local: *; };" >> $output_objdir/$libname.ver~
14663 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14664 fi
14665
14666 case $cc_basename in
14667 xlf* | bgf* | bgxlf* | mpixlf*)
14668 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14669 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14670 hardcode_libdir_flag_spec_FC=
14671 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14672 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14673 if test "x$supports_anon_versioning" = xyes; then
14674 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14675 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14676 echo "local: *; };" >> $output_objdir/$libname.ver~
14677 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14678 fi
14679 ;;
14680 esac
14681 else
14682 ld_shlibs_FC=no
14683 fi
14684 ;;
14685
14686 netbsd*)
14687 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14688 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14689 wlarc=
14690 else
14691 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14692 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14693 fi
14694 ;;
14695
14696 solaris*)
14697 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14698 ld_shlibs_FC=no
14699 cat <<_LT_EOF 1>&2
14700
14701 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14702 *** create shared libraries on Solaris systems. Therefore, libtool
14703 *** is disabling shared libraries support. We urge you to upgrade GNU
14704 *** binutils to release 2.9.1 or newer. Another option is to modify
14705 *** your PATH or compiler configuration so that the native linker is
14706 *** used, and then restart.
14707
14708 _LT_EOF
14709 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14710 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14711 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14712 else
14713 ld_shlibs_FC=no
14714 fi
14715 ;;
14716
14717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14718 case `$LD -v 2>&1` in
14719 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14720 ld_shlibs_FC=no
14721 cat <<_LT_EOF 1>&2
14722
14723 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14724 *** reliably create shared libraries on SCO systems. Therefore, libtool
14725 *** is disabling shared libraries support. We urge you to upgrade GNU
14726 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14727 *** your PATH or compiler configuration so that the native linker is
14728 *** used, and then restart.
14729
14730 _LT_EOF
14731 ;;
14732 *)
14733 # For security reasons, it is highly recommended that you always
14734 # use absolute paths for naming shared libraries, and exclude the
14735 # DT_RUNPATH tag from executables and libraries. But doing so
14736 # requires that you compile everything twice, which is a pain.
14737 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14738 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14739 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14740 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14741 else
14742 ld_shlibs_FC=no
14743 fi
14744 ;;
14745 esac
14746 ;;
14747
14748 sunos4*)
14749 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14750 wlarc=
14751 hardcode_direct_FC=yes
14752 hardcode_shlibpath_var_FC=no
14753 ;;
14754
14755 *)
14756 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14757 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14758 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14759 else
14760 ld_shlibs_FC=no
14761 fi
14762 ;;
14763 esac
14764
14765 if test "$ld_shlibs_FC" = no; then
14766 runpath_var=
14767 hardcode_libdir_flag_spec_FC=
14768 export_dynamic_flag_spec_FC=
14769 whole_archive_flag_spec_FC=
14770 fi
14771 else
14772 # PORTME fill in a description of your system's linker (not GNU ld)
14773 case $host_os in
14774 aix3*)
14775 allow_undefined_flag_FC=unsupported
14776 always_export_symbols_FC=yes
14777 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'
14778 # Note: this linker hardcodes the directories in LIBPATH if there
14779 # are no directories specified by -L.
14780 hardcode_minus_L_FC=yes
14781 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14782 # Neither direct hardcoding nor static linking is supported with a
14783 # broken collect2.
14784 hardcode_direct_FC=unsupported
14785 fi
14786 ;;
14787
14788 aix[4-9]*)
14789 if test "$host_cpu" = ia64; then
14790 # On IA64, the linker does run time linking by default, so we don't
14791 # have to do anything special.
14792 aix_use_runtimelinking=no
14793 exp_sym_flag='-Bexport'
14794 no_entry_flag=""
14795 else
14796 # If we're using GNU nm, then we don't want the "-C" option.
14797 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14798 # Also, AIX nm treats weak defined symbols like other global
14799 # defined symbols, whereas GNU nm marks them as "W".
14800 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14801 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'
14802 else
14803 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'
14804 fi
14805 aix_use_runtimelinking=no
14806
14807 # Test if we are trying to use run time linking or normal
14808 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14809 # need to do runtime linking.
14810 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14811 for ld_flag in $LDFLAGS; do
14812 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14813 aix_use_runtimelinking=yes
14814 break
14815 fi
14816 done
14817 ;;
14818 esac
14819
14820 exp_sym_flag='-bexport'
14821 no_entry_flag='-bnoentry'
14822 fi
14823
14824 # When large executables or shared objects are built, AIX ld can
14825 # have problems creating the table of contents. If linking a library
14826 # or program results in "error TOC overflow" add -mminimal-toc to
14827 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14828 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14829
14830 archive_cmds_FC=''
14831 hardcode_direct_FC=yes
14832 hardcode_direct_absolute_FC=yes
14833 hardcode_libdir_separator_FC=':'
14834 link_all_deplibs_FC=yes
14835 file_list_spec_FC='${wl}-f,'
14836
14837 if test "$GCC" = yes; then
14838 case $host_os in aix4.[012]|aix4.[012].*)
14839 # We only want to do this on AIX 4.2 and lower, the check
14840 # below for broken collect2 doesn't work under 4.3+
14841 collect2name=`${CC} -print-prog-name=collect2`
14842 if test -f "$collect2name" &&
14843 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14844 then
14845 # We have reworked collect2
14846 :
14847 else
14848 # We have old collect2
14849 hardcode_direct_FC=unsupported
14850 # It fails to find uninstalled libraries when the uninstalled
14851 # path is not listed in the libpath. Setting hardcode_minus_L
14852 # to unsupported forces relinking
14853 hardcode_minus_L_FC=yes
14854 hardcode_libdir_flag_spec_FC='-L$libdir'
14855 hardcode_libdir_separator_FC=
14856 fi
14857 ;;
14858 esac
14859 shared_flag='-shared'
14860 if test "$aix_use_runtimelinking" = yes; then
14861 shared_flag="$shared_flag "'${wl}-G'
14862 fi
14863 else
14864 # not using gcc
14865 if test "$host_cpu" = ia64; then
14866 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14867 # chokes on -Wl,-G. The following line is correct:
14868 shared_flag='-G'
14869 else
14870 if test "$aix_use_runtimelinking" = yes; then
14871 shared_flag='${wl}-G'
14872 else
14873 shared_flag='${wl}-bM:SRE'
14874 fi
14875 fi
14876 fi
14877
14878 export_dynamic_flag_spec_FC='${wl}-bexpall'
14879 # It seems that -bexpall does not export symbols beginning with
14880 # underscore (_), so it is better to generate a list of symbols to export.
14881 always_export_symbols_FC=yes
14882 if test "$aix_use_runtimelinking" = yes; then
14883 # Warning - without using the other runtime loading flags (-brtl),
14884 # -berok will link without error, but may produce a broken library.
14885 allow_undefined_flag_FC='-berok'
14886 # Determine the default libpath from the value encoded in an
14887 # empty executable.
14888 if test x$gcc_no_link = xyes; then
14889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14890 fi
14891 cat > conftest.$ac_ext <<_ACEOF
14892 program main
14893
14894 end
14895 _ACEOF
14896 if ac_fn_fc_try_link "$LINENO"; then :
14897
14898 lt_aix_libpath_sed='
14899 /Import File Strings/,/^$/ {
14900 /^0/ {
14901 s/^0 *\(.*\)$/\1/
14902 p
14903 }
14904 }'
14905 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14906 # Check for a 64-bit object if we didn't find anything.
14907 if test -z "$aix_libpath"; then
14908 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14909 fi
14910 fi
14911 rm -f core conftest.err conftest.$ac_objext \
14912 conftest$ac_exeext conftest.$ac_ext
14913 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14914
14915 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14916 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"
14917 else
14918 if test "$host_cpu" = ia64; then
14919 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14920 allow_undefined_flag_FC="-z nodefs"
14921 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"
14922 else
14923 # Determine the default libpath from the value encoded in an
14924 # empty executable.
14925 if test x$gcc_no_link = xyes; then
14926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14927 fi
14928 cat > conftest.$ac_ext <<_ACEOF
14929 program main
14930
14931 end
14932 _ACEOF
14933 if ac_fn_fc_try_link "$LINENO"; then :
14934
14935 lt_aix_libpath_sed='
14936 /Import File Strings/,/^$/ {
14937 /^0/ {
14938 s/^0 *\(.*\)$/\1/
14939 p
14940 }
14941 }'
14942 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14943 # Check for a 64-bit object if we didn't find anything.
14944 if test -z "$aix_libpath"; then
14945 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14946 fi
14947 fi
14948 rm -f core conftest.err conftest.$ac_objext \
14949 conftest$ac_exeext conftest.$ac_ext
14950 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14951
14952 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14953 # Warning - without using the other run time loading flags,
14954 # -berok will link without error, but may produce a broken library.
14955 no_undefined_flag_FC=' ${wl}-bernotok'
14956 allow_undefined_flag_FC=' ${wl}-berok'
14957 if test "$with_gnu_ld" = yes; then
14958 # We only use this code for GNU lds that support --whole-archive.
14959 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14960 else
14961 # Exported symbols can be pulled into shared objects from archives
14962 whole_archive_flag_spec_FC='$convenience'
14963 fi
14964 archive_cmds_need_lc_FC=yes
14965 # This is similar to how AIX traditionally builds its shared libraries.
14966 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'
14967 fi
14968 fi
14969 ;;
14970
14971 amigaos*)
14972 case $host_cpu in
14973 powerpc)
14974 # see comment about AmigaOS4 .so support
14975 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14976 archive_expsym_cmds_FC=''
14977 ;;
14978 m68k)
14979 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)'
14980 hardcode_libdir_flag_spec_FC='-L$libdir'
14981 hardcode_minus_L_FC=yes
14982 ;;
14983 esac
14984 ;;
14985
14986 bsdi[45]*)
14987 export_dynamic_flag_spec_FC=-rdynamic
14988 ;;
14989
14990 cygwin* | mingw* | pw32* | cegcc*)
14991 # When not using gcc, we currently assume that we are using
14992 # Microsoft Visual C++.
14993 # hardcode_libdir_flag_spec is actually meaningless, as there is
14994 # no search path for DLLs.
14995 hardcode_libdir_flag_spec_FC=' '
14996 allow_undefined_flag_FC=unsupported
14997 # Tell ltmain to make .lib files, not .a files.
14998 libext=lib
14999 # Tell ltmain to make .dll files, not .so files.
15000 shrext_cmds=".dll"
15001 # FIXME: Setting linknames here is a bad hack.
15002 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
15003 # The linker will automatically build a .lib file if we build a DLL.
15004 old_archive_from_new_cmds_FC='true'
15005 # FIXME: Should let the user specify the lib program.
15006 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
15007 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
15008 enable_shared_with_static_runtimes_FC=yes
15009 ;;
15010
15011 darwin* | rhapsody*)
15012
15013
15014
15015 # Publish an arg to allow the user to select that Darwin host (and target)
15016 # libraries should be given install-names like @rpath/libfoo.dylib. This
15017 # requires that the user of the library then adds an 'rpath' to the DSO that
15018 # needs access.
15019 # NOTE: there are defaults below, for systems that support rpaths. The person
15020 # configuring can override the defaults for any system version that supports
15021 # them - they are, however, forced off for system versions without support.
15022 # Check whether --enable-darwin-at-rpath was given.
15023 if test "${enable_darwin_at_rpath+set}" = set; then :
15024 enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
15025 # This is not supported before macOS 10.5 / Darwin9.
15026 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15027 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
15029 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
15030 enable_darwin_at_rpath=no
15031 ;;
15032 esac
15033 fi
15034 else
15035 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15036 # As above, before 10.5 / Darwin9 this does not work.
15037 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
15038 enable_darwin_at_rpath=no
15039 ;;
15040
15041 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
15042 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
15043 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
15044 UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* )
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
15046 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
15047 enable_darwin_at_rpath=yes
15048 ;;
15049 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
15050 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
15051
15052 esac
15053
15054 fi
15055
15056
15057 archive_cmds_need_lc_FC=no
15058 hardcode_direct_FC=no
15059 hardcode_automatic_FC=yes
15060 hardcode_shlibpath_var_FC=unsupported
15061 if test "$lt_cv_ld_force_load" = "yes"; then
15062 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\"`'
15063 else
15064 whole_archive_flag_spec_FC=''
15065 fi
15066 link_all_deplibs_FC=yes
15067 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
15068 case $cc_basename in
15069 ifort*) _lt_dar_can_shared=yes ;;
15070 *) _lt_dar_can_shared=$GCC ;;
15071 esac
15072 if test "$_lt_dar_can_shared" = "yes"; then
15073 output_verbose_link_cmd=func_echo_all
15074 _lt_install_name='\$rpath/\$soname'
15075 if test "x$enable_darwin_at_rpath" = "xyes"; then
15076 _lt_install_name='@rpath/\$soname'
15077 fi
15078 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
15079 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15080 archive_expsym_cmds_FC="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
15081 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}"
15082
15083 else
15084 ld_shlibs_FC=no
15085 fi
15086
15087 ;;
15088
15089 dgux*)
15090 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15091 hardcode_libdir_flag_spec_FC='-L$libdir'
15092 hardcode_shlibpath_var_FC=no
15093 ;;
15094
15095 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15096 # support. Future versions do this automatically, but an explicit c++rt0.o
15097 # does not break anything, and helps significantly (at the cost of a little
15098 # extra space).
15099 freebsd2.2*)
15100 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15101 hardcode_libdir_flag_spec_FC='-R$libdir'
15102 hardcode_direct_FC=yes
15103 hardcode_shlibpath_var_FC=no
15104 ;;
15105
15106 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15107 freebsd2.*)
15108 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15109 hardcode_direct_FC=yes
15110 hardcode_minus_L_FC=yes
15111 hardcode_shlibpath_var_FC=no
15112 ;;
15113
15114 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15115 freebsd* | dragonfly*)
15116 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15117 hardcode_libdir_flag_spec_FC='-R$libdir'
15118 hardcode_direct_FC=yes
15119 hardcode_shlibpath_var_FC=no
15120 ;;
15121
15122 hpux9*)
15123 if test "$GCC" = yes; then
15124 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'
15125 else
15126 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'
15127 fi
15128 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15129 hardcode_libdir_separator_FC=:
15130 hardcode_direct_FC=yes
15131
15132 # hardcode_minus_L: Not really in the search PATH,
15133 # but as the default location of the library.
15134 hardcode_minus_L_FC=yes
15135 export_dynamic_flag_spec_FC='${wl}-E'
15136 ;;
15137
15138 hpux10*)
15139 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15140 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15141 else
15142 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15143 fi
15144 if test "$with_gnu_ld" = no; then
15145 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15146 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
15147 hardcode_libdir_separator_FC=:
15148 hardcode_direct_FC=yes
15149 hardcode_direct_absolute_FC=yes
15150 export_dynamic_flag_spec_FC='${wl}-E'
15151 # hardcode_minus_L: Not really in the search PATH,
15152 # but as the default location of the library.
15153 hardcode_minus_L_FC=yes
15154 fi
15155 ;;
15156
15157 hpux11*)
15158 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15159 case $host_cpu in
15160 hppa*64*)
15161 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15162 ;;
15163 ia64*)
15164 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15165 ;;
15166 *)
15167 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15168 ;;
15169 esac
15170 else
15171 case $host_cpu in
15172 hppa*64*)
15173 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15174 ;;
15175 ia64*)
15176 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15177 ;;
15178 *)
15179 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15180 ;;
15181 esac
15182 fi
15183 if test "$with_gnu_ld" = no; then
15184 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15185 hardcode_libdir_separator_FC=:
15186
15187 case $host_cpu in
15188 hppa*64*|ia64*)
15189 hardcode_direct_FC=no
15190 hardcode_shlibpath_var_FC=no
15191 ;;
15192 *)
15193 hardcode_direct_FC=yes
15194 hardcode_direct_absolute_FC=yes
15195 export_dynamic_flag_spec_FC='${wl}-E'
15196
15197 # hardcode_minus_L: Not really in the search PATH,
15198 # but as the default location of the library.
15199 hardcode_minus_L_FC=yes
15200 ;;
15201 esac
15202 fi
15203 ;;
15204
15205 irix5* | irix6* | nonstopux*)
15206 if test "$GCC" = yes; then
15207 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'
15208 # Try to use the -exported_symbol ld option, if it does not
15209 # work, assume that -exports_file does not work either and
15210 # implicitly export all symbols.
15211 save_LDFLAGS="$LDFLAGS"
15212 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15213 if test x$gcc_no_link = xyes; then
15214 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15215 fi
15216 cat > conftest.$ac_ext <<_ACEOF
15217 int foo(void) {}
15218 _ACEOF
15219 if ac_fn_fc_try_link "$LINENO"; then :
15220 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'
15221
15222 fi
15223 rm -f core conftest.err conftest.$ac_objext \
15224 conftest$ac_exeext conftest.$ac_ext
15225 LDFLAGS="$save_LDFLAGS"
15226 else
15227 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'
15228 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'
15229 fi
15230 archive_cmds_need_lc_FC='no'
15231 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15232 hardcode_libdir_separator_FC=:
15233 inherit_rpath_FC=yes
15234 link_all_deplibs_FC=yes
15235 ;;
15236
15237 netbsd*)
15238 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15239 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15240 else
15241 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15242 fi
15243 hardcode_libdir_flag_spec_FC='-R$libdir'
15244 hardcode_direct_FC=yes
15245 hardcode_shlibpath_var_FC=no
15246 ;;
15247
15248 newsos6)
15249 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15250 hardcode_direct_FC=yes
15251 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15252 hardcode_libdir_separator_FC=:
15253 hardcode_shlibpath_var_FC=no
15254 ;;
15255
15256 *nto* | *qnx*)
15257 ;;
15258
15259 openbsd*)
15260 if test -f /usr/libexec/ld.so; then
15261 hardcode_direct_FC=yes
15262 hardcode_shlibpath_var_FC=no
15263 hardcode_direct_absolute_FC=yes
15264 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15265 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15266 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15267 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15268 export_dynamic_flag_spec_FC='${wl}-E'
15269 else
15270 case $host_os in
15271 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15272 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15273 hardcode_libdir_flag_spec_FC='-R$libdir'
15274 ;;
15275 *)
15276 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15277 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15278 ;;
15279 esac
15280 fi
15281 else
15282 ld_shlibs_FC=no
15283 fi
15284 ;;
15285
15286 os2*)
15287 hardcode_libdir_flag_spec_FC='-L$libdir'
15288 hardcode_minus_L_FC=yes
15289 allow_undefined_flag_FC=unsupported
15290 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'
15291 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15292 ;;
15293
15294 osf3*)
15295 if test "$GCC" = yes; then
15296 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15297 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'
15298 else
15299 allow_undefined_flag_FC=' -expect_unresolved \*'
15300 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'
15301 fi
15302 archive_cmds_need_lc_FC='no'
15303 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15304 hardcode_libdir_separator_FC=:
15305 ;;
15306
15307 osf4* | osf5*) # as osf3* with the addition of -msym flag
15308 if test "$GCC" = yes; then
15309 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15310 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'
15311 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15312 else
15313 allow_undefined_flag_FC=' -expect_unresolved \*'
15314 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'
15315 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~
15316 $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'
15317
15318 # Both c and cxx compiler support -rpath directly
15319 hardcode_libdir_flag_spec_FC='-rpath $libdir'
15320 fi
15321 archive_cmds_need_lc_FC='no'
15322 hardcode_libdir_separator_FC=:
15323 ;;
15324
15325 solaris*)
15326 no_undefined_flag_FC=' -z defs'
15327 if test "$GCC" = yes; then
15328 wlarc='${wl}'
15329 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15330 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15331 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15332 else
15333 case `$CC -V 2>&1` in
15334 *"Compilers 5.0"*)
15335 wlarc=''
15336 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15337 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15338 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15339 ;;
15340 *)
15341 wlarc='${wl}'
15342 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15343 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15344 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15345 ;;
15346 esac
15347 fi
15348 hardcode_libdir_flag_spec_FC='-R$libdir'
15349 hardcode_shlibpath_var_FC=no
15350 case $host_os in
15351 solaris2.[0-5] | solaris2.[0-5].*) ;;
15352 *)
15353 # The compiler driver will combine and reorder linker options,
15354 # but understands `-z linker_flag'. GCC discards it without `$wl',
15355 # but is careful enough not to reorder.
15356 # Supported since Solaris 2.6 (maybe 2.5.1?)
15357 if test "$GCC" = yes; then
15358 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15359 else
15360 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15361 fi
15362 ;;
15363 esac
15364 link_all_deplibs_FC=yes
15365 ;;
15366
15367 sunos4*)
15368 if test "x$host_vendor" = xsequent; then
15369 # Use $CC to link under sequent, because it throws in some extra .o
15370 # files that make .init and .fini sections work.
15371 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15372 else
15373 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15374 fi
15375 hardcode_libdir_flag_spec_FC='-L$libdir'
15376 hardcode_direct_FC=yes
15377 hardcode_minus_L_FC=yes
15378 hardcode_shlibpath_var_FC=no
15379 ;;
15380
15381 sysv4)
15382 case $host_vendor in
15383 sni)
15384 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15385 hardcode_direct_FC=yes # is this really true???
15386 ;;
15387 siemens)
15388 ## LD is ld it makes a PLAMLIB
15389 ## CC just makes a GrossModule.
15390 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15391 reload_cmds_FC='$CC -r -o $output$reload_objs'
15392 hardcode_direct_FC=no
15393 ;;
15394 motorola)
15395 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15396 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15397 ;;
15398 esac
15399 runpath_var='LD_RUN_PATH'
15400 hardcode_shlibpath_var_FC=no
15401 ;;
15402
15403 sysv4.3*)
15404 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15405 hardcode_shlibpath_var_FC=no
15406 export_dynamic_flag_spec_FC='-Bexport'
15407 ;;
15408
15409 sysv4*MP*)
15410 if test -d /usr/nec; then
15411 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15412 hardcode_shlibpath_var_FC=no
15413 runpath_var=LD_RUN_PATH
15414 hardcode_runpath_var=yes
15415 ld_shlibs_FC=yes
15416 fi
15417 ;;
15418
15419 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15420 no_undefined_flag_FC='${wl}-z,text'
15421 archive_cmds_need_lc_FC=no
15422 hardcode_shlibpath_var_FC=no
15423 runpath_var='LD_RUN_PATH'
15424
15425 if test "$GCC" = yes; then
15426 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15427 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15428 else
15429 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15430 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15431 fi
15432 ;;
15433
15434 sysv5* | sco3.2v5* | sco5v6*)
15435 # Note: We can NOT use -z defs as we might desire, because we do not
15436 # link with -lc, and that would cause any symbols used from libc to
15437 # always be unresolved, which means just about no library would
15438 # ever link correctly. If we're not using GNU ld we use -z text
15439 # though, which does catch some bad symbols but isn't as heavy-handed
15440 # as -z defs.
15441 no_undefined_flag_FC='${wl}-z,text'
15442 allow_undefined_flag_FC='${wl}-z,nodefs'
15443 archive_cmds_need_lc_FC=no
15444 hardcode_shlibpath_var_FC=no
15445 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15446 hardcode_libdir_separator_FC=':'
15447 link_all_deplibs_FC=yes
15448 export_dynamic_flag_spec_FC='${wl}-Bexport'
15449 runpath_var='LD_RUN_PATH'
15450
15451 if test "$GCC" = yes; then
15452 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15453 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15454 else
15455 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15456 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15457 fi
15458 ;;
15459
15460 uts4*)
15461 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15462 hardcode_libdir_flag_spec_FC='-L$libdir'
15463 hardcode_shlibpath_var_FC=no
15464 ;;
15465
15466 *)
15467 ld_shlibs_FC=no
15468 ;;
15469 esac
15470
15471 if test x$host_vendor = xsni; then
15472 case $host in
15473 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15474 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15475 ;;
15476 esac
15477 fi
15478 fi
15479
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15481 $as_echo "$ld_shlibs_FC" >&6; }
15482 test "$ld_shlibs_FC" = no && can_build_shared=no
15483
15484 with_gnu_ld_FC=$with_gnu_ld
15485
15486
15487
15488
15489
15490
15491 #
15492 # Do we need to explicitly link libc?
15493 #
15494 case "x$archive_cmds_need_lc_FC" in
15495 x|xyes)
15496 # Assume -lc should be added
15497 archive_cmds_need_lc_FC=yes
15498
15499 if test "$enable_shared" = yes && test "$GCC" = yes; then
15500 case $archive_cmds_FC in
15501 *'~'*)
15502 # FIXME: we may have to deal with multi-command sequences.
15503 ;;
15504 '$CC '*)
15505 # Test whether the compiler implicitly links with -lc since on some
15506 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15507 # to ld, don't add -lc before -lgcc.
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15509 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15510 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15511 $as_echo_n "(cached) " >&6
15512 else
15513 $RM conftest*
15514 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15515
15516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15517 (eval $ac_compile) 2>&5
15518 ac_status=$?
15519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15520 test $ac_status = 0; } 2>conftest.err; then
15521 soname=conftest
15522 lib=conftest
15523 libobjs=conftest.$ac_objext
15524 deplibs=
15525 wl=$lt_prog_compiler_wl_FC
15526 pic_flag=$lt_prog_compiler_pic_FC
15527 compiler_flags=-v
15528 linker_flags=-v
15529 verstring=
15530 output_objdir=.
15531 libname=conftest
15532 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15533 allow_undefined_flag_FC=
15534 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15535 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15536 ac_status=$?
15537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15538 test $ac_status = 0; }
15539 then
15540 lt_cv_archive_cmds_need_lc_FC=no
15541 else
15542 lt_cv_archive_cmds_need_lc_FC=yes
15543 fi
15544 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15545 else
15546 cat conftest.err 1>&5
15547 fi
15548 $RM conftest*
15549
15550 fi
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15552 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15553 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15554 ;;
15555 esac
15556 fi
15557 ;;
15558 esac
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15624 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15625
15626 library_names_spec=
15627 libname_spec='lib$name'
15628 soname_spec=
15629 shrext_cmds=".so"
15630 postinstall_cmds=
15631 postuninstall_cmds=
15632 finish_cmds=
15633 finish_eval=
15634 shlibpath_var=
15635 shlibpath_overrides_runpath=unknown
15636 version_type=none
15637 dynamic_linker="$host_os ld.so"
15638 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15639 need_lib_prefix=unknown
15640 hardcode_into_libs=no
15641
15642 # when you set need_version to no, make sure it does not cause -set_version
15643 # flags to be left without arguments
15644 need_version=unknown
15645
15646 case $host_os in
15647 aix3*)
15648 version_type=linux
15649 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15650 shlibpath_var=LIBPATH
15651
15652 # AIX 3 has no versioning support, so we append a major version to the name.
15653 soname_spec='${libname}${release}${shared_ext}$major'
15654 ;;
15655
15656 aix[4-9]*)
15657 version_type=linux
15658 need_lib_prefix=no
15659 need_version=no
15660 hardcode_into_libs=yes
15661 if test "$host_cpu" = ia64; then
15662 # AIX 5 supports IA64
15663 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15664 shlibpath_var=LD_LIBRARY_PATH
15665 else
15666 # With GCC up to 2.95.x, collect2 would create an import file
15667 # for dependence libraries. The import file would start with
15668 # the line `#! .'. This would cause the generated library to
15669 # depend on `.', always an invalid library. This was fixed in
15670 # development snapshots of GCC prior to 3.0.
15671 case $host_os in
15672 aix4 | aix4.[01] | aix4.[01].*)
15673 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15674 echo ' yes '
15675 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15676 :
15677 else
15678 can_build_shared=no
15679 fi
15680 ;;
15681 esac
15682 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15683 # soname into executable. Probably we can add versioning support to
15684 # collect2, so additional links can be useful in future.
15685 if test "$aix_use_runtimelinking" = yes; then
15686 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15687 # instead of lib<name>.a to let people know that these are not
15688 # typical AIX shared libraries.
15689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15690 else
15691 # We preserve .a as extension for shared libraries through AIX4.2
15692 # and later when we are not doing run time linking.
15693 library_names_spec='${libname}${release}.a $libname.a'
15694 soname_spec='${libname}${release}${shared_ext}$major'
15695 fi
15696 shlibpath_var=LIBPATH
15697 fi
15698 ;;
15699
15700 amigaos*)
15701 case $host_cpu in
15702 powerpc)
15703 # Since July 2007 AmigaOS4 officially supports .so libraries.
15704 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15706 ;;
15707 m68k)
15708 library_names_spec='$libname.ixlibrary $libname.a'
15709 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15710 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'
15711 ;;
15712 esac
15713 ;;
15714
15715 beos*)
15716 library_names_spec='${libname}${shared_ext}'
15717 dynamic_linker="$host_os ld.so"
15718 shlibpath_var=LIBRARY_PATH
15719 ;;
15720
15721 bsdi[45]*)
15722 version_type=linux
15723 need_version=no
15724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15725 soname_spec='${libname}${release}${shared_ext}$major'
15726 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15727 shlibpath_var=LD_LIBRARY_PATH
15728 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15729 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15730 # the default ld.so.conf also contains /usr/contrib/lib and
15731 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15732 # libtool to hard-code these into programs
15733 ;;
15734
15735 cygwin* | mingw* | pw32* | cegcc*)
15736 version_type=windows
15737 shrext_cmds=".dll"
15738 need_version=no
15739 need_lib_prefix=no
15740
15741 case $GCC,$host_os in
15742 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15743 library_names_spec='$libname.dll.a'
15744 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15745 postinstall_cmds='base_file=`basename \${file}`~
15746 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15747 dldir=$destdir/`dirname \$dlpath`~
15748 test -d \$dldir || mkdir -p \$dldir~
15749 $install_prog $dir/$dlname \$dldir/$dlname~
15750 chmod a+x \$dldir/$dlname~
15751 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15752 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15753 fi'
15754 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15755 dlpath=$dir/\$dldll~
15756 $RM \$dlpath'
15757 shlibpath_overrides_runpath=yes
15758
15759 case $host_os in
15760 cygwin*)
15761 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15762 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15763
15764 ;;
15765 mingw* | cegcc*)
15766 # MinGW DLLs use traditional 'lib' prefix
15767 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15768 ;;
15769 pw32*)
15770 # pw32 DLLs use 'pw' prefix rather than 'lib'
15771 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15772 ;;
15773 esac
15774 ;;
15775
15776 *)
15777 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15778 ;;
15779 esac
15780 dynamic_linker='Win32 ld.exe'
15781 # FIXME: first we should search . and the directory the executable is in
15782 shlibpath_var=PATH
15783 ;;
15784
15785 darwin* | rhapsody*)
15786 dynamic_linker="$host_os dyld"
15787 version_type=darwin
15788 need_lib_prefix=no
15789 need_version=no
15790 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15791 soname_spec='${libname}${release}${major}$shared_ext'
15792 shlibpath_overrides_runpath=yes
15793 shlibpath_var=DYLD_LIBRARY_PATH
15794 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15795
15796 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15797 ;;
15798
15799 dgux*)
15800 version_type=linux
15801 need_lib_prefix=no
15802 need_version=no
15803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15804 soname_spec='${libname}${release}${shared_ext}$major'
15805 shlibpath_var=LD_LIBRARY_PATH
15806 ;;
15807
15808 freebsd* | dragonfly*)
15809 # DragonFly does not have aout. When/if they implement a new
15810 # versioning mechanism, adjust this.
15811 if test -x /usr/bin/objformat; then
15812 objformat=`/usr/bin/objformat`
15813 else
15814 case $host_os in
15815 freebsd[23].*) objformat=aout ;;
15816 *) objformat=elf ;;
15817 esac
15818 fi
15819 version_type=freebsd-$objformat
15820 case $version_type in
15821 freebsd-elf*)
15822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15823 need_version=no
15824 need_lib_prefix=no
15825 ;;
15826 freebsd-*)
15827 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15828 need_version=yes
15829 ;;
15830 esac
15831 shlibpath_var=LD_LIBRARY_PATH
15832 case $host_os in
15833 freebsd2.*)
15834 shlibpath_overrides_runpath=yes
15835 ;;
15836 freebsd3.[01]* | freebsdelf3.[01]*)
15837 shlibpath_overrides_runpath=yes
15838 hardcode_into_libs=yes
15839 ;;
15840 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15841 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15842 shlibpath_overrides_runpath=no
15843 hardcode_into_libs=yes
15844 ;;
15845 *) # from 4.6 on, and DragonFly
15846 shlibpath_overrides_runpath=yes
15847 hardcode_into_libs=yes
15848 ;;
15849 esac
15850 ;;
15851
15852 haiku*)
15853 version_type=linux
15854 need_lib_prefix=no
15855 need_version=no
15856 dynamic_linker="$host_os runtime_loader"
15857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15858 soname_spec='${libname}${release}${shared_ext}$major'
15859 shlibpath_var=LIBRARY_PATH
15860 shlibpath_overrides_runpath=yes
15861 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15862 hardcode_into_libs=yes
15863 ;;
15864
15865 hpux9* | hpux10* | hpux11*)
15866 # Give a soname corresponding to the major version so that dld.sl refuses to
15867 # link against other versions.
15868 version_type=sunos
15869 need_lib_prefix=no
15870 need_version=no
15871 case $host_cpu in
15872 ia64*)
15873 shrext_cmds='.so'
15874 hardcode_into_libs=yes
15875 dynamic_linker="$host_os dld.so"
15876 shlibpath_var=LD_LIBRARY_PATH
15877 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15879 soname_spec='${libname}${release}${shared_ext}$major'
15880 if test "X$HPUX_IA64_MODE" = X32; then
15881 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15882 else
15883 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15884 fi
15885 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15886 ;;
15887 hppa*64*)
15888 shrext_cmds='.sl'
15889 hardcode_into_libs=yes
15890 dynamic_linker="$host_os dld.sl"
15891 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15892 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15894 soname_spec='${libname}${release}${shared_ext}$major'
15895 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15896 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15897 ;;
15898 *)
15899 shrext_cmds='.sl'
15900 dynamic_linker="$host_os dld.sl"
15901 shlibpath_var=SHLIB_PATH
15902 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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 ;;
15906 esac
15907 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15908 postinstall_cmds='chmod 555 $lib'
15909 # or fails outright, so override atomically:
15910 install_override_mode=555
15911 ;;
15912
15913 interix[3-9]*)
15914 version_type=linux
15915 need_lib_prefix=no
15916 need_version=no
15917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15918 soname_spec='${libname}${release}${shared_ext}$major'
15919 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15920 shlibpath_var=LD_LIBRARY_PATH
15921 shlibpath_overrides_runpath=no
15922 hardcode_into_libs=yes
15923 ;;
15924
15925 irix5* | irix6* | nonstopux*)
15926 case $host_os in
15927 nonstopux*) version_type=nonstopux ;;
15928 *)
15929 if test "$lt_cv_prog_gnu_ld" = yes; then
15930 version_type=linux
15931 else
15932 version_type=irix
15933 fi ;;
15934 esac
15935 need_lib_prefix=no
15936 need_version=no
15937 soname_spec='${libname}${release}${shared_ext}$major'
15938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15939 case $host_os in
15940 irix5* | nonstopux*)
15941 libsuff= shlibsuff=
15942 ;;
15943 *)
15944 case $LD in # libtool.m4 will add one of these switches to LD
15945 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15946 libsuff= shlibsuff= libmagic=32-bit;;
15947 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15948 libsuff=32 shlibsuff=N32 libmagic=N32;;
15949 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15950 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15951 *) libsuff= shlibsuff= libmagic=never-match;;
15952 esac
15953 ;;
15954 esac
15955 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15956 shlibpath_overrides_runpath=no
15957 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15958 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15959 hardcode_into_libs=yes
15960 ;;
15961
15962 # No shared lib support for Linux oldld, aout, or coff.
15963 linux*oldld* | linux*aout* | linux*coff*)
15964 dynamic_linker=no
15965 ;;
15966
15967 # This must be Linux ELF.
15968
15969 # uclinux* changes (here and below) have been submitted to the libtool
15970 # project, but have not yet been accepted: they are GCC-local changes
15971 # for the time being. (See
15972 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15973 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15974 version_type=linux
15975 need_lib_prefix=no
15976 need_version=no
15977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15978 soname_spec='${libname}${release}${shared_ext}$major'
15979 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15980 shlibpath_var=LD_LIBRARY_PATH
15981 shlibpath_overrides_runpath=no
15982
15983 # Some binutils ld are patched to set DT_RUNPATH
15984 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15985 $as_echo_n "(cached) " >&6
15986 else
15987 lt_cv_shlibpath_overrides_runpath=no
15988 save_LDFLAGS=$LDFLAGS
15989 save_libdir=$libdir
15990 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15991 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15992 if test x$gcc_no_link = xyes; then
15993 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15994 fi
15995 cat > conftest.$ac_ext <<_ACEOF
15996 program main
15997
15998 end
15999 _ACEOF
16000 if ac_fn_fc_try_link "$LINENO"; then :
16001 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16002 lt_cv_shlibpath_overrides_runpath=yes
16003 fi
16004 fi
16005 rm -f core conftest.err conftest.$ac_objext \
16006 conftest$ac_exeext conftest.$ac_ext
16007 LDFLAGS=$save_LDFLAGS
16008 libdir=$save_libdir
16009
16010 fi
16011
16012 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16013
16014 # This implies no fast_install, which is unacceptable.
16015 # Some rework will be needed to allow for fast_install
16016 # before this can be enabled.
16017 hardcode_into_libs=yes
16018
16019 # Append ld.so.conf contents to the search path
16020 if test -f /etc/ld.so.conf; then
16021 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' ' '`
16022 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16023 fi
16024
16025 # We used to test for /lib/ld.so.1 and disable shared libraries on
16026 # powerpc, because MkLinux only supported shared libraries with the
16027 # GNU dynamic linker. Since this was broken with cross compilers,
16028 # most powerpc-linux boxes support dynamic linking these days and
16029 # people can always --disable-shared, the test was removed, and we
16030 # assume the GNU/Linux dynamic linker is in use.
16031 dynamic_linker='GNU/Linux ld.so'
16032 ;;
16033
16034 netbsd*)
16035 version_type=sunos
16036 need_lib_prefix=no
16037 need_version=no
16038 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16040 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16041 dynamic_linker='NetBSD (a.out) ld.so'
16042 else
16043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16044 soname_spec='${libname}${release}${shared_ext}$major'
16045 dynamic_linker='NetBSD ld.elf_so'
16046 fi
16047 shlibpath_var=LD_LIBRARY_PATH
16048 shlibpath_overrides_runpath=yes
16049 hardcode_into_libs=yes
16050 ;;
16051
16052 newsos6)
16053 version_type=linux
16054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16055 shlibpath_var=LD_LIBRARY_PATH
16056 shlibpath_overrides_runpath=yes
16057 ;;
16058
16059 *nto* | *qnx*)
16060 version_type=qnx
16061 need_lib_prefix=no
16062 need_version=no
16063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16064 soname_spec='${libname}${release}${shared_ext}$major'
16065 shlibpath_var=LD_LIBRARY_PATH
16066 shlibpath_overrides_runpath=no
16067 hardcode_into_libs=yes
16068 dynamic_linker='ldqnx.so'
16069 ;;
16070
16071 openbsd*)
16072 version_type=sunos
16073 sys_lib_dlsearch_path_spec="/usr/lib"
16074 need_lib_prefix=no
16075 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16076 case $host_os in
16077 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16078 *) need_version=no ;;
16079 esac
16080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16081 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16082 shlibpath_var=LD_LIBRARY_PATH
16083 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16084 case $host_os in
16085 openbsd2.[89] | openbsd2.[89].*)
16086 shlibpath_overrides_runpath=no
16087 ;;
16088 *)
16089 shlibpath_overrides_runpath=yes
16090 ;;
16091 esac
16092 else
16093 shlibpath_overrides_runpath=yes
16094 fi
16095 ;;
16096
16097 os2*)
16098 libname_spec='$name'
16099 shrext_cmds=".dll"
16100 need_lib_prefix=no
16101 library_names_spec='$libname${shared_ext} $libname.a'
16102 dynamic_linker='OS/2 ld.exe'
16103 shlibpath_var=LIBPATH
16104 ;;
16105
16106 osf3* | osf4* | osf5*)
16107 version_type=osf
16108 need_lib_prefix=no
16109 need_version=no
16110 soname_spec='${libname}${release}${shared_ext}$major'
16111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16112 shlibpath_var=LD_LIBRARY_PATH
16113 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16114 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16115 ;;
16116
16117 rdos*)
16118 dynamic_linker=no
16119 ;;
16120
16121 solaris*)
16122 version_type=linux
16123 need_lib_prefix=no
16124 need_version=no
16125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16126 soname_spec='${libname}${release}${shared_ext}$major'
16127 shlibpath_var=LD_LIBRARY_PATH
16128 shlibpath_overrides_runpath=yes
16129 hardcode_into_libs=yes
16130 # ldd complains unless libraries are executable
16131 postinstall_cmds='chmod +x $lib'
16132 ;;
16133
16134 sunos4*)
16135 version_type=sunos
16136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16137 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16138 shlibpath_var=LD_LIBRARY_PATH
16139 shlibpath_overrides_runpath=yes
16140 if test "$with_gnu_ld" = yes; then
16141 need_lib_prefix=no
16142 fi
16143 need_version=yes
16144 ;;
16145
16146 sysv4 | sysv4.3*)
16147 version_type=linux
16148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16149 soname_spec='${libname}${release}${shared_ext}$major'
16150 shlibpath_var=LD_LIBRARY_PATH
16151 case $host_vendor in
16152 sni)
16153 shlibpath_overrides_runpath=no
16154 need_lib_prefix=no
16155 runpath_var=LD_RUN_PATH
16156 ;;
16157 siemens)
16158 need_lib_prefix=no
16159 ;;
16160 motorola)
16161 need_lib_prefix=no
16162 need_version=no
16163 shlibpath_overrides_runpath=no
16164 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16165 ;;
16166 esac
16167 ;;
16168
16169 sysv4*MP*)
16170 if test -d /usr/nec ;then
16171 version_type=linux
16172 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16173 soname_spec='$libname${shared_ext}.$major'
16174 shlibpath_var=LD_LIBRARY_PATH
16175 fi
16176 ;;
16177
16178 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16179 version_type=freebsd-elf
16180 need_lib_prefix=no
16181 need_version=no
16182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16183 soname_spec='${libname}${release}${shared_ext}$major'
16184 shlibpath_var=LD_LIBRARY_PATH
16185 shlibpath_overrides_runpath=yes
16186 hardcode_into_libs=yes
16187 if test "$with_gnu_ld" = yes; then
16188 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16189 else
16190 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16191 case $host_os in
16192 sco3.2v5*)
16193 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16194 ;;
16195 esac
16196 fi
16197 sys_lib_dlsearch_path_spec='/usr/lib'
16198 ;;
16199
16200 tpf*)
16201 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16202 version_type=linux
16203 need_lib_prefix=no
16204 need_version=no
16205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16206 shlibpath_var=LD_LIBRARY_PATH
16207 shlibpath_overrides_runpath=no
16208 hardcode_into_libs=yes
16209 ;;
16210
16211 uts4*)
16212 version_type=linux
16213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16214 soname_spec='${libname}${release}${shared_ext}$major'
16215 shlibpath_var=LD_LIBRARY_PATH
16216 ;;
16217
16218 # Shared libraries for VwWorks, >= 7 only at this stage
16219 # and (fpic) still incompatible with "large" code models
16220 # in a few configurations. Only for RTP mode in any case,
16221 # and upon explicit request at configure time.
16222 vxworks7*)
16223 dynamic_linker=no
16224 case ${with_multisubdir}-${enable_shared} in
16225 *large*)
16226 ;;
16227 *mrtp*-yes)
16228 version_type=linux
16229 need_lib_prefix=no
16230 need_version=no
16231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16232 soname_spec='${libname}${release}${shared_ext}$major'
16233 dynamic_linker="$host_os module_loader"
16234 ;;
16235 esac
16236 ;;
16237 *)
16238 dynamic_linker=no
16239 ;;
16240 esac
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16242 $as_echo "$dynamic_linker" >&6; }
16243 test "$dynamic_linker" = no && can_build_shared=no
16244
16245 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16246 if test "$GCC" = yes; then
16247 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16248 fi
16249
16250 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16251 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16252 fi
16253 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16254 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16255 fi
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16295 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16296 hardcode_action_FC=
16297 if test -n "$hardcode_libdir_flag_spec_FC" ||
16298 test -n "$runpath_var_FC" ||
16299 test "X$hardcode_automatic_FC" = "Xyes" ; then
16300
16301 # We can hardcode non-existent directories.
16302 if test "$hardcode_direct_FC" != no &&
16303 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16304 # have to relink, otherwise we might link with an installed library
16305 # when we should be linking with a yet-to-be-installed one
16306 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16307 test "$hardcode_minus_L_FC" != no; then
16308 # Linking always hardcodes the temporary library directory.
16309 hardcode_action_FC=relink
16310 else
16311 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16312 hardcode_action_FC=immediate
16313 fi
16314 else
16315 # We cannot hardcode anything, or else we can only hardcode existing
16316 # directories.
16317 hardcode_action_FC=unsupported
16318 fi
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16320 $as_echo "$hardcode_action_FC" >&6; }
16321
16322 if test "$hardcode_action_FC" = relink ||
16323 test "$inherit_rpath_FC" = yes; then
16324 # Fast installation is not supported
16325 enable_fast_install=no
16326 elif test "$shlibpath_overrides_runpath" = yes ||
16327 test "$enable_shared" = no; then
16328 # Fast installation is not necessary
16329 enable_fast_install=needless
16330 fi
16331
16332
16333
16334
16335
16336
16337
16338 fi # test -n "$compiler"
16339
16340 GCC=$lt_save_GCC
16341 CC="$lt_save_CC"
16342 fi # test "$_lt_disable_FC" != yes
16343
16344 ac_ext=c
16345 ac_cpp='$CPP $CPPFLAGS'
16346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16349
16350
16351
16352 # extra LD Flags which are required for targets
16353 extra_ldflags_libgfortran=
16354 case "${host}" in
16355 *-*-darwin[4567]*)
16356 # Earlier Darwin needs -single_module when linking libgfortran
16357 extra_ldflags_libgfortran=-Wl,-single_module
16358 ;;
16359 esac
16360
16361
16362 # We need a working compiler at that point, otherwise give a clear
16363 # error message and bail out.
16364
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16366 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16367 ac_ext=${ac_fc_srcext-f}
16368 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16369 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16370 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
16371
16372 cat > conftest.$ac_ext <<_ACEOF
16373
16374 program foo
16375 real, parameter :: bar = sin (12.34 / 2.5)
16376 end program foo
16377 _ACEOF
16378 if ac_fn_fc_try_compile "$LINENO"; then :
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16380 $as_echo "yes" >&6; }
16381 else
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16383 $as_echo "no" >&6; }
16384 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16385
16386 fi
16387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16388 ac_ext=c
16389 ac_cpp='$CPP $CPPFLAGS'
16390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16393
16394
16395
16396 # Check whether --enable-largefile was given.
16397 if test "${enable_largefile+set}" = set; then :
16398 enableval=$enable_largefile;
16399 fi
16400
16401 if test "$enable_largefile" != no; then
16402
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16404 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16405 if ${ac_cv_sys_largefile_CC+:} false; then :
16406 $as_echo_n "(cached) " >&6
16407 else
16408 ac_cv_sys_largefile_CC=no
16409 if test "$GCC" != yes; then
16410 ac_save_CC=$CC
16411 while :; do
16412 # IRIX 6.2 and later do not support large files by default,
16413 # so use the C compiler's -n32 option if that helps.
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 #include <sys/types.h>
16417 /* Check that off_t can represent 2**63 - 1 correctly.
16418 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16419 since some C++ compilers masquerading as C compilers
16420 incorrectly reject 9223372036854775807. */
16421 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16422 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16423 && LARGE_OFF_T % 2147483647 == 1)
16424 ? 1 : -1];
16425 int
16426 main ()
16427 {
16428
16429 ;
16430 return 0;
16431 }
16432 _ACEOF
16433 if ac_fn_c_try_compile "$LINENO"; then :
16434 break
16435 fi
16436 rm -f core conftest.err conftest.$ac_objext
16437 CC="$CC -n32"
16438 if ac_fn_c_try_compile "$LINENO"; then :
16439 ac_cv_sys_largefile_CC=' -n32'; break
16440 fi
16441 rm -f core conftest.err conftest.$ac_objext
16442 break
16443 done
16444 CC=$ac_save_CC
16445 rm -f conftest.$ac_ext
16446 fi
16447 fi
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16449 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16450 if test "$ac_cv_sys_largefile_CC" != no; then
16451 CC=$CC$ac_cv_sys_largefile_CC
16452 fi
16453
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16455 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16456 if ${ac_cv_sys_file_offset_bits+:} false; then :
16457 $as_echo_n "(cached) " >&6
16458 else
16459 while :; do
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462 #include <sys/types.h>
16463 /* Check that off_t can represent 2**63 - 1 correctly.
16464 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16465 since some C++ compilers masquerading as C compilers
16466 incorrectly reject 9223372036854775807. */
16467 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16468 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16469 && LARGE_OFF_T % 2147483647 == 1)
16470 ? 1 : -1];
16471 int
16472 main ()
16473 {
16474
16475 ;
16476 return 0;
16477 }
16478 _ACEOF
16479 if ac_fn_c_try_compile "$LINENO"; then :
16480 ac_cv_sys_file_offset_bits=no; break
16481 fi
16482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16485 #define _FILE_OFFSET_BITS 64
16486 #include <sys/types.h>
16487 /* Check that off_t can represent 2**63 - 1 correctly.
16488 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16489 since some C++ compilers masquerading as C compilers
16490 incorrectly reject 9223372036854775807. */
16491 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16492 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16493 && LARGE_OFF_T % 2147483647 == 1)
16494 ? 1 : -1];
16495 int
16496 main ()
16497 {
16498
16499 ;
16500 return 0;
16501 }
16502 _ACEOF
16503 if ac_fn_c_try_compile "$LINENO"; then :
16504 ac_cv_sys_file_offset_bits=64; break
16505 fi
16506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507 ac_cv_sys_file_offset_bits=unknown
16508 break
16509 done
16510 fi
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16512 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16513 case $ac_cv_sys_file_offset_bits in #(
16514 no | unknown) ;;
16515 *)
16516 cat >>confdefs.h <<_ACEOF
16517 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16518 _ACEOF
16519 ;;
16520 esac
16521 rm -rf conftest*
16522 if test $ac_cv_sys_file_offset_bits = unknown; then
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16524 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16525 if ${ac_cv_sys_large_files+:} false; then :
16526 $as_echo_n "(cached) " >&6
16527 else
16528 while :; do
16529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16531 #include <sys/types.h>
16532 /* Check that off_t can represent 2**63 - 1 correctly.
16533 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16534 since some C++ compilers masquerading as C compilers
16535 incorrectly reject 9223372036854775807. */
16536 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16537 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16538 && LARGE_OFF_T % 2147483647 == 1)
16539 ? 1 : -1];
16540 int
16541 main ()
16542 {
16543
16544 ;
16545 return 0;
16546 }
16547 _ACEOF
16548 if ac_fn_c_try_compile "$LINENO"; then :
16549 ac_cv_sys_large_files=no; break
16550 fi
16551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16554 #define _LARGE_FILES 1
16555 #include <sys/types.h>
16556 /* Check that off_t can represent 2**63 - 1 correctly.
16557 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16558 since some C++ compilers masquerading as C compilers
16559 incorrectly reject 9223372036854775807. */
16560 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16561 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16562 && LARGE_OFF_T % 2147483647 == 1)
16563 ? 1 : -1];
16564 int
16565 main ()
16566 {
16567
16568 ;
16569 return 0;
16570 }
16571 _ACEOF
16572 if ac_fn_c_try_compile "$LINENO"; then :
16573 ac_cv_sys_large_files=1; break
16574 fi
16575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16576 ac_cv_sys_large_files=unknown
16577 break
16578 done
16579 fi
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16581 $as_echo "$ac_cv_sys_large_files" >&6; }
16582 case $ac_cv_sys_large_files in #(
16583 no | unknown) ;;
16584 *)
16585 cat >>confdefs.h <<_ACEOF
16586 #define _LARGE_FILES $ac_cv_sys_large_files
16587 _ACEOF
16588 ;;
16589 esac
16590 rm -rf conftest*
16591 fi
16592
16593
16594 fi
16595
16596
16597 # Types
16598 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16599 if test "x$ac_cv_type_off_t" = xyes; then :
16600
16601 else
16602
16603 cat >>confdefs.h <<_ACEOF
16604 #define off_t long int
16605 _ACEOF
16606
16607 fi
16608
16609
16610 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16611 if test "x$ac_cv_type_intptr_t" = xyes; then :
16612
16613 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16614
16615 else
16616 for ac_type in 'int' 'long int' 'long long int'; do
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16619 $ac_includes_default
16620 int
16621 main ()
16622 {
16623 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16624 test_array [0] = 0;
16625 return test_array [0];
16626
16627 ;
16628 return 0;
16629 }
16630 _ACEOF
16631 if ac_fn_c_try_compile "$LINENO"; then :
16632
16633 cat >>confdefs.h <<_ACEOF
16634 #define intptr_t $ac_type
16635 _ACEOF
16636
16637 ac_type=
16638 fi
16639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16640 test -z "$ac_type" && break
16641 done
16642 fi
16643
16644
16645
16646 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16647 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16648
16649 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16650
16651 else
16652 for ac_type in 'unsigned int' 'unsigned long int' \
16653 'unsigned long long int'; do
16654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16656 $ac_includes_default
16657 int
16658 main ()
16659 {
16660 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16661 test_array [0] = 0;
16662 return test_array [0];
16663
16664 ;
16665 return 0;
16666 }
16667 _ACEOF
16668 if ac_fn_c_try_compile "$LINENO"; then :
16669
16670 cat >>confdefs.h <<_ACEOF
16671 #define uintptr_t $ac_type
16672 _ACEOF
16673
16674 ac_type=
16675 fi
16676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16677 test -z "$ac_type" && break
16678 done
16679 fi
16680
16681
16682 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16683 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16684
16685 cat >>confdefs.h <<_ACEOF
16686 #define HAVE_PTRDIFF_T 1
16687 _ACEOF
16688
16689
16690 fi
16691
16692
16693 # check header files (we assume C89 is available, so don't check for that)
16694
16695
16696
16697 for ac_header in $ac_header_list
16698 do :
16699 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16700 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16701 "
16702 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16705 _ACEOF
16706
16707 fi
16708
16709 done
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16750
16751 acx_cv_header_stdint=stddef.h
16752 acx_cv_header_stdint_kind="(already complete)"
16753 for i in stdint.h $inttype_headers; do
16754 unset ac_cv_type_uintptr_t
16755 unset ac_cv_type_uintmax_t
16756 unset ac_cv_type_int_least32_t
16757 unset ac_cv_type_int_fast32_t
16758 unset ac_cv_type_uint64_t
16759 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16760 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16761 #include <$i>
16762 "
16763 if test "x$ac_cv_type_uintmax_t" = xyes; then :
16764 acx_cv_header_stdint=$i
16765 else
16766 continue
16767 fi
16768
16769 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16770 #include <$i>
16771 "
16772 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16773
16774 else
16775 acx_cv_header_stdint_kind="(mostly complete)"
16776 fi
16777
16778 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16779 #include <$i>
16780 "
16781 if test "x$ac_cv_type_int_least32_t" = xyes; then :
16782
16783 else
16784 acx_cv_header_stdint_kind="(mostly complete)"
16785 fi
16786
16787 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16788 #include <$i>
16789 "
16790 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16791
16792 else
16793 acx_cv_header_stdint_kind="(mostly complete)"
16794 fi
16795
16796 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16797 #include <$i>
16798 "
16799 if test "x$ac_cv_type_uint64_t" = xyes; then :
16800
16801 else
16802 acx_cv_header_stdint_kind="(lacks uint64_t)"
16803 fi
16804
16805 break
16806 done
16807 if test "$acx_cv_header_stdint" = stddef.h; then
16808 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16809 for i in stdint.h $inttype_headers; do
16810 unset ac_cv_type_uintptr_t
16811 unset ac_cv_type_uint32_t
16812 unset ac_cv_type_uint64_t
16813 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16814 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16815 #include <$i>
16816 "
16817 if test "x$ac_cv_type_uint32_t" = xyes; then :
16818 acx_cv_header_stdint=$i
16819 else
16820 continue
16821 fi
16822
16823 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16824 #include <$i>
16825 "
16826 if test "x$ac_cv_type_uint64_t" = xyes; then :
16827
16828 fi
16829
16830 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16831 #include <$i>
16832 "
16833 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16834
16835 fi
16836
16837 break
16838 done
16839 fi
16840 if test "$acx_cv_header_stdint" = stddef.h; then
16841 acx_cv_header_stdint_kind="(u_intXX_t style)"
16842 for i in sys/types.h $inttype_headers; do
16843 unset ac_cv_type_u_int32_t
16844 unset ac_cv_type_u_int64_t
16845 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16846 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16847 #include <$i>
16848 "
16849 if test "x$ac_cv_type_u_int32_t" = xyes; then :
16850 acx_cv_header_stdint=$i
16851 else
16852 continue
16853 fi
16854
16855 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16856 #include <$i>
16857 "
16858 if test "x$ac_cv_type_u_int64_t" = xyes; then :
16859
16860 fi
16861
16862 break
16863 done
16864 fi
16865 if test "$acx_cv_header_stdint" = stddef.h; then
16866 acx_cv_header_stdint_kind="(using manual detection)"
16867 fi
16868
16869 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16870 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16871 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16872 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16873 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16874
16875 # ----------------- Summarize what we found so far
16876
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16878 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16879
16880 case `$as_basename -- gstdint.h ||
16881 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16882 Xgstdint.h : 'X\(//\)$' \| \
16883 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16884 $as_echo X/gstdint.h |
16885 sed '/^.*\/\([^/][^/]*\)\/*$/{
16886 s//\1/
16887 q
16888 }
16889 /^X\/\(\/\/\)$/{
16890 s//\1/
16891 q
16892 }
16893 /^X\/\(\/\).*/{
16894 s//\1/
16895 q
16896 }
16897 s/.*/./; q'` in
16898 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16899 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16900 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16901 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16902 *) ;;
16903 esac
16904
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16906 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16907
16908 # ----------------- done included file, check C basic types --------
16909
16910 # Lacking an uintptr_t? Test size of void *
16911 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16912 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16913 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16914 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16915 # This bug is HP SR number 8606223364.
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16917 $as_echo_n "checking size of void *... " >&6; }
16918 if ${ac_cv_sizeof_void_p+:} false; then :
16919 $as_echo_n "(cached) " >&6
16920 else
16921 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16922
16923 else
16924 if test "$ac_cv_type_void_p" = yes; then
16925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16927 as_fn_error 77 "cannot compute sizeof (void *)
16928 See \`config.log' for more details" "$LINENO" 5; }
16929 else
16930 ac_cv_sizeof_void_p=0
16931 fi
16932 fi
16933
16934 fi
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16936 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16937
16938
16939
16940 cat >>confdefs.h <<_ACEOF
16941 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16942 _ACEOF
16943
16944 ;;
16945 esac
16946
16947 # Lacking an uint64_t? Test size of long
16948 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16949 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16950 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16951 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16952 # This bug is HP SR number 8606223364.
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16954 $as_echo_n "checking size of long... " >&6; }
16955 if ${ac_cv_sizeof_long+:} false; then :
16956 $as_echo_n "(cached) " >&6
16957 else
16958 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16959
16960 else
16961 if test "$ac_cv_type_long" = yes; then
16962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16964 as_fn_error 77 "cannot compute sizeof (long)
16965 See \`config.log' for more details" "$LINENO" 5; }
16966 else
16967 ac_cv_sizeof_long=0
16968 fi
16969 fi
16970
16971 fi
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16973 $as_echo "$ac_cv_sizeof_long" >&6; }
16974
16975
16976
16977 cat >>confdefs.h <<_ACEOF
16978 #define SIZEOF_LONG $ac_cv_sizeof_long
16979 _ACEOF
16980
16981 ;;
16982 esac
16983
16984 if test $acx_cv_header_stdint = stddef.h; then
16985 # Lacking a good header? Test size of everything and deduce all types.
16986 # The cast to long int works around a bug in the HP C Compiler
16987 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16988 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16989 # This bug is HP SR number 8606223364.
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16991 $as_echo_n "checking size of int... " >&6; }
16992 if ${ac_cv_sizeof_int+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16996
16997 else
16998 if test "$ac_cv_type_int" = yes; then
16999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17001 as_fn_error 77 "cannot compute sizeof (int)
17002 See \`config.log' for more details" "$LINENO" 5; }
17003 else
17004 ac_cv_sizeof_int=0
17005 fi
17006 fi
17007
17008 fi
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
17010 $as_echo "$ac_cv_sizeof_int" >&6; }
17011
17012
17013
17014 cat >>confdefs.h <<_ACEOF
17015 #define SIZEOF_INT $ac_cv_sizeof_int
17016 _ACEOF
17017
17018
17019 # The cast to long int works around a bug in the HP C Compiler
17020 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17021 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17022 # This bug is HP SR number 8606223364.
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
17024 $as_echo_n "checking size of short... " >&6; }
17025 if ${ac_cv_sizeof_short+:} false; then :
17026 $as_echo_n "(cached) " >&6
17027 else
17028 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
17029
17030 else
17031 if test "$ac_cv_type_short" = yes; then
17032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17034 as_fn_error 77 "cannot compute sizeof (short)
17035 See \`config.log' for more details" "$LINENO" 5; }
17036 else
17037 ac_cv_sizeof_short=0
17038 fi
17039 fi
17040
17041 fi
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
17043 $as_echo "$ac_cv_sizeof_short" >&6; }
17044
17045
17046
17047 cat >>confdefs.h <<_ACEOF
17048 #define SIZEOF_SHORT $ac_cv_sizeof_short
17049 _ACEOF
17050
17051
17052 # The cast to long int works around a bug in the HP C Compiler
17053 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17054 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17055 # This bug is HP SR number 8606223364.
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
17057 $as_echo_n "checking size of char... " >&6; }
17058 if ${ac_cv_sizeof_char+:} false; then :
17059 $as_echo_n "(cached) " >&6
17060 else
17061 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
17062
17063 else
17064 if test "$ac_cv_type_char" = yes; then
17065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17067 as_fn_error 77 "cannot compute sizeof (char)
17068 See \`config.log' for more details" "$LINENO" 5; }
17069 else
17070 ac_cv_sizeof_char=0
17071 fi
17072 fi
17073
17074 fi
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
17076 $as_echo "$ac_cv_sizeof_char" >&6; }
17077
17078
17079
17080 cat >>confdefs.h <<_ACEOF
17081 #define SIZEOF_CHAR $ac_cv_sizeof_char
17082 _ACEOF
17083
17084
17085
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
17087 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
17088 case "$ac_cv_sizeof_char" in
17089 1) acx_cv_type_int8_t=char ;;
17090 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
17091 esac
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
17093 $as_echo "$acx_cv_type_int8_t" >&6; }
17094
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
17096 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
17097 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17098 2:*) acx_cv_type_int16_t=int ;;
17099 *:2) acx_cv_type_int16_t=short ;;
17100 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
17101 esac
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
17103 $as_echo "$acx_cv_type_int16_t" >&6; }
17104
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
17106 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
17107 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17108 4:*) acx_cv_type_int32_t=int ;;
17109 *:4) acx_cv_type_int32_t=long ;;
17110 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
17111 esac
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
17113 $as_echo "$acx_cv_type_int32_t" >&6; }
17114 fi
17115
17116 # These tests are here to make the output prettier
17117
17118 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17119 case "$ac_cv_sizeof_long" in
17120 8) acx_cv_type_int64_t=long ;;
17121 esac
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
17123 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17125 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
17126 fi
17127
17128 # Now we can use the above types
17129
17130 if test "$ac_cv_type_uintptr_t" != yes; then
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
17132 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
17133 case $ac_cv_sizeof_void_p in
17134 2) acx_cv_type_intptr_t=int16_t ;;
17135 4) acx_cv_type_intptr_t=int32_t ;;
17136 8) acx_cv_type_intptr_t=int64_t ;;
17137 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
17138 esac
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
17140 $as_echo "$acx_cv_type_intptr_t" >&6; }
17141 fi
17142
17143 # ----------------- done all checks, emit header -------------
17144 ac_config_commands="$ac_config_commands gstdint.h"
17145
17146
17147
17148
17149 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17150 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
17151
17152 cat >>confdefs.h <<_ACEOF
17153 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17154 _ACEOF
17155
17156
17157 fi
17158 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17159 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17160
17161 cat >>confdefs.h <<_ACEOF
17162 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17163 _ACEOF
17164
17165
17166 fi
17167 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17168 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
17169
17170 cat >>confdefs.h <<_ACEOF
17171 #define HAVE_STRUCT_STAT_ST_RDEV 1
17172 _ACEOF
17173
17174
17175 fi
17176
17177
17178 case "${host}--x${with_newlib}" in
17179 mips*--xyes)
17180 hardwire_newlib=1;;
17181 nvptx*--xyes)
17182 hardwire_newlib=1;;
17183 esac
17184
17185 # Check for library functions.
17186 if test "${hardwire_newlib:-0}" -eq 1; then
17187 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17188 # may not work correctly, because the compiler may not be able to
17189 # link executables.
17190
17191 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17192
17193
17194 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17195
17196
17197 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17198
17199
17200 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17201
17202
17203 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17204
17205
17206 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17207
17208
17209 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17210
17211
17212 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17213
17214
17215 # At some point, we should differentiate between architectures
17216 # like x86, which have long double versions, and alpha/powerpc/etc.,
17217 # which don't. For the time being, punt.
17218 if test x"long_double_math_on_this_cpu" = x"yes"; then
17219
17220 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17221
17222 fi
17223 else
17224
17225
17226
17227 for ac_func in $ac_func_list
17228 do :
17229 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17230 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17231 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17232 cat >>confdefs.h <<_ACEOF
17233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17234 _ACEOF
17235
17236 fi
17237 done
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352 fi
17353
17354 # Check strerror_r, cannot be above as versions with two and three arguments exist
17355
17356 ac_save_CFLAGS="$CFLAGS"
17357 CFLAGS="-Wimplicit-function-declaration -Werror"
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 #define _GNU_SOURCE 1
17361 #include <string.h>
17362 #include <locale.h>
17363 int
17364 main ()
17365 {
17366 char s[128]; strerror_r(5, s, 128);
17367 ;
17368 return 0;
17369 }
17370 _ACEOF
17371 if ac_fn_c_try_compile "$LINENO"; then :
17372
17373 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17374
17375 fi
17376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377 CFLAGS="$ac_save_CFLAGS"
17378
17379 ac_save_CFLAGS="$CFLAGS"
17380 CFLAGS="-Wimplicit-function-declaration -Werror"
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 #define _GNU_SOURCE 1
17384 #include <string.h>
17385 #include <locale.h>
17386 int
17387 main ()
17388 {
17389 char s[128]; strerror_r(5, s);
17390 ;
17391 return 0;
17392 }
17393 _ACEOF
17394 if ac_fn_c_try_compile "$LINENO"; then :
17395
17396 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17397
17398 fi
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17400 CFLAGS="$ac_save_CFLAGS"
17401
17402
17403 # Check for C99 (and other IEEE) math functions
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17405 $as_echo_n "checking for sin in -lm... " >&6; }
17406 if ${ac_cv_lib_m_sin+:} false; then :
17407 $as_echo_n "(cached) " >&6
17408 else
17409 ac_check_lib_save_LIBS=$LIBS
17410 LIBS="-lm $LIBS"
17411 if test x$gcc_no_link = xyes; then
17412 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17413 fi
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416
17417 /* Override any GCC internal prototype to avoid an error.
17418 Use char because int might match the return type of a GCC
17419 builtin and then its argument prototype would still apply. */
17420 #ifdef __cplusplus
17421 extern "C"
17422 #endif
17423 char sin ();
17424 int
17425 main ()
17426 {
17427 return sin ();
17428 ;
17429 return 0;
17430 }
17431 _ACEOF
17432 if ac_fn_c_try_link "$LINENO"; then :
17433 ac_cv_lib_m_sin=yes
17434 else
17435 ac_cv_lib_m_sin=no
17436 fi
17437 rm -f core conftest.err conftest.$ac_objext \
17438 conftest$ac_exeext conftest.$ac_ext
17439 LIBS=$ac_check_lib_save_LIBS
17440 fi
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17442 $as_echo "$ac_cv_lib_m_sin" >&6; }
17443 if test "x$ac_cv_lib_m_sin" = xyes; then :
17444 cat >>confdefs.h <<_ACEOF
17445 #define HAVE_LIBM 1
17446 _ACEOF
17447
17448 LIBS="-lm $LIBS"
17449
17450 fi
17451
17452
17453
17454
17455
17456
17457
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17459 $as_echo_n "checking for acosf... " >&6; }
17460 if ${gcc_cv_math_func_acosf+:} false; then :
17461 $as_echo_n "(cached) " >&6
17462 else
17463 if test x$gcc_no_link = xyes; then
17464 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17465 fi
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17468
17469 #ifdef HAVE_COMPLEX_H
17470 #include <complex.h>
17471 #endif
17472 #ifdef HAVE_MATH_H
17473 #include <math.h>
17474 #endif
17475
17476 int (*ptr)() = (int (*)())acosf;
17477
17478 int
17479 main ()
17480 {
17481 return 0;
17482 }
17483
17484 _ACEOF
17485 if ac_fn_c_try_link "$LINENO"; then :
17486 gcc_cv_math_func_acosf=yes
17487 else
17488 gcc_cv_math_func_acosf=no
17489 fi
17490 rm -f core conftest.err conftest.$ac_objext \
17491 conftest$ac_exeext conftest.$ac_ext
17492 fi
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17494 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17495 if test $gcc_cv_math_func_acosf = yes; then
17496
17497 cat >>confdefs.h <<_ACEOF
17498 #define HAVE_ACOSF 1
17499 _ACEOF
17500
17501 fi
17502
17503
17504
17505
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17507 $as_echo_n "checking for acos... " >&6; }
17508 if ${gcc_cv_math_func_acos+:} false; then :
17509 $as_echo_n "(cached) " >&6
17510 else
17511 if test x$gcc_no_link = xyes; then
17512 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17513 fi
17514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17516
17517 #ifdef HAVE_COMPLEX_H
17518 #include <complex.h>
17519 #endif
17520 #ifdef HAVE_MATH_H
17521 #include <math.h>
17522 #endif
17523
17524 int (*ptr)() = (int (*)())acos;
17525
17526 int
17527 main ()
17528 {
17529 return 0;
17530 }
17531
17532 _ACEOF
17533 if ac_fn_c_try_link "$LINENO"; then :
17534 gcc_cv_math_func_acos=yes
17535 else
17536 gcc_cv_math_func_acos=no
17537 fi
17538 rm -f core conftest.err conftest.$ac_objext \
17539 conftest$ac_exeext conftest.$ac_ext
17540 fi
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17542 $as_echo "$gcc_cv_math_func_acos" >&6; }
17543 if test $gcc_cv_math_func_acos = yes; then
17544
17545 cat >>confdefs.h <<_ACEOF
17546 #define HAVE_ACOS 1
17547 _ACEOF
17548
17549 fi
17550
17551
17552
17553
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17555 $as_echo_n "checking for acosl... " >&6; }
17556 if ${gcc_cv_math_func_acosl+:} false; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559 if test x$gcc_no_link = xyes; then
17560 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17561 fi
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564
17565 #ifdef HAVE_COMPLEX_H
17566 #include <complex.h>
17567 #endif
17568 #ifdef HAVE_MATH_H
17569 #include <math.h>
17570 #endif
17571
17572 int (*ptr)() = (int (*)())acosl;
17573
17574 int
17575 main ()
17576 {
17577 return 0;
17578 }
17579
17580 _ACEOF
17581 if ac_fn_c_try_link "$LINENO"; then :
17582 gcc_cv_math_func_acosl=yes
17583 else
17584 gcc_cv_math_func_acosl=no
17585 fi
17586 rm -f core conftest.err conftest.$ac_objext \
17587 conftest$ac_exeext conftest.$ac_ext
17588 fi
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17590 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17591 if test $gcc_cv_math_func_acosl = yes; then
17592
17593 cat >>confdefs.h <<_ACEOF
17594 #define HAVE_ACOSL 1
17595 _ACEOF
17596
17597 fi
17598
17599
17600
17601
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17603 $as_echo_n "checking for acoshf... " >&6; }
17604 if ${gcc_cv_math_func_acoshf+:} false; then :
17605 $as_echo_n "(cached) " >&6
17606 else
17607 if test x$gcc_no_link = xyes; then
17608 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17609 fi
17610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17612
17613 #ifdef HAVE_COMPLEX_H
17614 #include <complex.h>
17615 #endif
17616 #ifdef HAVE_MATH_H
17617 #include <math.h>
17618 #endif
17619
17620 int (*ptr)() = (int (*)())acoshf;
17621
17622 int
17623 main ()
17624 {
17625 return 0;
17626 }
17627
17628 _ACEOF
17629 if ac_fn_c_try_link "$LINENO"; then :
17630 gcc_cv_math_func_acoshf=yes
17631 else
17632 gcc_cv_math_func_acoshf=no
17633 fi
17634 rm -f core conftest.err conftest.$ac_objext \
17635 conftest$ac_exeext conftest.$ac_ext
17636 fi
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17638 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17639 if test $gcc_cv_math_func_acoshf = yes; then
17640
17641 cat >>confdefs.h <<_ACEOF
17642 #define HAVE_ACOSHF 1
17643 _ACEOF
17644
17645 fi
17646
17647
17648
17649
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17651 $as_echo_n "checking for acosh... " >&6; }
17652 if ${gcc_cv_math_func_acosh+:} false; then :
17653 $as_echo_n "(cached) " >&6
17654 else
17655 if test x$gcc_no_link = xyes; then
17656 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17657 fi
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17660
17661 #ifdef HAVE_COMPLEX_H
17662 #include <complex.h>
17663 #endif
17664 #ifdef HAVE_MATH_H
17665 #include <math.h>
17666 #endif
17667
17668 int (*ptr)() = (int (*)())acosh;
17669
17670 int
17671 main ()
17672 {
17673 return 0;
17674 }
17675
17676 _ACEOF
17677 if ac_fn_c_try_link "$LINENO"; then :
17678 gcc_cv_math_func_acosh=yes
17679 else
17680 gcc_cv_math_func_acosh=no
17681 fi
17682 rm -f core conftest.err conftest.$ac_objext \
17683 conftest$ac_exeext conftest.$ac_ext
17684 fi
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17686 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17687 if test $gcc_cv_math_func_acosh = yes; then
17688
17689 cat >>confdefs.h <<_ACEOF
17690 #define HAVE_ACOSH 1
17691 _ACEOF
17692
17693 fi
17694
17695
17696
17697
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17699 $as_echo_n "checking for acoshl... " >&6; }
17700 if ${gcc_cv_math_func_acoshl+:} false; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17703 if test x$gcc_no_link = xyes; then
17704 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17705 fi
17706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17708
17709 #ifdef HAVE_COMPLEX_H
17710 #include <complex.h>
17711 #endif
17712 #ifdef HAVE_MATH_H
17713 #include <math.h>
17714 #endif
17715
17716 int (*ptr)() = (int (*)())acoshl;
17717
17718 int
17719 main ()
17720 {
17721 return 0;
17722 }
17723
17724 _ACEOF
17725 if ac_fn_c_try_link "$LINENO"; then :
17726 gcc_cv_math_func_acoshl=yes
17727 else
17728 gcc_cv_math_func_acoshl=no
17729 fi
17730 rm -f core conftest.err conftest.$ac_objext \
17731 conftest$ac_exeext conftest.$ac_ext
17732 fi
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17734 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17735 if test $gcc_cv_math_func_acoshl = yes; then
17736
17737 cat >>confdefs.h <<_ACEOF
17738 #define HAVE_ACOSHL 1
17739 _ACEOF
17740
17741 fi
17742
17743
17744
17745
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17747 $as_echo_n "checking for asinf... " >&6; }
17748 if ${gcc_cv_math_func_asinf+:} false; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17751 if test x$gcc_no_link = xyes; then
17752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17753 fi
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17756
17757 #ifdef HAVE_COMPLEX_H
17758 #include <complex.h>
17759 #endif
17760 #ifdef HAVE_MATH_H
17761 #include <math.h>
17762 #endif
17763
17764 int (*ptr)() = (int (*)())asinf;
17765
17766 int
17767 main ()
17768 {
17769 return 0;
17770 }
17771
17772 _ACEOF
17773 if ac_fn_c_try_link "$LINENO"; then :
17774 gcc_cv_math_func_asinf=yes
17775 else
17776 gcc_cv_math_func_asinf=no
17777 fi
17778 rm -f core conftest.err conftest.$ac_objext \
17779 conftest$ac_exeext conftest.$ac_ext
17780 fi
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17782 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17783 if test $gcc_cv_math_func_asinf = yes; then
17784
17785 cat >>confdefs.h <<_ACEOF
17786 #define HAVE_ASINF 1
17787 _ACEOF
17788
17789 fi
17790
17791
17792
17793
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17795 $as_echo_n "checking for asin... " >&6; }
17796 if ${gcc_cv_math_func_asin+:} false; then :
17797 $as_echo_n "(cached) " >&6
17798 else
17799 if test x$gcc_no_link = xyes; then
17800 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17801 fi
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17804
17805 #ifdef HAVE_COMPLEX_H
17806 #include <complex.h>
17807 #endif
17808 #ifdef HAVE_MATH_H
17809 #include <math.h>
17810 #endif
17811
17812 int (*ptr)() = (int (*)())asin;
17813
17814 int
17815 main ()
17816 {
17817 return 0;
17818 }
17819
17820 _ACEOF
17821 if ac_fn_c_try_link "$LINENO"; then :
17822 gcc_cv_math_func_asin=yes
17823 else
17824 gcc_cv_math_func_asin=no
17825 fi
17826 rm -f core conftest.err conftest.$ac_objext \
17827 conftest$ac_exeext conftest.$ac_ext
17828 fi
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17830 $as_echo "$gcc_cv_math_func_asin" >&6; }
17831 if test $gcc_cv_math_func_asin = yes; then
17832
17833 cat >>confdefs.h <<_ACEOF
17834 #define HAVE_ASIN 1
17835 _ACEOF
17836
17837 fi
17838
17839
17840
17841
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17843 $as_echo_n "checking for asinl... " >&6; }
17844 if ${gcc_cv_math_func_asinl+:} false; then :
17845 $as_echo_n "(cached) " >&6
17846 else
17847 if test x$gcc_no_link = xyes; then
17848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17849 fi
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17852
17853 #ifdef HAVE_COMPLEX_H
17854 #include <complex.h>
17855 #endif
17856 #ifdef HAVE_MATH_H
17857 #include <math.h>
17858 #endif
17859
17860 int (*ptr)() = (int (*)())asinl;
17861
17862 int
17863 main ()
17864 {
17865 return 0;
17866 }
17867
17868 _ACEOF
17869 if ac_fn_c_try_link "$LINENO"; then :
17870 gcc_cv_math_func_asinl=yes
17871 else
17872 gcc_cv_math_func_asinl=no
17873 fi
17874 rm -f core conftest.err conftest.$ac_objext \
17875 conftest$ac_exeext conftest.$ac_ext
17876 fi
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17878 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17879 if test $gcc_cv_math_func_asinl = yes; then
17880
17881 cat >>confdefs.h <<_ACEOF
17882 #define HAVE_ASINL 1
17883 _ACEOF
17884
17885 fi
17886
17887
17888
17889
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17891 $as_echo_n "checking for asinhf... " >&6; }
17892 if ${gcc_cv_math_func_asinhf+:} false; then :
17893 $as_echo_n "(cached) " >&6
17894 else
17895 if test x$gcc_no_link = xyes; then
17896 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17897 fi
17898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17899 /* end confdefs.h. */
17900
17901 #ifdef HAVE_COMPLEX_H
17902 #include <complex.h>
17903 #endif
17904 #ifdef HAVE_MATH_H
17905 #include <math.h>
17906 #endif
17907
17908 int (*ptr)() = (int (*)())asinhf;
17909
17910 int
17911 main ()
17912 {
17913 return 0;
17914 }
17915
17916 _ACEOF
17917 if ac_fn_c_try_link "$LINENO"; then :
17918 gcc_cv_math_func_asinhf=yes
17919 else
17920 gcc_cv_math_func_asinhf=no
17921 fi
17922 rm -f core conftest.err conftest.$ac_objext \
17923 conftest$ac_exeext conftest.$ac_ext
17924 fi
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17926 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17927 if test $gcc_cv_math_func_asinhf = yes; then
17928
17929 cat >>confdefs.h <<_ACEOF
17930 #define HAVE_ASINHF 1
17931 _ACEOF
17932
17933 fi
17934
17935
17936
17937
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17939 $as_echo_n "checking for asinh... " >&6; }
17940 if ${gcc_cv_math_func_asinh+:} false; then :
17941 $as_echo_n "(cached) " >&6
17942 else
17943 if test x$gcc_no_link = xyes; then
17944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17945 fi
17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17948
17949 #ifdef HAVE_COMPLEX_H
17950 #include <complex.h>
17951 #endif
17952 #ifdef HAVE_MATH_H
17953 #include <math.h>
17954 #endif
17955
17956 int (*ptr)() = (int (*)())asinh;
17957
17958 int
17959 main ()
17960 {
17961 return 0;
17962 }
17963
17964 _ACEOF
17965 if ac_fn_c_try_link "$LINENO"; then :
17966 gcc_cv_math_func_asinh=yes
17967 else
17968 gcc_cv_math_func_asinh=no
17969 fi
17970 rm -f core conftest.err conftest.$ac_objext \
17971 conftest$ac_exeext conftest.$ac_ext
17972 fi
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17974 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17975 if test $gcc_cv_math_func_asinh = yes; then
17976
17977 cat >>confdefs.h <<_ACEOF
17978 #define HAVE_ASINH 1
17979 _ACEOF
17980
17981 fi
17982
17983
17984
17985
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17987 $as_echo_n "checking for asinhl... " >&6; }
17988 if ${gcc_cv_math_func_asinhl+:} false; then :
17989 $as_echo_n "(cached) " >&6
17990 else
17991 if test x$gcc_no_link = xyes; then
17992 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17993 fi
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17996
17997 #ifdef HAVE_COMPLEX_H
17998 #include <complex.h>
17999 #endif
18000 #ifdef HAVE_MATH_H
18001 #include <math.h>
18002 #endif
18003
18004 int (*ptr)() = (int (*)())asinhl;
18005
18006 int
18007 main ()
18008 {
18009 return 0;
18010 }
18011
18012 _ACEOF
18013 if ac_fn_c_try_link "$LINENO"; then :
18014 gcc_cv_math_func_asinhl=yes
18015 else
18016 gcc_cv_math_func_asinhl=no
18017 fi
18018 rm -f core conftest.err conftest.$ac_objext \
18019 conftest$ac_exeext conftest.$ac_ext
18020 fi
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
18022 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
18023 if test $gcc_cv_math_func_asinhl = yes; then
18024
18025 cat >>confdefs.h <<_ACEOF
18026 #define HAVE_ASINHL 1
18027 _ACEOF
18028
18029 fi
18030
18031
18032
18033
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
18035 $as_echo_n "checking for atan2f... " >&6; }
18036 if ${gcc_cv_math_func_atan2f+:} false; then :
18037 $as_echo_n "(cached) " >&6
18038 else
18039 if test x$gcc_no_link = xyes; then
18040 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18041 fi
18042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18044
18045 #ifdef HAVE_COMPLEX_H
18046 #include <complex.h>
18047 #endif
18048 #ifdef HAVE_MATH_H
18049 #include <math.h>
18050 #endif
18051
18052 int (*ptr)() = (int (*)())atan2f;
18053
18054 int
18055 main ()
18056 {
18057 return 0;
18058 }
18059
18060 _ACEOF
18061 if ac_fn_c_try_link "$LINENO"; then :
18062 gcc_cv_math_func_atan2f=yes
18063 else
18064 gcc_cv_math_func_atan2f=no
18065 fi
18066 rm -f core conftest.err conftest.$ac_objext \
18067 conftest$ac_exeext conftest.$ac_ext
18068 fi
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
18070 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
18071 if test $gcc_cv_math_func_atan2f = yes; then
18072
18073 cat >>confdefs.h <<_ACEOF
18074 #define HAVE_ATAN2F 1
18075 _ACEOF
18076
18077 fi
18078
18079
18080
18081
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
18083 $as_echo_n "checking for atan2... " >&6; }
18084 if ${gcc_cv_math_func_atan2+:} false; then :
18085 $as_echo_n "(cached) " >&6
18086 else
18087 if test x$gcc_no_link = xyes; then
18088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18089 fi
18090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18092
18093 #ifdef HAVE_COMPLEX_H
18094 #include <complex.h>
18095 #endif
18096 #ifdef HAVE_MATH_H
18097 #include <math.h>
18098 #endif
18099
18100 int (*ptr)() = (int (*)())atan2;
18101
18102 int
18103 main ()
18104 {
18105 return 0;
18106 }
18107
18108 _ACEOF
18109 if ac_fn_c_try_link "$LINENO"; then :
18110 gcc_cv_math_func_atan2=yes
18111 else
18112 gcc_cv_math_func_atan2=no
18113 fi
18114 rm -f core conftest.err conftest.$ac_objext \
18115 conftest$ac_exeext conftest.$ac_ext
18116 fi
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
18118 $as_echo "$gcc_cv_math_func_atan2" >&6; }
18119 if test $gcc_cv_math_func_atan2 = yes; then
18120
18121 cat >>confdefs.h <<_ACEOF
18122 #define HAVE_ATAN2 1
18123 _ACEOF
18124
18125 fi
18126
18127
18128
18129
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
18131 $as_echo_n "checking for atan2l... " >&6; }
18132 if ${gcc_cv_math_func_atan2l+:} false; then :
18133 $as_echo_n "(cached) " >&6
18134 else
18135 if test x$gcc_no_link = xyes; then
18136 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18137 fi
18138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18139 /* end confdefs.h. */
18140
18141 #ifdef HAVE_COMPLEX_H
18142 #include <complex.h>
18143 #endif
18144 #ifdef HAVE_MATH_H
18145 #include <math.h>
18146 #endif
18147
18148 int (*ptr)() = (int (*)())atan2l;
18149
18150 int
18151 main ()
18152 {
18153 return 0;
18154 }
18155
18156 _ACEOF
18157 if ac_fn_c_try_link "$LINENO"; then :
18158 gcc_cv_math_func_atan2l=yes
18159 else
18160 gcc_cv_math_func_atan2l=no
18161 fi
18162 rm -f core conftest.err conftest.$ac_objext \
18163 conftest$ac_exeext conftest.$ac_ext
18164 fi
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18166 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18167 if test $gcc_cv_math_func_atan2l = yes; then
18168
18169 cat >>confdefs.h <<_ACEOF
18170 #define HAVE_ATAN2L 1
18171 _ACEOF
18172
18173 fi
18174
18175
18176
18177
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18179 $as_echo_n "checking for atanf... " >&6; }
18180 if ${gcc_cv_math_func_atanf+:} false; then :
18181 $as_echo_n "(cached) " >&6
18182 else
18183 if test x$gcc_no_link = xyes; then
18184 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18185 fi
18186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18187 /* end confdefs.h. */
18188
18189 #ifdef HAVE_COMPLEX_H
18190 #include <complex.h>
18191 #endif
18192 #ifdef HAVE_MATH_H
18193 #include <math.h>
18194 #endif
18195
18196 int (*ptr)() = (int (*)())atanf;
18197
18198 int
18199 main ()
18200 {
18201 return 0;
18202 }
18203
18204 _ACEOF
18205 if ac_fn_c_try_link "$LINENO"; then :
18206 gcc_cv_math_func_atanf=yes
18207 else
18208 gcc_cv_math_func_atanf=no
18209 fi
18210 rm -f core conftest.err conftest.$ac_objext \
18211 conftest$ac_exeext conftest.$ac_ext
18212 fi
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18214 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18215 if test $gcc_cv_math_func_atanf = yes; then
18216
18217 cat >>confdefs.h <<_ACEOF
18218 #define HAVE_ATANF 1
18219 _ACEOF
18220
18221 fi
18222
18223
18224
18225
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18227 $as_echo_n "checking for atan... " >&6; }
18228 if ${gcc_cv_math_func_atan+:} false; then :
18229 $as_echo_n "(cached) " >&6
18230 else
18231 if test x$gcc_no_link = xyes; then
18232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18233 fi
18234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18235 /* end confdefs.h. */
18236
18237 #ifdef HAVE_COMPLEX_H
18238 #include <complex.h>
18239 #endif
18240 #ifdef HAVE_MATH_H
18241 #include <math.h>
18242 #endif
18243
18244 int (*ptr)() = (int (*)())atan;
18245
18246 int
18247 main ()
18248 {
18249 return 0;
18250 }
18251
18252 _ACEOF
18253 if ac_fn_c_try_link "$LINENO"; then :
18254 gcc_cv_math_func_atan=yes
18255 else
18256 gcc_cv_math_func_atan=no
18257 fi
18258 rm -f core conftest.err conftest.$ac_objext \
18259 conftest$ac_exeext conftest.$ac_ext
18260 fi
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18262 $as_echo "$gcc_cv_math_func_atan" >&6; }
18263 if test $gcc_cv_math_func_atan = yes; then
18264
18265 cat >>confdefs.h <<_ACEOF
18266 #define HAVE_ATAN 1
18267 _ACEOF
18268
18269 fi
18270
18271
18272
18273
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18275 $as_echo_n "checking for atanl... " >&6; }
18276 if ${gcc_cv_math_func_atanl+:} false; then :
18277 $as_echo_n "(cached) " >&6
18278 else
18279 if test x$gcc_no_link = xyes; then
18280 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18281 fi
18282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h. */
18284
18285 #ifdef HAVE_COMPLEX_H
18286 #include <complex.h>
18287 #endif
18288 #ifdef HAVE_MATH_H
18289 #include <math.h>
18290 #endif
18291
18292 int (*ptr)() = (int (*)())atanl;
18293
18294 int
18295 main ()
18296 {
18297 return 0;
18298 }
18299
18300 _ACEOF
18301 if ac_fn_c_try_link "$LINENO"; then :
18302 gcc_cv_math_func_atanl=yes
18303 else
18304 gcc_cv_math_func_atanl=no
18305 fi
18306 rm -f core conftest.err conftest.$ac_objext \
18307 conftest$ac_exeext conftest.$ac_ext
18308 fi
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18310 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18311 if test $gcc_cv_math_func_atanl = yes; then
18312
18313 cat >>confdefs.h <<_ACEOF
18314 #define HAVE_ATANL 1
18315 _ACEOF
18316
18317 fi
18318
18319
18320
18321
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18323 $as_echo_n "checking for atanhf... " >&6; }
18324 if ${gcc_cv_math_func_atanhf+:} false; then :
18325 $as_echo_n "(cached) " >&6
18326 else
18327 if test x$gcc_no_link = xyes; then
18328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18329 fi
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18332
18333 #ifdef HAVE_COMPLEX_H
18334 #include <complex.h>
18335 #endif
18336 #ifdef HAVE_MATH_H
18337 #include <math.h>
18338 #endif
18339
18340 int (*ptr)() = (int (*)())atanhf;
18341
18342 int
18343 main ()
18344 {
18345 return 0;
18346 }
18347
18348 _ACEOF
18349 if ac_fn_c_try_link "$LINENO"; then :
18350 gcc_cv_math_func_atanhf=yes
18351 else
18352 gcc_cv_math_func_atanhf=no
18353 fi
18354 rm -f core conftest.err conftest.$ac_objext \
18355 conftest$ac_exeext conftest.$ac_ext
18356 fi
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18358 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18359 if test $gcc_cv_math_func_atanhf = yes; then
18360
18361 cat >>confdefs.h <<_ACEOF
18362 #define HAVE_ATANHF 1
18363 _ACEOF
18364
18365 fi
18366
18367
18368
18369
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18371 $as_echo_n "checking for atanh... " >&6; }
18372 if ${gcc_cv_math_func_atanh+:} false; then :
18373 $as_echo_n "(cached) " >&6
18374 else
18375 if test x$gcc_no_link = xyes; then
18376 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18377 fi
18378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18380
18381 #ifdef HAVE_COMPLEX_H
18382 #include <complex.h>
18383 #endif
18384 #ifdef HAVE_MATH_H
18385 #include <math.h>
18386 #endif
18387
18388 int (*ptr)() = (int (*)())atanh;
18389
18390 int
18391 main ()
18392 {
18393 return 0;
18394 }
18395
18396 _ACEOF
18397 if ac_fn_c_try_link "$LINENO"; then :
18398 gcc_cv_math_func_atanh=yes
18399 else
18400 gcc_cv_math_func_atanh=no
18401 fi
18402 rm -f core conftest.err conftest.$ac_objext \
18403 conftest$ac_exeext conftest.$ac_ext
18404 fi
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18406 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18407 if test $gcc_cv_math_func_atanh = yes; then
18408
18409 cat >>confdefs.h <<_ACEOF
18410 #define HAVE_ATANH 1
18411 _ACEOF
18412
18413 fi
18414
18415
18416
18417
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18419 $as_echo_n "checking for atanhl... " >&6; }
18420 if ${gcc_cv_math_func_atanhl+:} false; then :
18421 $as_echo_n "(cached) " >&6
18422 else
18423 if test x$gcc_no_link = xyes; then
18424 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18425 fi
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18428
18429 #ifdef HAVE_COMPLEX_H
18430 #include <complex.h>
18431 #endif
18432 #ifdef HAVE_MATH_H
18433 #include <math.h>
18434 #endif
18435
18436 int (*ptr)() = (int (*)())atanhl;
18437
18438 int
18439 main ()
18440 {
18441 return 0;
18442 }
18443
18444 _ACEOF
18445 if ac_fn_c_try_link "$LINENO"; then :
18446 gcc_cv_math_func_atanhl=yes
18447 else
18448 gcc_cv_math_func_atanhl=no
18449 fi
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18452 fi
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18454 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18455 if test $gcc_cv_math_func_atanhl = yes; then
18456
18457 cat >>confdefs.h <<_ACEOF
18458 #define HAVE_ATANHL 1
18459 _ACEOF
18460
18461 fi
18462
18463
18464
18465
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18467 $as_echo_n "checking for cargf... " >&6; }
18468 if ${gcc_cv_math_func_cargf+:} false; then :
18469 $as_echo_n "(cached) " >&6
18470 else
18471 if test x$gcc_no_link = xyes; then
18472 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18473 fi
18474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h. */
18476
18477 #ifdef HAVE_COMPLEX_H
18478 #include <complex.h>
18479 #endif
18480 #ifdef HAVE_MATH_H
18481 #include <math.h>
18482 #endif
18483
18484 int (*ptr)() = (int (*)())cargf;
18485
18486 int
18487 main ()
18488 {
18489 return 0;
18490 }
18491
18492 _ACEOF
18493 if ac_fn_c_try_link "$LINENO"; then :
18494 gcc_cv_math_func_cargf=yes
18495 else
18496 gcc_cv_math_func_cargf=no
18497 fi
18498 rm -f core conftest.err conftest.$ac_objext \
18499 conftest$ac_exeext conftest.$ac_ext
18500 fi
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18502 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18503 if test $gcc_cv_math_func_cargf = yes; then
18504
18505 cat >>confdefs.h <<_ACEOF
18506 #define HAVE_CARGF 1
18507 _ACEOF
18508
18509 fi
18510
18511
18512
18513
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18515 $as_echo_n "checking for carg... " >&6; }
18516 if ${gcc_cv_math_func_carg+:} false; then :
18517 $as_echo_n "(cached) " >&6
18518 else
18519 if test x$gcc_no_link = xyes; then
18520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18521 fi
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18524
18525 #ifdef HAVE_COMPLEX_H
18526 #include <complex.h>
18527 #endif
18528 #ifdef HAVE_MATH_H
18529 #include <math.h>
18530 #endif
18531
18532 int (*ptr)() = (int (*)())carg;
18533
18534 int
18535 main ()
18536 {
18537 return 0;
18538 }
18539
18540 _ACEOF
18541 if ac_fn_c_try_link "$LINENO"; then :
18542 gcc_cv_math_func_carg=yes
18543 else
18544 gcc_cv_math_func_carg=no
18545 fi
18546 rm -f core conftest.err conftest.$ac_objext \
18547 conftest$ac_exeext conftest.$ac_ext
18548 fi
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18550 $as_echo "$gcc_cv_math_func_carg" >&6; }
18551 if test $gcc_cv_math_func_carg = yes; then
18552
18553 cat >>confdefs.h <<_ACEOF
18554 #define HAVE_CARG 1
18555 _ACEOF
18556
18557 fi
18558
18559
18560
18561
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18563 $as_echo_n "checking for cargl... " >&6; }
18564 if ${gcc_cv_math_func_cargl+:} false; then :
18565 $as_echo_n "(cached) " >&6
18566 else
18567 if test x$gcc_no_link = xyes; then
18568 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18569 fi
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18572
18573 #ifdef HAVE_COMPLEX_H
18574 #include <complex.h>
18575 #endif
18576 #ifdef HAVE_MATH_H
18577 #include <math.h>
18578 #endif
18579
18580 int (*ptr)() = (int (*)())cargl;
18581
18582 int
18583 main ()
18584 {
18585 return 0;
18586 }
18587
18588 _ACEOF
18589 if ac_fn_c_try_link "$LINENO"; then :
18590 gcc_cv_math_func_cargl=yes
18591 else
18592 gcc_cv_math_func_cargl=no
18593 fi
18594 rm -f core conftest.err conftest.$ac_objext \
18595 conftest$ac_exeext conftest.$ac_ext
18596 fi
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18598 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18599 if test $gcc_cv_math_func_cargl = yes; then
18600
18601 cat >>confdefs.h <<_ACEOF
18602 #define HAVE_CARGL 1
18603 _ACEOF
18604
18605 fi
18606
18607
18608
18609
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18611 $as_echo_n "checking for ceilf... " >&6; }
18612 if ${gcc_cv_math_func_ceilf+:} false; then :
18613 $as_echo_n "(cached) " >&6
18614 else
18615 if test x$gcc_no_link = xyes; then
18616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18617 fi
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620
18621 #ifdef HAVE_COMPLEX_H
18622 #include <complex.h>
18623 #endif
18624 #ifdef HAVE_MATH_H
18625 #include <math.h>
18626 #endif
18627
18628 int (*ptr)() = (int (*)())ceilf;
18629
18630 int
18631 main ()
18632 {
18633 return 0;
18634 }
18635
18636 _ACEOF
18637 if ac_fn_c_try_link "$LINENO"; then :
18638 gcc_cv_math_func_ceilf=yes
18639 else
18640 gcc_cv_math_func_ceilf=no
18641 fi
18642 rm -f core conftest.err conftest.$ac_objext \
18643 conftest$ac_exeext conftest.$ac_ext
18644 fi
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18646 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18647 if test $gcc_cv_math_func_ceilf = yes; then
18648
18649 cat >>confdefs.h <<_ACEOF
18650 #define HAVE_CEILF 1
18651 _ACEOF
18652
18653 fi
18654
18655
18656
18657
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18659 $as_echo_n "checking for ceil... " >&6; }
18660 if ${gcc_cv_math_func_ceil+:} false; then :
18661 $as_echo_n "(cached) " >&6
18662 else
18663 if test x$gcc_no_link = xyes; then
18664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18665 fi
18666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18668
18669 #ifdef HAVE_COMPLEX_H
18670 #include <complex.h>
18671 #endif
18672 #ifdef HAVE_MATH_H
18673 #include <math.h>
18674 #endif
18675
18676 int (*ptr)() = (int (*)())ceil;
18677
18678 int
18679 main ()
18680 {
18681 return 0;
18682 }
18683
18684 _ACEOF
18685 if ac_fn_c_try_link "$LINENO"; then :
18686 gcc_cv_math_func_ceil=yes
18687 else
18688 gcc_cv_math_func_ceil=no
18689 fi
18690 rm -f core conftest.err conftest.$ac_objext \
18691 conftest$ac_exeext conftest.$ac_ext
18692 fi
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18694 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18695 if test $gcc_cv_math_func_ceil = yes; then
18696
18697 cat >>confdefs.h <<_ACEOF
18698 #define HAVE_CEIL 1
18699 _ACEOF
18700
18701 fi
18702
18703
18704
18705
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18707 $as_echo_n "checking for ceill... " >&6; }
18708 if ${gcc_cv_math_func_ceill+:} false; then :
18709 $as_echo_n "(cached) " >&6
18710 else
18711 if test x$gcc_no_link = xyes; then
18712 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18713 fi
18714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18715 /* end confdefs.h. */
18716
18717 #ifdef HAVE_COMPLEX_H
18718 #include <complex.h>
18719 #endif
18720 #ifdef HAVE_MATH_H
18721 #include <math.h>
18722 #endif
18723
18724 int (*ptr)() = (int (*)())ceill;
18725
18726 int
18727 main ()
18728 {
18729 return 0;
18730 }
18731
18732 _ACEOF
18733 if ac_fn_c_try_link "$LINENO"; then :
18734 gcc_cv_math_func_ceill=yes
18735 else
18736 gcc_cv_math_func_ceill=no
18737 fi
18738 rm -f core conftest.err conftest.$ac_objext \
18739 conftest$ac_exeext conftest.$ac_ext
18740 fi
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18742 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18743 if test $gcc_cv_math_func_ceill = yes; then
18744
18745 cat >>confdefs.h <<_ACEOF
18746 #define HAVE_CEILL 1
18747 _ACEOF
18748
18749 fi
18750
18751
18752
18753
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18755 $as_echo_n "checking for copysignf... " >&6; }
18756 if ${gcc_cv_math_func_copysignf+:} false; then :
18757 $as_echo_n "(cached) " >&6
18758 else
18759 if test x$gcc_no_link = xyes; then
18760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18761 fi
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18764
18765 #ifdef HAVE_COMPLEX_H
18766 #include <complex.h>
18767 #endif
18768 #ifdef HAVE_MATH_H
18769 #include <math.h>
18770 #endif
18771
18772 int (*ptr)() = (int (*)())copysignf;
18773
18774 int
18775 main ()
18776 {
18777 return 0;
18778 }
18779
18780 _ACEOF
18781 if ac_fn_c_try_link "$LINENO"; then :
18782 gcc_cv_math_func_copysignf=yes
18783 else
18784 gcc_cv_math_func_copysignf=no
18785 fi
18786 rm -f core conftest.err conftest.$ac_objext \
18787 conftest$ac_exeext conftest.$ac_ext
18788 fi
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18790 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18791 if test $gcc_cv_math_func_copysignf = yes; then
18792
18793 cat >>confdefs.h <<_ACEOF
18794 #define HAVE_COPYSIGNF 1
18795 _ACEOF
18796
18797 fi
18798
18799
18800
18801
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18803 $as_echo_n "checking for copysign... " >&6; }
18804 if ${gcc_cv_math_func_copysign+:} false; then :
18805 $as_echo_n "(cached) " >&6
18806 else
18807 if test x$gcc_no_link = xyes; then
18808 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18809 fi
18810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18811 /* end confdefs.h. */
18812
18813 #ifdef HAVE_COMPLEX_H
18814 #include <complex.h>
18815 #endif
18816 #ifdef HAVE_MATH_H
18817 #include <math.h>
18818 #endif
18819
18820 int (*ptr)() = (int (*)())copysign;
18821
18822 int
18823 main ()
18824 {
18825 return 0;
18826 }
18827
18828 _ACEOF
18829 if ac_fn_c_try_link "$LINENO"; then :
18830 gcc_cv_math_func_copysign=yes
18831 else
18832 gcc_cv_math_func_copysign=no
18833 fi
18834 rm -f core conftest.err conftest.$ac_objext \
18835 conftest$ac_exeext conftest.$ac_ext
18836 fi
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18838 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18839 if test $gcc_cv_math_func_copysign = yes; then
18840
18841 cat >>confdefs.h <<_ACEOF
18842 #define HAVE_COPYSIGN 1
18843 _ACEOF
18844
18845 fi
18846
18847
18848
18849
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18851 $as_echo_n "checking for copysignl... " >&6; }
18852 if ${gcc_cv_math_func_copysignl+:} false; then :
18853 $as_echo_n "(cached) " >&6
18854 else
18855 if test x$gcc_no_link = xyes; then
18856 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18857 fi
18858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860
18861 #ifdef HAVE_COMPLEX_H
18862 #include <complex.h>
18863 #endif
18864 #ifdef HAVE_MATH_H
18865 #include <math.h>
18866 #endif
18867
18868 int (*ptr)() = (int (*)())copysignl;
18869
18870 int
18871 main ()
18872 {
18873 return 0;
18874 }
18875
18876 _ACEOF
18877 if ac_fn_c_try_link "$LINENO"; then :
18878 gcc_cv_math_func_copysignl=yes
18879 else
18880 gcc_cv_math_func_copysignl=no
18881 fi
18882 rm -f core conftest.err conftest.$ac_objext \
18883 conftest$ac_exeext conftest.$ac_ext
18884 fi
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18886 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18887 if test $gcc_cv_math_func_copysignl = yes; then
18888
18889 cat >>confdefs.h <<_ACEOF
18890 #define HAVE_COPYSIGNL 1
18891 _ACEOF
18892
18893 fi
18894
18895
18896
18897
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18899 $as_echo_n "checking for cosf... " >&6; }
18900 if ${gcc_cv_math_func_cosf+:} false; then :
18901 $as_echo_n "(cached) " >&6
18902 else
18903 if test x$gcc_no_link = xyes; then
18904 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18905 fi
18906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18907 /* end confdefs.h. */
18908
18909 #ifdef HAVE_COMPLEX_H
18910 #include <complex.h>
18911 #endif
18912 #ifdef HAVE_MATH_H
18913 #include <math.h>
18914 #endif
18915
18916 int (*ptr)() = (int (*)())cosf;
18917
18918 int
18919 main ()
18920 {
18921 return 0;
18922 }
18923
18924 _ACEOF
18925 if ac_fn_c_try_link "$LINENO"; then :
18926 gcc_cv_math_func_cosf=yes
18927 else
18928 gcc_cv_math_func_cosf=no
18929 fi
18930 rm -f core conftest.err conftest.$ac_objext \
18931 conftest$ac_exeext conftest.$ac_ext
18932 fi
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18934 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18935 if test $gcc_cv_math_func_cosf = yes; then
18936
18937 cat >>confdefs.h <<_ACEOF
18938 #define HAVE_COSF 1
18939 _ACEOF
18940
18941 fi
18942
18943
18944
18945
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18947 $as_echo_n "checking for cos... " >&6; }
18948 if ${gcc_cv_math_func_cos+:} false; then :
18949 $as_echo_n "(cached) " >&6
18950 else
18951 if test x$gcc_no_link = xyes; then
18952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18953 fi
18954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h. */
18956
18957 #ifdef HAVE_COMPLEX_H
18958 #include <complex.h>
18959 #endif
18960 #ifdef HAVE_MATH_H
18961 #include <math.h>
18962 #endif
18963
18964 int (*ptr)() = (int (*)())cos;
18965
18966 int
18967 main ()
18968 {
18969 return 0;
18970 }
18971
18972 _ACEOF
18973 if ac_fn_c_try_link "$LINENO"; then :
18974 gcc_cv_math_func_cos=yes
18975 else
18976 gcc_cv_math_func_cos=no
18977 fi
18978 rm -f core conftest.err conftest.$ac_objext \
18979 conftest$ac_exeext conftest.$ac_ext
18980 fi
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18982 $as_echo "$gcc_cv_math_func_cos" >&6; }
18983 if test $gcc_cv_math_func_cos = yes; then
18984
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_COS 1
18987 _ACEOF
18988
18989 fi
18990
18991
18992
18993
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18995 $as_echo_n "checking for cosl... " >&6; }
18996 if ${gcc_cv_math_func_cosl+:} false; then :
18997 $as_echo_n "(cached) " >&6
18998 else
18999 if test x$gcc_no_link = xyes; then
19000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19001 fi
19002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h. */
19004
19005 #ifdef HAVE_COMPLEX_H
19006 #include <complex.h>
19007 #endif
19008 #ifdef HAVE_MATH_H
19009 #include <math.h>
19010 #endif
19011
19012 int (*ptr)() = (int (*)())cosl;
19013
19014 int
19015 main ()
19016 {
19017 return 0;
19018 }
19019
19020 _ACEOF
19021 if ac_fn_c_try_link "$LINENO"; then :
19022 gcc_cv_math_func_cosl=yes
19023 else
19024 gcc_cv_math_func_cosl=no
19025 fi
19026 rm -f core conftest.err conftest.$ac_objext \
19027 conftest$ac_exeext conftest.$ac_ext
19028 fi
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
19030 $as_echo "$gcc_cv_math_func_cosl" >&6; }
19031 if test $gcc_cv_math_func_cosl = yes; then
19032
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_COSL 1
19035 _ACEOF
19036
19037 fi
19038
19039
19040
19041
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
19043 $as_echo_n "checking for ccosf... " >&6; }
19044 if ${gcc_cv_math_func_ccosf+:} false; then :
19045 $as_echo_n "(cached) " >&6
19046 else
19047 if test x$gcc_no_link = xyes; then
19048 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19049 fi
19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19052
19053 #ifdef HAVE_COMPLEX_H
19054 #include <complex.h>
19055 #endif
19056 #ifdef HAVE_MATH_H
19057 #include <math.h>
19058 #endif
19059
19060 int (*ptr)() = (int (*)())ccosf;
19061
19062 int
19063 main ()
19064 {
19065 return 0;
19066 }
19067
19068 _ACEOF
19069 if ac_fn_c_try_link "$LINENO"; then :
19070 gcc_cv_math_func_ccosf=yes
19071 else
19072 gcc_cv_math_func_ccosf=no
19073 fi
19074 rm -f core conftest.err conftest.$ac_objext \
19075 conftest$ac_exeext conftest.$ac_ext
19076 fi
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
19078 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
19079 if test $gcc_cv_math_func_ccosf = yes; then
19080
19081 cat >>confdefs.h <<_ACEOF
19082 #define HAVE_CCOSF 1
19083 _ACEOF
19084
19085 fi
19086
19087
19088
19089
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
19091 $as_echo_n "checking for ccos... " >&6; }
19092 if ${gcc_cv_math_func_ccos+:} false; then :
19093 $as_echo_n "(cached) " >&6
19094 else
19095 if test x$gcc_no_link = xyes; then
19096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19097 fi
19098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h. */
19100
19101 #ifdef HAVE_COMPLEX_H
19102 #include <complex.h>
19103 #endif
19104 #ifdef HAVE_MATH_H
19105 #include <math.h>
19106 #endif
19107
19108 int (*ptr)() = (int (*)())ccos;
19109
19110 int
19111 main ()
19112 {
19113 return 0;
19114 }
19115
19116 _ACEOF
19117 if ac_fn_c_try_link "$LINENO"; then :
19118 gcc_cv_math_func_ccos=yes
19119 else
19120 gcc_cv_math_func_ccos=no
19121 fi
19122 rm -f core conftest.err conftest.$ac_objext \
19123 conftest$ac_exeext conftest.$ac_ext
19124 fi
19125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
19126 $as_echo "$gcc_cv_math_func_ccos" >&6; }
19127 if test $gcc_cv_math_func_ccos = yes; then
19128
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_CCOS 1
19131 _ACEOF
19132
19133 fi
19134
19135
19136
19137
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
19139 $as_echo_n "checking for ccosl... " >&6; }
19140 if ${gcc_cv_math_func_ccosl+:} false; then :
19141 $as_echo_n "(cached) " >&6
19142 else
19143 if test x$gcc_no_link = xyes; then
19144 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19145 fi
19146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19147 /* end confdefs.h. */
19148
19149 #ifdef HAVE_COMPLEX_H
19150 #include <complex.h>
19151 #endif
19152 #ifdef HAVE_MATH_H
19153 #include <math.h>
19154 #endif
19155
19156 int (*ptr)() = (int (*)())ccosl;
19157
19158 int
19159 main ()
19160 {
19161 return 0;
19162 }
19163
19164 _ACEOF
19165 if ac_fn_c_try_link "$LINENO"; then :
19166 gcc_cv_math_func_ccosl=yes
19167 else
19168 gcc_cv_math_func_ccosl=no
19169 fi
19170 rm -f core conftest.err conftest.$ac_objext \
19171 conftest$ac_exeext conftest.$ac_ext
19172 fi
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19174 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19175 if test $gcc_cv_math_func_ccosl = yes; then
19176
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_CCOSL 1
19179 _ACEOF
19180
19181 fi
19182
19183
19184
19185
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19187 $as_echo_n "checking for coshf... " >&6; }
19188 if ${gcc_cv_math_func_coshf+:} false; then :
19189 $as_echo_n "(cached) " >&6
19190 else
19191 if test x$gcc_no_link = xyes; then
19192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19193 fi
19194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19195 /* end confdefs.h. */
19196
19197 #ifdef HAVE_COMPLEX_H
19198 #include <complex.h>
19199 #endif
19200 #ifdef HAVE_MATH_H
19201 #include <math.h>
19202 #endif
19203
19204 int (*ptr)() = (int (*)())coshf;
19205
19206 int
19207 main ()
19208 {
19209 return 0;
19210 }
19211
19212 _ACEOF
19213 if ac_fn_c_try_link "$LINENO"; then :
19214 gcc_cv_math_func_coshf=yes
19215 else
19216 gcc_cv_math_func_coshf=no
19217 fi
19218 rm -f core conftest.err conftest.$ac_objext \
19219 conftest$ac_exeext conftest.$ac_ext
19220 fi
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19222 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19223 if test $gcc_cv_math_func_coshf = yes; then
19224
19225 cat >>confdefs.h <<_ACEOF
19226 #define HAVE_COSHF 1
19227 _ACEOF
19228
19229 fi
19230
19231
19232
19233
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19235 $as_echo_n "checking for cosh... " >&6; }
19236 if ${gcc_cv_math_func_cosh+:} false; then :
19237 $as_echo_n "(cached) " >&6
19238 else
19239 if test x$gcc_no_link = xyes; then
19240 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19241 fi
19242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19243 /* end confdefs.h. */
19244
19245 #ifdef HAVE_COMPLEX_H
19246 #include <complex.h>
19247 #endif
19248 #ifdef HAVE_MATH_H
19249 #include <math.h>
19250 #endif
19251
19252 int (*ptr)() = (int (*)())cosh;
19253
19254 int
19255 main ()
19256 {
19257 return 0;
19258 }
19259
19260 _ACEOF
19261 if ac_fn_c_try_link "$LINENO"; then :
19262 gcc_cv_math_func_cosh=yes
19263 else
19264 gcc_cv_math_func_cosh=no
19265 fi
19266 rm -f core conftest.err conftest.$ac_objext \
19267 conftest$ac_exeext conftest.$ac_ext
19268 fi
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19270 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19271 if test $gcc_cv_math_func_cosh = yes; then
19272
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_COSH 1
19275 _ACEOF
19276
19277 fi
19278
19279
19280
19281
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19283 $as_echo_n "checking for coshl... " >&6; }
19284 if ${gcc_cv_math_func_coshl+:} false; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19287 if test x$gcc_no_link = xyes; then
19288 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19289 fi
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19292
19293 #ifdef HAVE_COMPLEX_H
19294 #include <complex.h>
19295 #endif
19296 #ifdef HAVE_MATH_H
19297 #include <math.h>
19298 #endif
19299
19300 int (*ptr)() = (int (*)())coshl;
19301
19302 int
19303 main ()
19304 {
19305 return 0;
19306 }
19307
19308 _ACEOF
19309 if ac_fn_c_try_link "$LINENO"; then :
19310 gcc_cv_math_func_coshl=yes
19311 else
19312 gcc_cv_math_func_coshl=no
19313 fi
19314 rm -f core conftest.err conftest.$ac_objext \
19315 conftest$ac_exeext conftest.$ac_ext
19316 fi
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19318 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19319 if test $gcc_cv_math_func_coshl = yes; then
19320
19321 cat >>confdefs.h <<_ACEOF
19322 #define HAVE_COSHL 1
19323 _ACEOF
19324
19325 fi
19326
19327
19328
19329
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19331 $as_echo_n "checking for ccoshf... " >&6; }
19332 if ${gcc_cv_math_func_ccoshf+:} false; then :
19333 $as_echo_n "(cached) " >&6
19334 else
19335 if test x$gcc_no_link = xyes; then
19336 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19337 fi
19338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19339 /* end confdefs.h. */
19340
19341 #ifdef HAVE_COMPLEX_H
19342 #include <complex.h>
19343 #endif
19344 #ifdef HAVE_MATH_H
19345 #include <math.h>
19346 #endif
19347
19348 int (*ptr)() = (int (*)())ccoshf;
19349
19350 int
19351 main ()
19352 {
19353 return 0;
19354 }
19355
19356 _ACEOF
19357 if ac_fn_c_try_link "$LINENO"; then :
19358 gcc_cv_math_func_ccoshf=yes
19359 else
19360 gcc_cv_math_func_ccoshf=no
19361 fi
19362 rm -f core conftest.err conftest.$ac_objext \
19363 conftest$ac_exeext conftest.$ac_ext
19364 fi
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19366 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19367 if test $gcc_cv_math_func_ccoshf = yes; then
19368
19369 cat >>confdefs.h <<_ACEOF
19370 #define HAVE_CCOSHF 1
19371 _ACEOF
19372
19373 fi
19374
19375
19376
19377
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19379 $as_echo_n "checking for ccosh... " >&6; }
19380 if ${gcc_cv_math_func_ccosh+:} false; then :
19381 $as_echo_n "(cached) " >&6
19382 else
19383 if test x$gcc_no_link = xyes; then
19384 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19385 fi
19386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19387 /* end confdefs.h. */
19388
19389 #ifdef HAVE_COMPLEX_H
19390 #include <complex.h>
19391 #endif
19392 #ifdef HAVE_MATH_H
19393 #include <math.h>
19394 #endif
19395
19396 int (*ptr)() = (int (*)())ccosh;
19397
19398 int
19399 main ()
19400 {
19401 return 0;
19402 }
19403
19404 _ACEOF
19405 if ac_fn_c_try_link "$LINENO"; then :
19406 gcc_cv_math_func_ccosh=yes
19407 else
19408 gcc_cv_math_func_ccosh=no
19409 fi
19410 rm -f core conftest.err conftest.$ac_objext \
19411 conftest$ac_exeext conftest.$ac_ext
19412 fi
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19414 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19415 if test $gcc_cv_math_func_ccosh = yes; then
19416
19417 cat >>confdefs.h <<_ACEOF
19418 #define HAVE_CCOSH 1
19419 _ACEOF
19420
19421 fi
19422
19423
19424
19425
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19427 $as_echo_n "checking for ccoshl... " >&6; }
19428 if ${gcc_cv_math_func_ccoshl+:} false; then :
19429 $as_echo_n "(cached) " >&6
19430 else
19431 if test x$gcc_no_link = xyes; then
19432 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19433 fi
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436
19437 #ifdef HAVE_COMPLEX_H
19438 #include <complex.h>
19439 #endif
19440 #ifdef HAVE_MATH_H
19441 #include <math.h>
19442 #endif
19443
19444 int (*ptr)() = (int (*)())ccoshl;
19445
19446 int
19447 main ()
19448 {
19449 return 0;
19450 }
19451
19452 _ACEOF
19453 if ac_fn_c_try_link "$LINENO"; then :
19454 gcc_cv_math_func_ccoshl=yes
19455 else
19456 gcc_cv_math_func_ccoshl=no
19457 fi
19458 rm -f core conftest.err conftest.$ac_objext \
19459 conftest$ac_exeext conftest.$ac_ext
19460 fi
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19462 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19463 if test $gcc_cv_math_func_ccoshl = yes; then
19464
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_CCOSHL 1
19467 _ACEOF
19468
19469 fi
19470
19471
19472
19473
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19475 $as_echo_n "checking for expf... " >&6; }
19476 if ${gcc_cv_math_func_expf+:} false; then :
19477 $as_echo_n "(cached) " >&6
19478 else
19479 if test x$gcc_no_link = xyes; then
19480 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19481 fi
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19484
19485 #ifdef HAVE_COMPLEX_H
19486 #include <complex.h>
19487 #endif
19488 #ifdef HAVE_MATH_H
19489 #include <math.h>
19490 #endif
19491
19492 int (*ptr)() = (int (*)())expf;
19493
19494 int
19495 main ()
19496 {
19497 return 0;
19498 }
19499
19500 _ACEOF
19501 if ac_fn_c_try_link "$LINENO"; then :
19502 gcc_cv_math_func_expf=yes
19503 else
19504 gcc_cv_math_func_expf=no
19505 fi
19506 rm -f core conftest.err conftest.$ac_objext \
19507 conftest$ac_exeext conftest.$ac_ext
19508 fi
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19510 $as_echo "$gcc_cv_math_func_expf" >&6; }
19511 if test $gcc_cv_math_func_expf = yes; then
19512
19513 cat >>confdefs.h <<_ACEOF
19514 #define HAVE_EXPF 1
19515 _ACEOF
19516
19517 fi
19518
19519
19520
19521
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19523 $as_echo_n "checking for exp... " >&6; }
19524 if ${gcc_cv_math_func_exp+:} false; then :
19525 $as_echo_n "(cached) " >&6
19526 else
19527 if test x$gcc_no_link = xyes; then
19528 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19529 fi
19530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19531 /* end confdefs.h. */
19532
19533 #ifdef HAVE_COMPLEX_H
19534 #include <complex.h>
19535 #endif
19536 #ifdef HAVE_MATH_H
19537 #include <math.h>
19538 #endif
19539
19540 int (*ptr)() = (int (*)())exp;
19541
19542 int
19543 main ()
19544 {
19545 return 0;
19546 }
19547
19548 _ACEOF
19549 if ac_fn_c_try_link "$LINENO"; then :
19550 gcc_cv_math_func_exp=yes
19551 else
19552 gcc_cv_math_func_exp=no
19553 fi
19554 rm -f core conftest.err conftest.$ac_objext \
19555 conftest$ac_exeext conftest.$ac_ext
19556 fi
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19558 $as_echo "$gcc_cv_math_func_exp" >&6; }
19559 if test $gcc_cv_math_func_exp = yes; then
19560
19561 cat >>confdefs.h <<_ACEOF
19562 #define HAVE_EXP 1
19563 _ACEOF
19564
19565 fi
19566
19567
19568
19569
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19571 $as_echo_n "checking for expl... " >&6; }
19572 if ${gcc_cv_math_func_expl+:} false; then :
19573 $as_echo_n "(cached) " >&6
19574 else
19575 if test x$gcc_no_link = xyes; then
19576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19577 fi
19578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19580
19581 #ifdef HAVE_COMPLEX_H
19582 #include <complex.h>
19583 #endif
19584 #ifdef HAVE_MATH_H
19585 #include <math.h>
19586 #endif
19587
19588 int (*ptr)() = (int (*)())expl;
19589
19590 int
19591 main ()
19592 {
19593 return 0;
19594 }
19595
19596 _ACEOF
19597 if ac_fn_c_try_link "$LINENO"; then :
19598 gcc_cv_math_func_expl=yes
19599 else
19600 gcc_cv_math_func_expl=no
19601 fi
19602 rm -f core conftest.err conftest.$ac_objext \
19603 conftest$ac_exeext conftest.$ac_ext
19604 fi
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19606 $as_echo "$gcc_cv_math_func_expl" >&6; }
19607 if test $gcc_cv_math_func_expl = yes; then
19608
19609 cat >>confdefs.h <<_ACEOF
19610 #define HAVE_EXPL 1
19611 _ACEOF
19612
19613 fi
19614
19615
19616
19617
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19619 $as_echo_n "checking for cexpf... " >&6; }
19620 if ${gcc_cv_math_func_cexpf+:} false; then :
19621 $as_echo_n "(cached) " >&6
19622 else
19623 if test x$gcc_no_link = xyes; then
19624 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19625 fi
19626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19627 /* end confdefs.h. */
19628
19629 #ifdef HAVE_COMPLEX_H
19630 #include <complex.h>
19631 #endif
19632 #ifdef HAVE_MATH_H
19633 #include <math.h>
19634 #endif
19635
19636 int (*ptr)() = (int (*)())cexpf;
19637
19638 int
19639 main ()
19640 {
19641 return 0;
19642 }
19643
19644 _ACEOF
19645 if ac_fn_c_try_link "$LINENO"; then :
19646 gcc_cv_math_func_cexpf=yes
19647 else
19648 gcc_cv_math_func_cexpf=no
19649 fi
19650 rm -f core conftest.err conftest.$ac_objext \
19651 conftest$ac_exeext conftest.$ac_ext
19652 fi
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19654 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19655 if test $gcc_cv_math_func_cexpf = yes; then
19656
19657 cat >>confdefs.h <<_ACEOF
19658 #define HAVE_CEXPF 1
19659 _ACEOF
19660
19661 fi
19662
19663
19664
19665
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19667 $as_echo_n "checking for cexp... " >&6; }
19668 if ${gcc_cv_math_func_cexp+:} false; then :
19669 $as_echo_n "(cached) " >&6
19670 else
19671 if test x$gcc_no_link = xyes; then
19672 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19673 fi
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19676
19677 #ifdef HAVE_COMPLEX_H
19678 #include <complex.h>
19679 #endif
19680 #ifdef HAVE_MATH_H
19681 #include <math.h>
19682 #endif
19683
19684 int (*ptr)() = (int (*)())cexp;
19685
19686 int
19687 main ()
19688 {
19689 return 0;
19690 }
19691
19692 _ACEOF
19693 if ac_fn_c_try_link "$LINENO"; then :
19694 gcc_cv_math_func_cexp=yes
19695 else
19696 gcc_cv_math_func_cexp=no
19697 fi
19698 rm -f core conftest.err conftest.$ac_objext \
19699 conftest$ac_exeext conftest.$ac_ext
19700 fi
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19702 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19703 if test $gcc_cv_math_func_cexp = yes; then
19704
19705 cat >>confdefs.h <<_ACEOF
19706 #define HAVE_CEXP 1
19707 _ACEOF
19708
19709 fi
19710
19711
19712
19713
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19715 $as_echo_n "checking for cexpl... " >&6; }
19716 if ${gcc_cv_math_func_cexpl+:} false; then :
19717 $as_echo_n "(cached) " >&6
19718 else
19719 if test x$gcc_no_link = xyes; then
19720 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19721 fi
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19724
19725 #ifdef HAVE_COMPLEX_H
19726 #include <complex.h>
19727 #endif
19728 #ifdef HAVE_MATH_H
19729 #include <math.h>
19730 #endif
19731
19732 int (*ptr)() = (int (*)())cexpl;
19733
19734 int
19735 main ()
19736 {
19737 return 0;
19738 }
19739
19740 _ACEOF
19741 if ac_fn_c_try_link "$LINENO"; then :
19742 gcc_cv_math_func_cexpl=yes
19743 else
19744 gcc_cv_math_func_cexpl=no
19745 fi
19746 rm -f core conftest.err conftest.$ac_objext \
19747 conftest$ac_exeext conftest.$ac_ext
19748 fi
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19750 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19751 if test $gcc_cv_math_func_cexpl = yes; then
19752
19753 cat >>confdefs.h <<_ACEOF
19754 #define HAVE_CEXPL 1
19755 _ACEOF
19756
19757 fi
19758
19759
19760
19761
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19763 $as_echo_n "checking for fabsf... " >&6; }
19764 if ${gcc_cv_math_func_fabsf+:} false; then :
19765 $as_echo_n "(cached) " >&6
19766 else
19767 if test x$gcc_no_link = xyes; then
19768 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19769 fi
19770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19771 /* end confdefs.h. */
19772
19773 #ifdef HAVE_COMPLEX_H
19774 #include <complex.h>
19775 #endif
19776 #ifdef HAVE_MATH_H
19777 #include <math.h>
19778 #endif
19779
19780 int (*ptr)() = (int (*)())fabsf;
19781
19782 int
19783 main ()
19784 {
19785 return 0;
19786 }
19787
19788 _ACEOF
19789 if ac_fn_c_try_link "$LINENO"; then :
19790 gcc_cv_math_func_fabsf=yes
19791 else
19792 gcc_cv_math_func_fabsf=no
19793 fi
19794 rm -f core conftest.err conftest.$ac_objext \
19795 conftest$ac_exeext conftest.$ac_ext
19796 fi
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19798 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19799 if test $gcc_cv_math_func_fabsf = yes; then
19800
19801 cat >>confdefs.h <<_ACEOF
19802 #define HAVE_FABSF 1
19803 _ACEOF
19804
19805 fi
19806
19807
19808
19809
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19811 $as_echo_n "checking for fabs... " >&6; }
19812 if ${gcc_cv_math_func_fabs+:} false; then :
19813 $as_echo_n "(cached) " >&6
19814 else
19815 if test x$gcc_no_link = xyes; then
19816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19817 fi
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19820
19821 #ifdef HAVE_COMPLEX_H
19822 #include <complex.h>
19823 #endif
19824 #ifdef HAVE_MATH_H
19825 #include <math.h>
19826 #endif
19827
19828 int (*ptr)() = (int (*)())fabs;
19829
19830 int
19831 main ()
19832 {
19833 return 0;
19834 }
19835
19836 _ACEOF
19837 if ac_fn_c_try_link "$LINENO"; then :
19838 gcc_cv_math_func_fabs=yes
19839 else
19840 gcc_cv_math_func_fabs=no
19841 fi
19842 rm -f core conftest.err conftest.$ac_objext \
19843 conftest$ac_exeext conftest.$ac_ext
19844 fi
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19846 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19847 if test $gcc_cv_math_func_fabs = yes; then
19848
19849 cat >>confdefs.h <<_ACEOF
19850 #define HAVE_FABS 1
19851 _ACEOF
19852
19853 fi
19854
19855
19856
19857
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19859 $as_echo_n "checking for fabsl... " >&6; }
19860 if ${gcc_cv_math_func_fabsl+:} false; then :
19861 $as_echo_n "(cached) " >&6
19862 else
19863 if test x$gcc_no_link = xyes; then
19864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19865 fi
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868
19869 #ifdef HAVE_COMPLEX_H
19870 #include <complex.h>
19871 #endif
19872 #ifdef HAVE_MATH_H
19873 #include <math.h>
19874 #endif
19875
19876 int (*ptr)() = (int (*)())fabsl;
19877
19878 int
19879 main ()
19880 {
19881 return 0;
19882 }
19883
19884 _ACEOF
19885 if ac_fn_c_try_link "$LINENO"; then :
19886 gcc_cv_math_func_fabsl=yes
19887 else
19888 gcc_cv_math_func_fabsl=no
19889 fi
19890 rm -f core conftest.err conftest.$ac_objext \
19891 conftest$ac_exeext conftest.$ac_ext
19892 fi
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19894 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19895 if test $gcc_cv_math_func_fabsl = yes; then
19896
19897 cat >>confdefs.h <<_ACEOF
19898 #define HAVE_FABSL 1
19899 _ACEOF
19900
19901 fi
19902
19903
19904
19905
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19907 $as_echo_n "checking for cabsf... " >&6; }
19908 if ${gcc_cv_math_func_cabsf+:} false; then :
19909 $as_echo_n "(cached) " >&6
19910 else
19911 if test x$gcc_no_link = xyes; then
19912 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19913 fi
19914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19916
19917 #ifdef HAVE_COMPLEX_H
19918 #include <complex.h>
19919 #endif
19920 #ifdef HAVE_MATH_H
19921 #include <math.h>
19922 #endif
19923
19924 int (*ptr)() = (int (*)())cabsf;
19925
19926 int
19927 main ()
19928 {
19929 return 0;
19930 }
19931
19932 _ACEOF
19933 if ac_fn_c_try_link "$LINENO"; then :
19934 gcc_cv_math_func_cabsf=yes
19935 else
19936 gcc_cv_math_func_cabsf=no
19937 fi
19938 rm -f core conftest.err conftest.$ac_objext \
19939 conftest$ac_exeext conftest.$ac_ext
19940 fi
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19942 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19943 if test $gcc_cv_math_func_cabsf = yes; then
19944
19945 cat >>confdefs.h <<_ACEOF
19946 #define HAVE_CABSF 1
19947 _ACEOF
19948
19949 fi
19950
19951
19952
19953
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19955 $as_echo_n "checking for cabs... " >&6; }
19956 if ${gcc_cv_math_func_cabs+:} false; then :
19957 $as_echo_n "(cached) " >&6
19958 else
19959 if test x$gcc_no_link = xyes; then
19960 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19961 fi
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19964
19965 #ifdef HAVE_COMPLEX_H
19966 #include <complex.h>
19967 #endif
19968 #ifdef HAVE_MATH_H
19969 #include <math.h>
19970 #endif
19971
19972 int (*ptr)() = (int (*)())cabs;
19973
19974 int
19975 main ()
19976 {
19977 return 0;
19978 }
19979
19980 _ACEOF
19981 if ac_fn_c_try_link "$LINENO"; then :
19982 gcc_cv_math_func_cabs=yes
19983 else
19984 gcc_cv_math_func_cabs=no
19985 fi
19986 rm -f core conftest.err conftest.$ac_objext \
19987 conftest$ac_exeext conftest.$ac_ext
19988 fi
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19990 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19991 if test $gcc_cv_math_func_cabs = yes; then
19992
19993 cat >>confdefs.h <<_ACEOF
19994 #define HAVE_CABS 1
19995 _ACEOF
19996
19997 fi
19998
19999
20000
20001
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
20003 $as_echo_n "checking for cabsl... " >&6; }
20004 if ${gcc_cv_math_func_cabsl+:} false; then :
20005 $as_echo_n "(cached) " >&6
20006 else
20007 if test x$gcc_no_link = xyes; then
20008 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20009 fi
20010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20011 /* end confdefs.h. */
20012
20013 #ifdef HAVE_COMPLEX_H
20014 #include <complex.h>
20015 #endif
20016 #ifdef HAVE_MATH_H
20017 #include <math.h>
20018 #endif
20019
20020 int (*ptr)() = (int (*)())cabsl;
20021
20022 int
20023 main ()
20024 {
20025 return 0;
20026 }
20027
20028 _ACEOF
20029 if ac_fn_c_try_link "$LINENO"; then :
20030 gcc_cv_math_func_cabsl=yes
20031 else
20032 gcc_cv_math_func_cabsl=no
20033 fi
20034 rm -f core conftest.err conftest.$ac_objext \
20035 conftest$ac_exeext conftest.$ac_ext
20036 fi
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
20038 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
20039 if test $gcc_cv_math_func_cabsl = yes; then
20040
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_CABSL 1
20043 _ACEOF
20044
20045 fi
20046
20047
20048
20049
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
20051 $as_echo_n "checking for floorf... " >&6; }
20052 if ${gcc_cv_math_func_floorf+:} false; then :
20053 $as_echo_n "(cached) " >&6
20054 else
20055 if test x$gcc_no_link = xyes; then
20056 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20057 fi
20058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20059 /* end confdefs.h. */
20060
20061 #ifdef HAVE_COMPLEX_H
20062 #include <complex.h>
20063 #endif
20064 #ifdef HAVE_MATH_H
20065 #include <math.h>
20066 #endif
20067
20068 int (*ptr)() = (int (*)())floorf;
20069
20070 int
20071 main ()
20072 {
20073 return 0;
20074 }
20075
20076 _ACEOF
20077 if ac_fn_c_try_link "$LINENO"; then :
20078 gcc_cv_math_func_floorf=yes
20079 else
20080 gcc_cv_math_func_floorf=no
20081 fi
20082 rm -f core conftest.err conftest.$ac_objext \
20083 conftest$ac_exeext conftest.$ac_ext
20084 fi
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
20086 $as_echo "$gcc_cv_math_func_floorf" >&6; }
20087 if test $gcc_cv_math_func_floorf = yes; then
20088
20089 cat >>confdefs.h <<_ACEOF
20090 #define HAVE_FLOORF 1
20091 _ACEOF
20092
20093 fi
20094
20095
20096
20097
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
20099 $as_echo_n "checking for floor... " >&6; }
20100 if ${gcc_cv_math_func_floor+:} false; then :
20101 $as_echo_n "(cached) " >&6
20102 else
20103 if test x$gcc_no_link = xyes; then
20104 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20105 fi
20106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20107 /* end confdefs.h. */
20108
20109 #ifdef HAVE_COMPLEX_H
20110 #include <complex.h>
20111 #endif
20112 #ifdef HAVE_MATH_H
20113 #include <math.h>
20114 #endif
20115
20116 int (*ptr)() = (int (*)())floor;
20117
20118 int
20119 main ()
20120 {
20121 return 0;
20122 }
20123
20124 _ACEOF
20125 if ac_fn_c_try_link "$LINENO"; then :
20126 gcc_cv_math_func_floor=yes
20127 else
20128 gcc_cv_math_func_floor=no
20129 fi
20130 rm -f core conftest.err conftest.$ac_objext \
20131 conftest$ac_exeext conftest.$ac_ext
20132 fi
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
20134 $as_echo "$gcc_cv_math_func_floor" >&6; }
20135 if test $gcc_cv_math_func_floor = yes; then
20136
20137 cat >>confdefs.h <<_ACEOF
20138 #define HAVE_FLOOR 1
20139 _ACEOF
20140
20141 fi
20142
20143
20144
20145
20146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20147 $as_echo_n "checking for floorl... " >&6; }
20148 if ${gcc_cv_math_func_floorl+:} false; then :
20149 $as_echo_n "(cached) " >&6
20150 else
20151 if test x$gcc_no_link = xyes; then
20152 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20153 fi
20154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20155 /* end confdefs.h. */
20156
20157 #ifdef HAVE_COMPLEX_H
20158 #include <complex.h>
20159 #endif
20160 #ifdef HAVE_MATH_H
20161 #include <math.h>
20162 #endif
20163
20164 int (*ptr)() = (int (*)())floorl;
20165
20166 int
20167 main ()
20168 {
20169 return 0;
20170 }
20171
20172 _ACEOF
20173 if ac_fn_c_try_link "$LINENO"; then :
20174 gcc_cv_math_func_floorl=yes
20175 else
20176 gcc_cv_math_func_floorl=no
20177 fi
20178 rm -f core conftest.err conftest.$ac_objext \
20179 conftest$ac_exeext conftest.$ac_ext
20180 fi
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20182 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20183 if test $gcc_cv_math_func_floorl = yes; then
20184
20185 cat >>confdefs.h <<_ACEOF
20186 #define HAVE_FLOORL 1
20187 _ACEOF
20188
20189 fi
20190
20191
20192
20193
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20195 $as_echo_n "checking for fmaf... " >&6; }
20196 if ${gcc_cv_math_func_fmaf+:} false; then :
20197 $as_echo_n "(cached) " >&6
20198 else
20199 if test x$gcc_no_link = xyes; then
20200 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20201 fi
20202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20203 /* end confdefs.h. */
20204
20205 #ifdef HAVE_COMPLEX_H
20206 #include <complex.h>
20207 #endif
20208 #ifdef HAVE_MATH_H
20209 #include <math.h>
20210 #endif
20211
20212 int (*ptr)() = (int (*)())fmaf;
20213
20214 int
20215 main ()
20216 {
20217 return 0;
20218 }
20219
20220 _ACEOF
20221 if ac_fn_c_try_link "$LINENO"; then :
20222 gcc_cv_math_func_fmaf=yes
20223 else
20224 gcc_cv_math_func_fmaf=no
20225 fi
20226 rm -f core conftest.err conftest.$ac_objext \
20227 conftest$ac_exeext conftest.$ac_ext
20228 fi
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20230 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20231 if test $gcc_cv_math_func_fmaf = yes; then
20232
20233 cat >>confdefs.h <<_ACEOF
20234 #define HAVE_FMAF 1
20235 _ACEOF
20236
20237 fi
20238
20239
20240
20241
20242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20243 $as_echo_n "checking for fma... " >&6; }
20244 if ${gcc_cv_math_func_fma+:} false; then :
20245 $as_echo_n "(cached) " >&6
20246 else
20247 if test x$gcc_no_link = xyes; then
20248 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20249 fi
20250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20251 /* end confdefs.h. */
20252
20253 #ifdef HAVE_COMPLEX_H
20254 #include <complex.h>
20255 #endif
20256 #ifdef HAVE_MATH_H
20257 #include <math.h>
20258 #endif
20259
20260 int (*ptr)() = (int (*)())fma;
20261
20262 int
20263 main ()
20264 {
20265 return 0;
20266 }
20267
20268 _ACEOF
20269 if ac_fn_c_try_link "$LINENO"; then :
20270 gcc_cv_math_func_fma=yes
20271 else
20272 gcc_cv_math_func_fma=no
20273 fi
20274 rm -f core conftest.err conftest.$ac_objext \
20275 conftest$ac_exeext conftest.$ac_ext
20276 fi
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20278 $as_echo "$gcc_cv_math_func_fma" >&6; }
20279 if test $gcc_cv_math_func_fma = yes; then
20280
20281 cat >>confdefs.h <<_ACEOF
20282 #define HAVE_FMA 1
20283 _ACEOF
20284
20285 fi
20286
20287
20288
20289
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20291 $as_echo_n "checking for fmal... " >&6; }
20292 if ${gcc_cv_math_func_fmal+:} false; then :
20293 $as_echo_n "(cached) " >&6
20294 else
20295 if test x$gcc_no_link = xyes; then
20296 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20297 fi
20298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20299 /* end confdefs.h. */
20300
20301 #ifdef HAVE_COMPLEX_H
20302 #include <complex.h>
20303 #endif
20304 #ifdef HAVE_MATH_H
20305 #include <math.h>
20306 #endif
20307
20308 int (*ptr)() = (int (*)())fmal;
20309
20310 int
20311 main ()
20312 {
20313 return 0;
20314 }
20315
20316 _ACEOF
20317 if ac_fn_c_try_link "$LINENO"; then :
20318 gcc_cv_math_func_fmal=yes
20319 else
20320 gcc_cv_math_func_fmal=no
20321 fi
20322 rm -f core conftest.err conftest.$ac_objext \
20323 conftest$ac_exeext conftest.$ac_ext
20324 fi
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20326 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20327 if test $gcc_cv_math_func_fmal = yes; then
20328
20329 cat >>confdefs.h <<_ACEOF
20330 #define HAVE_FMAL 1
20331 _ACEOF
20332
20333 fi
20334
20335
20336
20337
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20339 $as_echo_n "checking for fmodf... " >&6; }
20340 if ${gcc_cv_math_func_fmodf+:} false; then :
20341 $as_echo_n "(cached) " >&6
20342 else
20343 if test x$gcc_no_link = xyes; then
20344 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20345 fi
20346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20347 /* end confdefs.h. */
20348
20349 #ifdef HAVE_COMPLEX_H
20350 #include <complex.h>
20351 #endif
20352 #ifdef HAVE_MATH_H
20353 #include <math.h>
20354 #endif
20355
20356 int (*ptr)() = (int (*)())fmodf;
20357
20358 int
20359 main ()
20360 {
20361 return 0;
20362 }
20363
20364 _ACEOF
20365 if ac_fn_c_try_link "$LINENO"; then :
20366 gcc_cv_math_func_fmodf=yes
20367 else
20368 gcc_cv_math_func_fmodf=no
20369 fi
20370 rm -f core conftest.err conftest.$ac_objext \
20371 conftest$ac_exeext conftest.$ac_ext
20372 fi
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20374 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20375 if test $gcc_cv_math_func_fmodf = yes; then
20376
20377 cat >>confdefs.h <<_ACEOF
20378 #define HAVE_FMODF 1
20379 _ACEOF
20380
20381 fi
20382
20383
20384
20385
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20387 $as_echo_n "checking for fmod... " >&6; }
20388 if ${gcc_cv_math_func_fmod+:} false; then :
20389 $as_echo_n "(cached) " >&6
20390 else
20391 if test x$gcc_no_link = xyes; then
20392 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20393 fi
20394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20395 /* end confdefs.h. */
20396
20397 #ifdef HAVE_COMPLEX_H
20398 #include <complex.h>
20399 #endif
20400 #ifdef HAVE_MATH_H
20401 #include <math.h>
20402 #endif
20403
20404 int (*ptr)() = (int (*)())fmod;
20405
20406 int
20407 main ()
20408 {
20409 return 0;
20410 }
20411
20412 _ACEOF
20413 if ac_fn_c_try_link "$LINENO"; then :
20414 gcc_cv_math_func_fmod=yes
20415 else
20416 gcc_cv_math_func_fmod=no
20417 fi
20418 rm -f core conftest.err conftest.$ac_objext \
20419 conftest$ac_exeext conftest.$ac_ext
20420 fi
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20422 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20423 if test $gcc_cv_math_func_fmod = yes; then
20424
20425 cat >>confdefs.h <<_ACEOF
20426 #define HAVE_FMOD 1
20427 _ACEOF
20428
20429 fi
20430
20431
20432
20433
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20435 $as_echo_n "checking for fmodl... " >&6; }
20436 if ${gcc_cv_math_func_fmodl+:} false; then :
20437 $as_echo_n "(cached) " >&6
20438 else
20439 if test x$gcc_no_link = xyes; then
20440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20441 fi
20442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20443 /* end confdefs.h. */
20444
20445 #ifdef HAVE_COMPLEX_H
20446 #include <complex.h>
20447 #endif
20448 #ifdef HAVE_MATH_H
20449 #include <math.h>
20450 #endif
20451
20452 int (*ptr)() = (int (*)())fmodl;
20453
20454 int
20455 main ()
20456 {
20457 return 0;
20458 }
20459
20460 _ACEOF
20461 if ac_fn_c_try_link "$LINENO"; then :
20462 gcc_cv_math_func_fmodl=yes
20463 else
20464 gcc_cv_math_func_fmodl=no
20465 fi
20466 rm -f core conftest.err conftest.$ac_objext \
20467 conftest$ac_exeext conftest.$ac_ext
20468 fi
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20470 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20471 if test $gcc_cv_math_func_fmodl = yes; then
20472
20473 cat >>confdefs.h <<_ACEOF
20474 #define HAVE_FMODL 1
20475 _ACEOF
20476
20477 fi
20478
20479
20480
20481
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20483 $as_echo_n "checking for frexpf... " >&6; }
20484 if ${gcc_cv_math_func_frexpf+:} false; then :
20485 $as_echo_n "(cached) " >&6
20486 else
20487 if test x$gcc_no_link = xyes; then
20488 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20489 fi
20490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20491 /* end confdefs.h. */
20492
20493 #ifdef HAVE_COMPLEX_H
20494 #include <complex.h>
20495 #endif
20496 #ifdef HAVE_MATH_H
20497 #include <math.h>
20498 #endif
20499
20500 int (*ptr)() = (int (*)())frexpf;
20501
20502 int
20503 main ()
20504 {
20505 return 0;
20506 }
20507
20508 _ACEOF
20509 if ac_fn_c_try_link "$LINENO"; then :
20510 gcc_cv_math_func_frexpf=yes
20511 else
20512 gcc_cv_math_func_frexpf=no
20513 fi
20514 rm -f core conftest.err conftest.$ac_objext \
20515 conftest$ac_exeext conftest.$ac_ext
20516 fi
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20518 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20519 if test $gcc_cv_math_func_frexpf = yes; then
20520
20521 cat >>confdefs.h <<_ACEOF
20522 #define HAVE_FREXPF 1
20523 _ACEOF
20524
20525 fi
20526
20527
20528
20529
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20531 $as_echo_n "checking for frexp... " >&6; }
20532 if ${gcc_cv_math_func_frexp+:} false; then :
20533 $as_echo_n "(cached) " >&6
20534 else
20535 if test x$gcc_no_link = xyes; then
20536 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20537 fi
20538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20539 /* end confdefs.h. */
20540
20541 #ifdef HAVE_COMPLEX_H
20542 #include <complex.h>
20543 #endif
20544 #ifdef HAVE_MATH_H
20545 #include <math.h>
20546 #endif
20547
20548 int (*ptr)() = (int (*)())frexp;
20549
20550 int
20551 main ()
20552 {
20553 return 0;
20554 }
20555
20556 _ACEOF
20557 if ac_fn_c_try_link "$LINENO"; then :
20558 gcc_cv_math_func_frexp=yes
20559 else
20560 gcc_cv_math_func_frexp=no
20561 fi
20562 rm -f core conftest.err conftest.$ac_objext \
20563 conftest$ac_exeext conftest.$ac_ext
20564 fi
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20566 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20567 if test $gcc_cv_math_func_frexp = yes; then
20568
20569 cat >>confdefs.h <<_ACEOF
20570 #define HAVE_FREXP 1
20571 _ACEOF
20572
20573 fi
20574
20575
20576
20577
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20579 $as_echo_n "checking for frexpl... " >&6; }
20580 if ${gcc_cv_math_func_frexpl+:} false; then :
20581 $as_echo_n "(cached) " >&6
20582 else
20583 if test x$gcc_no_link = xyes; then
20584 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20585 fi
20586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20587 /* end confdefs.h. */
20588
20589 #ifdef HAVE_COMPLEX_H
20590 #include <complex.h>
20591 #endif
20592 #ifdef HAVE_MATH_H
20593 #include <math.h>
20594 #endif
20595
20596 int (*ptr)() = (int (*)())frexpl;
20597
20598 int
20599 main ()
20600 {
20601 return 0;
20602 }
20603
20604 _ACEOF
20605 if ac_fn_c_try_link "$LINENO"; then :
20606 gcc_cv_math_func_frexpl=yes
20607 else
20608 gcc_cv_math_func_frexpl=no
20609 fi
20610 rm -f core conftest.err conftest.$ac_objext \
20611 conftest$ac_exeext conftest.$ac_ext
20612 fi
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20614 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20615 if test $gcc_cv_math_func_frexpl = yes; then
20616
20617 cat >>confdefs.h <<_ACEOF
20618 #define HAVE_FREXPL 1
20619 _ACEOF
20620
20621 fi
20622
20623
20624
20625
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20627 $as_echo_n "checking for hypotf... " >&6; }
20628 if ${gcc_cv_math_func_hypotf+:} false; then :
20629 $as_echo_n "(cached) " >&6
20630 else
20631 if test x$gcc_no_link = xyes; then
20632 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20633 fi
20634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20635 /* end confdefs.h. */
20636
20637 #ifdef HAVE_COMPLEX_H
20638 #include <complex.h>
20639 #endif
20640 #ifdef HAVE_MATH_H
20641 #include <math.h>
20642 #endif
20643
20644 int (*ptr)() = (int (*)())hypotf;
20645
20646 int
20647 main ()
20648 {
20649 return 0;
20650 }
20651
20652 _ACEOF
20653 if ac_fn_c_try_link "$LINENO"; then :
20654 gcc_cv_math_func_hypotf=yes
20655 else
20656 gcc_cv_math_func_hypotf=no
20657 fi
20658 rm -f core conftest.err conftest.$ac_objext \
20659 conftest$ac_exeext conftest.$ac_ext
20660 fi
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20662 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20663 if test $gcc_cv_math_func_hypotf = yes; then
20664
20665 cat >>confdefs.h <<_ACEOF
20666 #define HAVE_HYPOTF 1
20667 _ACEOF
20668
20669 fi
20670
20671
20672
20673
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20675 $as_echo_n "checking for hypot... " >&6; }
20676 if ${gcc_cv_math_func_hypot+:} false; then :
20677 $as_echo_n "(cached) " >&6
20678 else
20679 if test x$gcc_no_link = xyes; then
20680 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20681 fi
20682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h. */
20684
20685 #ifdef HAVE_COMPLEX_H
20686 #include <complex.h>
20687 #endif
20688 #ifdef HAVE_MATH_H
20689 #include <math.h>
20690 #endif
20691
20692 int (*ptr)() = (int (*)())hypot;
20693
20694 int
20695 main ()
20696 {
20697 return 0;
20698 }
20699
20700 _ACEOF
20701 if ac_fn_c_try_link "$LINENO"; then :
20702 gcc_cv_math_func_hypot=yes
20703 else
20704 gcc_cv_math_func_hypot=no
20705 fi
20706 rm -f core conftest.err conftest.$ac_objext \
20707 conftest$ac_exeext conftest.$ac_ext
20708 fi
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20710 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20711 if test $gcc_cv_math_func_hypot = yes; then
20712
20713 cat >>confdefs.h <<_ACEOF
20714 #define HAVE_HYPOT 1
20715 _ACEOF
20716
20717 fi
20718
20719
20720
20721
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20723 $as_echo_n "checking for hypotl... " >&6; }
20724 if ${gcc_cv_math_func_hypotl+:} false; then :
20725 $as_echo_n "(cached) " >&6
20726 else
20727 if test x$gcc_no_link = xyes; then
20728 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20729 fi
20730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20731 /* end confdefs.h. */
20732
20733 #ifdef HAVE_COMPLEX_H
20734 #include <complex.h>
20735 #endif
20736 #ifdef HAVE_MATH_H
20737 #include <math.h>
20738 #endif
20739
20740 int (*ptr)() = (int (*)())hypotl;
20741
20742 int
20743 main ()
20744 {
20745 return 0;
20746 }
20747
20748 _ACEOF
20749 if ac_fn_c_try_link "$LINENO"; then :
20750 gcc_cv_math_func_hypotl=yes
20751 else
20752 gcc_cv_math_func_hypotl=no
20753 fi
20754 rm -f core conftest.err conftest.$ac_objext \
20755 conftest$ac_exeext conftest.$ac_ext
20756 fi
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20758 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20759 if test $gcc_cv_math_func_hypotl = yes; then
20760
20761 cat >>confdefs.h <<_ACEOF
20762 #define HAVE_HYPOTL 1
20763 _ACEOF
20764
20765 fi
20766
20767
20768
20769
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20771 $as_echo_n "checking for ldexpf... " >&6; }
20772 if ${gcc_cv_math_func_ldexpf+:} false; then :
20773 $as_echo_n "(cached) " >&6
20774 else
20775 if test x$gcc_no_link = xyes; then
20776 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20777 fi
20778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20780
20781 #ifdef HAVE_COMPLEX_H
20782 #include <complex.h>
20783 #endif
20784 #ifdef HAVE_MATH_H
20785 #include <math.h>
20786 #endif
20787
20788 int (*ptr)() = (int (*)())ldexpf;
20789
20790 int
20791 main ()
20792 {
20793 return 0;
20794 }
20795
20796 _ACEOF
20797 if ac_fn_c_try_link "$LINENO"; then :
20798 gcc_cv_math_func_ldexpf=yes
20799 else
20800 gcc_cv_math_func_ldexpf=no
20801 fi
20802 rm -f core conftest.err conftest.$ac_objext \
20803 conftest$ac_exeext conftest.$ac_ext
20804 fi
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20806 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20807 if test $gcc_cv_math_func_ldexpf = yes; then
20808
20809 cat >>confdefs.h <<_ACEOF
20810 #define HAVE_LDEXPF 1
20811 _ACEOF
20812
20813 fi
20814
20815
20816
20817
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20819 $as_echo_n "checking for ldexp... " >&6; }
20820 if ${gcc_cv_math_func_ldexp+:} false; then :
20821 $as_echo_n "(cached) " >&6
20822 else
20823 if test x$gcc_no_link = xyes; then
20824 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20825 fi
20826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20827 /* end confdefs.h. */
20828
20829 #ifdef HAVE_COMPLEX_H
20830 #include <complex.h>
20831 #endif
20832 #ifdef HAVE_MATH_H
20833 #include <math.h>
20834 #endif
20835
20836 int (*ptr)() = (int (*)())ldexp;
20837
20838 int
20839 main ()
20840 {
20841 return 0;
20842 }
20843
20844 _ACEOF
20845 if ac_fn_c_try_link "$LINENO"; then :
20846 gcc_cv_math_func_ldexp=yes
20847 else
20848 gcc_cv_math_func_ldexp=no
20849 fi
20850 rm -f core conftest.err conftest.$ac_objext \
20851 conftest$ac_exeext conftest.$ac_ext
20852 fi
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20854 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20855 if test $gcc_cv_math_func_ldexp = yes; then
20856
20857 cat >>confdefs.h <<_ACEOF
20858 #define HAVE_LDEXP 1
20859 _ACEOF
20860
20861 fi
20862
20863
20864
20865
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20867 $as_echo_n "checking for ldexpl... " >&6; }
20868 if ${gcc_cv_math_func_ldexpl+:} false; then :
20869 $as_echo_n "(cached) " >&6
20870 else
20871 if test x$gcc_no_link = xyes; then
20872 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20873 fi
20874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h. */
20876
20877 #ifdef HAVE_COMPLEX_H
20878 #include <complex.h>
20879 #endif
20880 #ifdef HAVE_MATH_H
20881 #include <math.h>
20882 #endif
20883
20884 int (*ptr)() = (int (*)())ldexpl;
20885
20886 int
20887 main ()
20888 {
20889 return 0;
20890 }
20891
20892 _ACEOF
20893 if ac_fn_c_try_link "$LINENO"; then :
20894 gcc_cv_math_func_ldexpl=yes
20895 else
20896 gcc_cv_math_func_ldexpl=no
20897 fi
20898 rm -f core conftest.err conftest.$ac_objext \
20899 conftest$ac_exeext conftest.$ac_ext
20900 fi
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20902 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20903 if test $gcc_cv_math_func_ldexpl = yes; then
20904
20905 cat >>confdefs.h <<_ACEOF
20906 #define HAVE_LDEXPL 1
20907 _ACEOF
20908
20909 fi
20910
20911
20912
20913
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20915 $as_echo_n "checking for logf... " >&6; }
20916 if ${gcc_cv_math_func_logf+:} false; then :
20917 $as_echo_n "(cached) " >&6
20918 else
20919 if test x$gcc_no_link = xyes; then
20920 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20921 fi
20922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20924
20925 #ifdef HAVE_COMPLEX_H
20926 #include <complex.h>
20927 #endif
20928 #ifdef HAVE_MATH_H
20929 #include <math.h>
20930 #endif
20931
20932 int (*ptr)() = (int (*)())logf;
20933
20934 int
20935 main ()
20936 {
20937 return 0;
20938 }
20939
20940 _ACEOF
20941 if ac_fn_c_try_link "$LINENO"; then :
20942 gcc_cv_math_func_logf=yes
20943 else
20944 gcc_cv_math_func_logf=no
20945 fi
20946 rm -f core conftest.err conftest.$ac_objext \
20947 conftest$ac_exeext conftest.$ac_ext
20948 fi
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20950 $as_echo "$gcc_cv_math_func_logf" >&6; }
20951 if test $gcc_cv_math_func_logf = yes; then
20952
20953 cat >>confdefs.h <<_ACEOF
20954 #define HAVE_LOGF 1
20955 _ACEOF
20956
20957 fi
20958
20959
20960
20961
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20963 $as_echo_n "checking for log... " >&6; }
20964 if ${gcc_cv_math_func_log+:} false; then :
20965 $as_echo_n "(cached) " >&6
20966 else
20967 if test x$gcc_no_link = xyes; then
20968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20969 fi
20970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20971 /* end confdefs.h. */
20972
20973 #ifdef HAVE_COMPLEX_H
20974 #include <complex.h>
20975 #endif
20976 #ifdef HAVE_MATH_H
20977 #include <math.h>
20978 #endif
20979
20980 int (*ptr)() = (int (*)())log;
20981
20982 int
20983 main ()
20984 {
20985 return 0;
20986 }
20987
20988 _ACEOF
20989 if ac_fn_c_try_link "$LINENO"; then :
20990 gcc_cv_math_func_log=yes
20991 else
20992 gcc_cv_math_func_log=no
20993 fi
20994 rm -f core conftest.err conftest.$ac_objext \
20995 conftest$ac_exeext conftest.$ac_ext
20996 fi
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20998 $as_echo "$gcc_cv_math_func_log" >&6; }
20999 if test $gcc_cv_math_func_log = yes; then
21000
21001 cat >>confdefs.h <<_ACEOF
21002 #define HAVE_LOG 1
21003 _ACEOF
21004
21005 fi
21006
21007
21008
21009
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
21011 $as_echo_n "checking for logl... " >&6; }
21012 if ${gcc_cv_math_func_logl+:} false; then :
21013 $as_echo_n "(cached) " >&6
21014 else
21015 if test x$gcc_no_link = xyes; then
21016 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21017 fi
21018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21020
21021 #ifdef HAVE_COMPLEX_H
21022 #include <complex.h>
21023 #endif
21024 #ifdef HAVE_MATH_H
21025 #include <math.h>
21026 #endif
21027
21028 int (*ptr)() = (int (*)())logl;
21029
21030 int
21031 main ()
21032 {
21033 return 0;
21034 }
21035
21036 _ACEOF
21037 if ac_fn_c_try_link "$LINENO"; then :
21038 gcc_cv_math_func_logl=yes
21039 else
21040 gcc_cv_math_func_logl=no
21041 fi
21042 rm -f core conftest.err conftest.$ac_objext \
21043 conftest$ac_exeext conftest.$ac_ext
21044 fi
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
21046 $as_echo "$gcc_cv_math_func_logl" >&6; }
21047 if test $gcc_cv_math_func_logl = yes; then
21048
21049 cat >>confdefs.h <<_ACEOF
21050 #define HAVE_LOGL 1
21051 _ACEOF
21052
21053 fi
21054
21055
21056
21057
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
21059 $as_echo_n "checking for clogf... " >&6; }
21060 if ${gcc_cv_math_func_clogf+:} false; then :
21061 $as_echo_n "(cached) " >&6
21062 else
21063 if test x$gcc_no_link = xyes; then
21064 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21065 fi
21066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21067 /* end confdefs.h. */
21068
21069 #ifdef HAVE_COMPLEX_H
21070 #include <complex.h>
21071 #endif
21072 #ifdef HAVE_MATH_H
21073 #include <math.h>
21074 #endif
21075
21076 int (*ptr)() = (int (*)())clogf;
21077
21078 int
21079 main ()
21080 {
21081 return 0;
21082 }
21083
21084 _ACEOF
21085 if ac_fn_c_try_link "$LINENO"; then :
21086 gcc_cv_math_func_clogf=yes
21087 else
21088 gcc_cv_math_func_clogf=no
21089 fi
21090 rm -f core conftest.err conftest.$ac_objext \
21091 conftest$ac_exeext conftest.$ac_ext
21092 fi
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
21094 $as_echo "$gcc_cv_math_func_clogf" >&6; }
21095 if test $gcc_cv_math_func_clogf = yes; then
21096
21097 cat >>confdefs.h <<_ACEOF
21098 #define HAVE_CLOGF 1
21099 _ACEOF
21100
21101 fi
21102
21103
21104
21105
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
21107 $as_echo_n "checking for clog... " >&6; }
21108 if ${gcc_cv_math_func_clog+:} false; then :
21109 $as_echo_n "(cached) " >&6
21110 else
21111 if test x$gcc_no_link = xyes; then
21112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21113 fi
21114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21115 /* end confdefs.h. */
21116
21117 #ifdef HAVE_COMPLEX_H
21118 #include <complex.h>
21119 #endif
21120 #ifdef HAVE_MATH_H
21121 #include <math.h>
21122 #endif
21123
21124 int (*ptr)() = (int (*)())clog;
21125
21126 int
21127 main ()
21128 {
21129 return 0;
21130 }
21131
21132 _ACEOF
21133 if ac_fn_c_try_link "$LINENO"; then :
21134 gcc_cv_math_func_clog=yes
21135 else
21136 gcc_cv_math_func_clog=no
21137 fi
21138 rm -f core conftest.err conftest.$ac_objext \
21139 conftest$ac_exeext conftest.$ac_ext
21140 fi
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
21142 $as_echo "$gcc_cv_math_func_clog" >&6; }
21143 if test $gcc_cv_math_func_clog = yes; then
21144
21145 cat >>confdefs.h <<_ACEOF
21146 #define HAVE_CLOG 1
21147 _ACEOF
21148
21149 fi
21150
21151
21152
21153
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21155 $as_echo_n "checking for clogl... " >&6; }
21156 if ${gcc_cv_math_func_clogl+:} false; then :
21157 $as_echo_n "(cached) " >&6
21158 else
21159 if test x$gcc_no_link = xyes; then
21160 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21161 fi
21162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21163 /* end confdefs.h. */
21164
21165 #ifdef HAVE_COMPLEX_H
21166 #include <complex.h>
21167 #endif
21168 #ifdef HAVE_MATH_H
21169 #include <math.h>
21170 #endif
21171
21172 int (*ptr)() = (int (*)())clogl;
21173
21174 int
21175 main ()
21176 {
21177 return 0;
21178 }
21179
21180 _ACEOF
21181 if ac_fn_c_try_link "$LINENO"; then :
21182 gcc_cv_math_func_clogl=yes
21183 else
21184 gcc_cv_math_func_clogl=no
21185 fi
21186 rm -f core conftest.err conftest.$ac_objext \
21187 conftest$ac_exeext conftest.$ac_ext
21188 fi
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21190 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21191 if test $gcc_cv_math_func_clogl = yes; then
21192
21193 cat >>confdefs.h <<_ACEOF
21194 #define HAVE_CLOGL 1
21195 _ACEOF
21196
21197 fi
21198
21199
21200
21201
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21203 $as_echo_n "checking for log10f... " >&6; }
21204 if ${gcc_cv_math_func_log10f+:} false; then :
21205 $as_echo_n "(cached) " >&6
21206 else
21207 if test x$gcc_no_link = xyes; then
21208 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21209 fi
21210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21211 /* end confdefs.h. */
21212
21213 #ifdef HAVE_COMPLEX_H
21214 #include <complex.h>
21215 #endif
21216 #ifdef HAVE_MATH_H
21217 #include <math.h>
21218 #endif
21219
21220 int (*ptr)() = (int (*)())log10f;
21221
21222 int
21223 main ()
21224 {
21225 return 0;
21226 }
21227
21228 _ACEOF
21229 if ac_fn_c_try_link "$LINENO"; then :
21230 gcc_cv_math_func_log10f=yes
21231 else
21232 gcc_cv_math_func_log10f=no
21233 fi
21234 rm -f core conftest.err conftest.$ac_objext \
21235 conftest$ac_exeext conftest.$ac_ext
21236 fi
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21238 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21239 if test $gcc_cv_math_func_log10f = yes; then
21240
21241 cat >>confdefs.h <<_ACEOF
21242 #define HAVE_LOG10F 1
21243 _ACEOF
21244
21245 fi
21246
21247
21248
21249
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21251 $as_echo_n "checking for log10... " >&6; }
21252 if ${gcc_cv_math_func_log10+:} false; then :
21253 $as_echo_n "(cached) " >&6
21254 else
21255 if test x$gcc_no_link = xyes; then
21256 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21257 fi
21258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21259 /* end confdefs.h. */
21260
21261 #ifdef HAVE_COMPLEX_H
21262 #include <complex.h>
21263 #endif
21264 #ifdef HAVE_MATH_H
21265 #include <math.h>
21266 #endif
21267
21268 int (*ptr)() = (int (*)())log10;
21269
21270 int
21271 main ()
21272 {
21273 return 0;
21274 }
21275
21276 _ACEOF
21277 if ac_fn_c_try_link "$LINENO"; then :
21278 gcc_cv_math_func_log10=yes
21279 else
21280 gcc_cv_math_func_log10=no
21281 fi
21282 rm -f core conftest.err conftest.$ac_objext \
21283 conftest$ac_exeext conftest.$ac_ext
21284 fi
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21286 $as_echo "$gcc_cv_math_func_log10" >&6; }
21287 if test $gcc_cv_math_func_log10 = yes; then
21288
21289 cat >>confdefs.h <<_ACEOF
21290 #define HAVE_LOG10 1
21291 _ACEOF
21292
21293 fi
21294
21295
21296
21297
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21299 $as_echo_n "checking for log10l... " >&6; }
21300 if ${gcc_cv_math_func_log10l+:} false; then :
21301 $as_echo_n "(cached) " >&6
21302 else
21303 if test x$gcc_no_link = xyes; then
21304 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21305 fi
21306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21307 /* end confdefs.h. */
21308
21309 #ifdef HAVE_COMPLEX_H
21310 #include <complex.h>
21311 #endif
21312 #ifdef HAVE_MATH_H
21313 #include <math.h>
21314 #endif
21315
21316 int (*ptr)() = (int (*)())log10l;
21317
21318 int
21319 main ()
21320 {
21321 return 0;
21322 }
21323
21324 _ACEOF
21325 if ac_fn_c_try_link "$LINENO"; then :
21326 gcc_cv_math_func_log10l=yes
21327 else
21328 gcc_cv_math_func_log10l=no
21329 fi
21330 rm -f core conftest.err conftest.$ac_objext \
21331 conftest$ac_exeext conftest.$ac_ext
21332 fi
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21334 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21335 if test $gcc_cv_math_func_log10l = yes; then
21336
21337 cat >>confdefs.h <<_ACEOF
21338 #define HAVE_LOG10L 1
21339 _ACEOF
21340
21341 fi
21342
21343
21344
21345
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21347 $as_echo_n "checking for clog10f... " >&6; }
21348 if ${gcc_cv_math_func_clog10f+:} false; then :
21349 $as_echo_n "(cached) " >&6
21350 else
21351 if test x$gcc_no_link = xyes; then
21352 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21353 fi
21354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21355 /* end confdefs.h. */
21356
21357 #ifdef HAVE_COMPLEX_H
21358 #include <complex.h>
21359 #endif
21360 #ifdef HAVE_MATH_H
21361 #include <math.h>
21362 #endif
21363
21364 int (*ptr)() = (int (*)())clog10f;
21365
21366 int
21367 main ()
21368 {
21369 return 0;
21370 }
21371
21372 _ACEOF
21373 if ac_fn_c_try_link "$LINENO"; then :
21374 gcc_cv_math_func_clog10f=yes
21375 else
21376 gcc_cv_math_func_clog10f=no
21377 fi
21378 rm -f core conftest.err conftest.$ac_objext \
21379 conftest$ac_exeext conftest.$ac_ext
21380 fi
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21382 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21383 if test $gcc_cv_math_func_clog10f = yes; then
21384
21385 cat >>confdefs.h <<_ACEOF
21386 #define HAVE_CLOG10F 1
21387 _ACEOF
21388
21389 fi
21390
21391
21392
21393
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21395 $as_echo_n "checking for clog10... " >&6; }
21396 if ${gcc_cv_math_func_clog10+:} false; then :
21397 $as_echo_n "(cached) " >&6
21398 else
21399 if test x$gcc_no_link = xyes; then
21400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21401 fi
21402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h. */
21404
21405 #ifdef HAVE_COMPLEX_H
21406 #include <complex.h>
21407 #endif
21408 #ifdef HAVE_MATH_H
21409 #include <math.h>
21410 #endif
21411
21412 int (*ptr)() = (int (*)())clog10;
21413
21414 int
21415 main ()
21416 {
21417 return 0;
21418 }
21419
21420 _ACEOF
21421 if ac_fn_c_try_link "$LINENO"; then :
21422 gcc_cv_math_func_clog10=yes
21423 else
21424 gcc_cv_math_func_clog10=no
21425 fi
21426 rm -f core conftest.err conftest.$ac_objext \
21427 conftest$ac_exeext conftest.$ac_ext
21428 fi
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21430 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21431 if test $gcc_cv_math_func_clog10 = yes; then
21432
21433 cat >>confdefs.h <<_ACEOF
21434 #define HAVE_CLOG10 1
21435 _ACEOF
21436
21437 fi
21438
21439
21440
21441
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21443 $as_echo_n "checking for clog10l... " >&6; }
21444 if ${gcc_cv_math_func_clog10l+:} false; then :
21445 $as_echo_n "(cached) " >&6
21446 else
21447 if test x$gcc_no_link = xyes; then
21448 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21449 fi
21450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21451 /* end confdefs.h. */
21452
21453 #ifdef HAVE_COMPLEX_H
21454 #include <complex.h>
21455 #endif
21456 #ifdef HAVE_MATH_H
21457 #include <math.h>
21458 #endif
21459
21460 int (*ptr)() = (int (*)())clog10l;
21461
21462 int
21463 main ()
21464 {
21465 return 0;
21466 }
21467
21468 _ACEOF
21469 if ac_fn_c_try_link "$LINENO"; then :
21470 gcc_cv_math_func_clog10l=yes
21471 else
21472 gcc_cv_math_func_clog10l=no
21473 fi
21474 rm -f core conftest.err conftest.$ac_objext \
21475 conftest$ac_exeext conftest.$ac_ext
21476 fi
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21478 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21479 if test $gcc_cv_math_func_clog10l = yes; then
21480
21481 cat >>confdefs.h <<_ACEOF
21482 #define HAVE_CLOG10L 1
21483 _ACEOF
21484
21485 fi
21486
21487
21488
21489
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21491 $as_echo_n "checking for nextafterf... " >&6; }
21492 if ${gcc_cv_math_func_nextafterf+:} false; then :
21493 $as_echo_n "(cached) " >&6
21494 else
21495 if test x$gcc_no_link = xyes; then
21496 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21497 fi
21498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21499 /* end confdefs.h. */
21500
21501 #ifdef HAVE_COMPLEX_H
21502 #include <complex.h>
21503 #endif
21504 #ifdef HAVE_MATH_H
21505 #include <math.h>
21506 #endif
21507
21508 int (*ptr)() = (int (*)())nextafterf;
21509
21510 int
21511 main ()
21512 {
21513 return 0;
21514 }
21515
21516 _ACEOF
21517 if ac_fn_c_try_link "$LINENO"; then :
21518 gcc_cv_math_func_nextafterf=yes
21519 else
21520 gcc_cv_math_func_nextafterf=no
21521 fi
21522 rm -f core conftest.err conftest.$ac_objext \
21523 conftest$ac_exeext conftest.$ac_ext
21524 fi
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21526 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21527 if test $gcc_cv_math_func_nextafterf = yes; then
21528
21529 cat >>confdefs.h <<_ACEOF
21530 #define HAVE_NEXTAFTERF 1
21531 _ACEOF
21532
21533 fi
21534
21535
21536
21537
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21539 $as_echo_n "checking for nextafter... " >&6; }
21540 if ${gcc_cv_math_func_nextafter+:} false; then :
21541 $as_echo_n "(cached) " >&6
21542 else
21543 if test x$gcc_no_link = xyes; then
21544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21545 fi
21546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21547 /* end confdefs.h. */
21548
21549 #ifdef HAVE_COMPLEX_H
21550 #include <complex.h>
21551 #endif
21552 #ifdef HAVE_MATH_H
21553 #include <math.h>
21554 #endif
21555
21556 int (*ptr)() = (int (*)())nextafter;
21557
21558 int
21559 main ()
21560 {
21561 return 0;
21562 }
21563
21564 _ACEOF
21565 if ac_fn_c_try_link "$LINENO"; then :
21566 gcc_cv_math_func_nextafter=yes
21567 else
21568 gcc_cv_math_func_nextafter=no
21569 fi
21570 rm -f core conftest.err conftest.$ac_objext \
21571 conftest$ac_exeext conftest.$ac_ext
21572 fi
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21574 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21575 if test $gcc_cv_math_func_nextafter = yes; then
21576
21577 cat >>confdefs.h <<_ACEOF
21578 #define HAVE_NEXTAFTER 1
21579 _ACEOF
21580
21581 fi
21582
21583
21584
21585
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21587 $as_echo_n "checking for nextafterl... " >&6; }
21588 if ${gcc_cv_math_func_nextafterl+:} false; then :
21589 $as_echo_n "(cached) " >&6
21590 else
21591 if test x$gcc_no_link = xyes; then
21592 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21593 fi
21594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21595 /* end confdefs.h. */
21596
21597 #ifdef HAVE_COMPLEX_H
21598 #include <complex.h>
21599 #endif
21600 #ifdef HAVE_MATH_H
21601 #include <math.h>
21602 #endif
21603
21604 int (*ptr)() = (int (*)())nextafterl;
21605
21606 int
21607 main ()
21608 {
21609 return 0;
21610 }
21611
21612 _ACEOF
21613 if ac_fn_c_try_link "$LINENO"; then :
21614 gcc_cv_math_func_nextafterl=yes
21615 else
21616 gcc_cv_math_func_nextafterl=no
21617 fi
21618 rm -f core conftest.err conftest.$ac_objext \
21619 conftest$ac_exeext conftest.$ac_ext
21620 fi
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21622 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21623 if test $gcc_cv_math_func_nextafterl = yes; then
21624
21625 cat >>confdefs.h <<_ACEOF
21626 #define HAVE_NEXTAFTERL 1
21627 _ACEOF
21628
21629 fi
21630
21631
21632
21633
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21635 $as_echo_n "checking for powf... " >&6; }
21636 if ${gcc_cv_math_func_powf+:} false; then :
21637 $as_echo_n "(cached) " >&6
21638 else
21639 if test x$gcc_no_link = xyes; then
21640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21641 fi
21642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21643 /* end confdefs.h. */
21644
21645 #ifdef HAVE_COMPLEX_H
21646 #include <complex.h>
21647 #endif
21648 #ifdef HAVE_MATH_H
21649 #include <math.h>
21650 #endif
21651
21652 int (*ptr)() = (int (*)())powf;
21653
21654 int
21655 main ()
21656 {
21657 return 0;
21658 }
21659
21660 _ACEOF
21661 if ac_fn_c_try_link "$LINENO"; then :
21662 gcc_cv_math_func_powf=yes
21663 else
21664 gcc_cv_math_func_powf=no
21665 fi
21666 rm -f core conftest.err conftest.$ac_objext \
21667 conftest$ac_exeext conftest.$ac_ext
21668 fi
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21670 $as_echo "$gcc_cv_math_func_powf" >&6; }
21671 if test $gcc_cv_math_func_powf = yes; then
21672
21673 cat >>confdefs.h <<_ACEOF
21674 #define HAVE_POWF 1
21675 _ACEOF
21676
21677 fi
21678
21679
21680
21681
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21683 $as_echo_n "checking for pow... " >&6; }
21684 if ${gcc_cv_math_func_pow+:} false; then :
21685 $as_echo_n "(cached) " >&6
21686 else
21687 if test x$gcc_no_link = xyes; then
21688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21689 fi
21690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21691 /* end confdefs.h. */
21692
21693 #ifdef HAVE_COMPLEX_H
21694 #include <complex.h>
21695 #endif
21696 #ifdef HAVE_MATH_H
21697 #include <math.h>
21698 #endif
21699
21700 int (*ptr)() = (int (*)())pow;
21701
21702 int
21703 main ()
21704 {
21705 return 0;
21706 }
21707
21708 _ACEOF
21709 if ac_fn_c_try_link "$LINENO"; then :
21710 gcc_cv_math_func_pow=yes
21711 else
21712 gcc_cv_math_func_pow=no
21713 fi
21714 rm -f core conftest.err conftest.$ac_objext \
21715 conftest$ac_exeext conftest.$ac_ext
21716 fi
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21718 $as_echo "$gcc_cv_math_func_pow" >&6; }
21719 if test $gcc_cv_math_func_pow = yes; then
21720
21721 cat >>confdefs.h <<_ACEOF
21722 #define HAVE_POW 1
21723 _ACEOF
21724
21725 fi
21726
21727
21728
21729
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21731 $as_echo_n "checking for cpowf... " >&6; }
21732 if ${gcc_cv_math_func_cpowf+:} false; then :
21733 $as_echo_n "(cached) " >&6
21734 else
21735 if test x$gcc_no_link = xyes; then
21736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21737 fi
21738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21739 /* end confdefs.h. */
21740
21741 #ifdef HAVE_COMPLEX_H
21742 #include <complex.h>
21743 #endif
21744 #ifdef HAVE_MATH_H
21745 #include <math.h>
21746 #endif
21747
21748 int (*ptr)() = (int (*)())cpowf;
21749
21750 int
21751 main ()
21752 {
21753 return 0;
21754 }
21755
21756 _ACEOF
21757 if ac_fn_c_try_link "$LINENO"; then :
21758 gcc_cv_math_func_cpowf=yes
21759 else
21760 gcc_cv_math_func_cpowf=no
21761 fi
21762 rm -f core conftest.err conftest.$ac_objext \
21763 conftest$ac_exeext conftest.$ac_ext
21764 fi
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21766 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21767 if test $gcc_cv_math_func_cpowf = yes; then
21768
21769 cat >>confdefs.h <<_ACEOF
21770 #define HAVE_CPOWF 1
21771 _ACEOF
21772
21773 fi
21774
21775
21776
21777
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21779 $as_echo_n "checking for cpow... " >&6; }
21780 if ${gcc_cv_math_func_cpow+:} false; then :
21781 $as_echo_n "(cached) " >&6
21782 else
21783 if test x$gcc_no_link = xyes; then
21784 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21785 fi
21786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21787 /* end confdefs.h. */
21788
21789 #ifdef HAVE_COMPLEX_H
21790 #include <complex.h>
21791 #endif
21792 #ifdef HAVE_MATH_H
21793 #include <math.h>
21794 #endif
21795
21796 int (*ptr)() = (int (*)())cpow;
21797
21798 int
21799 main ()
21800 {
21801 return 0;
21802 }
21803
21804 _ACEOF
21805 if ac_fn_c_try_link "$LINENO"; then :
21806 gcc_cv_math_func_cpow=yes
21807 else
21808 gcc_cv_math_func_cpow=no
21809 fi
21810 rm -f core conftest.err conftest.$ac_objext \
21811 conftest$ac_exeext conftest.$ac_ext
21812 fi
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21814 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21815 if test $gcc_cv_math_func_cpow = yes; then
21816
21817 cat >>confdefs.h <<_ACEOF
21818 #define HAVE_CPOW 1
21819 _ACEOF
21820
21821 fi
21822
21823
21824
21825
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21827 $as_echo_n "checking for cpowl... " >&6; }
21828 if ${gcc_cv_math_func_cpowl+:} false; then :
21829 $as_echo_n "(cached) " >&6
21830 else
21831 if test x$gcc_no_link = xyes; then
21832 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21833 fi
21834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21835 /* end confdefs.h. */
21836
21837 #ifdef HAVE_COMPLEX_H
21838 #include <complex.h>
21839 #endif
21840 #ifdef HAVE_MATH_H
21841 #include <math.h>
21842 #endif
21843
21844 int (*ptr)() = (int (*)())cpowl;
21845
21846 int
21847 main ()
21848 {
21849 return 0;
21850 }
21851
21852 _ACEOF
21853 if ac_fn_c_try_link "$LINENO"; then :
21854 gcc_cv_math_func_cpowl=yes
21855 else
21856 gcc_cv_math_func_cpowl=no
21857 fi
21858 rm -f core conftest.err conftest.$ac_objext \
21859 conftest$ac_exeext conftest.$ac_ext
21860 fi
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21862 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21863 if test $gcc_cv_math_func_cpowl = yes; then
21864
21865 cat >>confdefs.h <<_ACEOF
21866 #define HAVE_CPOWL 1
21867 _ACEOF
21868
21869 fi
21870
21871
21872
21873
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21875 $as_echo_n "checking for roundf... " >&6; }
21876 if ${gcc_cv_math_func_roundf+:} false; then :
21877 $as_echo_n "(cached) " >&6
21878 else
21879 if test x$gcc_no_link = xyes; then
21880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21881 fi
21882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21883 /* end confdefs.h. */
21884
21885 #ifdef HAVE_COMPLEX_H
21886 #include <complex.h>
21887 #endif
21888 #ifdef HAVE_MATH_H
21889 #include <math.h>
21890 #endif
21891
21892 int (*ptr)() = (int (*)())roundf;
21893
21894 int
21895 main ()
21896 {
21897 return 0;
21898 }
21899
21900 _ACEOF
21901 if ac_fn_c_try_link "$LINENO"; then :
21902 gcc_cv_math_func_roundf=yes
21903 else
21904 gcc_cv_math_func_roundf=no
21905 fi
21906 rm -f core conftest.err conftest.$ac_objext \
21907 conftest$ac_exeext conftest.$ac_ext
21908 fi
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21910 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21911 if test $gcc_cv_math_func_roundf = yes; then
21912
21913 cat >>confdefs.h <<_ACEOF
21914 #define HAVE_ROUNDF 1
21915 _ACEOF
21916
21917 fi
21918
21919
21920
21921
21922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21923 $as_echo_n "checking for round... " >&6; }
21924 if ${gcc_cv_math_func_round+:} false; then :
21925 $as_echo_n "(cached) " >&6
21926 else
21927 if test x$gcc_no_link = xyes; then
21928 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21929 fi
21930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h. */
21932
21933 #ifdef HAVE_COMPLEX_H
21934 #include <complex.h>
21935 #endif
21936 #ifdef HAVE_MATH_H
21937 #include <math.h>
21938 #endif
21939
21940 int (*ptr)() = (int (*)())round;
21941
21942 int
21943 main ()
21944 {
21945 return 0;
21946 }
21947
21948 _ACEOF
21949 if ac_fn_c_try_link "$LINENO"; then :
21950 gcc_cv_math_func_round=yes
21951 else
21952 gcc_cv_math_func_round=no
21953 fi
21954 rm -f core conftest.err conftest.$ac_objext \
21955 conftest$ac_exeext conftest.$ac_ext
21956 fi
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21958 $as_echo "$gcc_cv_math_func_round" >&6; }
21959 if test $gcc_cv_math_func_round = yes; then
21960
21961 cat >>confdefs.h <<_ACEOF
21962 #define HAVE_ROUND 1
21963 _ACEOF
21964
21965 fi
21966
21967
21968
21969
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21971 $as_echo_n "checking for roundl... " >&6; }
21972 if ${gcc_cv_math_func_roundl+:} false; then :
21973 $as_echo_n "(cached) " >&6
21974 else
21975 if test x$gcc_no_link = xyes; then
21976 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21977 fi
21978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21979 /* end confdefs.h. */
21980
21981 #ifdef HAVE_COMPLEX_H
21982 #include <complex.h>
21983 #endif
21984 #ifdef HAVE_MATH_H
21985 #include <math.h>
21986 #endif
21987
21988 int (*ptr)() = (int (*)())roundl;
21989
21990 int
21991 main ()
21992 {
21993 return 0;
21994 }
21995
21996 _ACEOF
21997 if ac_fn_c_try_link "$LINENO"; then :
21998 gcc_cv_math_func_roundl=yes
21999 else
22000 gcc_cv_math_func_roundl=no
22001 fi
22002 rm -f core conftest.err conftest.$ac_objext \
22003 conftest$ac_exeext conftest.$ac_ext
22004 fi
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
22006 $as_echo "$gcc_cv_math_func_roundl" >&6; }
22007 if test $gcc_cv_math_func_roundl = yes; then
22008
22009 cat >>confdefs.h <<_ACEOF
22010 #define HAVE_ROUNDL 1
22011 _ACEOF
22012
22013 fi
22014
22015
22016
22017
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
22019 $as_echo_n "checking for lroundf... " >&6; }
22020 if ${gcc_cv_math_func_lroundf+:} false; then :
22021 $as_echo_n "(cached) " >&6
22022 else
22023 if test x$gcc_no_link = xyes; then
22024 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22025 fi
22026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22027 /* end confdefs.h. */
22028
22029 #ifdef HAVE_COMPLEX_H
22030 #include <complex.h>
22031 #endif
22032 #ifdef HAVE_MATH_H
22033 #include <math.h>
22034 #endif
22035
22036 int (*ptr)() = (int (*)())lroundf;
22037
22038 int
22039 main ()
22040 {
22041 return 0;
22042 }
22043
22044 _ACEOF
22045 if ac_fn_c_try_link "$LINENO"; then :
22046 gcc_cv_math_func_lroundf=yes
22047 else
22048 gcc_cv_math_func_lroundf=no
22049 fi
22050 rm -f core conftest.err conftest.$ac_objext \
22051 conftest$ac_exeext conftest.$ac_ext
22052 fi
22053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
22054 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
22055 if test $gcc_cv_math_func_lroundf = yes; then
22056
22057 cat >>confdefs.h <<_ACEOF
22058 #define HAVE_LROUNDF 1
22059 _ACEOF
22060
22061 fi
22062
22063
22064
22065
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
22067 $as_echo_n "checking for lround... " >&6; }
22068 if ${gcc_cv_math_func_lround+:} false; then :
22069 $as_echo_n "(cached) " >&6
22070 else
22071 if test x$gcc_no_link = xyes; then
22072 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22073 fi
22074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22075 /* end confdefs.h. */
22076
22077 #ifdef HAVE_COMPLEX_H
22078 #include <complex.h>
22079 #endif
22080 #ifdef HAVE_MATH_H
22081 #include <math.h>
22082 #endif
22083
22084 int (*ptr)() = (int (*)())lround;
22085
22086 int
22087 main ()
22088 {
22089 return 0;
22090 }
22091
22092 _ACEOF
22093 if ac_fn_c_try_link "$LINENO"; then :
22094 gcc_cv_math_func_lround=yes
22095 else
22096 gcc_cv_math_func_lround=no
22097 fi
22098 rm -f core conftest.err conftest.$ac_objext \
22099 conftest$ac_exeext conftest.$ac_ext
22100 fi
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
22102 $as_echo "$gcc_cv_math_func_lround" >&6; }
22103 if test $gcc_cv_math_func_lround = yes; then
22104
22105 cat >>confdefs.h <<_ACEOF
22106 #define HAVE_LROUND 1
22107 _ACEOF
22108
22109 fi
22110
22111
22112
22113
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
22115 $as_echo_n "checking for lroundl... " >&6; }
22116 if ${gcc_cv_math_func_lroundl+:} false; then :
22117 $as_echo_n "(cached) " >&6
22118 else
22119 if test x$gcc_no_link = xyes; then
22120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22121 fi
22122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22123 /* end confdefs.h. */
22124
22125 #ifdef HAVE_COMPLEX_H
22126 #include <complex.h>
22127 #endif
22128 #ifdef HAVE_MATH_H
22129 #include <math.h>
22130 #endif
22131
22132 int (*ptr)() = (int (*)())lroundl;
22133
22134 int
22135 main ()
22136 {
22137 return 0;
22138 }
22139
22140 _ACEOF
22141 if ac_fn_c_try_link "$LINENO"; then :
22142 gcc_cv_math_func_lroundl=yes
22143 else
22144 gcc_cv_math_func_lroundl=no
22145 fi
22146 rm -f core conftest.err conftest.$ac_objext \
22147 conftest$ac_exeext conftest.$ac_ext
22148 fi
22149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22150 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22151 if test $gcc_cv_math_func_lroundl = yes; then
22152
22153 cat >>confdefs.h <<_ACEOF
22154 #define HAVE_LROUNDL 1
22155 _ACEOF
22156
22157 fi
22158
22159
22160
22161
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22163 $as_echo_n "checking for llroundf... " >&6; }
22164 if ${gcc_cv_math_func_llroundf+:} false; then :
22165 $as_echo_n "(cached) " >&6
22166 else
22167 if test x$gcc_no_link = xyes; then
22168 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22169 fi
22170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22171 /* end confdefs.h. */
22172
22173 #ifdef HAVE_COMPLEX_H
22174 #include <complex.h>
22175 #endif
22176 #ifdef HAVE_MATH_H
22177 #include <math.h>
22178 #endif
22179
22180 int (*ptr)() = (int (*)())llroundf;
22181
22182 int
22183 main ()
22184 {
22185 return 0;
22186 }
22187
22188 _ACEOF
22189 if ac_fn_c_try_link "$LINENO"; then :
22190 gcc_cv_math_func_llroundf=yes
22191 else
22192 gcc_cv_math_func_llroundf=no
22193 fi
22194 rm -f core conftest.err conftest.$ac_objext \
22195 conftest$ac_exeext conftest.$ac_ext
22196 fi
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22198 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22199 if test $gcc_cv_math_func_llroundf = yes; then
22200
22201 cat >>confdefs.h <<_ACEOF
22202 #define HAVE_LLROUNDF 1
22203 _ACEOF
22204
22205 fi
22206
22207
22208
22209
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22211 $as_echo_n "checking for llround... " >&6; }
22212 if ${gcc_cv_math_func_llround+:} false; then :
22213 $as_echo_n "(cached) " >&6
22214 else
22215 if test x$gcc_no_link = xyes; then
22216 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22217 fi
22218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22219 /* end confdefs.h. */
22220
22221 #ifdef HAVE_COMPLEX_H
22222 #include <complex.h>
22223 #endif
22224 #ifdef HAVE_MATH_H
22225 #include <math.h>
22226 #endif
22227
22228 int (*ptr)() = (int (*)())llround;
22229
22230 int
22231 main ()
22232 {
22233 return 0;
22234 }
22235
22236 _ACEOF
22237 if ac_fn_c_try_link "$LINENO"; then :
22238 gcc_cv_math_func_llround=yes
22239 else
22240 gcc_cv_math_func_llround=no
22241 fi
22242 rm -f core conftest.err conftest.$ac_objext \
22243 conftest$ac_exeext conftest.$ac_ext
22244 fi
22245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22246 $as_echo "$gcc_cv_math_func_llround" >&6; }
22247 if test $gcc_cv_math_func_llround = yes; then
22248
22249 cat >>confdefs.h <<_ACEOF
22250 #define HAVE_LLROUND 1
22251 _ACEOF
22252
22253 fi
22254
22255
22256
22257
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22259 $as_echo_n "checking for llroundl... " >&6; }
22260 if ${gcc_cv_math_func_llroundl+:} false; then :
22261 $as_echo_n "(cached) " >&6
22262 else
22263 if test x$gcc_no_link = xyes; then
22264 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22265 fi
22266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22267 /* end confdefs.h. */
22268
22269 #ifdef HAVE_COMPLEX_H
22270 #include <complex.h>
22271 #endif
22272 #ifdef HAVE_MATH_H
22273 #include <math.h>
22274 #endif
22275
22276 int (*ptr)() = (int (*)())llroundl;
22277
22278 int
22279 main ()
22280 {
22281 return 0;
22282 }
22283
22284 _ACEOF
22285 if ac_fn_c_try_link "$LINENO"; then :
22286 gcc_cv_math_func_llroundl=yes
22287 else
22288 gcc_cv_math_func_llroundl=no
22289 fi
22290 rm -f core conftest.err conftest.$ac_objext \
22291 conftest$ac_exeext conftest.$ac_ext
22292 fi
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22294 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22295 if test $gcc_cv_math_func_llroundl = yes; then
22296
22297 cat >>confdefs.h <<_ACEOF
22298 #define HAVE_LLROUNDL 1
22299 _ACEOF
22300
22301 fi
22302
22303
22304
22305
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22307 $as_echo_n "checking for scalbnf... " >&6; }
22308 if ${gcc_cv_math_func_scalbnf+:} false; then :
22309 $as_echo_n "(cached) " >&6
22310 else
22311 if test x$gcc_no_link = xyes; then
22312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22313 fi
22314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22315 /* end confdefs.h. */
22316
22317 #ifdef HAVE_COMPLEX_H
22318 #include <complex.h>
22319 #endif
22320 #ifdef HAVE_MATH_H
22321 #include <math.h>
22322 #endif
22323
22324 int (*ptr)() = (int (*)())scalbnf;
22325
22326 int
22327 main ()
22328 {
22329 return 0;
22330 }
22331
22332 _ACEOF
22333 if ac_fn_c_try_link "$LINENO"; then :
22334 gcc_cv_math_func_scalbnf=yes
22335 else
22336 gcc_cv_math_func_scalbnf=no
22337 fi
22338 rm -f core conftest.err conftest.$ac_objext \
22339 conftest$ac_exeext conftest.$ac_ext
22340 fi
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22342 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22343 if test $gcc_cv_math_func_scalbnf = yes; then
22344
22345 cat >>confdefs.h <<_ACEOF
22346 #define HAVE_SCALBNF 1
22347 _ACEOF
22348
22349 fi
22350
22351
22352
22353
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22355 $as_echo_n "checking for scalbn... " >&6; }
22356 if ${gcc_cv_math_func_scalbn+:} false; then :
22357 $as_echo_n "(cached) " >&6
22358 else
22359 if test x$gcc_no_link = xyes; then
22360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22361 fi
22362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22363 /* end confdefs.h. */
22364
22365 #ifdef HAVE_COMPLEX_H
22366 #include <complex.h>
22367 #endif
22368 #ifdef HAVE_MATH_H
22369 #include <math.h>
22370 #endif
22371
22372 int (*ptr)() = (int (*)())scalbn;
22373
22374 int
22375 main ()
22376 {
22377 return 0;
22378 }
22379
22380 _ACEOF
22381 if ac_fn_c_try_link "$LINENO"; then :
22382 gcc_cv_math_func_scalbn=yes
22383 else
22384 gcc_cv_math_func_scalbn=no
22385 fi
22386 rm -f core conftest.err conftest.$ac_objext \
22387 conftest$ac_exeext conftest.$ac_ext
22388 fi
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22390 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22391 if test $gcc_cv_math_func_scalbn = yes; then
22392
22393 cat >>confdefs.h <<_ACEOF
22394 #define HAVE_SCALBN 1
22395 _ACEOF
22396
22397 fi
22398
22399
22400
22401
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22403 $as_echo_n "checking for scalbnl... " >&6; }
22404 if ${gcc_cv_math_func_scalbnl+:} false; then :
22405 $as_echo_n "(cached) " >&6
22406 else
22407 if test x$gcc_no_link = xyes; then
22408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22409 fi
22410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22411 /* end confdefs.h. */
22412
22413 #ifdef HAVE_COMPLEX_H
22414 #include <complex.h>
22415 #endif
22416 #ifdef HAVE_MATH_H
22417 #include <math.h>
22418 #endif
22419
22420 int (*ptr)() = (int (*)())scalbnl;
22421
22422 int
22423 main ()
22424 {
22425 return 0;
22426 }
22427
22428 _ACEOF
22429 if ac_fn_c_try_link "$LINENO"; then :
22430 gcc_cv_math_func_scalbnl=yes
22431 else
22432 gcc_cv_math_func_scalbnl=no
22433 fi
22434 rm -f core conftest.err conftest.$ac_objext \
22435 conftest$ac_exeext conftest.$ac_ext
22436 fi
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22438 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22439 if test $gcc_cv_math_func_scalbnl = yes; then
22440
22441 cat >>confdefs.h <<_ACEOF
22442 #define HAVE_SCALBNL 1
22443 _ACEOF
22444
22445 fi
22446
22447
22448
22449
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22451 $as_echo_n "checking for sinf... " >&6; }
22452 if ${gcc_cv_math_func_sinf+:} false; then :
22453 $as_echo_n "(cached) " >&6
22454 else
22455 if test x$gcc_no_link = xyes; then
22456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22457 fi
22458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22459 /* end confdefs.h. */
22460
22461 #ifdef HAVE_COMPLEX_H
22462 #include <complex.h>
22463 #endif
22464 #ifdef HAVE_MATH_H
22465 #include <math.h>
22466 #endif
22467
22468 int (*ptr)() = (int (*)())sinf;
22469
22470 int
22471 main ()
22472 {
22473 return 0;
22474 }
22475
22476 _ACEOF
22477 if ac_fn_c_try_link "$LINENO"; then :
22478 gcc_cv_math_func_sinf=yes
22479 else
22480 gcc_cv_math_func_sinf=no
22481 fi
22482 rm -f core conftest.err conftest.$ac_objext \
22483 conftest$ac_exeext conftest.$ac_ext
22484 fi
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22486 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22487 if test $gcc_cv_math_func_sinf = yes; then
22488
22489 cat >>confdefs.h <<_ACEOF
22490 #define HAVE_SINF 1
22491 _ACEOF
22492
22493 fi
22494
22495
22496
22497
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22499 $as_echo_n "checking for sin... " >&6; }
22500 if ${gcc_cv_math_func_sin+:} false; then :
22501 $as_echo_n "(cached) " >&6
22502 else
22503 if test x$gcc_no_link = xyes; then
22504 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22505 fi
22506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22507 /* end confdefs.h. */
22508
22509 #ifdef HAVE_COMPLEX_H
22510 #include <complex.h>
22511 #endif
22512 #ifdef HAVE_MATH_H
22513 #include <math.h>
22514 #endif
22515
22516 int (*ptr)() = (int (*)())sin;
22517
22518 int
22519 main ()
22520 {
22521 return 0;
22522 }
22523
22524 _ACEOF
22525 if ac_fn_c_try_link "$LINENO"; then :
22526 gcc_cv_math_func_sin=yes
22527 else
22528 gcc_cv_math_func_sin=no
22529 fi
22530 rm -f core conftest.err conftest.$ac_objext \
22531 conftest$ac_exeext conftest.$ac_ext
22532 fi
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22534 $as_echo "$gcc_cv_math_func_sin" >&6; }
22535 if test $gcc_cv_math_func_sin = yes; then
22536
22537 cat >>confdefs.h <<_ACEOF
22538 #define HAVE_SIN 1
22539 _ACEOF
22540
22541 fi
22542
22543
22544
22545
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22547 $as_echo_n "checking for sinl... " >&6; }
22548 if ${gcc_cv_math_func_sinl+:} false; then :
22549 $as_echo_n "(cached) " >&6
22550 else
22551 if test x$gcc_no_link = xyes; then
22552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22553 fi
22554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22555 /* end confdefs.h. */
22556
22557 #ifdef HAVE_COMPLEX_H
22558 #include <complex.h>
22559 #endif
22560 #ifdef HAVE_MATH_H
22561 #include <math.h>
22562 #endif
22563
22564 int (*ptr)() = (int (*)())sinl;
22565
22566 int
22567 main ()
22568 {
22569 return 0;
22570 }
22571
22572 _ACEOF
22573 if ac_fn_c_try_link "$LINENO"; then :
22574 gcc_cv_math_func_sinl=yes
22575 else
22576 gcc_cv_math_func_sinl=no
22577 fi
22578 rm -f core conftest.err conftest.$ac_objext \
22579 conftest$ac_exeext conftest.$ac_ext
22580 fi
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22582 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22583 if test $gcc_cv_math_func_sinl = yes; then
22584
22585 cat >>confdefs.h <<_ACEOF
22586 #define HAVE_SINL 1
22587 _ACEOF
22588
22589 fi
22590
22591
22592
22593
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22595 $as_echo_n "checking for csinf... " >&6; }
22596 if ${gcc_cv_math_func_csinf+:} false; then :
22597 $as_echo_n "(cached) " >&6
22598 else
22599 if test x$gcc_no_link = xyes; then
22600 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22601 fi
22602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22603 /* end confdefs.h. */
22604
22605 #ifdef HAVE_COMPLEX_H
22606 #include <complex.h>
22607 #endif
22608 #ifdef HAVE_MATH_H
22609 #include <math.h>
22610 #endif
22611
22612 int (*ptr)() = (int (*)())csinf;
22613
22614 int
22615 main ()
22616 {
22617 return 0;
22618 }
22619
22620 _ACEOF
22621 if ac_fn_c_try_link "$LINENO"; then :
22622 gcc_cv_math_func_csinf=yes
22623 else
22624 gcc_cv_math_func_csinf=no
22625 fi
22626 rm -f core conftest.err conftest.$ac_objext \
22627 conftest$ac_exeext conftest.$ac_ext
22628 fi
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22630 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22631 if test $gcc_cv_math_func_csinf = yes; then
22632
22633 cat >>confdefs.h <<_ACEOF
22634 #define HAVE_CSINF 1
22635 _ACEOF
22636
22637 fi
22638
22639
22640
22641
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22643 $as_echo_n "checking for csin... " >&6; }
22644 if ${gcc_cv_math_func_csin+:} false; then :
22645 $as_echo_n "(cached) " >&6
22646 else
22647 if test x$gcc_no_link = xyes; then
22648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22649 fi
22650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22651 /* end confdefs.h. */
22652
22653 #ifdef HAVE_COMPLEX_H
22654 #include <complex.h>
22655 #endif
22656 #ifdef HAVE_MATH_H
22657 #include <math.h>
22658 #endif
22659
22660 int (*ptr)() = (int (*)())csin;
22661
22662 int
22663 main ()
22664 {
22665 return 0;
22666 }
22667
22668 _ACEOF
22669 if ac_fn_c_try_link "$LINENO"; then :
22670 gcc_cv_math_func_csin=yes
22671 else
22672 gcc_cv_math_func_csin=no
22673 fi
22674 rm -f core conftest.err conftest.$ac_objext \
22675 conftest$ac_exeext conftest.$ac_ext
22676 fi
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22678 $as_echo "$gcc_cv_math_func_csin" >&6; }
22679 if test $gcc_cv_math_func_csin = yes; then
22680
22681 cat >>confdefs.h <<_ACEOF
22682 #define HAVE_CSIN 1
22683 _ACEOF
22684
22685 fi
22686
22687
22688
22689
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22691 $as_echo_n "checking for csinl... " >&6; }
22692 if ${gcc_cv_math_func_csinl+:} false; then :
22693 $as_echo_n "(cached) " >&6
22694 else
22695 if test x$gcc_no_link = xyes; then
22696 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22697 fi
22698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22699 /* end confdefs.h. */
22700
22701 #ifdef HAVE_COMPLEX_H
22702 #include <complex.h>
22703 #endif
22704 #ifdef HAVE_MATH_H
22705 #include <math.h>
22706 #endif
22707
22708 int (*ptr)() = (int (*)())csinl;
22709
22710 int
22711 main ()
22712 {
22713 return 0;
22714 }
22715
22716 _ACEOF
22717 if ac_fn_c_try_link "$LINENO"; then :
22718 gcc_cv_math_func_csinl=yes
22719 else
22720 gcc_cv_math_func_csinl=no
22721 fi
22722 rm -f core conftest.err conftest.$ac_objext \
22723 conftest$ac_exeext conftest.$ac_ext
22724 fi
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22726 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22727 if test $gcc_cv_math_func_csinl = yes; then
22728
22729 cat >>confdefs.h <<_ACEOF
22730 #define HAVE_CSINL 1
22731 _ACEOF
22732
22733 fi
22734
22735
22736
22737
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22739 $as_echo_n "checking for sinhf... " >&6; }
22740 if ${gcc_cv_math_func_sinhf+:} false; then :
22741 $as_echo_n "(cached) " >&6
22742 else
22743 if test x$gcc_no_link = xyes; then
22744 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22745 fi
22746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22747 /* end confdefs.h. */
22748
22749 #ifdef HAVE_COMPLEX_H
22750 #include <complex.h>
22751 #endif
22752 #ifdef HAVE_MATH_H
22753 #include <math.h>
22754 #endif
22755
22756 int (*ptr)() = (int (*)())sinhf;
22757
22758 int
22759 main ()
22760 {
22761 return 0;
22762 }
22763
22764 _ACEOF
22765 if ac_fn_c_try_link "$LINENO"; then :
22766 gcc_cv_math_func_sinhf=yes
22767 else
22768 gcc_cv_math_func_sinhf=no
22769 fi
22770 rm -f core conftest.err conftest.$ac_objext \
22771 conftest$ac_exeext conftest.$ac_ext
22772 fi
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22774 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22775 if test $gcc_cv_math_func_sinhf = yes; then
22776
22777 cat >>confdefs.h <<_ACEOF
22778 #define HAVE_SINHF 1
22779 _ACEOF
22780
22781 fi
22782
22783
22784
22785
22786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22787 $as_echo_n "checking for sinh... " >&6; }
22788 if ${gcc_cv_math_func_sinh+:} false; then :
22789 $as_echo_n "(cached) " >&6
22790 else
22791 if test x$gcc_no_link = xyes; then
22792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22793 fi
22794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22795 /* end confdefs.h. */
22796
22797 #ifdef HAVE_COMPLEX_H
22798 #include <complex.h>
22799 #endif
22800 #ifdef HAVE_MATH_H
22801 #include <math.h>
22802 #endif
22803
22804 int (*ptr)() = (int (*)())sinh;
22805
22806 int
22807 main ()
22808 {
22809 return 0;
22810 }
22811
22812 _ACEOF
22813 if ac_fn_c_try_link "$LINENO"; then :
22814 gcc_cv_math_func_sinh=yes
22815 else
22816 gcc_cv_math_func_sinh=no
22817 fi
22818 rm -f core conftest.err conftest.$ac_objext \
22819 conftest$ac_exeext conftest.$ac_ext
22820 fi
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22822 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22823 if test $gcc_cv_math_func_sinh = yes; then
22824
22825 cat >>confdefs.h <<_ACEOF
22826 #define HAVE_SINH 1
22827 _ACEOF
22828
22829 fi
22830
22831
22832
22833
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22835 $as_echo_n "checking for sinhl... " >&6; }
22836 if ${gcc_cv_math_func_sinhl+:} false; then :
22837 $as_echo_n "(cached) " >&6
22838 else
22839 if test x$gcc_no_link = xyes; then
22840 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22841 fi
22842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22843 /* end confdefs.h. */
22844
22845 #ifdef HAVE_COMPLEX_H
22846 #include <complex.h>
22847 #endif
22848 #ifdef HAVE_MATH_H
22849 #include <math.h>
22850 #endif
22851
22852 int (*ptr)() = (int (*)())sinhl;
22853
22854 int
22855 main ()
22856 {
22857 return 0;
22858 }
22859
22860 _ACEOF
22861 if ac_fn_c_try_link "$LINENO"; then :
22862 gcc_cv_math_func_sinhl=yes
22863 else
22864 gcc_cv_math_func_sinhl=no
22865 fi
22866 rm -f core conftest.err conftest.$ac_objext \
22867 conftest$ac_exeext conftest.$ac_ext
22868 fi
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22870 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22871 if test $gcc_cv_math_func_sinhl = yes; then
22872
22873 cat >>confdefs.h <<_ACEOF
22874 #define HAVE_SINHL 1
22875 _ACEOF
22876
22877 fi
22878
22879
22880
22881
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22883 $as_echo_n "checking for csinhf... " >&6; }
22884 if ${gcc_cv_math_func_csinhf+:} false; then :
22885 $as_echo_n "(cached) " >&6
22886 else
22887 if test x$gcc_no_link = xyes; then
22888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22889 fi
22890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22891 /* end confdefs.h. */
22892
22893 #ifdef HAVE_COMPLEX_H
22894 #include <complex.h>
22895 #endif
22896 #ifdef HAVE_MATH_H
22897 #include <math.h>
22898 #endif
22899
22900 int (*ptr)() = (int (*)())csinhf;
22901
22902 int
22903 main ()
22904 {
22905 return 0;
22906 }
22907
22908 _ACEOF
22909 if ac_fn_c_try_link "$LINENO"; then :
22910 gcc_cv_math_func_csinhf=yes
22911 else
22912 gcc_cv_math_func_csinhf=no
22913 fi
22914 rm -f core conftest.err conftest.$ac_objext \
22915 conftest$ac_exeext conftest.$ac_ext
22916 fi
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22918 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22919 if test $gcc_cv_math_func_csinhf = yes; then
22920
22921 cat >>confdefs.h <<_ACEOF
22922 #define HAVE_CSINHF 1
22923 _ACEOF
22924
22925 fi
22926
22927
22928
22929
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22931 $as_echo_n "checking for csinh... " >&6; }
22932 if ${gcc_cv_math_func_csinh+:} false; then :
22933 $as_echo_n "(cached) " >&6
22934 else
22935 if test x$gcc_no_link = xyes; then
22936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22937 fi
22938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22939 /* end confdefs.h. */
22940
22941 #ifdef HAVE_COMPLEX_H
22942 #include <complex.h>
22943 #endif
22944 #ifdef HAVE_MATH_H
22945 #include <math.h>
22946 #endif
22947
22948 int (*ptr)() = (int (*)())csinh;
22949
22950 int
22951 main ()
22952 {
22953 return 0;
22954 }
22955
22956 _ACEOF
22957 if ac_fn_c_try_link "$LINENO"; then :
22958 gcc_cv_math_func_csinh=yes
22959 else
22960 gcc_cv_math_func_csinh=no
22961 fi
22962 rm -f core conftest.err conftest.$ac_objext \
22963 conftest$ac_exeext conftest.$ac_ext
22964 fi
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22966 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22967 if test $gcc_cv_math_func_csinh = yes; then
22968
22969 cat >>confdefs.h <<_ACEOF
22970 #define HAVE_CSINH 1
22971 _ACEOF
22972
22973 fi
22974
22975
22976
22977
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22979 $as_echo_n "checking for csinhl... " >&6; }
22980 if ${gcc_cv_math_func_csinhl+:} false; then :
22981 $as_echo_n "(cached) " >&6
22982 else
22983 if test x$gcc_no_link = xyes; then
22984 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22985 fi
22986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22987 /* end confdefs.h. */
22988
22989 #ifdef HAVE_COMPLEX_H
22990 #include <complex.h>
22991 #endif
22992 #ifdef HAVE_MATH_H
22993 #include <math.h>
22994 #endif
22995
22996 int (*ptr)() = (int (*)())csinhl;
22997
22998 int
22999 main ()
23000 {
23001 return 0;
23002 }
23003
23004 _ACEOF
23005 if ac_fn_c_try_link "$LINENO"; then :
23006 gcc_cv_math_func_csinhl=yes
23007 else
23008 gcc_cv_math_func_csinhl=no
23009 fi
23010 rm -f core conftest.err conftest.$ac_objext \
23011 conftest$ac_exeext conftest.$ac_ext
23012 fi
23013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
23014 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
23015 if test $gcc_cv_math_func_csinhl = yes; then
23016
23017 cat >>confdefs.h <<_ACEOF
23018 #define HAVE_CSINHL 1
23019 _ACEOF
23020
23021 fi
23022
23023
23024
23025
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
23027 $as_echo_n "checking for sqrtf... " >&6; }
23028 if ${gcc_cv_math_func_sqrtf+:} false; then :
23029 $as_echo_n "(cached) " >&6
23030 else
23031 if test x$gcc_no_link = xyes; then
23032 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23033 fi
23034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23035 /* end confdefs.h. */
23036
23037 #ifdef HAVE_COMPLEX_H
23038 #include <complex.h>
23039 #endif
23040 #ifdef HAVE_MATH_H
23041 #include <math.h>
23042 #endif
23043
23044 int (*ptr)() = (int (*)())sqrtf;
23045
23046 int
23047 main ()
23048 {
23049 return 0;
23050 }
23051
23052 _ACEOF
23053 if ac_fn_c_try_link "$LINENO"; then :
23054 gcc_cv_math_func_sqrtf=yes
23055 else
23056 gcc_cv_math_func_sqrtf=no
23057 fi
23058 rm -f core conftest.err conftest.$ac_objext \
23059 conftest$ac_exeext conftest.$ac_ext
23060 fi
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
23062 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
23063 if test $gcc_cv_math_func_sqrtf = yes; then
23064
23065 cat >>confdefs.h <<_ACEOF
23066 #define HAVE_SQRTF 1
23067 _ACEOF
23068
23069 fi
23070
23071
23072
23073
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
23075 $as_echo_n "checking for sqrt... " >&6; }
23076 if ${gcc_cv_math_func_sqrt+:} false; then :
23077 $as_echo_n "(cached) " >&6
23078 else
23079 if test x$gcc_no_link = xyes; then
23080 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23081 fi
23082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23083 /* end confdefs.h. */
23084
23085 #ifdef HAVE_COMPLEX_H
23086 #include <complex.h>
23087 #endif
23088 #ifdef HAVE_MATH_H
23089 #include <math.h>
23090 #endif
23091
23092 int (*ptr)() = (int (*)())sqrt;
23093
23094 int
23095 main ()
23096 {
23097 return 0;
23098 }
23099
23100 _ACEOF
23101 if ac_fn_c_try_link "$LINENO"; then :
23102 gcc_cv_math_func_sqrt=yes
23103 else
23104 gcc_cv_math_func_sqrt=no
23105 fi
23106 rm -f core conftest.err conftest.$ac_objext \
23107 conftest$ac_exeext conftest.$ac_ext
23108 fi
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
23110 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
23111 if test $gcc_cv_math_func_sqrt = yes; then
23112
23113 cat >>confdefs.h <<_ACEOF
23114 #define HAVE_SQRT 1
23115 _ACEOF
23116
23117 fi
23118
23119
23120
23121
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
23123 $as_echo_n "checking for sqrtl... " >&6; }
23124 if ${gcc_cv_math_func_sqrtl+:} false; then :
23125 $as_echo_n "(cached) " >&6
23126 else
23127 if test x$gcc_no_link = xyes; then
23128 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23129 fi
23130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23131 /* end confdefs.h. */
23132
23133 #ifdef HAVE_COMPLEX_H
23134 #include <complex.h>
23135 #endif
23136 #ifdef HAVE_MATH_H
23137 #include <math.h>
23138 #endif
23139
23140 int (*ptr)() = (int (*)())sqrtl;
23141
23142 int
23143 main ()
23144 {
23145 return 0;
23146 }
23147
23148 _ACEOF
23149 if ac_fn_c_try_link "$LINENO"; then :
23150 gcc_cv_math_func_sqrtl=yes
23151 else
23152 gcc_cv_math_func_sqrtl=no
23153 fi
23154 rm -f core conftest.err conftest.$ac_objext \
23155 conftest$ac_exeext conftest.$ac_ext
23156 fi
23157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23158 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23159 if test $gcc_cv_math_func_sqrtl = yes; then
23160
23161 cat >>confdefs.h <<_ACEOF
23162 #define HAVE_SQRTL 1
23163 _ACEOF
23164
23165 fi
23166
23167
23168
23169
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23171 $as_echo_n "checking for csqrtf... " >&6; }
23172 if ${gcc_cv_math_func_csqrtf+:} false; then :
23173 $as_echo_n "(cached) " >&6
23174 else
23175 if test x$gcc_no_link = xyes; then
23176 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23177 fi
23178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23179 /* end confdefs.h. */
23180
23181 #ifdef HAVE_COMPLEX_H
23182 #include <complex.h>
23183 #endif
23184 #ifdef HAVE_MATH_H
23185 #include <math.h>
23186 #endif
23187
23188 int (*ptr)() = (int (*)())csqrtf;
23189
23190 int
23191 main ()
23192 {
23193 return 0;
23194 }
23195
23196 _ACEOF
23197 if ac_fn_c_try_link "$LINENO"; then :
23198 gcc_cv_math_func_csqrtf=yes
23199 else
23200 gcc_cv_math_func_csqrtf=no
23201 fi
23202 rm -f core conftest.err conftest.$ac_objext \
23203 conftest$ac_exeext conftest.$ac_ext
23204 fi
23205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23206 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23207 if test $gcc_cv_math_func_csqrtf = yes; then
23208
23209 cat >>confdefs.h <<_ACEOF
23210 #define HAVE_CSQRTF 1
23211 _ACEOF
23212
23213 fi
23214
23215
23216
23217
23218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23219 $as_echo_n "checking for csqrt... " >&6; }
23220 if ${gcc_cv_math_func_csqrt+:} false; then :
23221 $as_echo_n "(cached) " >&6
23222 else
23223 if test x$gcc_no_link = xyes; then
23224 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23225 fi
23226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23227 /* end confdefs.h. */
23228
23229 #ifdef HAVE_COMPLEX_H
23230 #include <complex.h>
23231 #endif
23232 #ifdef HAVE_MATH_H
23233 #include <math.h>
23234 #endif
23235
23236 int (*ptr)() = (int (*)())csqrt;
23237
23238 int
23239 main ()
23240 {
23241 return 0;
23242 }
23243
23244 _ACEOF
23245 if ac_fn_c_try_link "$LINENO"; then :
23246 gcc_cv_math_func_csqrt=yes
23247 else
23248 gcc_cv_math_func_csqrt=no
23249 fi
23250 rm -f core conftest.err conftest.$ac_objext \
23251 conftest$ac_exeext conftest.$ac_ext
23252 fi
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23254 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23255 if test $gcc_cv_math_func_csqrt = yes; then
23256
23257 cat >>confdefs.h <<_ACEOF
23258 #define HAVE_CSQRT 1
23259 _ACEOF
23260
23261 fi
23262
23263
23264
23265
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23267 $as_echo_n "checking for csqrtl... " >&6; }
23268 if ${gcc_cv_math_func_csqrtl+:} false; then :
23269 $as_echo_n "(cached) " >&6
23270 else
23271 if test x$gcc_no_link = xyes; then
23272 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23273 fi
23274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23275 /* end confdefs.h. */
23276
23277 #ifdef HAVE_COMPLEX_H
23278 #include <complex.h>
23279 #endif
23280 #ifdef HAVE_MATH_H
23281 #include <math.h>
23282 #endif
23283
23284 int (*ptr)() = (int (*)())csqrtl;
23285
23286 int
23287 main ()
23288 {
23289 return 0;
23290 }
23291
23292 _ACEOF
23293 if ac_fn_c_try_link "$LINENO"; then :
23294 gcc_cv_math_func_csqrtl=yes
23295 else
23296 gcc_cv_math_func_csqrtl=no
23297 fi
23298 rm -f core conftest.err conftest.$ac_objext \
23299 conftest$ac_exeext conftest.$ac_ext
23300 fi
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23302 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23303 if test $gcc_cv_math_func_csqrtl = yes; then
23304
23305 cat >>confdefs.h <<_ACEOF
23306 #define HAVE_CSQRTL 1
23307 _ACEOF
23308
23309 fi
23310
23311
23312
23313
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23315 $as_echo_n "checking for tanf... " >&6; }
23316 if ${gcc_cv_math_func_tanf+:} false; then :
23317 $as_echo_n "(cached) " >&6
23318 else
23319 if test x$gcc_no_link = xyes; then
23320 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23321 fi
23322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23323 /* end confdefs.h. */
23324
23325 #ifdef HAVE_COMPLEX_H
23326 #include <complex.h>
23327 #endif
23328 #ifdef HAVE_MATH_H
23329 #include <math.h>
23330 #endif
23331
23332 int (*ptr)() = (int (*)())tanf;
23333
23334 int
23335 main ()
23336 {
23337 return 0;
23338 }
23339
23340 _ACEOF
23341 if ac_fn_c_try_link "$LINENO"; then :
23342 gcc_cv_math_func_tanf=yes
23343 else
23344 gcc_cv_math_func_tanf=no
23345 fi
23346 rm -f core conftest.err conftest.$ac_objext \
23347 conftest$ac_exeext conftest.$ac_ext
23348 fi
23349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23350 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23351 if test $gcc_cv_math_func_tanf = yes; then
23352
23353 cat >>confdefs.h <<_ACEOF
23354 #define HAVE_TANF 1
23355 _ACEOF
23356
23357 fi
23358
23359
23360
23361
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23363 $as_echo_n "checking for tan... " >&6; }
23364 if ${gcc_cv_math_func_tan+:} false; then :
23365 $as_echo_n "(cached) " >&6
23366 else
23367 if test x$gcc_no_link = xyes; then
23368 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23369 fi
23370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23371 /* end confdefs.h. */
23372
23373 #ifdef HAVE_COMPLEX_H
23374 #include <complex.h>
23375 #endif
23376 #ifdef HAVE_MATH_H
23377 #include <math.h>
23378 #endif
23379
23380 int (*ptr)() = (int (*)())tan;
23381
23382 int
23383 main ()
23384 {
23385 return 0;
23386 }
23387
23388 _ACEOF
23389 if ac_fn_c_try_link "$LINENO"; then :
23390 gcc_cv_math_func_tan=yes
23391 else
23392 gcc_cv_math_func_tan=no
23393 fi
23394 rm -f core conftest.err conftest.$ac_objext \
23395 conftest$ac_exeext conftest.$ac_ext
23396 fi
23397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23398 $as_echo "$gcc_cv_math_func_tan" >&6; }
23399 if test $gcc_cv_math_func_tan = yes; then
23400
23401 cat >>confdefs.h <<_ACEOF
23402 #define HAVE_TAN 1
23403 _ACEOF
23404
23405 fi
23406
23407
23408
23409
23410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23411 $as_echo_n "checking for tanl... " >&6; }
23412 if ${gcc_cv_math_func_tanl+:} false; then :
23413 $as_echo_n "(cached) " >&6
23414 else
23415 if test x$gcc_no_link = xyes; then
23416 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23417 fi
23418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23419 /* end confdefs.h. */
23420
23421 #ifdef HAVE_COMPLEX_H
23422 #include <complex.h>
23423 #endif
23424 #ifdef HAVE_MATH_H
23425 #include <math.h>
23426 #endif
23427
23428 int (*ptr)() = (int (*)())tanl;
23429
23430 int
23431 main ()
23432 {
23433 return 0;
23434 }
23435
23436 _ACEOF
23437 if ac_fn_c_try_link "$LINENO"; then :
23438 gcc_cv_math_func_tanl=yes
23439 else
23440 gcc_cv_math_func_tanl=no
23441 fi
23442 rm -f core conftest.err conftest.$ac_objext \
23443 conftest$ac_exeext conftest.$ac_ext
23444 fi
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23446 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23447 if test $gcc_cv_math_func_tanl = yes; then
23448
23449 cat >>confdefs.h <<_ACEOF
23450 #define HAVE_TANL 1
23451 _ACEOF
23452
23453 fi
23454
23455
23456
23457
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23459 $as_echo_n "checking for ctanf... " >&6; }
23460 if ${gcc_cv_math_func_ctanf+:} false; then :
23461 $as_echo_n "(cached) " >&6
23462 else
23463 if test x$gcc_no_link = xyes; then
23464 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23465 fi
23466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23467 /* end confdefs.h. */
23468
23469 #ifdef HAVE_COMPLEX_H
23470 #include <complex.h>
23471 #endif
23472 #ifdef HAVE_MATH_H
23473 #include <math.h>
23474 #endif
23475
23476 int (*ptr)() = (int (*)())ctanf;
23477
23478 int
23479 main ()
23480 {
23481 return 0;
23482 }
23483
23484 _ACEOF
23485 if ac_fn_c_try_link "$LINENO"; then :
23486 gcc_cv_math_func_ctanf=yes
23487 else
23488 gcc_cv_math_func_ctanf=no
23489 fi
23490 rm -f core conftest.err conftest.$ac_objext \
23491 conftest$ac_exeext conftest.$ac_ext
23492 fi
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23494 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23495 if test $gcc_cv_math_func_ctanf = yes; then
23496
23497 cat >>confdefs.h <<_ACEOF
23498 #define HAVE_CTANF 1
23499 _ACEOF
23500
23501 fi
23502
23503
23504
23505
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23507 $as_echo_n "checking for ctan... " >&6; }
23508 if ${gcc_cv_math_func_ctan+:} false; then :
23509 $as_echo_n "(cached) " >&6
23510 else
23511 if test x$gcc_no_link = xyes; then
23512 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23513 fi
23514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23515 /* end confdefs.h. */
23516
23517 #ifdef HAVE_COMPLEX_H
23518 #include <complex.h>
23519 #endif
23520 #ifdef HAVE_MATH_H
23521 #include <math.h>
23522 #endif
23523
23524 int (*ptr)() = (int (*)())ctan;
23525
23526 int
23527 main ()
23528 {
23529 return 0;
23530 }
23531
23532 _ACEOF
23533 if ac_fn_c_try_link "$LINENO"; then :
23534 gcc_cv_math_func_ctan=yes
23535 else
23536 gcc_cv_math_func_ctan=no
23537 fi
23538 rm -f core conftest.err conftest.$ac_objext \
23539 conftest$ac_exeext conftest.$ac_ext
23540 fi
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23542 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23543 if test $gcc_cv_math_func_ctan = yes; then
23544
23545 cat >>confdefs.h <<_ACEOF
23546 #define HAVE_CTAN 1
23547 _ACEOF
23548
23549 fi
23550
23551
23552
23553
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23555 $as_echo_n "checking for ctanl... " >&6; }
23556 if ${gcc_cv_math_func_ctanl+:} false; then :
23557 $as_echo_n "(cached) " >&6
23558 else
23559 if test x$gcc_no_link = xyes; then
23560 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23561 fi
23562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23563 /* end confdefs.h. */
23564
23565 #ifdef HAVE_COMPLEX_H
23566 #include <complex.h>
23567 #endif
23568 #ifdef HAVE_MATH_H
23569 #include <math.h>
23570 #endif
23571
23572 int (*ptr)() = (int (*)())ctanl;
23573
23574 int
23575 main ()
23576 {
23577 return 0;
23578 }
23579
23580 _ACEOF
23581 if ac_fn_c_try_link "$LINENO"; then :
23582 gcc_cv_math_func_ctanl=yes
23583 else
23584 gcc_cv_math_func_ctanl=no
23585 fi
23586 rm -f core conftest.err conftest.$ac_objext \
23587 conftest$ac_exeext conftest.$ac_ext
23588 fi
23589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23590 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23591 if test $gcc_cv_math_func_ctanl = yes; then
23592
23593 cat >>confdefs.h <<_ACEOF
23594 #define HAVE_CTANL 1
23595 _ACEOF
23596
23597 fi
23598
23599
23600
23601
23602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23603 $as_echo_n "checking for tanhf... " >&6; }
23604 if ${gcc_cv_math_func_tanhf+:} false; then :
23605 $as_echo_n "(cached) " >&6
23606 else
23607 if test x$gcc_no_link = xyes; then
23608 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23609 fi
23610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23611 /* end confdefs.h. */
23612
23613 #ifdef HAVE_COMPLEX_H
23614 #include <complex.h>
23615 #endif
23616 #ifdef HAVE_MATH_H
23617 #include <math.h>
23618 #endif
23619
23620 int (*ptr)() = (int (*)())tanhf;
23621
23622 int
23623 main ()
23624 {
23625 return 0;
23626 }
23627
23628 _ACEOF
23629 if ac_fn_c_try_link "$LINENO"; then :
23630 gcc_cv_math_func_tanhf=yes
23631 else
23632 gcc_cv_math_func_tanhf=no
23633 fi
23634 rm -f core conftest.err conftest.$ac_objext \
23635 conftest$ac_exeext conftest.$ac_ext
23636 fi
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23638 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23639 if test $gcc_cv_math_func_tanhf = yes; then
23640
23641 cat >>confdefs.h <<_ACEOF
23642 #define HAVE_TANHF 1
23643 _ACEOF
23644
23645 fi
23646
23647
23648
23649
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23651 $as_echo_n "checking for tanh... " >&6; }
23652 if ${gcc_cv_math_func_tanh+:} false; then :
23653 $as_echo_n "(cached) " >&6
23654 else
23655 if test x$gcc_no_link = xyes; then
23656 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23657 fi
23658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23659 /* end confdefs.h. */
23660
23661 #ifdef HAVE_COMPLEX_H
23662 #include <complex.h>
23663 #endif
23664 #ifdef HAVE_MATH_H
23665 #include <math.h>
23666 #endif
23667
23668 int (*ptr)() = (int (*)())tanh;
23669
23670 int
23671 main ()
23672 {
23673 return 0;
23674 }
23675
23676 _ACEOF
23677 if ac_fn_c_try_link "$LINENO"; then :
23678 gcc_cv_math_func_tanh=yes
23679 else
23680 gcc_cv_math_func_tanh=no
23681 fi
23682 rm -f core conftest.err conftest.$ac_objext \
23683 conftest$ac_exeext conftest.$ac_ext
23684 fi
23685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23686 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23687 if test $gcc_cv_math_func_tanh = yes; then
23688
23689 cat >>confdefs.h <<_ACEOF
23690 #define HAVE_TANH 1
23691 _ACEOF
23692
23693 fi
23694
23695
23696
23697
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23699 $as_echo_n "checking for tanhl... " >&6; }
23700 if ${gcc_cv_math_func_tanhl+:} false; then :
23701 $as_echo_n "(cached) " >&6
23702 else
23703 if test x$gcc_no_link = xyes; then
23704 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23705 fi
23706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23707 /* end confdefs.h. */
23708
23709 #ifdef HAVE_COMPLEX_H
23710 #include <complex.h>
23711 #endif
23712 #ifdef HAVE_MATH_H
23713 #include <math.h>
23714 #endif
23715
23716 int (*ptr)() = (int (*)())tanhl;
23717
23718 int
23719 main ()
23720 {
23721 return 0;
23722 }
23723
23724 _ACEOF
23725 if ac_fn_c_try_link "$LINENO"; then :
23726 gcc_cv_math_func_tanhl=yes
23727 else
23728 gcc_cv_math_func_tanhl=no
23729 fi
23730 rm -f core conftest.err conftest.$ac_objext \
23731 conftest$ac_exeext conftest.$ac_ext
23732 fi
23733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23734 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23735 if test $gcc_cv_math_func_tanhl = yes; then
23736
23737 cat >>confdefs.h <<_ACEOF
23738 #define HAVE_TANHL 1
23739 _ACEOF
23740
23741 fi
23742
23743
23744
23745
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23747 $as_echo_n "checking for ctanhf... " >&6; }
23748 if ${gcc_cv_math_func_ctanhf+:} false; then :
23749 $as_echo_n "(cached) " >&6
23750 else
23751 if test x$gcc_no_link = xyes; then
23752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23753 fi
23754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23755 /* end confdefs.h. */
23756
23757 #ifdef HAVE_COMPLEX_H
23758 #include <complex.h>
23759 #endif
23760 #ifdef HAVE_MATH_H
23761 #include <math.h>
23762 #endif
23763
23764 int (*ptr)() = (int (*)())ctanhf;
23765
23766 int
23767 main ()
23768 {
23769 return 0;
23770 }
23771
23772 _ACEOF
23773 if ac_fn_c_try_link "$LINENO"; then :
23774 gcc_cv_math_func_ctanhf=yes
23775 else
23776 gcc_cv_math_func_ctanhf=no
23777 fi
23778 rm -f core conftest.err conftest.$ac_objext \
23779 conftest$ac_exeext conftest.$ac_ext
23780 fi
23781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23782 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23783 if test $gcc_cv_math_func_ctanhf = yes; then
23784
23785 cat >>confdefs.h <<_ACEOF
23786 #define HAVE_CTANHF 1
23787 _ACEOF
23788
23789 fi
23790
23791
23792
23793
23794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23795 $as_echo_n "checking for ctanh... " >&6; }
23796 if ${gcc_cv_math_func_ctanh+:} false; then :
23797 $as_echo_n "(cached) " >&6
23798 else
23799 if test x$gcc_no_link = xyes; then
23800 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23801 fi
23802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23803 /* end confdefs.h. */
23804
23805 #ifdef HAVE_COMPLEX_H
23806 #include <complex.h>
23807 #endif
23808 #ifdef HAVE_MATH_H
23809 #include <math.h>
23810 #endif
23811
23812 int (*ptr)() = (int (*)())ctanh;
23813
23814 int
23815 main ()
23816 {
23817 return 0;
23818 }
23819
23820 _ACEOF
23821 if ac_fn_c_try_link "$LINENO"; then :
23822 gcc_cv_math_func_ctanh=yes
23823 else
23824 gcc_cv_math_func_ctanh=no
23825 fi
23826 rm -f core conftest.err conftest.$ac_objext \
23827 conftest$ac_exeext conftest.$ac_ext
23828 fi
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23830 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23831 if test $gcc_cv_math_func_ctanh = yes; then
23832
23833 cat >>confdefs.h <<_ACEOF
23834 #define HAVE_CTANH 1
23835 _ACEOF
23836
23837 fi
23838
23839
23840
23841
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23843 $as_echo_n "checking for ctanhl... " >&6; }
23844 if ${gcc_cv_math_func_ctanhl+:} false; then :
23845 $as_echo_n "(cached) " >&6
23846 else
23847 if test x$gcc_no_link = xyes; then
23848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23849 fi
23850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23851 /* end confdefs.h. */
23852
23853 #ifdef HAVE_COMPLEX_H
23854 #include <complex.h>
23855 #endif
23856 #ifdef HAVE_MATH_H
23857 #include <math.h>
23858 #endif
23859
23860 int (*ptr)() = (int (*)())ctanhl;
23861
23862 int
23863 main ()
23864 {
23865 return 0;
23866 }
23867
23868 _ACEOF
23869 if ac_fn_c_try_link "$LINENO"; then :
23870 gcc_cv_math_func_ctanhl=yes
23871 else
23872 gcc_cv_math_func_ctanhl=no
23873 fi
23874 rm -f core conftest.err conftest.$ac_objext \
23875 conftest$ac_exeext conftest.$ac_ext
23876 fi
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23878 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23879 if test $gcc_cv_math_func_ctanhl = yes; then
23880
23881 cat >>confdefs.h <<_ACEOF
23882 #define HAVE_CTANHL 1
23883 _ACEOF
23884
23885 fi
23886
23887
23888
23889
23890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23891 $as_echo_n "checking for truncf... " >&6; }
23892 if ${gcc_cv_math_func_truncf+:} false; then :
23893 $as_echo_n "(cached) " >&6
23894 else
23895 if test x$gcc_no_link = xyes; then
23896 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23897 fi
23898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23899 /* end confdefs.h. */
23900
23901 #ifdef HAVE_COMPLEX_H
23902 #include <complex.h>
23903 #endif
23904 #ifdef HAVE_MATH_H
23905 #include <math.h>
23906 #endif
23907
23908 int (*ptr)() = (int (*)())truncf;
23909
23910 int
23911 main ()
23912 {
23913 return 0;
23914 }
23915
23916 _ACEOF
23917 if ac_fn_c_try_link "$LINENO"; then :
23918 gcc_cv_math_func_truncf=yes
23919 else
23920 gcc_cv_math_func_truncf=no
23921 fi
23922 rm -f core conftest.err conftest.$ac_objext \
23923 conftest$ac_exeext conftest.$ac_ext
23924 fi
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23926 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23927 if test $gcc_cv_math_func_truncf = yes; then
23928
23929 cat >>confdefs.h <<_ACEOF
23930 #define HAVE_TRUNCF 1
23931 _ACEOF
23932
23933 fi
23934
23935
23936
23937
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23939 $as_echo_n "checking for trunc... " >&6; }
23940 if ${gcc_cv_math_func_trunc+:} false; then :
23941 $as_echo_n "(cached) " >&6
23942 else
23943 if test x$gcc_no_link = xyes; then
23944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23945 fi
23946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23947 /* end confdefs.h. */
23948
23949 #ifdef HAVE_COMPLEX_H
23950 #include <complex.h>
23951 #endif
23952 #ifdef HAVE_MATH_H
23953 #include <math.h>
23954 #endif
23955
23956 int (*ptr)() = (int (*)())trunc;
23957
23958 int
23959 main ()
23960 {
23961 return 0;
23962 }
23963
23964 _ACEOF
23965 if ac_fn_c_try_link "$LINENO"; then :
23966 gcc_cv_math_func_trunc=yes
23967 else
23968 gcc_cv_math_func_trunc=no
23969 fi
23970 rm -f core conftest.err conftest.$ac_objext \
23971 conftest$ac_exeext conftest.$ac_ext
23972 fi
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23974 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23975 if test $gcc_cv_math_func_trunc = yes; then
23976
23977 cat >>confdefs.h <<_ACEOF
23978 #define HAVE_TRUNC 1
23979 _ACEOF
23980
23981 fi
23982
23983
23984
23985
23986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23987 $as_echo_n "checking for truncl... " >&6; }
23988 if ${gcc_cv_math_func_truncl+:} false; then :
23989 $as_echo_n "(cached) " >&6
23990 else
23991 if test x$gcc_no_link = xyes; then
23992 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23993 fi
23994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23995 /* end confdefs.h. */
23996
23997 #ifdef HAVE_COMPLEX_H
23998 #include <complex.h>
23999 #endif
24000 #ifdef HAVE_MATH_H
24001 #include <math.h>
24002 #endif
24003
24004 int (*ptr)() = (int (*)())truncl;
24005
24006 int
24007 main ()
24008 {
24009 return 0;
24010 }
24011
24012 _ACEOF
24013 if ac_fn_c_try_link "$LINENO"; then :
24014 gcc_cv_math_func_truncl=yes
24015 else
24016 gcc_cv_math_func_truncl=no
24017 fi
24018 rm -f core conftest.err conftest.$ac_objext \
24019 conftest$ac_exeext conftest.$ac_ext
24020 fi
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
24022 $as_echo "$gcc_cv_math_func_truncl" >&6; }
24023 if test $gcc_cv_math_func_truncl = yes; then
24024
24025 cat >>confdefs.h <<_ACEOF
24026 #define HAVE_TRUNCL 1
24027 _ACEOF
24028
24029 fi
24030
24031
24032
24033
24034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
24035 $as_echo_n "checking for erff... " >&6; }
24036 if ${gcc_cv_math_func_erff+:} false; then :
24037 $as_echo_n "(cached) " >&6
24038 else
24039 if test x$gcc_no_link = xyes; then
24040 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24041 fi
24042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24043 /* end confdefs.h. */
24044
24045 #ifdef HAVE_COMPLEX_H
24046 #include <complex.h>
24047 #endif
24048 #ifdef HAVE_MATH_H
24049 #include <math.h>
24050 #endif
24051
24052 int (*ptr)() = (int (*)())erff;
24053
24054 int
24055 main ()
24056 {
24057 return 0;
24058 }
24059
24060 _ACEOF
24061 if ac_fn_c_try_link "$LINENO"; then :
24062 gcc_cv_math_func_erff=yes
24063 else
24064 gcc_cv_math_func_erff=no
24065 fi
24066 rm -f core conftest.err conftest.$ac_objext \
24067 conftest$ac_exeext conftest.$ac_ext
24068 fi
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
24070 $as_echo "$gcc_cv_math_func_erff" >&6; }
24071 if test $gcc_cv_math_func_erff = yes; then
24072
24073 cat >>confdefs.h <<_ACEOF
24074 #define HAVE_ERFF 1
24075 _ACEOF
24076
24077 fi
24078
24079
24080
24081
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
24083 $as_echo_n "checking for erf... " >&6; }
24084 if ${gcc_cv_math_func_erf+:} false; then :
24085 $as_echo_n "(cached) " >&6
24086 else
24087 if test x$gcc_no_link = xyes; then
24088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24089 fi
24090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24091 /* end confdefs.h. */
24092
24093 #ifdef HAVE_COMPLEX_H
24094 #include <complex.h>
24095 #endif
24096 #ifdef HAVE_MATH_H
24097 #include <math.h>
24098 #endif
24099
24100 int (*ptr)() = (int (*)())erf;
24101
24102 int
24103 main ()
24104 {
24105 return 0;
24106 }
24107
24108 _ACEOF
24109 if ac_fn_c_try_link "$LINENO"; then :
24110 gcc_cv_math_func_erf=yes
24111 else
24112 gcc_cv_math_func_erf=no
24113 fi
24114 rm -f core conftest.err conftest.$ac_objext \
24115 conftest$ac_exeext conftest.$ac_ext
24116 fi
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
24118 $as_echo "$gcc_cv_math_func_erf" >&6; }
24119 if test $gcc_cv_math_func_erf = yes; then
24120
24121 cat >>confdefs.h <<_ACEOF
24122 #define HAVE_ERF 1
24123 _ACEOF
24124
24125 fi
24126
24127
24128
24129
24130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
24131 $as_echo_n "checking for erfcf... " >&6; }
24132 if ${gcc_cv_math_func_erfcf+:} false; then :
24133 $as_echo_n "(cached) " >&6
24134 else
24135 if test x$gcc_no_link = xyes; then
24136 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24137 fi
24138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24139 /* end confdefs.h. */
24140
24141 #ifdef HAVE_COMPLEX_H
24142 #include <complex.h>
24143 #endif
24144 #ifdef HAVE_MATH_H
24145 #include <math.h>
24146 #endif
24147
24148 int (*ptr)() = (int (*)())erfcf;
24149
24150 int
24151 main ()
24152 {
24153 return 0;
24154 }
24155
24156 _ACEOF
24157 if ac_fn_c_try_link "$LINENO"; then :
24158 gcc_cv_math_func_erfcf=yes
24159 else
24160 gcc_cv_math_func_erfcf=no
24161 fi
24162 rm -f core conftest.err conftest.$ac_objext \
24163 conftest$ac_exeext conftest.$ac_ext
24164 fi
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24166 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24167 if test $gcc_cv_math_func_erfcf = yes; then
24168
24169 cat >>confdefs.h <<_ACEOF
24170 #define HAVE_ERFCF 1
24171 _ACEOF
24172
24173 fi
24174
24175
24176
24177
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24179 $as_echo_n "checking for erfc... " >&6; }
24180 if ${gcc_cv_math_func_erfc+:} false; then :
24181 $as_echo_n "(cached) " >&6
24182 else
24183 if test x$gcc_no_link = xyes; then
24184 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24185 fi
24186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24187 /* end confdefs.h. */
24188
24189 #ifdef HAVE_COMPLEX_H
24190 #include <complex.h>
24191 #endif
24192 #ifdef HAVE_MATH_H
24193 #include <math.h>
24194 #endif
24195
24196 int (*ptr)() = (int (*)())erfc;
24197
24198 int
24199 main ()
24200 {
24201 return 0;
24202 }
24203
24204 _ACEOF
24205 if ac_fn_c_try_link "$LINENO"; then :
24206 gcc_cv_math_func_erfc=yes
24207 else
24208 gcc_cv_math_func_erfc=no
24209 fi
24210 rm -f core conftest.err conftest.$ac_objext \
24211 conftest$ac_exeext conftest.$ac_ext
24212 fi
24213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24214 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24215 if test $gcc_cv_math_func_erfc = yes; then
24216
24217 cat >>confdefs.h <<_ACEOF
24218 #define HAVE_ERFC 1
24219 _ACEOF
24220
24221 fi
24222
24223
24224
24225
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24227 $as_echo_n "checking for erfcl... " >&6; }
24228 if ${gcc_cv_math_func_erfcl+:} false; then :
24229 $as_echo_n "(cached) " >&6
24230 else
24231 if test x$gcc_no_link = xyes; then
24232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24233 fi
24234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24235 /* end confdefs.h. */
24236
24237 #ifdef HAVE_COMPLEX_H
24238 #include <complex.h>
24239 #endif
24240 #ifdef HAVE_MATH_H
24241 #include <math.h>
24242 #endif
24243
24244 int (*ptr)() = (int (*)())erfcl;
24245
24246 int
24247 main ()
24248 {
24249 return 0;
24250 }
24251
24252 _ACEOF
24253 if ac_fn_c_try_link "$LINENO"; then :
24254 gcc_cv_math_func_erfcl=yes
24255 else
24256 gcc_cv_math_func_erfcl=no
24257 fi
24258 rm -f core conftest.err conftest.$ac_objext \
24259 conftest$ac_exeext conftest.$ac_ext
24260 fi
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24262 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24263 if test $gcc_cv_math_func_erfcl = yes; then
24264
24265 cat >>confdefs.h <<_ACEOF
24266 #define HAVE_ERFCL 1
24267 _ACEOF
24268
24269 fi
24270
24271
24272
24273
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24275 $as_echo_n "checking for j0f... " >&6; }
24276 if ${gcc_cv_math_func_j0f+:} false; then :
24277 $as_echo_n "(cached) " >&6
24278 else
24279 if test x$gcc_no_link = xyes; then
24280 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24281 fi
24282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24283 /* end confdefs.h. */
24284
24285 #ifdef HAVE_COMPLEX_H
24286 #include <complex.h>
24287 #endif
24288 #ifdef HAVE_MATH_H
24289 #include <math.h>
24290 #endif
24291
24292 int (*ptr)() = (int (*)())j0f;
24293
24294 int
24295 main ()
24296 {
24297 return 0;
24298 }
24299
24300 _ACEOF
24301 if ac_fn_c_try_link "$LINENO"; then :
24302 gcc_cv_math_func_j0f=yes
24303 else
24304 gcc_cv_math_func_j0f=no
24305 fi
24306 rm -f core conftest.err conftest.$ac_objext \
24307 conftest$ac_exeext conftest.$ac_ext
24308 fi
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24310 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24311 if test $gcc_cv_math_func_j0f = yes; then
24312
24313 cat >>confdefs.h <<_ACEOF
24314 #define HAVE_J0F 1
24315 _ACEOF
24316
24317 fi
24318
24319
24320
24321
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24323 $as_echo_n "checking for j0... " >&6; }
24324 if ${gcc_cv_math_func_j0+:} false; then :
24325 $as_echo_n "(cached) " >&6
24326 else
24327 if test x$gcc_no_link = xyes; then
24328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24329 fi
24330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24331 /* end confdefs.h. */
24332
24333 #ifdef HAVE_COMPLEX_H
24334 #include <complex.h>
24335 #endif
24336 #ifdef HAVE_MATH_H
24337 #include <math.h>
24338 #endif
24339
24340 int (*ptr)() = (int (*)())j0;
24341
24342 int
24343 main ()
24344 {
24345 return 0;
24346 }
24347
24348 _ACEOF
24349 if ac_fn_c_try_link "$LINENO"; then :
24350 gcc_cv_math_func_j0=yes
24351 else
24352 gcc_cv_math_func_j0=no
24353 fi
24354 rm -f core conftest.err conftest.$ac_objext \
24355 conftest$ac_exeext conftest.$ac_ext
24356 fi
24357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24358 $as_echo "$gcc_cv_math_func_j0" >&6; }
24359 if test $gcc_cv_math_func_j0 = yes; then
24360
24361 cat >>confdefs.h <<_ACEOF
24362 #define HAVE_J0 1
24363 _ACEOF
24364
24365 fi
24366
24367
24368
24369
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24371 $as_echo_n "checking for j1f... " >&6; }
24372 if ${gcc_cv_math_func_j1f+:} false; then :
24373 $as_echo_n "(cached) " >&6
24374 else
24375 if test x$gcc_no_link = xyes; then
24376 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24377 fi
24378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24379 /* end confdefs.h. */
24380
24381 #ifdef HAVE_COMPLEX_H
24382 #include <complex.h>
24383 #endif
24384 #ifdef HAVE_MATH_H
24385 #include <math.h>
24386 #endif
24387
24388 int (*ptr)() = (int (*)())j1f;
24389
24390 int
24391 main ()
24392 {
24393 return 0;
24394 }
24395
24396 _ACEOF
24397 if ac_fn_c_try_link "$LINENO"; then :
24398 gcc_cv_math_func_j1f=yes
24399 else
24400 gcc_cv_math_func_j1f=no
24401 fi
24402 rm -f core conftest.err conftest.$ac_objext \
24403 conftest$ac_exeext conftest.$ac_ext
24404 fi
24405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24406 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24407 if test $gcc_cv_math_func_j1f = yes; then
24408
24409 cat >>confdefs.h <<_ACEOF
24410 #define HAVE_J1F 1
24411 _ACEOF
24412
24413 fi
24414
24415
24416
24417
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24419 $as_echo_n "checking for j1... " >&6; }
24420 if ${gcc_cv_math_func_j1+:} false; then :
24421 $as_echo_n "(cached) " >&6
24422 else
24423 if test x$gcc_no_link = xyes; then
24424 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24425 fi
24426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24427 /* end confdefs.h. */
24428
24429 #ifdef HAVE_COMPLEX_H
24430 #include <complex.h>
24431 #endif
24432 #ifdef HAVE_MATH_H
24433 #include <math.h>
24434 #endif
24435
24436 int (*ptr)() = (int (*)())j1;
24437
24438 int
24439 main ()
24440 {
24441 return 0;
24442 }
24443
24444 _ACEOF
24445 if ac_fn_c_try_link "$LINENO"; then :
24446 gcc_cv_math_func_j1=yes
24447 else
24448 gcc_cv_math_func_j1=no
24449 fi
24450 rm -f core conftest.err conftest.$ac_objext \
24451 conftest$ac_exeext conftest.$ac_ext
24452 fi
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24454 $as_echo "$gcc_cv_math_func_j1" >&6; }
24455 if test $gcc_cv_math_func_j1 = yes; then
24456
24457 cat >>confdefs.h <<_ACEOF
24458 #define HAVE_J1 1
24459 _ACEOF
24460
24461 fi
24462
24463
24464
24465
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24467 $as_echo_n "checking for jnf... " >&6; }
24468 if ${gcc_cv_math_func_jnf+:} false; then :
24469 $as_echo_n "(cached) " >&6
24470 else
24471 if test x$gcc_no_link = xyes; then
24472 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24473 fi
24474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24475 /* end confdefs.h. */
24476
24477 #ifdef HAVE_COMPLEX_H
24478 #include <complex.h>
24479 #endif
24480 #ifdef HAVE_MATH_H
24481 #include <math.h>
24482 #endif
24483
24484 int (*ptr)() = (int (*)())jnf;
24485
24486 int
24487 main ()
24488 {
24489 return 0;
24490 }
24491
24492 _ACEOF
24493 if ac_fn_c_try_link "$LINENO"; then :
24494 gcc_cv_math_func_jnf=yes
24495 else
24496 gcc_cv_math_func_jnf=no
24497 fi
24498 rm -f core conftest.err conftest.$ac_objext \
24499 conftest$ac_exeext conftest.$ac_ext
24500 fi
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24502 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24503 if test $gcc_cv_math_func_jnf = yes; then
24504
24505 cat >>confdefs.h <<_ACEOF
24506 #define HAVE_JNF 1
24507 _ACEOF
24508
24509 fi
24510
24511
24512
24513
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24515 $as_echo_n "checking for jn... " >&6; }
24516 if ${gcc_cv_math_func_jn+:} false; then :
24517 $as_echo_n "(cached) " >&6
24518 else
24519 if test x$gcc_no_link = xyes; then
24520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24521 fi
24522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24523 /* end confdefs.h. */
24524
24525 #ifdef HAVE_COMPLEX_H
24526 #include <complex.h>
24527 #endif
24528 #ifdef HAVE_MATH_H
24529 #include <math.h>
24530 #endif
24531
24532 int (*ptr)() = (int (*)())jn;
24533
24534 int
24535 main ()
24536 {
24537 return 0;
24538 }
24539
24540 _ACEOF
24541 if ac_fn_c_try_link "$LINENO"; then :
24542 gcc_cv_math_func_jn=yes
24543 else
24544 gcc_cv_math_func_jn=no
24545 fi
24546 rm -f core conftest.err conftest.$ac_objext \
24547 conftest$ac_exeext conftest.$ac_ext
24548 fi
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24550 $as_echo "$gcc_cv_math_func_jn" >&6; }
24551 if test $gcc_cv_math_func_jn = yes; then
24552
24553 cat >>confdefs.h <<_ACEOF
24554 #define HAVE_JN 1
24555 _ACEOF
24556
24557 fi
24558
24559
24560
24561
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24563 $as_echo_n "checking for jnl... " >&6; }
24564 if ${gcc_cv_math_func_jnl+:} false; then :
24565 $as_echo_n "(cached) " >&6
24566 else
24567 if test x$gcc_no_link = xyes; then
24568 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24569 fi
24570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24571 /* end confdefs.h. */
24572
24573 #ifdef HAVE_COMPLEX_H
24574 #include <complex.h>
24575 #endif
24576 #ifdef HAVE_MATH_H
24577 #include <math.h>
24578 #endif
24579
24580 int (*ptr)() = (int (*)())jnl;
24581
24582 int
24583 main ()
24584 {
24585 return 0;
24586 }
24587
24588 _ACEOF
24589 if ac_fn_c_try_link "$LINENO"; then :
24590 gcc_cv_math_func_jnl=yes
24591 else
24592 gcc_cv_math_func_jnl=no
24593 fi
24594 rm -f core conftest.err conftest.$ac_objext \
24595 conftest$ac_exeext conftest.$ac_ext
24596 fi
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24598 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24599 if test $gcc_cv_math_func_jnl = yes; then
24600
24601 cat >>confdefs.h <<_ACEOF
24602 #define HAVE_JNL 1
24603 _ACEOF
24604
24605 fi
24606
24607
24608
24609
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24611 $as_echo_n "checking for y0f... " >&6; }
24612 if ${gcc_cv_math_func_y0f+:} false; then :
24613 $as_echo_n "(cached) " >&6
24614 else
24615 if test x$gcc_no_link = xyes; then
24616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24617 fi
24618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24619 /* end confdefs.h. */
24620
24621 #ifdef HAVE_COMPLEX_H
24622 #include <complex.h>
24623 #endif
24624 #ifdef HAVE_MATH_H
24625 #include <math.h>
24626 #endif
24627
24628 int (*ptr)() = (int (*)())y0f;
24629
24630 int
24631 main ()
24632 {
24633 return 0;
24634 }
24635
24636 _ACEOF
24637 if ac_fn_c_try_link "$LINENO"; then :
24638 gcc_cv_math_func_y0f=yes
24639 else
24640 gcc_cv_math_func_y0f=no
24641 fi
24642 rm -f core conftest.err conftest.$ac_objext \
24643 conftest$ac_exeext conftest.$ac_ext
24644 fi
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24646 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24647 if test $gcc_cv_math_func_y0f = yes; then
24648
24649 cat >>confdefs.h <<_ACEOF
24650 #define HAVE_Y0F 1
24651 _ACEOF
24652
24653 fi
24654
24655
24656
24657
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24659 $as_echo_n "checking for y0... " >&6; }
24660 if ${gcc_cv_math_func_y0+:} false; then :
24661 $as_echo_n "(cached) " >&6
24662 else
24663 if test x$gcc_no_link = xyes; then
24664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24665 fi
24666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24667 /* end confdefs.h. */
24668
24669 #ifdef HAVE_COMPLEX_H
24670 #include <complex.h>
24671 #endif
24672 #ifdef HAVE_MATH_H
24673 #include <math.h>
24674 #endif
24675
24676 int (*ptr)() = (int (*)())y0;
24677
24678 int
24679 main ()
24680 {
24681 return 0;
24682 }
24683
24684 _ACEOF
24685 if ac_fn_c_try_link "$LINENO"; then :
24686 gcc_cv_math_func_y0=yes
24687 else
24688 gcc_cv_math_func_y0=no
24689 fi
24690 rm -f core conftest.err conftest.$ac_objext \
24691 conftest$ac_exeext conftest.$ac_ext
24692 fi
24693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24694 $as_echo "$gcc_cv_math_func_y0" >&6; }
24695 if test $gcc_cv_math_func_y0 = yes; then
24696
24697 cat >>confdefs.h <<_ACEOF
24698 #define HAVE_Y0 1
24699 _ACEOF
24700
24701 fi
24702
24703
24704
24705
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24707 $as_echo_n "checking for y1f... " >&6; }
24708 if ${gcc_cv_math_func_y1f+:} false; then :
24709 $as_echo_n "(cached) " >&6
24710 else
24711 if test x$gcc_no_link = xyes; then
24712 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24713 fi
24714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h. */
24716
24717 #ifdef HAVE_COMPLEX_H
24718 #include <complex.h>
24719 #endif
24720 #ifdef HAVE_MATH_H
24721 #include <math.h>
24722 #endif
24723
24724 int (*ptr)() = (int (*)())y1f;
24725
24726 int
24727 main ()
24728 {
24729 return 0;
24730 }
24731
24732 _ACEOF
24733 if ac_fn_c_try_link "$LINENO"; then :
24734 gcc_cv_math_func_y1f=yes
24735 else
24736 gcc_cv_math_func_y1f=no
24737 fi
24738 rm -f core conftest.err conftest.$ac_objext \
24739 conftest$ac_exeext conftest.$ac_ext
24740 fi
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24742 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24743 if test $gcc_cv_math_func_y1f = yes; then
24744
24745 cat >>confdefs.h <<_ACEOF
24746 #define HAVE_Y1F 1
24747 _ACEOF
24748
24749 fi
24750
24751
24752
24753
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24755 $as_echo_n "checking for y1... " >&6; }
24756 if ${gcc_cv_math_func_y1+:} false; then :
24757 $as_echo_n "(cached) " >&6
24758 else
24759 if test x$gcc_no_link = xyes; then
24760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24761 fi
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24764
24765 #ifdef HAVE_COMPLEX_H
24766 #include <complex.h>
24767 #endif
24768 #ifdef HAVE_MATH_H
24769 #include <math.h>
24770 #endif
24771
24772 int (*ptr)() = (int (*)())y1;
24773
24774 int
24775 main ()
24776 {
24777 return 0;
24778 }
24779
24780 _ACEOF
24781 if ac_fn_c_try_link "$LINENO"; then :
24782 gcc_cv_math_func_y1=yes
24783 else
24784 gcc_cv_math_func_y1=no
24785 fi
24786 rm -f core conftest.err conftest.$ac_objext \
24787 conftest$ac_exeext conftest.$ac_ext
24788 fi
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24790 $as_echo "$gcc_cv_math_func_y1" >&6; }
24791 if test $gcc_cv_math_func_y1 = yes; then
24792
24793 cat >>confdefs.h <<_ACEOF
24794 #define HAVE_Y1 1
24795 _ACEOF
24796
24797 fi
24798
24799
24800
24801
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24803 $as_echo_n "checking for ynf... " >&6; }
24804 if ${gcc_cv_math_func_ynf+:} false; then :
24805 $as_echo_n "(cached) " >&6
24806 else
24807 if test x$gcc_no_link = xyes; then
24808 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24809 fi
24810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24811 /* end confdefs.h. */
24812
24813 #ifdef HAVE_COMPLEX_H
24814 #include <complex.h>
24815 #endif
24816 #ifdef HAVE_MATH_H
24817 #include <math.h>
24818 #endif
24819
24820 int (*ptr)() = (int (*)())ynf;
24821
24822 int
24823 main ()
24824 {
24825 return 0;
24826 }
24827
24828 _ACEOF
24829 if ac_fn_c_try_link "$LINENO"; then :
24830 gcc_cv_math_func_ynf=yes
24831 else
24832 gcc_cv_math_func_ynf=no
24833 fi
24834 rm -f core conftest.err conftest.$ac_objext \
24835 conftest$ac_exeext conftest.$ac_ext
24836 fi
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24838 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24839 if test $gcc_cv_math_func_ynf = yes; then
24840
24841 cat >>confdefs.h <<_ACEOF
24842 #define HAVE_YNF 1
24843 _ACEOF
24844
24845 fi
24846
24847
24848
24849
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24851 $as_echo_n "checking for yn... " >&6; }
24852 if ${gcc_cv_math_func_yn+:} false; then :
24853 $as_echo_n "(cached) " >&6
24854 else
24855 if test x$gcc_no_link = xyes; then
24856 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24857 fi
24858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24859 /* end confdefs.h. */
24860
24861 #ifdef HAVE_COMPLEX_H
24862 #include <complex.h>
24863 #endif
24864 #ifdef HAVE_MATH_H
24865 #include <math.h>
24866 #endif
24867
24868 int (*ptr)() = (int (*)())yn;
24869
24870 int
24871 main ()
24872 {
24873 return 0;
24874 }
24875
24876 _ACEOF
24877 if ac_fn_c_try_link "$LINENO"; then :
24878 gcc_cv_math_func_yn=yes
24879 else
24880 gcc_cv_math_func_yn=no
24881 fi
24882 rm -f core conftest.err conftest.$ac_objext \
24883 conftest$ac_exeext conftest.$ac_ext
24884 fi
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24886 $as_echo "$gcc_cv_math_func_yn" >&6; }
24887 if test $gcc_cv_math_func_yn = yes; then
24888
24889 cat >>confdefs.h <<_ACEOF
24890 #define HAVE_YN 1
24891 _ACEOF
24892
24893 fi
24894
24895
24896
24897
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24899 $as_echo_n "checking for ynl... " >&6; }
24900 if ${gcc_cv_math_func_ynl+:} false; then :
24901 $as_echo_n "(cached) " >&6
24902 else
24903 if test x$gcc_no_link = xyes; then
24904 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24905 fi
24906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24907 /* end confdefs.h. */
24908
24909 #ifdef HAVE_COMPLEX_H
24910 #include <complex.h>
24911 #endif
24912 #ifdef HAVE_MATH_H
24913 #include <math.h>
24914 #endif
24915
24916 int (*ptr)() = (int (*)())ynl;
24917
24918 int
24919 main ()
24920 {
24921 return 0;
24922 }
24923
24924 _ACEOF
24925 if ac_fn_c_try_link "$LINENO"; then :
24926 gcc_cv_math_func_ynl=yes
24927 else
24928 gcc_cv_math_func_ynl=no
24929 fi
24930 rm -f core conftest.err conftest.$ac_objext \
24931 conftest$ac_exeext conftest.$ac_ext
24932 fi
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24934 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24935 if test $gcc_cv_math_func_ynl = yes; then
24936
24937 cat >>confdefs.h <<_ACEOF
24938 #define HAVE_YNL 1
24939 _ACEOF
24940
24941 fi
24942
24943
24944
24945
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24947 $as_echo_n "checking for tgamma... " >&6; }
24948 if ${gcc_cv_math_func_tgamma+:} false; then :
24949 $as_echo_n "(cached) " >&6
24950 else
24951 if test x$gcc_no_link = xyes; then
24952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24953 fi
24954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24955 /* end confdefs.h. */
24956
24957 #ifdef HAVE_COMPLEX_H
24958 #include <complex.h>
24959 #endif
24960 #ifdef HAVE_MATH_H
24961 #include <math.h>
24962 #endif
24963
24964 int (*ptr)() = (int (*)())tgamma;
24965
24966 int
24967 main ()
24968 {
24969 return 0;
24970 }
24971
24972 _ACEOF
24973 if ac_fn_c_try_link "$LINENO"; then :
24974 gcc_cv_math_func_tgamma=yes
24975 else
24976 gcc_cv_math_func_tgamma=no
24977 fi
24978 rm -f core conftest.err conftest.$ac_objext \
24979 conftest$ac_exeext conftest.$ac_ext
24980 fi
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24982 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24983 if test $gcc_cv_math_func_tgamma = yes; then
24984
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE_TGAMMA 1
24987 _ACEOF
24988
24989 fi
24990
24991
24992
24993
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24995 $as_echo_n "checking for tgammaf... " >&6; }
24996 if ${gcc_cv_math_func_tgammaf+:} false; then :
24997 $as_echo_n "(cached) " >&6
24998 else
24999 if test x$gcc_no_link = xyes; then
25000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25001 fi
25002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25003 /* end confdefs.h. */
25004
25005 #ifdef HAVE_COMPLEX_H
25006 #include <complex.h>
25007 #endif
25008 #ifdef HAVE_MATH_H
25009 #include <math.h>
25010 #endif
25011
25012 int (*ptr)() = (int (*)())tgammaf;
25013
25014 int
25015 main ()
25016 {
25017 return 0;
25018 }
25019
25020 _ACEOF
25021 if ac_fn_c_try_link "$LINENO"; then :
25022 gcc_cv_math_func_tgammaf=yes
25023 else
25024 gcc_cv_math_func_tgammaf=no
25025 fi
25026 rm -f core conftest.err conftest.$ac_objext \
25027 conftest$ac_exeext conftest.$ac_ext
25028 fi
25029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
25030 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
25031 if test $gcc_cv_math_func_tgammaf = yes; then
25032
25033 cat >>confdefs.h <<_ACEOF
25034 #define HAVE_TGAMMAF 1
25035 _ACEOF
25036
25037 fi
25038
25039
25040
25041
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
25043 $as_echo_n "checking for lgamma... " >&6; }
25044 if ${gcc_cv_math_func_lgamma+:} false; then :
25045 $as_echo_n "(cached) " >&6
25046 else
25047 if test x$gcc_no_link = xyes; then
25048 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25049 fi
25050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h. */
25052
25053 #ifdef HAVE_COMPLEX_H
25054 #include <complex.h>
25055 #endif
25056 #ifdef HAVE_MATH_H
25057 #include <math.h>
25058 #endif
25059
25060 int (*ptr)() = (int (*)())lgamma;
25061
25062 int
25063 main ()
25064 {
25065 return 0;
25066 }
25067
25068 _ACEOF
25069 if ac_fn_c_try_link "$LINENO"; then :
25070 gcc_cv_math_func_lgamma=yes
25071 else
25072 gcc_cv_math_func_lgamma=no
25073 fi
25074 rm -f core conftest.err conftest.$ac_objext \
25075 conftest$ac_exeext conftest.$ac_ext
25076 fi
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
25078 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
25079 if test $gcc_cv_math_func_lgamma = yes; then
25080
25081 cat >>confdefs.h <<_ACEOF
25082 #define HAVE_LGAMMA 1
25083 _ACEOF
25084
25085 fi
25086
25087
25088
25089
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
25091 $as_echo_n "checking for lgammaf... " >&6; }
25092 if ${gcc_cv_math_func_lgammaf+:} false; then :
25093 $as_echo_n "(cached) " >&6
25094 else
25095 if test x$gcc_no_link = xyes; then
25096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25097 fi
25098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25099 /* end confdefs.h. */
25100
25101 #ifdef HAVE_COMPLEX_H
25102 #include <complex.h>
25103 #endif
25104 #ifdef HAVE_MATH_H
25105 #include <math.h>
25106 #endif
25107
25108 int (*ptr)() = (int (*)())lgammaf;
25109
25110 int
25111 main ()
25112 {
25113 return 0;
25114 }
25115
25116 _ACEOF
25117 if ac_fn_c_try_link "$LINENO"; then :
25118 gcc_cv_math_func_lgammaf=yes
25119 else
25120 gcc_cv_math_func_lgammaf=no
25121 fi
25122 rm -f core conftest.err conftest.$ac_objext \
25123 conftest$ac_exeext conftest.$ac_ext
25124 fi
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
25126 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
25127 if test $gcc_cv_math_func_lgammaf = yes; then
25128
25129 cat >>confdefs.h <<_ACEOF
25130 #define HAVE_LGAMMAF 1
25131 _ACEOF
25132
25133 fi
25134
25135
25136 # Check for GFORTRAN_C99_1.1 funcs
25137
25138
25139
25140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
25141 $as_echo_n "checking for cacos... " >&6; }
25142 if ${gcc_cv_math_func_cacos+:} false; then :
25143 $as_echo_n "(cached) " >&6
25144 else
25145 if test x$gcc_no_link = xyes; then
25146 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25147 fi
25148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25149 /* end confdefs.h. */
25150
25151 #ifdef HAVE_COMPLEX_H
25152 #include <complex.h>
25153 #endif
25154 #ifdef HAVE_MATH_H
25155 #include <math.h>
25156 #endif
25157
25158 int (*ptr)() = (int (*)())cacos;
25159
25160 int
25161 main ()
25162 {
25163 return 0;
25164 }
25165
25166 _ACEOF
25167 if ac_fn_c_try_link "$LINENO"; then :
25168 gcc_cv_math_func_cacos=yes
25169 else
25170 gcc_cv_math_func_cacos=no
25171 fi
25172 rm -f core conftest.err conftest.$ac_objext \
25173 conftest$ac_exeext conftest.$ac_ext
25174 fi
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25176 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25177 if test $gcc_cv_math_func_cacos = yes; then
25178
25179 cat >>confdefs.h <<_ACEOF
25180 #define HAVE_CACOS 1
25181 _ACEOF
25182
25183 fi
25184
25185
25186
25187
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25189 $as_echo_n "checking for cacosf... " >&6; }
25190 if ${gcc_cv_math_func_cacosf+:} false; then :
25191 $as_echo_n "(cached) " >&6
25192 else
25193 if test x$gcc_no_link = xyes; then
25194 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25195 fi
25196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25197 /* end confdefs.h. */
25198
25199 #ifdef HAVE_COMPLEX_H
25200 #include <complex.h>
25201 #endif
25202 #ifdef HAVE_MATH_H
25203 #include <math.h>
25204 #endif
25205
25206 int (*ptr)() = (int (*)())cacosf;
25207
25208 int
25209 main ()
25210 {
25211 return 0;
25212 }
25213
25214 _ACEOF
25215 if ac_fn_c_try_link "$LINENO"; then :
25216 gcc_cv_math_func_cacosf=yes
25217 else
25218 gcc_cv_math_func_cacosf=no
25219 fi
25220 rm -f core conftest.err conftest.$ac_objext \
25221 conftest$ac_exeext conftest.$ac_ext
25222 fi
25223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25224 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25225 if test $gcc_cv_math_func_cacosf = yes; then
25226
25227 cat >>confdefs.h <<_ACEOF
25228 #define HAVE_CACOSF 1
25229 _ACEOF
25230
25231 fi
25232
25233
25234
25235
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25237 $as_echo_n "checking for cacosh... " >&6; }
25238 if ${gcc_cv_math_func_cacosh+:} false; then :
25239 $as_echo_n "(cached) " >&6
25240 else
25241 if test x$gcc_no_link = xyes; then
25242 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25243 fi
25244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25245 /* end confdefs.h. */
25246
25247 #ifdef HAVE_COMPLEX_H
25248 #include <complex.h>
25249 #endif
25250 #ifdef HAVE_MATH_H
25251 #include <math.h>
25252 #endif
25253
25254 int (*ptr)() = (int (*)())cacosh;
25255
25256 int
25257 main ()
25258 {
25259 return 0;
25260 }
25261
25262 _ACEOF
25263 if ac_fn_c_try_link "$LINENO"; then :
25264 gcc_cv_math_func_cacosh=yes
25265 else
25266 gcc_cv_math_func_cacosh=no
25267 fi
25268 rm -f core conftest.err conftest.$ac_objext \
25269 conftest$ac_exeext conftest.$ac_ext
25270 fi
25271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25272 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25273 if test $gcc_cv_math_func_cacosh = yes; then
25274
25275 cat >>confdefs.h <<_ACEOF
25276 #define HAVE_CACOSH 1
25277 _ACEOF
25278
25279 fi
25280
25281
25282
25283
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25285 $as_echo_n "checking for cacoshf... " >&6; }
25286 if ${gcc_cv_math_func_cacoshf+:} false; then :
25287 $as_echo_n "(cached) " >&6
25288 else
25289 if test x$gcc_no_link = xyes; then
25290 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25291 fi
25292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25293 /* end confdefs.h. */
25294
25295 #ifdef HAVE_COMPLEX_H
25296 #include <complex.h>
25297 #endif
25298 #ifdef HAVE_MATH_H
25299 #include <math.h>
25300 #endif
25301
25302 int (*ptr)() = (int (*)())cacoshf;
25303
25304 int
25305 main ()
25306 {
25307 return 0;
25308 }
25309
25310 _ACEOF
25311 if ac_fn_c_try_link "$LINENO"; then :
25312 gcc_cv_math_func_cacoshf=yes
25313 else
25314 gcc_cv_math_func_cacoshf=no
25315 fi
25316 rm -f core conftest.err conftest.$ac_objext \
25317 conftest$ac_exeext conftest.$ac_ext
25318 fi
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25320 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25321 if test $gcc_cv_math_func_cacoshf = yes; then
25322
25323 cat >>confdefs.h <<_ACEOF
25324 #define HAVE_CACOSHF 1
25325 _ACEOF
25326
25327 fi
25328
25329
25330
25331
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25333 $as_echo_n "checking for cacoshl... " >&6; }
25334 if ${gcc_cv_math_func_cacoshl+:} false; then :
25335 $as_echo_n "(cached) " >&6
25336 else
25337 if test x$gcc_no_link = xyes; then
25338 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25339 fi
25340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25341 /* end confdefs.h. */
25342
25343 #ifdef HAVE_COMPLEX_H
25344 #include <complex.h>
25345 #endif
25346 #ifdef HAVE_MATH_H
25347 #include <math.h>
25348 #endif
25349
25350 int (*ptr)() = (int (*)())cacoshl;
25351
25352 int
25353 main ()
25354 {
25355 return 0;
25356 }
25357
25358 _ACEOF
25359 if ac_fn_c_try_link "$LINENO"; then :
25360 gcc_cv_math_func_cacoshl=yes
25361 else
25362 gcc_cv_math_func_cacoshl=no
25363 fi
25364 rm -f core conftest.err conftest.$ac_objext \
25365 conftest$ac_exeext conftest.$ac_ext
25366 fi
25367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25368 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25369 if test $gcc_cv_math_func_cacoshl = yes; then
25370
25371 cat >>confdefs.h <<_ACEOF
25372 #define HAVE_CACOSHL 1
25373 _ACEOF
25374
25375 fi
25376
25377
25378
25379
25380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25381 $as_echo_n "checking for cacosl... " >&6; }
25382 if ${gcc_cv_math_func_cacosl+:} false; then :
25383 $as_echo_n "(cached) " >&6
25384 else
25385 if test x$gcc_no_link = xyes; then
25386 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25387 fi
25388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25390
25391 #ifdef HAVE_COMPLEX_H
25392 #include <complex.h>
25393 #endif
25394 #ifdef HAVE_MATH_H
25395 #include <math.h>
25396 #endif
25397
25398 int (*ptr)() = (int (*)())cacosl;
25399
25400 int
25401 main ()
25402 {
25403 return 0;
25404 }
25405
25406 _ACEOF
25407 if ac_fn_c_try_link "$LINENO"; then :
25408 gcc_cv_math_func_cacosl=yes
25409 else
25410 gcc_cv_math_func_cacosl=no
25411 fi
25412 rm -f core conftest.err conftest.$ac_objext \
25413 conftest$ac_exeext conftest.$ac_ext
25414 fi
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25416 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25417 if test $gcc_cv_math_func_cacosl = yes; then
25418
25419 cat >>confdefs.h <<_ACEOF
25420 #define HAVE_CACOSL 1
25421 _ACEOF
25422
25423 fi
25424
25425
25426
25427
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25429 $as_echo_n "checking for casin... " >&6; }
25430 if ${gcc_cv_math_func_casin+:} false; then :
25431 $as_echo_n "(cached) " >&6
25432 else
25433 if test x$gcc_no_link = xyes; then
25434 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25435 fi
25436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25437 /* end confdefs.h. */
25438
25439 #ifdef HAVE_COMPLEX_H
25440 #include <complex.h>
25441 #endif
25442 #ifdef HAVE_MATH_H
25443 #include <math.h>
25444 #endif
25445
25446 int (*ptr)() = (int (*)())casin;
25447
25448 int
25449 main ()
25450 {
25451 return 0;
25452 }
25453
25454 _ACEOF
25455 if ac_fn_c_try_link "$LINENO"; then :
25456 gcc_cv_math_func_casin=yes
25457 else
25458 gcc_cv_math_func_casin=no
25459 fi
25460 rm -f core conftest.err conftest.$ac_objext \
25461 conftest$ac_exeext conftest.$ac_ext
25462 fi
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25464 $as_echo "$gcc_cv_math_func_casin" >&6; }
25465 if test $gcc_cv_math_func_casin = yes; then
25466
25467 cat >>confdefs.h <<_ACEOF
25468 #define HAVE_CASIN 1
25469 _ACEOF
25470
25471 fi
25472
25473
25474
25475
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25477 $as_echo_n "checking for casinf... " >&6; }
25478 if ${gcc_cv_math_func_casinf+:} false; then :
25479 $as_echo_n "(cached) " >&6
25480 else
25481 if test x$gcc_no_link = xyes; then
25482 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25483 fi
25484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25485 /* end confdefs.h. */
25486
25487 #ifdef HAVE_COMPLEX_H
25488 #include <complex.h>
25489 #endif
25490 #ifdef HAVE_MATH_H
25491 #include <math.h>
25492 #endif
25493
25494 int (*ptr)() = (int (*)())casinf;
25495
25496 int
25497 main ()
25498 {
25499 return 0;
25500 }
25501
25502 _ACEOF
25503 if ac_fn_c_try_link "$LINENO"; then :
25504 gcc_cv_math_func_casinf=yes
25505 else
25506 gcc_cv_math_func_casinf=no
25507 fi
25508 rm -f core conftest.err conftest.$ac_objext \
25509 conftest$ac_exeext conftest.$ac_ext
25510 fi
25511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25512 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25513 if test $gcc_cv_math_func_casinf = yes; then
25514
25515 cat >>confdefs.h <<_ACEOF
25516 #define HAVE_CASINF 1
25517 _ACEOF
25518
25519 fi
25520
25521
25522
25523
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25525 $as_echo_n "checking for casinh... " >&6; }
25526 if ${gcc_cv_math_func_casinh+:} false; then :
25527 $as_echo_n "(cached) " >&6
25528 else
25529 if test x$gcc_no_link = xyes; then
25530 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25531 fi
25532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25533 /* end confdefs.h. */
25534
25535 #ifdef HAVE_COMPLEX_H
25536 #include <complex.h>
25537 #endif
25538 #ifdef HAVE_MATH_H
25539 #include <math.h>
25540 #endif
25541
25542 int (*ptr)() = (int (*)())casinh;
25543
25544 int
25545 main ()
25546 {
25547 return 0;
25548 }
25549
25550 _ACEOF
25551 if ac_fn_c_try_link "$LINENO"; then :
25552 gcc_cv_math_func_casinh=yes
25553 else
25554 gcc_cv_math_func_casinh=no
25555 fi
25556 rm -f core conftest.err conftest.$ac_objext \
25557 conftest$ac_exeext conftest.$ac_ext
25558 fi
25559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25560 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25561 if test $gcc_cv_math_func_casinh = yes; then
25562
25563 cat >>confdefs.h <<_ACEOF
25564 #define HAVE_CASINH 1
25565 _ACEOF
25566
25567 fi
25568
25569
25570
25571
25572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25573 $as_echo_n "checking for casinhf... " >&6; }
25574 if ${gcc_cv_math_func_casinhf+:} false; then :
25575 $as_echo_n "(cached) " >&6
25576 else
25577 if test x$gcc_no_link = xyes; then
25578 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25579 fi
25580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25581 /* end confdefs.h. */
25582
25583 #ifdef HAVE_COMPLEX_H
25584 #include <complex.h>
25585 #endif
25586 #ifdef HAVE_MATH_H
25587 #include <math.h>
25588 #endif
25589
25590 int (*ptr)() = (int (*)())casinhf;
25591
25592 int
25593 main ()
25594 {
25595 return 0;
25596 }
25597
25598 _ACEOF
25599 if ac_fn_c_try_link "$LINENO"; then :
25600 gcc_cv_math_func_casinhf=yes
25601 else
25602 gcc_cv_math_func_casinhf=no
25603 fi
25604 rm -f core conftest.err conftest.$ac_objext \
25605 conftest$ac_exeext conftest.$ac_ext
25606 fi
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25608 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25609 if test $gcc_cv_math_func_casinhf = yes; then
25610
25611 cat >>confdefs.h <<_ACEOF
25612 #define HAVE_CASINHF 1
25613 _ACEOF
25614
25615 fi
25616
25617
25618
25619
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25621 $as_echo_n "checking for casinhl... " >&6; }
25622 if ${gcc_cv_math_func_casinhl+:} false; then :
25623 $as_echo_n "(cached) " >&6
25624 else
25625 if test x$gcc_no_link = xyes; then
25626 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25627 fi
25628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25629 /* end confdefs.h. */
25630
25631 #ifdef HAVE_COMPLEX_H
25632 #include <complex.h>
25633 #endif
25634 #ifdef HAVE_MATH_H
25635 #include <math.h>
25636 #endif
25637
25638 int (*ptr)() = (int (*)())casinhl;
25639
25640 int
25641 main ()
25642 {
25643 return 0;
25644 }
25645
25646 _ACEOF
25647 if ac_fn_c_try_link "$LINENO"; then :
25648 gcc_cv_math_func_casinhl=yes
25649 else
25650 gcc_cv_math_func_casinhl=no
25651 fi
25652 rm -f core conftest.err conftest.$ac_objext \
25653 conftest$ac_exeext conftest.$ac_ext
25654 fi
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25656 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25657 if test $gcc_cv_math_func_casinhl = yes; then
25658
25659 cat >>confdefs.h <<_ACEOF
25660 #define HAVE_CASINHL 1
25661 _ACEOF
25662
25663 fi
25664
25665
25666
25667
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25669 $as_echo_n "checking for casinl... " >&6; }
25670 if ${gcc_cv_math_func_casinl+:} false; then :
25671 $as_echo_n "(cached) " >&6
25672 else
25673 if test x$gcc_no_link = xyes; then
25674 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25675 fi
25676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25677 /* end confdefs.h. */
25678
25679 #ifdef HAVE_COMPLEX_H
25680 #include <complex.h>
25681 #endif
25682 #ifdef HAVE_MATH_H
25683 #include <math.h>
25684 #endif
25685
25686 int (*ptr)() = (int (*)())casinl;
25687
25688 int
25689 main ()
25690 {
25691 return 0;
25692 }
25693
25694 _ACEOF
25695 if ac_fn_c_try_link "$LINENO"; then :
25696 gcc_cv_math_func_casinl=yes
25697 else
25698 gcc_cv_math_func_casinl=no
25699 fi
25700 rm -f core conftest.err conftest.$ac_objext \
25701 conftest$ac_exeext conftest.$ac_ext
25702 fi
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25704 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25705 if test $gcc_cv_math_func_casinl = yes; then
25706
25707 cat >>confdefs.h <<_ACEOF
25708 #define HAVE_CASINL 1
25709 _ACEOF
25710
25711 fi
25712
25713
25714
25715
25716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25717 $as_echo_n "checking for catan... " >&6; }
25718 if ${gcc_cv_math_func_catan+:} false; then :
25719 $as_echo_n "(cached) " >&6
25720 else
25721 if test x$gcc_no_link = xyes; then
25722 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25723 fi
25724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25725 /* end confdefs.h. */
25726
25727 #ifdef HAVE_COMPLEX_H
25728 #include <complex.h>
25729 #endif
25730 #ifdef HAVE_MATH_H
25731 #include <math.h>
25732 #endif
25733
25734 int (*ptr)() = (int (*)())catan;
25735
25736 int
25737 main ()
25738 {
25739 return 0;
25740 }
25741
25742 _ACEOF
25743 if ac_fn_c_try_link "$LINENO"; then :
25744 gcc_cv_math_func_catan=yes
25745 else
25746 gcc_cv_math_func_catan=no
25747 fi
25748 rm -f core conftest.err conftest.$ac_objext \
25749 conftest$ac_exeext conftest.$ac_ext
25750 fi
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25752 $as_echo "$gcc_cv_math_func_catan" >&6; }
25753 if test $gcc_cv_math_func_catan = yes; then
25754
25755 cat >>confdefs.h <<_ACEOF
25756 #define HAVE_CATAN 1
25757 _ACEOF
25758
25759 fi
25760
25761
25762
25763
25764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25765 $as_echo_n "checking for catanf... " >&6; }
25766 if ${gcc_cv_math_func_catanf+:} false; then :
25767 $as_echo_n "(cached) " >&6
25768 else
25769 if test x$gcc_no_link = xyes; then
25770 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25771 fi
25772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25773 /* end confdefs.h. */
25774
25775 #ifdef HAVE_COMPLEX_H
25776 #include <complex.h>
25777 #endif
25778 #ifdef HAVE_MATH_H
25779 #include <math.h>
25780 #endif
25781
25782 int (*ptr)() = (int (*)())catanf;
25783
25784 int
25785 main ()
25786 {
25787 return 0;
25788 }
25789
25790 _ACEOF
25791 if ac_fn_c_try_link "$LINENO"; then :
25792 gcc_cv_math_func_catanf=yes
25793 else
25794 gcc_cv_math_func_catanf=no
25795 fi
25796 rm -f core conftest.err conftest.$ac_objext \
25797 conftest$ac_exeext conftest.$ac_ext
25798 fi
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25800 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25801 if test $gcc_cv_math_func_catanf = yes; then
25802
25803 cat >>confdefs.h <<_ACEOF
25804 #define HAVE_CATANF 1
25805 _ACEOF
25806
25807 fi
25808
25809
25810
25811
25812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25813 $as_echo_n "checking for catanh... " >&6; }
25814 if ${gcc_cv_math_func_catanh+:} false; then :
25815 $as_echo_n "(cached) " >&6
25816 else
25817 if test x$gcc_no_link = xyes; then
25818 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25819 fi
25820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25821 /* end confdefs.h. */
25822
25823 #ifdef HAVE_COMPLEX_H
25824 #include <complex.h>
25825 #endif
25826 #ifdef HAVE_MATH_H
25827 #include <math.h>
25828 #endif
25829
25830 int (*ptr)() = (int (*)())catanh;
25831
25832 int
25833 main ()
25834 {
25835 return 0;
25836 }
25837
25838 _ACEOF
25839 if ac_fn_c_try_link "$LINENO"; then :
25840 gcc_cv_math_func_catanh=yes
25841 else
25842 gcc_cv_math_func_catanh=no
25843 fi
25844 rm -f core conftest.err conftest.$ac_objext \
25845 conftest$ac_exeext conftest.$ac_ext
25846 fi
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25848 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25849 if test $gcc_cv_math_func_catanh = yes; then
25850
25851 cat >>confdefs.h <<_ACEOF
25852 #define HAVE_CATANH 1
25853 _ACEOF
25854
25855 fi
25856
25857
25858
25859
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25861 $as_echo_n "checking for catanhf... " >&6; }
25862 if ${gcc_cv_math_func_catanhf+:} false; then :
25863 $as_echo_n "(cached) " >&6
25864 else
25865 if test x$gcc_no_link = xyes; then
25866 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25867 fi
25868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25869 /* end confdefs.h. */
25870
25871 #ifdef HAVE_COMPLEX_H
25872 #include <complex.h>
25873 #endif
25874 #ifdef HAVE_MATH_H
25875 #include <math.h>
25876 #endif
25877
25878 int (*ptr)() = (int (*)())catanhf;
25879
25880 int
25881 main ()
25882 {
25883 return 0;
25884 }
25885
25886 _ACEOF
25887 if ac_fn_c_try_link "$LINENO"; then :
25888 gcc_cv_math_func_catanhf=yes
25889 else
25890 gcc_cv_math_func_catanhf=no
25891 fi
25892 rm -f core conftest.err conftest.$ac_objext \
25893 conftest$ac_exeext conftest.$ac_ext
25894 fi
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25896 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25897 if test $gcc_cv_math_func_catanhf = yes; then
25898
25899 cat >>confdefs.h <<_ACEOF
25900 #define HAVE_CATANHF 1
25901 _ACEOF
25902
25903 fi
25904
25905
25906
25907
25908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25909 $as_echo_n "checking for catanhl... " >&6; }
25910 if ${gcc_cv_math_func_catanhl+:} false; then :
25911 $as_echo_n "(cached) " >&6
25912 else
25913 if test x$gcc_no_link = xyes; then
25914 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25915 fi
25916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25917 /* end confdefs.h. */
25918
25919 #ifdef HAVE_COMPLEX_H
25920 #include <complex.h>
25921 #endif
25922 #ifdef HAVE_MATH_H
25923 #include <math.h>
25924 #endif
25925
25926 int (*ptr)() = (int (*)())catanhl;
25927
25928 int
25929 main ()
25930 {
25931 return 0;
25932 }
25933
25934 _ACEOF
25935 if ac_fn_c_try_link "$LINENO"; then :
25936 gcc_cv_math_func_catanhl=yes
25937 else
25938 gcc_cv_math_func_catanhl=no
25939 fi
25940 rm -f core conftest.err conftest.$ac_objext \
25941 conftest$ac_exeext conftest.$ac_ext
25942 fi
25943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25944 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25945 if test $gcc_cv_math_func_catanhl = yes; then
25946
25947 cat >>confdefs.h <<_ACEOF
25948 #define HAVE_CATANHL 1
25949 _ACEOF
25950
25951 fi
25952
25953
25954
25955
25956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25957 $as_echo_n "checking for catanl... " >&6; }
25958 if ${gcc_cv_math_func_catanl+:} false; then :
25959 $as_echo_n "(cached) " >&6
25960 else
25961 if test x$gcc_no_link = xyes; then
25962 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25963 fi
25964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25965 /* end confdefs.h. */
25966
25967 #ifdef HAVE_COMPLEX_H
25968 #include <complex.h>
25969 #endif
25970 #ifdef HAVE_MATH_H
25971 #include <math.h>
25972 #endif
25973
25974 int (*ptr)() = (int (*)())catanl;
25975
25976 int
25977 main ()
25978 {
25979 return 0;
25980 }
25981
25982 _ACEOF
25983 if ac_fn_c_try_link "$LINENO"; then :
25984 gcc_cv_math_func_catanl=yes
25985 else
25986 gcc_cv_math_func_catanl=no
25987 fi
25988 rm -f core conftest.err conftest.$ac_objext \
25989 conftest$ac_exeext conftest.$ac_ext
25990 fi
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25992 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25993 if test $gcc_cv_math_func_catanl = yes; then
25994
25995 cat >>confdefs.h <<_ACEOF
25996 #define HAVE_CATANL 1
25997 _ACEOF
25998
25999 fi
26000
26001
26002 # For POWER, check the ieee128 math functions
26003
26004 if test "x$have_real_17" = "xyes"; then
26005
26006 cat >>confdefs.h <<_ACEOF
26007 #define HAVE_REAL_17 1
26008 _ACEOF
26009
26010
26011
26012
26013
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
26015 $as_echo_n "checking for __acoshieee128... " >&6; }
26016 if ${gcc_cv_math_func___acoshieee128+:} false; then :
26017 $as_echo_n "(cached) " >&6
26018 else
26019 if test x$gcc_no_link = xyes; then
26020 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26021 fi
26022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26023 /* end confdefs.h. */
26024
26025 _Float128 __acoshieee128 (_Float128);
26026 _Float128 (*ptr)(_Float128) = __acoshieee128;
26027
26028 int
26029 main ()
26030 {
26031 return 0;
26032 }
26033
26034 _ACEOF
26035 if ac_fn_c_try_link "$LINENO"; then :
26036 gcc_cv_math_func___acoshieee128=yes
26037 else
26038 gcc_cv_math_func___acoshieee128=no
26039 fi
26040 rm -f core conftest.err conftest.$ac_objext \
26041 conftest$ac_exeext conftest.$ac_ext
26042 fi
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
26044 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
26045 if test $gcc_cv_math_func___acoshieee128 = yes; then
26046
26047 cat >>confdefs.h <<_ACEOF
26048 #define HAVE___ACOSHIEEE128 1
26049 _ACEOF
26050
26051 fi
26052
26053
26054
26055
26056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
26057 $as_echo_n "checking for __acosieee128... " >&6; }
26058 if ${gcc_cv_math_func___acosieee128+:} false; then :
26059 $as_echo_n "(cached) " >&6
26060 else
26061 if test x$gcc_no_link = xyes; then
26062 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26063 fi
26064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26065 /* end confdefs.h. */
26066
26067 _Float128 __acosieee128 (_Float128);
26068 _Float128 (*ptr)(_Float128) = __acosieee128;
26069
26070 int
26071 main ()
26072 {
26073 return 0;
26074 }
26075
26076 _ACEOF
26077 if ac_fn_c_try_link "$LINENO"; then :
26078 gcc_cv_math_func___acosieee128=yes
26079 else
26080 gcc_cv_math_func___acosieee128=no
26081 fi
26082 rm -f core conftest.err conftest.$ac_objext \
26083 conftest$ac_exeext conftest.$ac_ext
26084 fi
26085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
26086 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
26087 if test $gcc_cv_math_func___acosieee128 = yes; then
26088
26089 cat >>confdefs.h <<_ACEOF
26090 #define HAVE___ACOSIEEE128 1
26091 _ACEOF
26092
26093 fi
26094
26095
26096
26097
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
26099 $as_echo_n "checking for __asinhieee128... " >&6; }
26100 if ${gcc_cv_math_func___asinhieee128+:} false; then :
26101 $as_echo_n "(cached) " >&6
26102 else
26103 if test x$gcc_no_link = xyes; then
26104 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26105 fi
26106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26107 /* end confdefs.h. */
26108
26109 _Float128 __asinhieee128 (_Float128);
26110 _Float128 (*ptr)(_Float128) = __asinhieee128;
26111
26112 int
26113 main ()
26114 {
26115 return 0;
26116 }
26117
26118 _ACEOF
26119 if ac_fn_c_try_link "$LINENO"; then :
26120 gcc_cv_math_func___asinhieee128=yes
26121 else
26122 gcc_cv_math_func___asinhieee128=no
26123 fi
26124 rm -f core conftest.err conftest.$ac_objext \
26125 conftest$ac_exeext conftest.$ac_ext
26126 fi
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
26128 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
26129 if test $gcc_cv_math_func___asinhieee128 = yes; then
26130
26131 cat >>confdefs.h <<_ACEOF
26132 #define HAVE___ASINHIEEE128 1
26133 _ACEOF
26134
26135 fi
26136
26137
26138
26139
26140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
26141 $as_echo_n "checking for __asinieee128... " >&6; }
26142 if ${gcc_cv_math_func___asinieee128+:} false; then :
26143 $as_echo_n "(cached) " >&6
26144 else
26145 if test x$gcc_no_link = xyes; then
26146 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26147 fi
26148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26149 /* end confdefs.h. */
26150
26151 _Float128 __asinieee128 (_Float128);
26152 _Float128 (*ptr)(_Float128) = __asinieee128;
26153
26154 int
26155 main ()
26156 {
26157 return 0;
26158 }
26159
26160 _ACEOF
26161 if ac_fn_c_try_link "$LINENO"; then :
26162 gcc_cv_math_func___asinieee128=yes
26163 else
26164 gcc_cv_math_func___asinieee128=no
26165 fi
26166 rm -f core conftest.err conftest.$ac_objext \
26167 conftest$ac_exeext conftest.$ac_ext
26168 fi
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26170 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26171 if test $gcc_cv_math_func___asinieee128 = yes; then
26172
26173 cat >>confdefs.h <<_ACEOF
26174 #define HAVE___ASINIEEE128 1
26175 _ACEOF
26176
26177 fi
26178
26179
26180
26181
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26183 $as_echo_n "checking for __atan2ieee128... " >&6; }
26184 if ${gcc_cv_math_func___atan2ieee128+:} false; then :
26185 $as_echo_n "(cached) " >&6
26186 else
26187 if test x$gcc_no_link = xyes; then
26188 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26189 fi
26190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26191 /* end confdefs.h. */
26192
26193 _Float128 __atan2ieee128 (_Float128);
26194 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26195
26196 int
26197 main ()
26198 {
26199 return 0;
26200 }
26201
26202 _ACEOF
26203 if ac_fn_c_try_link "$LINENO"; then :
26204 gcc_cv_math_func___atan2ieee128=yes
26205 else
26206 gcc_cv_math_func___atan2ieee128=no
26207 fi
26208 rm -f core conftest.err conftest.$ac_objext \
26209 conftest$ac_exeext conftest.$ac_ext
26210 fi
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26212 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26213 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26214
26215 cat >>confdefs.h <<_ACEOF
26216 #define HAVE___ATAN2IEEE128 1
26217 _ACEOF
26218
26219 fi
26220
26221
26222
26223
26224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26225 $as_echo_n "checking for __atanhieee128... " >&6; }
26226 if ${gcc_cv_math_func___atanhieee128+:} false; then :
26227 $as_echo_n "(cached) " >&6
26228 else
26229 if test x$gcc_no_link = xyes; then
26230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26231 fi
26232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26233 /* end confdefs.h. */
26234
26235 _Float128 __atanhieee128 (_Float128);
26236 _Float128 (*ptr)(_Float128) = __atanhieee128;
26237
26238 int
26239 main ()
26240 {
26241 return 0;
26242 }
26243
26244 _ACEOF
26245 if ac_fn_c_try_link "$LINENO"; then :
26246 gcc_cv_math_func___atanhieee128=yes
26247 else
26248 gcc_cv_math_func___atanhieee128=no
26249 fi
26250 rm -f core conftest.err conftest.$ac_objext \
26251 conftest$ac_exeext conftest.$ac_ext
26252 fi
26253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26254 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26255 if test $gcc_cv_math_func___atanhieee128 = yes; then
26256
26257 cat >>confdefs.h <<_ACEOF
26258 #define HAVE___ATANHIEEE128 1
26259 _ACEOF
26260
26261 fi
26262
26263
26264
26265
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26267 $as_echo_n "checking for __atanieee128... " >&6; }
26268 if ${gcc_cv_math_func___atanieee128+:} false; then :
26269 $as_echo_n "(cached) " >&6
26270 else
26271 if test x$gcc_no_link = xyes; then
26272 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26273 fi
26274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26275 /* end confdefs.h. */
26276
26277 _Float128 __atanieee128 (_Float128);
26278 _Float128 (*ptr)(_Float128) = __atanieee128;
26279
26280 int
26281 main ()
26282 {
26283 return 0;
26284 }
26285
26286 _ACEOF
26287 if ac_fn_c_try_link "$LINENO"; then :
26288 gcc_cv_math_func___atanieee128=yes
26289 else
26290 gcc_cv_math_func___atanieee128=no
26291 fi
26292 rm -f core conftest.err conftest.$ac_objext \
26293 conftest$ac_exeext conftest.$ac_ext
26294 fi
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26296 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26297 if test $gcc_cv_math_func___atanieee128 = yes; then
26298
26299 cat >>confdefs.h <<_ACEOF
26300 #define HAVE___ATANIEEE128 1
26301 _ACEOF
26302
26303 fi
26304
26305
26306
26307
26308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26309 $as_echo_n "checking for __coshieee128... " >&6; }
26310 if ${gcc_cv_math_func___coshieee128+:} false; then :
26311 $as_echo_n "(cached) " >&6
26312 else
26313 if test x$gcc_no_link = xyes; then
26314 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26315 fi
26316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26317 /* end confdefs.h. */
26318
26319 _Float128 __coshieee128 (_Float128);
26320 _Float128 (*ptr)(_Float128) = __coshieee128;
26321
26322 int
26323 main ()
26324 {
26325 return 0;
26326 }
26327
26328 _ACEOF
26329 if ac_fn_c_try_link "$LINENO"; then :
26330 gcc_cv_math_func___coshieee128=yes
26331 else
26332 gcc_cv_math_func___coshieee128=no
26333 fi
26334 rm -f core conftest.err conftest.$ac_objext \
26335 conftest$ac_exeext conftest.$ac_ext
26336 fi
26337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26338 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26339 if test $gcc_cv_math_func___coshieee128 = yes; then
26340
26341 cat >>confdefs.h <<_ACEOF
26342 #define HAVE___COSHIEEE128 1
26343 _ACEOF
26344
26345 fi
26346
26347
26348
26349
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26351 $as_echo_n "checking for __cosieee128... " >&6; }
26352 if ${gcc_cv_math_func___cosieee128+:} false; then :
26353 $as_echo_n "(cached) " >&6
26354 else
26355 if test x$gcc_no_link = xyes; then
26356 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26357 fi
26358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26359 /* end confdefs.h. */
26360
26361 _Float128 __cosieee128 (_Float128);
26362 _Float128 (*ptr)(_Float128) = __cosieee128;
26363
26364 int
26365 main ()
26366 {
26367 return 0;
26368 }
26369
26370 _ACEOF
26371 if ac_fn_c_try_link "$LINENO"; then :
26372 gcc_cv_math_func___cosieee128=yes
26373 else
26374 gcc_cv_math_func___cosieee128=no
26375 fi
26376 rm -f core conftest.err conftest.$ac_objext \
26377 conftest$ac_exeext conftest.$ac_ext
26378 fi
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26380 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26381 if test $gcc_cv_math_func___cosieee128 = yes; then
26382
26383 cat >>confdefs.h <<_ACEOF
26384 #define HAVE___COSIEEE128 1
26385 _ACEOF
26386
26387 fi
26388
26389
26390
26391
26392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26393 $as_echo_n "checking for __erfieee128... " >&6; }
26394 if ${gcc_cv_math_func___erfieee128+:} false; then :
26395 $as_echo_n "(cached) " >&6
26396 else
26397 if test x$gcc_no_link = xyes; then
26398 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26399 fi
26400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26401 /* end confdefs.h. */
26402
26403 _Float128 __erfieee128 (_Float128);
26404 _Float128 (*ptr)(_Float128) = __erfieee128;
26405
26406 int
26407 main ()
26408 {
26409 return 0;
26410 }
26411
26412 _ACEOF
26413 if ac_fn_c_try_link "$LINENO"; then :
26414 gcc_cv_math_func___erfieee128=yes
26415 else
26416 gcc_cv_math_func___erfieee128=no
26417 fi
26418 rm -f core conftest.err conftest.$ac_objext \
26419 conftest$ac_exeext conftest.$ac_ext
26420 fi
26421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26422 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26423 if test $gcc_cv_math_func___erfieee128 = yes; then
26424
26425 cat >>confdefs.h <<_ACEOF
26426 #define HAVE___ERFIEEE128 1
26427 _ACEOF
26428
26429 fi
26430
26431
26432
26433
26434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26435 $as_echo_n "checking for __expieee128... " >&6; }
26436 if ${gcc_cv_math_func___expieee128+:} false; then :
26437 $as_echo_n "(cached) " >&6
26438 else
26439 if test x$gcc_no_link = xyes; then
26440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26441 fi
26442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26443 /* end confdefs.h. */
26444
26445 _Float128 __expieee128 (_Float128);
26446 _Float128 (*ptr)(_Float128) = __expieee128;
26447
26448 int
26449 main ()
26450 {
26451 return 0;
26452 }
26453
26454 _ACEOF
26455 if ac_fn_c_try_link "$LINENO"; then :
26456 gcc_cv_math_func___expieee128=yes
26457 else
26458 gcc_cv_math_func___expieee128=no
26459 fi
26460 rm -f core conftest.err conftest.$ac_objext \
26461 conftest$ac_exeext conftest.$ac_ext
26462 fi
26463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26464 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26465 if test $gcc_cv_math_func___expieee128 = yes; then
26466
26467 cat >>confdefs.h <<_ACEOF
26468 #define HAVE___EXPIEEE128 1
26469 _ACEOF
26470
26471 fi
26472
26473
26474
26475
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26477 $as_echo_n "checking for __fabsieee128... " >&6; }
26478 if ${gcc_cv_math_func___fabsieee128+:} false; then :
26479 $as_echo_n "(cached) " >&6
26480 else
26481 if test x$gcc_no_link = xyes; then
26482 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26483 fi
26484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26485 /* end confdefs.h. */
26486
26487 _Float128 __fabsieee128 (_Float128);
26488 _Float128 (*ptr)(_Float128) = __fabsieee128;
26489
26490 int
26491 main ()
26492 {
26493 return 0;
26494 }
26495
26496 _ACEOF
26497 if ac_fn_c_try_link "$LINENO"; then :
26498 gcc_cv_math_func___fabsieee128=yes
26499 else
26500 gcc_cv_math_func___fabsieee128=no
26501 fi
26502 rm -f core conftest.err conftest.$ac_objext \
26503 conftest$ac_exeext conftest.$ac_ext
26504 fi
26505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26506 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26507 if test $gcc_cv_math_func___fabsieee128 = yes; then
26508
26509 cat >>confdefs.h <<_ACEOF
26510 #define HAVE___FABSIEEE128 1
26511 _ACEOF
26512
26513 fi
26514
26515
26516
26517
26518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26519 $as_echo_n "checking for __jnieee128... " >&6; }
26520 if ${gcc_cv_math_func___jnieee128+:} false; then :
26521 $as_echo_n "(cached) " >&6
26522 else
26523 if test x$gcc_no_link = xyes; then
26524 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26525 fi
26526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26527 /* end confdefs.h. */
26528
26529 _Float128 __jnieee128 (_Float128);
26530 _Float128 (*ptr)(_Float128) = __jnieee128;
26531
26532 int
26533 main ()
26534 {
26535 return 0;
26536 }
26537
26538 _ACEOF
26539 if ac_fn_c_try_link "$LINENO"; then :
26540 gcc_cv_math_func___jnieee128=yes
26541 else
26542 gcc_cv_math_func___jnieee128=no
26543 fi
26544 rm -f core conftest.err conftest.$ac_objext \
26545 conftest$ac_exeext conftest.$ac_ext
26546 fi
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26548 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26549 if test $gcc_cv_math_func___jnieee128 = yes; then
26550
26551 cat >>confdefs.h <<_ACEOF
26552 #define HAVE___JNIEEE128 1
26553 _ACEOF
26554
26555 fi
26556
26557
26558
26559
26560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26561 $as_echo_n "checking for __log10ieee128... " >&6; }
26562 if ${gcc_cv_math_func___log10ieee128+:} false; then :
26563 $as_echo_n "(cached) " >&6
26564 else
26565 if test x$gcc_no_link = xyes; then
26566 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26567 fi
26568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26569 /* end confdefs.h. */
26570
26571 _Float128 __log10ieee128 (_Float128);
26572 _Float128 (*ptr)(_Float128) = __log10ieee128;
26573
26574 int
26575 main ()
26576 {
26577 return 0;
26578 }
26579
26580 _ACEOF
26581 if ac_fn_c_try_link "$LINENO"; then :
26582 gcc_cv_math_func___log10ieee128=yes
26583 else
26584 gcc_cv_math_func___log10ieee128=no
26585 fi
26586 rm -f core conftest.err conftest.$ac_objext \
26587 conftest$ac_exeext conftest.$ac_ext
26588 fi
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26590 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26591 if test $gcc_cv_math_func___log10ieee128 = yes; then
26592
26593 cat >>confdefs.h <<_ACEOF
26594 #define HAVE___LOG10IEEE128 1
26595 _ACEOF
26596
26597 fi
26598
26599
26600
26601
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26603 $as_echo_n "checking for __logieee128... " >&6; }
26604 if ${gcc_cv_math_func___logieee128+:} false; then :
26605 $as_echo_n "(cached) " >&6
26606 else
26607 if test x$gcc_no_link = xyes; then
26608 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26609 fi
26610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26611 /* end confdefs.h. */
26612
26613 _Float128 __logieee128 (_Float128);
26614 _Float128 (*ptr)(_Float128) = __logieee128;
26615
26616 int
26617 main ()
26618 {
26619 return 0;
26620 }
26621
26622 _ACEOF
26623 if ac_fn_c_try_link "$LINENO"; then :
26624 gcc_cv_math_func___logieee128=yes
26625 else
26626 gcc_cv_math_func___logieee128=no
26627 fi
26628 rm -f core conftest.err conftest.$ac_objext \
26629 conftest$ac_exeext conftest.$ac_ext
26630 fi
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26632 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26633 if test $gcc_cv_math_func___logieee128 = yes; then
26634
26635 cat >>confdefs.h <<_ACEOF
26636 #define HAVE___LOGIEEE128 1
26637 _ACEOF
26638
26639 fi
26640
26641
26642
26643
26644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26645 $as_echo_n "checking for __powieee128... " >&6; }
26646 if ${gcc_cv_math_func___powieee128+:} false; then :
26647 $as_echo_n "(cached) " >&6
26648 else
26649 if test x$gcc_no_link = xyes; then
26650 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26651 fi
26652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26653 /* end confdefs.h. */
26654
26655 _Float128 __powieee128 (_Float128);
26656 _Float128 (*ptr)(_Float128) = __powieee128;
26657
26658 int
26659 main ()
26660 {
26661 return 0;
26662 }
26663
26664 _ACEOF
26665 if ac_fn_c_try_link "$LINENO"; then :
26666 gcc_cv_math_func___powieee128=yes
26667 else
26668 gcc_cv_math_func___powieee128=no
26669 fi
26670 rm -f core conftest.err conftest.$ac_objext \
26671 conftest$ac_exeext conftest.$ac_ext
26672 fi
26673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26674 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26675 if test $gcc_cv_math_func___powieee128 = yes; then
26676
26677 cat >>confdefs.h <<_ACEOF
26678 #define HAVE___POWIEEE128 1
26679 _ACEOF
26680
26681 fi
26682
26683
26684
26685
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26687 $as_echo_n "checking for __sinhieee128... " >&6; }
26688 if ${gcc_cv_math_func___sinhieee128+:} false; then :
26689 $as_echo_n "(cached) " >&6
26690 else
26691 if test x$gcc_no_link = xyes; then
26692 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26693 fi
26694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26695 /* end confdefs.h. */
26696
26697 _Float128 __sinhieee128 (_Float128);
26698 _Float128 (*ptr)(_Float128) = __sinhieee128;
26699
26700 int
26701 main ()
26702 {
26703 return 0;
26704 }
26705
26706 _ACEOF
26707 if ac_fn_c_try_link "$LINENO"; then :
26708 gcc_cv_math_func___sinhieee128=yes
26709 else
26710 gcc_cv_math_func___sinhieee128=no
26711 fi
26712 rm -f core conftest.err conftest.$ac_objext \
26713 conftest$ac_exeext conftest.$ac_ext
26714 fi
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26716 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26717 if test $gcc_cv_math_func___sinhieee128 = yes; then
26718
26719 cat >>confdefs.h <<_ACEOF
26720 #define HAVE___SINHIEEE128 1
26721 _ACEOF
26722
26723 fi
26724
26725
26726
26727
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26729 $as_echo_n "checking for __sinieee128... " >&6; }
26730 if ${gcc_cv_math_func___sinieee128+:} false; then :
26731 $as_echo_n "(cached) " >&6
26732 else
26733 if test x$gcc_no_link = xyes; then
26734 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26735 fi
26736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26737 /* end confdefs.h. */
26738
26739 _Float128 __sinieee128 (_Float128);
26740 _Float128 (*ptr)(_Float128) = __sinieee128;
26741
26742 int
26743 main ()
26744 {
26745 return 0;
26746 }
26747
26748 _ACEOF
26749 if ac_fn_c_try_link "$LINENO"; then :
26750 gcc_cv_math_func___sinieee128=yes
26751 else
26752 gcc_cv_math_func___sinieee128=no
26753 fi
26754 rm -f core conftest.err conftest.$ac_objext \
26755 conftest$ac_exeext conftest.$ac_ext
26756 fi
26757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26758 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26759 if test $gcc_cv_math_func___sinieee128 = yes; then
26760
26761 cat >>confdefs.h <<_ACEOF
26762 #define HAVE___SINIEEE128 1
26763 _ACEOF
26764
26765 fi
26766
26767
26768
26769
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26771 $as_echo_n "checking for __sqrtieee128... " >&6; }
26772 if ${gcc_cv_math_func___sqrtieee128+:} false; then :
26773 $as_echo_n "(cached) " >&6
26774 else
26775 if test x$gcc_no_link = xyes; then
26776 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26777 fi
26778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26779 /* end confdefs.h. */
26780
26781 _Float128 __sqrtieee128 (_Float128);
26782 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26783
26784 int
26785 main ()
26786 {
26787 return 0;
26788 }
26789
26790 _ACEOF
26791 if ac_fn_c_try_link "$LINENO"; then :
26792 gcc_cv_math_func___sqrtieee128=yes
26793 else
26794 gcc_cv_math_func___sqrtieee128=no
26795 fi
26796 rm -f core conftest.err conftest.$ac_objext \
26797 conftest$ac_exeext conftest.$ac_ext
26798 fi
26799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26800 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26801 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26802
26803 cat >>confdefs.h <<_ACEOF
26804 #define HAVE___SQRTIEEE128 1
26805 _ACEOF
26806
26807 fi
26808
26809
26810
26811
26812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26813 $as_echo_n "checking for __tanhieee128... " >&6; }
26814 if ${gcc_cv_math_func___tanhieee128+:} false; then :
26815 $as_echo_n "(cached) " >&6
26816 else
26817 if test x$gcc_no_link = xyes; then
26818 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26819 fi
26820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26821 /* end confdefs.h. */
26822
26823 _Float128 __tanhieee128 (_Float128);
26824 _Float128 (*ptr)(_Float128) = __tanhieee128;
26825
26826 int
26827 main ()
26828 {
26829 return 0;
26830 }
26831
26832 _ACEOF
26833 if ac_fn_c_try_link "$LINENO"; then :
26834 gcc_cv_math_func___tanhieee128=yes
26835 else
26836 gcc_cv_math_func___tanhieee128=no
26837 fi
26838 rm -f core conftest.err conftest.$ac_objext \
26839 conftest$ac_exeext conftest.$ac_ext
26840 fi
26841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26842 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26843 if test $gcc_cv_math_func___tanhieee128 = yes; then
26844
26845 cat >>confdefs.h <<_ACEOF
26846 #define HAVE___TANHIEEE128 1
26847 _ACEOF
26848
26849 fi
26850
26851
26852
26853
26854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26855 $as_echo_n "checking for __tanieee128... " >&6; }
26856 if ${gcc_cv_math_func___tanieee128+:} false; then :
26857 $as_echo_n "(cached) " >&6
26858 else
26859 if test x$gcc_no_link = xyes; then
26860 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26861 fi
26862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26863 /* end confdefs.h. */
26864
26865 _Float128 __tanieee128 (_Float128);
26866 _Float128 (*ptr)(_Float128) = __tanieee128;
26867
26868 int
26869 main ()
26870 {
26871 return 0;
26872 }
26873
26874 _ACEOF
26875 if ac_fn_c_try_link "$LINENO"; then :
26876 gcc_cv_math_func___tanieee128=yes
26877 else
26878 gcc_cv_math_func___tanieee128=no
26879 fi
26880 rm -f core conftest.err conftest.$ac_objext \
26881 conftest$ac_exeext conftest.$ac_ext
26882 fi
26883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26884 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26885 if test $gcc_cv_math_func___tanieee128 = yes; then
26886
26887 cat >>confdefs.h <<_ACEOF
26888 #define HAVE___TANIEEE128 1
26889 _ACEOF
26890
26891 fi
26892
26893
26894
26895
26896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26897 $as_echo_n "checking for __ynieee128... " >&6; }
26898 if ${gcc_cv_math_func___ynieee128+:} false; then :
26899 $as_echo_n "(cached) " >&6
26900 else
26901 if test x$gcc_no_link = xyes; then
26902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26903 fi
26904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26905 /* end confdefs.h. */
26906
26907 _Float128 __ynieee128 (_Float128);
26908 _Float128 (*ptr)(_Float128) = __ynieee128;
26909
26910 int
26911 main ()
26912 {
26913 return 0;
26914 }
26915
26916 _ACEOF
26917 if ac_fn_c_try_link "$LINENO"; then :
26918 gcc_cv_math_func___ynieee128=yes
26919 else
26920 gcc_cv_math_func___ynieee128=no
26921 fi
26922 rm -f core conftest.err conftest.$ac_objext \
26923 conftest$ac_exeext conftest.$ac_ext
26924 fi
26925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26926 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26927 if test $gcc_cv_math_func___ynieee128 = yes; then
26928
26929 cat >>confdefs.h <<_ACEOF
26930 #define HAVE___YNIEEE128 1
26931 _ACEOF
26932
26933 fi
26934
26935 fi
26936
26937 # On AIX, clog is present in libm as __clog
26938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26939 $as_echo_n "checking for __clog in -lm... " >&6; }
26940 if ${ac_cv_lib_m___clog+:} false; then :
26941 $as_echo_n "(cached) " >&6
26942 else
26943 ac_check_lib_save_LIBS=$LIBS
26944 LIBS="-lm $LIBS"
26945 if test x$gcc_no_link = xyes; then
26946 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26947 fi
26948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26949 /* end confdefs.h. */
26950
26951 /* Override any GCC internal prototype to avoid an error.
26952 Use char because int might match the return type of a GCC
26953 builtin and then its argument prototype would still apply. */
26954 #ifdef __cplusplus
26955 extern "C"
26956 #endif
26957 char __clog ();
26958 int
26959 main ()
26960 {
26961 return __clog ();
26962 ;
26963 return 0;
26964 }
26965 _ACEOF
26966 if ac_fn_c_try_link "$LINENO"; then :
26967 ac_cv_lib_m___clog=yes
26968 else
26969 ac_cv_lib_m___clog=no
26970 fi
26971 rm -f core conftest.err conftest.$ac_objext \
26972 conftest$ac_exeext conftest.$ac_ext
26973 LIBS=$ac_check_lib_save_LIBS
26974 fi
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26976 $as_echo "$ac_cv_lib_m___clog" >&6; }
26977 if test "x$ac_cv_lib_m___clog" = xyes; then :
26978
26979 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26980
26981 fi
26982
26983
26984
26985
26986 if test $gcc_cv_math_func_copysign = no; then
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26988 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26989 if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
26990 $as_echo_n "(cached) " >&6
26991 else
26992 if test x$gcc_no_link = xyes; then
26993 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26994 fi
26995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26996 /* end confdefs.h. */
26997
26998 double
26999 copysign_fallback (double x, double y)
27000 {
27001 return __builtin_copysign (x, y);
27002 }
27003
27004 int
27005 main ()
27006 {
27007 return 0;
27008 }
27009
27010 _ACEOF
27011 if ac_fn_c_try_link "$LINENO"; then :
27012 gcc_cv_math_inline_builtin_copysign=yes
27013 else
27014 gcc_cv_math_inline_builtin_copysign=no
27015 fi
27016 rm -f core conftest.err conftest.$ac_objext \
27017 conftest$ac_exeext conftest.$ac_ext
27018 fi
27019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
27020 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
27021 if test $gcc_cv_math_inline_builtin_copysign = yes; then
27022
27023 cat >>confdefs.h <<_ACEOF
27024 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
27025 _ACEOF
27026
27027 fi
27028 fi
27029
27030
27031 if test $gcc_cv_math_func_copysignl = no; then
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
27033 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
27034 if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
27035 $as_echo_n "(cached) " >&6
27036 else
27037 if test x$gcc_no_link = xyes; then
27038 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27039 fi
27040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27041 /* end confdefs.h. */
27042
27043 long double
27044 copysignl_fallback (long double x, long double y)
27045 {
27046 return __builtin_copysignl (x, y);
27047 }
27048
27049 int
27050 main ()
27051 {
27052 return 0;
27053 }
27054
27055 _ACEOF
27056 if ac_fn_c_try_link "$LINENO"; then :
27057 gcc_cv_math_inline_builtin_copysignl=yes
27058 else
27059 gcc_cv_math_inline_builtin_copysignl=no
27060 fi
27061 rm -f core conftest.err conftest.$ac_objext \
27062 conftest$ac_exeext conftest.$ac_ext
27063 fi
27064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
27065 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
27066 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
27067
27068 cat >>confdefs.h <<_ACEOF
27069 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
27070 _ACEOF
27071
27072 fi
27073 fi
27074
27075
27076 if test $gcc_cv_math_func_fabs = no; then
27077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
27078 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
27079 if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
27080 $as_echo_n "(cached) " >&6
27081 else
27082 if test x$gcc_no_link = xyes; then
27083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27084 fi
27085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27086 /* end confdefs.h. */
27087
27088 double
27089 fabs_fallback (double x)
27090 {
27091 return __builtin_fabs (x);
27092 }
27093
27094 int
27095 main ()
27096 {
27097 return 0;
27098 }
27099
27100 _ACEOF
27101 if ac_fn_c_try_link "$LINENO"; then :
27102 gcc_cv_math_inline_builtin_fabs=yes
27103 else
27104 gcc_cv_math_inline_builtin_fabs=no
27105 fi
27106 rm -f core conftest.err conftest.$ac_objext \
27107 conftest$ac_exeext conftest.$ac_ext
27108 fi
27109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
27110 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
27111 if test $gcc_cv_math_inline_builtin_fabs = yes; then
27112
27113 cat >>confdefs.h <<_ACEOF
27114 #define HAVE_INLINE_BUILTIN_FABS 1
27115 _ACEOF
27116
27117 fi
27118 fi
27119
27120
27121 if test $gcc_cv_math_func_fabsl = no; then
27122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
27123 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
27124 if ${gcc_cv_math_inline_builtin_fabsl+:} false; then :
27125 $as_echo_n "(cached) " >&6
27126 else
27127 if test x$gcc_no_link = xyes; then
27128 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27129 fi
27130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27131 /* end confdefs.h. */
27132
27133 long double
27134 fabsl_fallback (long double x)
27135 {
27136 return __builtin_fabsl (x);
27137 }
27138
27139 int
27140 main ()
27141 {
27142 return 0;
27143 }
27144
27145 _ACEOF
27146 if ac_fn_c_try_link "$LINENO"; then :
27147 gcc_cv_math_inline_builtin_fabsl=yes
27148 else
27149 gcc_cv_math_inline_builtin_fabsl=no
27150 fi
27151 rm -f core conftest.err conftest.$ac_objext \
27152 conftest$ac_exeext conftest.$ac_ext
27153 fi
27154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27155 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27156 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27157
27158 cat >>confdefs.h <<_ACEOF
27159 #define HAVE_INLINE_BUILTIN_FABSL 1
27160 _ACEOF
27161
27162 fi
27163 fi
27164
27165
27166
27167
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27169 $as_echo_n "checking for acosf128... " >&6; }
27170 if ${gcc_cv_math_func_acosf128+:} false; then :
27171 $as_echo_n "(cached) " >&6
27172 else
27173 if test x$gcc_no_link = xyes; then
27174 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27175 fi
27176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27177 /* end confdefs.h. */
27178
27179 #ifdef HAVE_COMPLEX_H
27180 #include <complex.h>
27181 #endif
27182 #ifdef HAVE_MATH_H
27183 #include <math.h>
27184 #endif
27185
27186 int (*ptr)() = (int (*)())acosf128;
27187
27188 int
27189 main ()
27190 {
27191 return 0;
27192 }
27193
27194 _ACEOF
27195 if ac_fn_c_try_link "$LINENO"; then :
27196 gcc_cv_math_func_acosf128=yes
27197 else
27198 gcc_cv_math_func_acosf128=no
27199 fi
27200 rm -f core conftest.err conftest.$ac_objext \
27201 conftest$ac_exeext conftest.$ac_ext
27202 fi
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27204 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27205 if test $gcc_cv_math_func_acosf128 = yes; then
27206
27207 cat >>confdefs.h <<_ACEOF
27208 #define HAVE_ACOSF128 1
27209 _ACEOF
27210
27211 fi
27212
27213
27214
27215
27216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27217 $as_echo_n "checking for acoshf128... " >&6; }
27218 if ${gcc_cv_math_func_acoshf128+:} false; then :
27219 $as_echo_n "(cached) " >&6
27220 else
27221 if test x$gcc_no_link = xyes; then
27222 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27223 fi
27224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27225 /* end confdefs.h. */
27226
27227 #ifdef HAVE_COMPLEX_H
27228 #include <complex.h>
27229 #endif
27230 #ifdef HAVE_MATH_H
27231 #include <math.h>
27232 #endif
27233
27234 int (*ptr)() = (int (*)())acoshf128;
27235
27236 int
27237 main ()
27238 {
27239 return 0;
27240 }
27241
27242 _ACEOF
27243 if ac_fn_c_try_link "$LINENO"; then :
27244 gcc_cv_math_func_acoshf128=yes
27245 else
27246 gcc_cv_math_func_acoshf128=no
27247 fi
27248 rm -f core conftest.err conftest.$ac_objext \
27249 conftest$ac_exeext conftest.$ac_ext
27250 fi
27251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27252 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27253 if test $gcc_cv_math_func_acoshf128 = yes; then
27254
27255 cat >>confdefs.h <<_ACEOF
27256 #define HAVE_ACOSHF128 1
27257 _ACEOF
27258
27259 fi
27260
27261
27262
27263
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27265 $as_echo_n "checking for asinf128... " >&6; }
27266 if ${gcc_cv_math_func_asinf128+:} false; then :
27267 $as_echo_n "(cached) " >&6
27268 else
27269 if test x$gcc_no_link = xyes; then
27270 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27271 fi
27272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27273 /* end confdefs.h. */
27274
27275 #ifdef HAVE_COMPLEX_H
27276 #include <complex.h>
27277 #endif
27278 #ifdef HAVE_MATH_H
27279 #include <math.h>
27280 #endif
27281
27282 int (*ptr)() = (int (*)())asinf128;
27283
27284 int
27285 main ()
27286 {
27287 return 0;
27288 }
27289
27290 _ACEOF
27291 if ac_fn_c_try_link "$LINENO"; then :
27292 gcc_cv_math_func_asinf128=yes
27293 else
27294 gcc_cv_math_func_asinf128=no
27295 fi
27296 rm -f core conftest.err conftest.$ac_objext \
27297 conftest$ac_exeext conftest.$ac_ext
27298 fi
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27300 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27301 if test $gcc_cv_math_func_asinf128 = yes; then
27302
27303 cat >>confdefs.h <<_ACEOF
27304 #define HAVE_ASINF128 1
27305 _ACEOF
27306
27307 fi
27308
27309
27310
27311
27312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27313 $as_echo_n "checking for asinhf128... " >&6; }
27314 if ${gcc_cv_math_func_asinhf128+:} false; then :
27315 $as_echo_n "(cached) " >&6
27316 else
27317 if test x$gcc_no_link = xyes; then
27318 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27319 fi
27320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27321 /* end confdefs.h. */
27322
27323 #ifdef HAVE_COMPLEX_H
27324 #include <complex.h>
27325 #endif
27326 #ifdef HAVE_MATH_H
27327 #include <math.h>
27328 #endif
27329
27330 int (*ptr)() = (int (*)())asinhf128;
27331
27332 int
27333 main ()
27334 {
27335 return 0;
27336 }
27337
27338 _ACEOF
27339 if ac_fn_c_try_link "$LINENO"; then :
27340 gcc_cv_math_func_asinhf128=yes
27341 else
27342 gcc_cv_math_func_asinhf128=no
27343 fi
27344 rm -f core conftest.err conftest.$ac_objext \
27345 conftest$ac_exeext conftest.$ac_ext
27346 fi
27347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27348 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27349 if test $gcc_cv_math_func_asinhf128 = yes; then
27350
27351 cat >>confdefs.h <<_ACEOF
27352 #define HAVE_ASINHF128 1
27353 _ACEOF
27354
27355 fi
27356
27357
27358
27359
27360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27361 $as_echo_n "checking for atan2f128... " >&6; }
27362 if ${gcc_cv_math_func_atan2f128+:} false; then :
27363 $as_echo_n "(cached) " >&6
27364 else
27365 if test x$gcc_no_link = xyes; then
27366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27367 fi
27368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27369 /* end confdefs.h. */
27370
27371 #ifdef HAVE_COMPLEX_H
27372 #include <complex.h>
27373 #endif
27374 #ifdef HAVE_MATH_H
27375 #include <math.h>
27376 #endif
27377
27378 int (*ptr)() = (int (*)())atan2f128;
27379
27380 int
27381 main ()
27382 {
27383 return 0;
27384 }
27385
27386 _ACEOF
27387 if ac_fn_c_try_link "$LINENO"; then :
27388 gcc_cv_math_func_atan2f128=yes
27389 else
27390 gcc_cv_math_func_atan2f128=no
27391 fi
27392 rm -f core conftest.err conftest.$ac_objext \
27393 conftest$ac_exeext conftest.$ac_ext
27394 fi
27395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27396 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27397 if test $gcc_cv_math_func_atan2f128 = yes; then
27398
27399 cat >>confdefs.h <<_ACEOF
27400 #define HAVE_ATAN2F128 1
27401 _ACEOF
27402
27403 fi
27404
27405
27406
27407
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27409 $as_echo_n "checking for atanf128... " >&6; }
27410 if ${gcc_cv_math_func_atanf128+:} false; then :
27411 $as_echo_n "(cached) " >&6
27412 else
27413 if test x$gcc_no_link = xyes; then
27414 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27415 fi
27416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27417 /* end confdefs.h. */
27418
27419 #ifdef HAVE_COMPLEX_H
27420 #include <complex.h>
27421 #endif
27422 #ifdef HAVE_MATH_H
27423 #include <math.h>
27424 #endif
27425
27426 int (*ptr)() = (int (*)())atanf128;
27427
27428 int
27429 main ()
27430 {
27431 return 0;
27432 }
27433
27434 _ACEOF
27435 if ac_fn_c_try_link "$LINENO"; then :
27436 gcc_cv_math_func_atanf128=yes
27437 else
27438 gcc_cv_math_func_atanf128=no
27439 fi
27440 rm -f core conftest.err conftest.$ac_objext \
27441 conftest$ac_exeext conftest.$ac_ext
27442 fi
27443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27444 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27445 if test $gcc_cv_math_func_atanf128 = yes; then
27446
27447 cat >>confdefs.h <<_ACEOF
27448 #define HAVE_ATANF128 1
27449 _ACEOF
27450
27451 fi
27452
27453
27454
27455
27456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27457 $as_echo_n "checking for atanhf128... " >&6; }
27458 if ${gcc_cv_math_func_atanhf128+:} false; then :
27459 $as_echo_n "(cached) " >&6
27460 else
27461 if test x$gcc_no_link = xyes; then
27462 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27463 fi
27464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27465 /* end confdefs.h. */
27466
27467 #ifdef HAVE_COMPLEX_H
27468 #include <complex.h>
27469 #endif
27470 #ifdef HAVE_MATH_H
27471 #include <math.h>
27472 #endif
27473
27474 int (*ptr)() = (int (*)())atanhf128;
27475
27476 int
27477 main ()
27478 {
27479 return 0;
27480 }
27481
27482 _ACEOF
27483 if ac_fn_c_try_link "$LINENO"; then :
27484 gcc_cv_math_func_atanhf128=yes
27485 else
27486 gcc_cv_math_func_atanhf128=no
27487 fi
27488 rm -f core conftest.err conftest.$ac_objext \
27489 conftest$ac_exeext conftest.$ac_ext
27490 fi
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27492 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27493 if test $gcc_cv_math_func_atanhf128 = yes; then
27494
27495 cat >>confdefs.h <<_ACEOF
27496 #define HAVE_ATANHF128 1
27497 _ACEOF
27498
27499 fi
27500
27501
27502
27503
27504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27505 $as_echo_n "checking for cargf128... " >&6; }
27506 if ${gcc_cv_math_func_cargf128+:} false; then :
27507 $as_echo_n "(cached) " >&6
27508 else
27509 if test x$gcc_no_link = xyes; then
27510 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27511 fi
27512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27513 /* end confdefs.h. */
27514
27515 #ifdef HAVE_COMPLEX_H
27516 #include <complex.h>
27517 #endif
27518 #ifdef HAVE_MATH_H
27519 #include <math.h>
27520 #endif
27521
27522 int (*ptr)() = (int (*)())cargf128;
27523
27524 int
27525 main ()
27526 {
27527 return 0;
27528 }
27529
27530 _ACEOF
27531 if ac_fn_c_try_link "$LINENO"; then :
27532 gcc_cv_math_func_cargf128=yes
27533 else
27534 gcc_cv_math_func_cargf128=no
27535 fi
27536 rm -f core conftest.err conftest.$ac_objext \
27537 conftest$ac_exeext conftest.$ac_ext
27538 fi
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27540 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27541 if test $gcc_cv_math_func_cargf128 = yes; then
27542
27543 cat >>confdefs.h <<_ACEOF
27544 #define HAVE_CARGF128 1
27545 _ACEOF
27546
27547 fi
27548
27549
27550
27551
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27553 $as_echo_n "checking for ceilf128... " >&6; }
27554 if ${gcc_cv_math_func_ceilf128+:} false; then :
27555 $as_echo_n "(cached) " >&6
27556 else
27557 if test x$gcc_no_link = xyes; then
27558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27559 fi
27560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27561 /* end confdefs.h. */
27562
27563 #ifdef HAVE_COMPLEX_H
27564 #include <complex.h>
27565 #endif
27566 #ifdef HAVE_MATH_H
27567 #include <math.h>
27568 #endif
27569
27570 int (*ptr)() = (int (*)())ceilf128;
27571
27572 int
27573 main ()
27574 {
27575 return 0;
27576 }
27577
27578 _ACEOF
27579 if ac_fn_c_try_link "$LINENO"; then :
27580 gcc_cv_math_func_ceilf128=yes
27581 else
27582 gcc_cv_math_func_ceilf128=no
27583 fi
27584 rm -f core conftest.err conftest.$ac_objext \
27585 conftest$ac_exeext conftest.$ac_ext
27586 fi
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27588 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27589 if test $gcc_cv_math_func_ceilf128 = yes; then
27590
27591 cat >>confdefs.h <<_ACEOF
27592 #define HAVE_CEILF128 1
27593 _ACEOF
27594
27595 fi
27596
27597
27598
27599
27600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27601 $as_echo_n "checking for copysignf128... " >&6; }
27602 if ${gcc_cv_math_func_copysignf128+:} false; then :
27603 $as_echo_n "(cached) " >&6
27604 else
27605 if test x$gcc_no_link = xyes; then
27606 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27607 fi
27608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27609 /* end confdefs.h. */
27610
27611 #ifdef HAVE_COMPLEX_H
27612 #include <complex.h>
27613 #endif
27614 #ifdef HAVE_MATH_H
27615 #include <math.h>
27616 #endif
27617
27618 int (*ptr)() = (int (*)())copysignf128;
27619
27620 int
27621 main ()
27622 {
27623 return 0;
27624 }
27625
27626 _ACEOF
27627 if ac_fn_c_try_link "$LINENO"; then :
27628 gcc_cv_math_func_copysignf128=yes
27629 else
27630 gcc_cv_math_func_copysignf128=no
27631 fi
27632 rm -f core conftest.err conftest.$ac_objext \
27633 conftest$ac_exeext conftest.$ac_ext
27634 fi
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27636 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27637 if test $gcc_cv_math_func_copysignf128 = yes; then
27638
27639 cat >>confdefs.h <<_ACEOF
27640 #define HAVE_COPYSIGNF128 1
27641 _ACEOF
27642
27643 fi
27644
27645
27646
27647
27648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27649 $as_echo_n "checking for cosf128... " >&6; }
27650 if ${gcc_cv_math_func_cosf128+:} false; then :
27651 $as_echo_n "(cached) " >&6
27652 else
27653 if test x$gcc_no_link = xyes; then
27654 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27655 fi
27656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27657 /* end confdefs.h. */
27658
27659 #ifdef HAVE_COMPLEX_H
27660 #include <complex.h>
27661 #endif
27662 #ifdef HAVE_MATH_H
27663 #include <math.h>
27664 #endif
27665
27666 int (*ptr)() = (int (*)())cosf128;
27667
27668 int
27669 main ()
27670 {
27671 return 0;
27672 }
27673
27674 _ACEOF
27675 if ac_fn_c_try_link "$LINENO"; then :
27676 gcc_cv_math_func_cosf128=yes
27677 else
27678 gcc_cv_math_func_cosf128=no
27679 fi
27680 rm -f core conftest.err conftest.$ac_objext \
27681 conftest$ac_exeext conftest.$ac_ext
27682 fi
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27684 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27685 if test $gcc_cv_math_func_cosf128 = yes; then
27686
27687 cat >>confdefs.h <<_ACEOF
27688 #define HAVE_COSF128 1
27689 _ACEOF
27690
27691 fi
27692
27693
27694
27695
27696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27697 $as_echo_n "checking for ccosf128... " >&6; }
27698 if ${gcc_cv_math_func_ccosf128+:} false; then :
27699 $as_echo_n "(cached) " >&6
27700 else
27701 if test x$gcc_no_link = xyes; then
27702 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27703 fi
27704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27705 /* end confdefs.h. */
27706
27707 #ifdef HAVE_COMPLEX_H
27708 #include <complex.h>
27709 #endif
27710 #ifdef HAVE_MATH_H
27711 #include <math.h>
27712 #endif
27713
27714 int (*ptr)() = (int (*)())ccosf128;
27715
27716 int
27717 main ()
27718 {
27719 return 0;
27720 }
27721
27722 _ACEOF
27723 if ac_fn_c_try_link "$LINENO"; then :
27724 gcc_cv_math_func_ccosf128=yes
27725 else
27726 gcc_cv_math_func_ccosf128=no
27727 fi
27728 rm -f core conftest.err conftest.$ac_objext \
27729 conftest$ac_exeext conftest.$ac_ext
27730 fi
27731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27732 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27733 if test $gcc_cv_math_func_ccosf128 = yes; then
27734
27735 cat >>confdefs.h <<_ACEOF
27736 #define HAVE_CCOSF128 1
27737 _ACEOF
27738
27739 fi
27740
27741
27742
27743
27744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27745 $as_echo_n "checking for coshf128... " >&6; }
27746 if ${gcc_cv_math_func_coshf128+:} false; then :
27747 $as_echo_n "(cached) " >&6
27748 else
27749 if test x$gcc_no_link = xyes; then
27750 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27751 fi
27752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27753 /* end confdefs.h. */
27754
27755 #ifdef HAVE_COMPLEX_H
27756 #include <complex.h>
27757 #endif
27758 #ifdef HAVE_MATH_H
27759 #include <math.h>
27760 #endif
27761
27762 int (*ptr)() = (int (*)())coshf128;
27763
27764 int
27765 main ()
27766 {
27767 return 0;
27768 }
27769
27770 _ACEOF
27771 if ac_fn_c_try_link "$LINENO"; then :
27772 gcc_cv_math_func_coshf128=yes
27773 else
27774 gcc_cv_math_func_coshf128=no
27775 fi
27776 rm -f core conftest.err conftest.$ac_objext \
27777 conftest$ac_exeext conftest.$ac_ext
27778 fi
27779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27780 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27781 if test $gcc_cv_math_func_coshf128 = yes; then
27782
27783 cat >>confdefs.h <<_ACEOF
27784 #define HAVE_COSHF128 1
27785 _ACEOF
27786
27787 fi
27788
27789
27790
27791
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27793 $as_echo_n "checking for ccoshf128... " >&6; }
27794 if ${gcc_cv_math_func_ccoshf128+:} false; then :
27795 $as_echo_n "(cached) " >&6
27796 else
27797 if test x$gcc_no_link = xyes; then
27798 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27799 fi
27800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27801 /* end confdefs.h. */
27802
27803 #ifdef HAVE_COMPLEX_H
27804 #include <complex.h>
27805 #endif
27806 #ifdef HAVE_MATH_H
27807 #include <math.h>
27808 #endif
27809
27810 int (*ptr)() = (int (*)())ccoshf128;
27811
27812 int
27813 main ()
27814 {
27815 return 0;
27816 }
27817
27818 _ACEOF
27819 if ac_fn_c_try_link "$LINENO"; then :
27820 gcc_cv_math_func_ccoshf128=yes
27821 else
27822 gcc_cv_math_func_ccoshf128=no
27823 fi
27824 rm -f core conftest.err conftest.$ac_objext \
27825 conftest$ac_exeext conftest.$ac_ext
27826 fi
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27828 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27829 if test $gcc_cv_math_func_ccoshf128 = yes; then
27830
27831 cat >>confdefs.h <<_ACEOF
27832 #define HAVE_CCOSHF128 1
27833 _ACEOF
27834
27835 fi
27836
27837
27838
27839
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27841 $as_echo_n "checking for expf128... " >&6; }
27842 if ${gcc_cv_math_func_expf128+:} false; then :
27843 $as_echo_n "(cached) " >&6
27844 else
27845 if test x$gcc_no_link = xyes; then
27846 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27847 fi
27848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27849 /* end confdefs.h. */
27850
27851 #ifdef HAVE_COMPLEX_H
27852 #include <complex.h>
27853 #endif
27854 #ifdef HAVE_MATH_H
27855 #include <math.h>
27856 #endif
27857
27858 int (*ptr)() = (int (*)())expf128;
27859
27860 int
27861 main ()
27862 {
27863 return 0;
27864 }
27865
27866 _ACEOF
27867 if ac_fn_c_try_link "$LINENO"; then :
27868 gcc_cv_math_func_expf128=yes
27869 else
27870 gcc_cv_math_func_expf128=no
27871 fi
27872 rm -f core conftest.err conftest.$ac_objext \
27873 conftest$ac_exeext conftest.$ac_ext
27874 fi
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27876 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27877 if test $gcc_cv_math_func_expf128 = yes; then
27878
27879 cat >>confdefs.h <<_ACEOF
27880 #define HAVE_EXPF128 1
27881 _ACEOF
27882
27883 fi
27884
27885
27886
27887
27888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27889 $as_echo_n "checking for cexpf128... " >&6; }
27890 if ${gcc_cv_math_func_cexpf128+:} false; then :
27891 $as_echo_n "(cached) " >&6
27892 else
27893 if test x$gcc_no_link = xyes; then
27894 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27895 fi
27896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27897 /* end confdefs.h. */
27898
27899 #ifdef HAVE_COMPLEX_H
27900 #include <complex.h>
27901 #endif
27902 #ifdef HAVE_MATH_H
27903 #include <math.h>
27904 #endif
27905
27906 int (*ptr)() = (int (*)())cexpf128;
27907
27908 int
27909 main ()
27910 {
27911 return 0;
27912 }
27913
27914 _ACEOF
27915 if ac_fn_c_try_link "$LINENO"; then :
27916 gcc_cv_math_func_cexpf128=yes
27917 else
27918 gcc_cv_math_func_cexpf128=no
27919 fi
27920 rm -f core conftest.err conftest.$ac_objext \
27921 conftest$ac_exeext conftest.$ac_ext
27922 fi
27923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27924 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27925 if test $gcc_cv_math_func_cexpf128 = yes; then
27926
27927 cat >>confdefs.h <<_ACEOF
27928 #define HAVE_CEXPF128 1
27929 _ACEOF
27930
27931 fi
27932
27933
27934
27935
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27937 $as_echo_n "checking for fabsf128... " >&6; }
27938 if ${gcc_cv_math_func_fabsf128+:} false; then :
27939 $as_echo_n "(cached) " >&6
27940 else
27941 if test x$gcc_no_link = xyes; then
27942 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27943 fi
27944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27945 /* end confdefs.h. */
27946
27947 #ifdef HAVE_COMPLEX_H
27948 #include <complex.h>
27949 #endif
27950 #ifdef HAVE_MATH_H
27951 #include <math.h>
27952 #endif
27953
27954 int (*ptr)() = (int (*)())fabsf128;
27955
27956 int
27957 main ()
27958 {
27959 return 0;
27960 }
27961
27962 _ACEOF
27963 if ac_fn_c_try_link "$LINENO"; then :
27964 gcc_cv_math_func_fabsf128=yes
27965 else
27966 gcc_cv_math_func_fabsf128=no
27967 fi
27968 rm -f core conftest.err conftest.$ac_objext \
27969 conftest$ac_exeext conftest.$ac_ext
27970 fi
27971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27972 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27973 if test $gcc_cv_math_func_fabsf128 = yes; then
27974
27975 cat >>confdefs.h <<_ACEOF
27976 #define HAVE_FABSF128 1
27977 _ACEOF
27978
27979 fi
27980
27981
27982
27983
27984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27985 $as_echo_n "checking for cabsf128... " >&6; }
27986 if ${gcc_cv_math_func_cabsf128+:} false; then :
27987 $as_echo_n "(cached) " >&6
27988 else
27989 if test x$gcc_no_link = xyes; then
27990 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27991 fi
27992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27993 /* end confdefs.h. */
27994
27995 #ifdef HAVE_COMPLEX_H
27996 #include <complex.h>
27997 #endif
27998 #ifdef HAVE_MATH_H
27999 #include <math.h>
28000 #endif
28001
28002 int (*ptr)() = (int (*)())cabsf128;
28003
28004 int
28005 main ()
28006 {
28007 return 0;
28008 }
28009
28010 _ACEOF
28011 if ac_fn_c_try_link "$LINENO"; then :
28012 gcc_cv_math_func_cabsf128=yes
28013 else
28014 gcc_cv_math_func_cabsf128=no
28015 fi
28016 rm -f core conftest.err conftest.$ac_objext \
28017 conftest$ac_exeext conftest.$ac_ext
28018 fi
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
28020 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
28021 if test $gcc_cv_math_func_cabsf128 = yes; then
28022
28023 cat >>confdefs.h <<_ACEOF
28024 #define HAVE_CABSF128 1
28025 _ACEOF
28026
28027 fi
28028
28029
28030
28031
28032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
28033 $as_echo_n "checking for floorf128... " >&6; }
28034 if ${gcc_cv_math_func_floorf128+:} false; then :
28035 $as_echo_n "(cached) " >&6
28036 else
28037 if test x$gcc_no_link = xyes; then
28038 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28039 fi
28040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28041 /* end confdefs.h. */
28042
28043 #ifdef HAVE_COMPLEX_H
28044 #include <complex.h>
28045 #endif
28046 #ifdef HAVE_MATH_H
28047 #include <math.h>
28048 #endif
28049
28050 int (*ptr)() = (int (*)())floorf128;
28051
28052 int
28053 main ()
28054 {
28055 return 0;
28056 }
28057
28058 _ACEOF
28059 if ac_fn_c_try_link "$LINENO"; then :
28060 gcc_cv_math_func_floorf128=yes
28061 else
28062 gcc_cv_math_func_floorf128=no
28063 fi
28064 rm -f core conftest.err conftest.$ac_objext \
28065 conftest$ac_exeext conftest.$ac_ext
28066 fi
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
28068 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
28069 if test $gcc_cv_math_func_floorf128 = yes; then
28070
28071 cat >>confdefs.h <<_ACEOF
28072 #define HAVE_FLOORF128 1
28073 _ACEOF
28074
28075 fi
28076
28077
28078
28079
28080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
28081 $as_echo_n "checking for fmaf128... " >&6; }
28082 if ${gcc_cv_math_func_fmaf128+:} false; then :
28083 $as_echo_n "(cached) " >&6
28084 else
28085 if test x$gcc_no_link = xyes; then
28086 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28087 fi
28088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28089 /* end confdefs.h. */
28090
28091 #ifdef HAVE_COMPLEX_H
28092 #include <complex.h>
28093 #endif
28094 #ifdef HAVE_MATH_H
28095 #include <math.h>
28096 #endif
28097
28098 int (*ptr)() = (int (*)())fmaf128;
28099
28100 int
28101 main ()
28102 {
28103 return 0;
28104 }
28105
28106 _ACEOF
28107 if ac_fn_c_try_link "$LINENO"; then :
28108 gcc_cv_math_func_fmaf128=yes
28109 else
28110 gcc_cv_math_func_fmaf128=no
28111 fi
28112 rm -f core conftest.err conftest.$ac_objext \
28113 conftest$ac_exeext conftest.$ac_ext
28114 fi
28115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
28116 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
28117 if test $gcc_cv_math_func_fmaf128 = yes; then
28118
28119 cat >>confdefs.h <<_ACEOF
28120 #define HAVE_FMAF128 1
28121 _ACEOF
28122
28123 fi
28124
28125
28126
28127
28128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
28129 $as_echo_n "checking for fmodf128... " >&6; }
28130 if ${gcc_cv_math_func_fmodf128+:} false; then :
28131 $as_echo_n "(cached) " >&6
28132 else
28133 if test x$gcc_no_link = xyes; then
28134 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28135 fi
28136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28137 /* end confdefs.h. */
28138
28139 #ifdef HAVE_COMPLEX_H
28140 #include <complex.h>
28141 #endif
28142 #ifdef HAVE_MATH_H
28143 #include <math.h>
28144 #endif
28145
28146 int (*ptr)() = (int (*)())fmodf128;
28147
28148 int
28149 main ()
28150 {
28151 return 0;
28152 }
28153
28154 _ACEOF
28155 if ac_fn_c_try_link "$LINENO"; then :
28156 gcc_cv_math_func_fmodf128=yes
28157 else
28158 gcc_cv_math_func_fmodf128=no
28159 fi
28160 rm -f core conftest.err conftest.$ac_objext \
28161 conftest$ac_exeext conftest.$ac_ext
28162 fi
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28164 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28165 if test $gcc_cv_math_func_fmodf128 = yes; then
28166
28167 cat >>confdefs.h <<_ACEOF
28168 #define HAVE_FMODF128 1
28169 _ACEOF
28170
28171 fi
28172
28173
28174
28175
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28177 $as_echo_n "checking for frexpf128... " >&6; }
28178 if ${gcc_cv_math_func_frexpf128+:} false; then :
28179 $as_echo_n "(cached) " >&6
28180 else
28181 if test x$gcc_no_link = xyes; then
28182 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28183 fi
28184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28185 /* end confdefs.h. */
28186
28187 #ifdef HAVE_COMPLEX_H
28188 #include <complex.h>
28189 #endif
28190 #ifdef HAVE_MATH_H
28191 #include <math.h>
28192 #endif
28193
28194 int (*ptr)() = (int (*)())frexpf128;
28195
28196 int
28197 main ()
28198 {
28199 return 0;
28200 }
28201
28202 _ACEOF
28203 if ac_fn_c_try_link "$LINENO"; then :
28204 gcc_cv_math_func_frexpf128=yes
28205 else
28206 gcc_cv_math_func_frexpf128=no
28207 fi
28208 rm -f core conftest.err conftest.$ac_objext \
28209 conftest$ac_exeext conftest.$ac_ext
28210 fi
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28212 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28213 if test $gcc_cv_math_func_frexpf128 = yes; then
28214
28215 cat >>confdefs.h <<_ACEOF
28216 #define HAVE_FREXPF128 1
28217 _ACEOF
28218
28219 fi
28220
28221
28222
28223
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28225 $as_echo_n "checking for hypotf128... " >&6; }
28226 if ${gcc_cv_math_func_hypotf128+:} false; then :
28227 $as_echo_n "(cached) " >&6
28228 else
28229 if test x$gcc_no_link = xyes; then
28230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28231 fi
28232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28233 /* end confdefs.h. */
28234
28235 #ifdef HAVE_COMPLEX_H
28236 #include <complex.h>
28237 #endif
28238 #ifdef HAVE_MATH_H
28239 #include <math.h>
28240 #endif
28241
28242 int (*ptr)() = (int (*)())hypotf128;
28243
28244 int
28245 main ()
28246 {
28247 return 0;
28248 }
28249
28250 _ACEOF
28251 if ac_fn_c_try_link "$LINENO"; then :
28252 gcc_cv_math_func_hypotf128=yes
28253 else
28254 gcc_cv_math_func_hypotf128=no
28255 fi
28256 rm -f core conftest.err conftest.$ac_objext \
28257 conftest$ac_exeext conftest.$ac_ext
28258 fi
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28260 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28261 if test $gcc_cv_math_func_hypotf128 = yes; then
28262
28263 cat >>confdefs.h <<_ACEOF
28264 #define HAVE_HYPOTF128 1
28265 _ACEOF
28266
28267 fi
28268
28269
28270
28271
28272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28273 $as_echo_n "checking for ldexpf128... " >&6; }
28274 if ${gcc_cv_math_func_ldexpf128+:} false; then :
28275 $as_echo_n "(cached) " >&6
28276 else
28277 if test x$gcc_no_link = xyes; then
28278 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28279 fi
28280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28281 /* end confdefs.h. */
28282
28283 #ifdef HAVE_COMPLEX_H
28284 #include <complex.h>
28285 #endif
28286 #ifdef HAVE_MATH_H
28287 #include <math.h>
28288 #endif
28289
28290 int (*ptr)() = (int (*)())ldexpf128;
28291
28292 int
28293 main ()
28294 {
28295 return 0;
28296 }
28297
28298 _ACEOF
28299 if ac_fn_c_try_link "$LINENO"; then :
28300 gcc_cv_math_func_ldexpf128=yes
28301 else
28302 gcc_cv_math_func_ldexpf128=no
28303 fi
28304 rm -f core conftest.err conftest.$ac_objext \
28305 conftest$ac_exeext conftest.$ac_ext
28306 fi
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28308 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28309 if test $gcc_cv_math_func_ldexpf128 = yes; then
28310
28311 cat >>confdefs.h <<_ACEOF
28312 #define HAVE_LDEXPF128 1
28313 _ACEOF
28314
28315 fi
28316
28317
28318
28319
28320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28321 $as_echo_n "checking for logf128... " >&6; }
28322 if ${gcc_cv_math_func_logf128+:} false; then :
28323 $as_echo_n "(cached) " >&6
28324 else
28325 if test x$gcc_no_link = xyes; then
28326 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28327 fi
28328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28329 /* end confdefs.h. */
28330
28331 #ifdef HAVE_COMPLEX_H
28332 #include <complex.h>
28333 #endif
28334 #ifdef HAVE_MATH_H
28335 #include <math.h>
28336 #endif
28337
28338 int (*ptr)() = (int (*)())logf128;
28339
28340 int
28341 main ()
28342 {
28343 return 0;
28344 }
28345
28346 _ACEOF
28347 if ac_fn_c_try_link "$LINENO"; then :
28348 gcc_cv_math_func_logf128=yes
28349 else
28350 gcc_cv_math_func_logf128=no
28351 fi
28352 rm -f core conftest.err conftest.$ac_objext \
28353 conftest$ac_exeext conftest.$ac_ext
28354 fi
28355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28356 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28357 if test $gcc_cv_math_func_logf128 = yes; then
28358
28359 cat >>confdefs.h <<_ACEOF
28360 #define HAVE_LOGF128 1
28361 _ACEOF
28362
28363 fi
28364
28365
28366
28367
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28369 $as_echo_n "checking for clogf128... " >&6; }
28370 if ${gcc_cv_math_func_clogf128+:} false; then :
28371 $as_echo_n "(cached) " >&6
28372 else
28373 if test x$gcc_no_link = xyes; then
28374 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28375 fi
28376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28377 /* end confdefs.h. */
28378
28379 #ifdef HAVE_COMPLEX_H
28380 #include <complex.h>
28381 #endif
28382 #ifdef HAVE_MATH_H
28383 #include <math.h>
28384 #endif
28385
28386 int (*ptr)() = (int (*)())clogf128;
28387
28388 int
28389 main ()
28390 {
28391 return 0;
28392 }
28393
28394 _ACEOF
28395 if ac_fn_c_try_link "$LINENO"; then :
28396 gcc_cv_math_func_clogf128=yes
28397 else
28398 gcc_cv_math_func_clogf128=no
28399 fi
28400 rm -f core conftest.err conftest.$ac_objext \
28401 conftest$ac_exeext conftest.$ac_ext
28402 fi
28403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28404 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28405 if test $gcc_cv_math_func_clogf128 = yes; then
28406
28407 cat >>confdefs.h <<_ACEOF
28408 #define HAVE_CLOGF128 1
28409 _ACEOF
28410
28411 fi
28412
28413
28414
28415
28416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28417 $as_echo_n "checking for log10f128... " >&6; }
28418 if ${gcc_cv_math_func_log10f128+:} false; then :
28419 $as_echo_n "(cached) " >&6
28420 else
28421 if test x$gcc_no_link = xyes; then
28422 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28423 fi
28424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28425 /* end confdefs.h. */
28426
28427 #ifdef HAVE_COMPLEX_H
28428 #include <complex.h>
28429 #endif
28430 #ifdef HAVE_MATH_H
28431 #include <math.h>
28432 #endif
28433
28434 int (*ptr)() = (int (*)())log10f128;
28435
28436 int
28437 main ()
28438 {
28439 return 0;
28440 }
28441
28442 _ACEOF
28443 if ac_fn_c_try_link "$LINENO"; then :
28444 gcc_cv_math_func_log10f128=yes
28445 else
28446 gcc_cv_math_func_log10f128=no
28447 fi
28448 rm -f core conftest.err conftest.$ac_objext \
28449 conftest$ac_exeext conftest.$ac_ext
28450 fi
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28452 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28453 if test $gcc_cv_math_func_log10f128 = yes; then
28454
28455 cat >>confdefs.h <<_ACEOF
28456 #define HAVE_LOG10F128 1
28457 _ACEOF
28458
28459 fi
28460
28461
28462
28463
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28465 $as_echo_n "checking for clog10f128... " >&6; }
28466 if ${gcc_cv_math_func_clog10f128+:} false; then :
28467 $as_echo_n "(cached) " >&6
28468 else
28469 if test x$gcc_no_link = xyes; then
28470 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28471 fi
28472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28473 /* end confdefs.h. */
28474
28475 #ifdef HAVE_COMPLEX_H
28476 #include <complex.h>
28477 #endif
28478 #ifdef HAVE_MATH_H
28479 #include <math.h>
28480 #endif
28481
28482 int (*ptr)() = (int (*)())clog10f128;
28483
28484 int
28485 main ()
28486 {
28487 return 0;
28488 }
28489
28490 _ACEOF
28491 if ac_fn_c_try_link "$LINENO"; then :
28492 gcc_cv_math_func_clog10f128=yes
28493 else
28494 gcc_cv_math_func_clog10f128=no
28495 fi
28496 rm -f core conftest.err conftest.$ac_objext \
28497 conftest$ac_exeext conftest.$ac_ext
28498 fi
28499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28500 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28501 if test $gcc_cv_math_func_clog10f128 = yes; then
28502
28503 cat >>confdefs.h <<_ACEOF
28504 #define HAVE_CLOG10F128 1
28505 _ACEOF
28506
28507 fi
28508
28509
28510
28511
28512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28513 $as_echo_n "checking for nextafterf128... " >&6; }
28514 if ${gcc_cv_math_func_nextafterf128+:} false; then :
28515 $as_echo_n "(cached) " >&6
28516 else
28517 if test x$gcc_no_link = xyes; then
28518 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28519 fi
28520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28521 /* end confdefs.h. */
28522
28523 #ifdef HAVE_COMPLEX_H
28524 #include <complex.h>
28525 #endif
28526 #ifdef HAVE_MATH_H
28527 #include <math.h>
28528 #endif
28529
28530 int (*ptr)() = (int (*)())nextafterf128;
28531
28532 int
28533 main ()
28534 {
28535 return 0;
28536 }
28537
28538 _ACEOF
28539 if ac_fn_c_try_link "$LINENO"; then :
28540 gcc_cv_math_func_nextafterf128=yes
28541 else
28542 gcc_cv_math_func_nextafterf128=no
28543 fi
28544 rm -f core conftest.err conftest.$ac_objext \
28545 conftest$ac_exeext conftest.$ac_ext
28546 fi
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28548 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28549 if test $gcc_cv_math_func_nextafterf128 = yes; then
28550
28551 cat >>confdefs.h <<_ACEOF
28552 #define HAVE_NEXTAFTERF128 1
28553 _ACEOF
28554
28555 fi
28556
28557
28558
28559
28560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28561 $as_echo_n "checking for powf128... " >&6; }
28562 if ${gcc_cv_math_func_powf128+:} false; then :
28563 $as_echo_n "(cached) " >&6
28564 else
28565 if test x$gcc_no_link = xyes; then
28566 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28567 fi
28568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28569 /* end confdefs.h. */
28570
28571 #ifdef HAVE_COMPLEX_H
28572 #include <complex.h>
28573 #endif
28574 #ifdef HAVE_MATH_H
28575 #include <math.h>
28576 #endif
28577
28578 int (*ptr)() = (int (*)())powf128;
28579
28580 int
28581 main ()
28582 {
28583 return 0;
28584 }
28585
28586 _ACEOF
28587 if ac_fn_c_try_link "$LINENO"; then :
28588 gcc_cv_math_func_powf128=yes
28589 else
28590 gcc_cv_math_func_powf128=no
28591 fi
28592 rm -f core conftest.err conftest.$ac_objext \
28593 conftest$ac_exeext conftest.$ac_ext
28594 fi
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28596 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28597 if test $gcc_cv_math_func_powf128 = yes; then
28598
28599 cat >>confdefs.h <<_ACEOF
28600 #define HAVE_POWF128 1
28601 _ACEOF
28602
28603 fi
28604
28605
28606
28607
28608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28609 $as_echo_n "checking for cpowf128... " >&6; }
28610 if ${gcc_cv_math_func_cpowf128+:} false; then :
28611 $as_echo_n "(cached) " >&6
28612 else
28613 if test x$gcc_no_link = xyes; then
28614 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28615 fi
28616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28617 /* end confdefs.h. */
28618
28619 #ifdef HAVE_COMPLEX_H
28620 #include <complex.h>
28621 #endif
28622 #ifdef HAVE_MATH_H
28623 #include <math.h>
28624 #endif
28625
28626 int (*ptr)() = (int (*)())cpowf128;
28627
28628 int
28629 main ()
28630 {
28631 return 0;
28632 }
28633
28634 _ACEOF
28635 if ac_fn_c_try_link "$LINENO"; then :
28636 gcc_cv_math_func_cpowf128=yes
28637 else
28638 gcc_cv_math_func_cpowf128=no
28639 fi
28640 rm -f core conftest.err conftest.$ac_objext \
28641 conftest$ac_exeext conftest.$ac_ext
28642 fi
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28644 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28645 if test $gcc_cv_math_func_cpowf128 = yes; then
28646
28647 cat >>confdefs.h <<_ACEOF
28648 #define HAVE_CPOWF128 1
28649 _ACEOF
28650
28651 fi
28652
28653
28654
28655
28656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28657 $as_echo_n "checking for roundf128... " >&6; }
28658 if ${gcc_cv_math_func_roundf128+:} false; then :
28659 $as_echo_n "(cached) " >&6
28660 else
28661 if test x$gcc_no_link = xyes; then
28662 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28663 fi
28664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28665 /* end confdefs.h. */
28666
28667 #ifdef HAVE_COMPLEX_H
28668 #include <complex.h>
28669 #endif
28670 #ifdef HAVE_MATH_H
28671 #include <math.h>
28672 #endif
28673
28674 int (*ptr)() = (int (*)())roundf128;
28675
28676 int
28677 main ()
28678 {
28679 return 0;
28680 }
28681
28682 _ACEOF
28683 if ac_fn_c_try_link "$LINENO"; then :
28684 gcc_cv_math_func_roundf128=yes
28685 else
28686 gcc_cv_math_func_roundf128=no
28687 fi
28688 rm -f core conftest.err conftest.$ac_objext \
28689 conftest$ac_exeext conftest.$ac_ext
28690 fi
28691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28692 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28693 if test $gcc_cv_math_func_roundf128 = yes; then
28694
28695 cat >>confdefs.h <<_ACEOF
28696 #define HAVE_ROUNDF128 1
28697 _ACEOF
28698
28699 fi
28700
28701
28702
28703
28704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28705 $as_echo_n "checking for lroundf128... " >&6; }
28706 if ${gcc_cv_math_func_lroundf128+:} false; then :
28707 $as_echo_n "(cached) " >&6
28708 else
28709 if test x$gcc_no_link = xyes; then
28710 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28711 fi
28712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28713 /* end confdefs.h. */
28714
28715 #ifdef HAVE_COMPLEX_H
28716 #include <complex.h>
28717 #endif
28718 #ifdef HAVE_MATH_H
28719 #include <math.h>
28720 #endif
28721
28722 int (*ptr)() = (int (*)())lroundf128;
28723
28724 int
28725 main ()
28726 {
28727 return 0;
28728 }
28729
28730 _ACEOF
28731 if ac_fn_c_try_link "$LINENO"; then :
28732 gcc_cv_math_func_lroundf128=yes
28733 else
28734 gcc_cv_math_func_lroundf128=no
28735 fi
28736 rm -f core conftest.err conftest.$ac_objext \
28737 conftest$ac_exeext conftest.$ac_ext
28738 fi
28739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28740 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28741 if test $gcc_cv_math_func_lroundf128 = yes; then
28742
28743 cat >>confdefs.h <<_ACEOF
28744 #define HAVE_LROUNDF128 1
28745 _ACEOF
28746
28747 fi
28748
28749
28750
28751
28752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28753 $as_echo_n "checking for llroundf128... " >&6; }
28754 if ${gcc_cv_math_func_llroundf128+:} false; then :
28755 $as_echo_n "(cached) " >&6
28756 else
28757 if test x$gcc_no_link = xyes; then
28758 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28759 fi
28760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28761 /* end confdefs.h. */
28762
28763 #ifdef HAVE_COMPLEX_H
28764 #include <complex.h>
28765 #endif
28766 #ifdef HAVE_MATH_H
28767 #include <math.h>
28768 #endif
28769
28770 int (*ptr)() = (int (*)())llroundf128;
28771
28772 int
28773 main ()
28774 {
28775 return 0;
28776 }
28777
28778 _ACEOF
28779 if ac_fn_c_try_link "$LINENO"; then :
28780 gcc_cv_math_func_llroundf128=yes
28781 else
28782 gcc_cv_math_func_llroundf128=no
28783 fi
28784 rm -f core conftest.err conftest.$ac_objext \
28785 conftest$ac_exeext conftest.$ac_ext
28786 fi
28787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28788 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28789 if test $gcc_cv_math_func_llroundf128 = yes; then
28790
28791 cat >>confdefs.h <<_ACEOF
28792 #define HAVE_LLROUNDF128 1
28793 _ACEOF
28794
28795 fi
28796
28797
28798
28799
28800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28801 $as_echo_n "checking for scalbnf128... " >&6; }
28802 if ${gcc_cv_math_func_scalbnf128+:} false; then :
28803 $as_echo_n "(cached) " >&6
28804 else
28805 if test x$gcc_no_link = xyes; then
28806 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28807 fi
28808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28809 /* end confdefs.h. */
28810
28811 #ifdef HAVE_COMPLEX_H
28812 #include <complex.h>
28813 #endif
28814 #ifdef HAVE_MATH_H
28815 #include <math.h>
28816 #endif
28817
28818 int (*ptr)() = (int (*)())scalbnf128;
28819
28820 int
28821 main ()
28822 {
28823 return 0;
28824 }
28825
28826 _ACEOF
28827 if ac_fn_c_try_link "$LINENO"; then :
28828 gcc_cv_math_func_scalbnf128=yes
28829 else
28830 gcc_cv_math_func_scalbnf128=no
28831 fi
28832 rm -f core conftest.err conftest.$ac_objext \
28833 conftest$ac_exeext conftest.$ac_ext
28834 fi
28835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28836 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28837 if test $gcc_cv_math_func_scalbnf128 = yes; then
28838
28839 cat >>confdefs.h <<_ACEOF
28840 #define HAVE_SCALBNF128 1
28841 _ACEOF
28842
28843 fi
28844
28845
28846
28847
28848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28849 $as_echo_n "checking for sinf128... " >&6; }
28850 if ${gcc_cv_math_func_sinf128+:} false; then :
28851 $as_echo_n "(cached) " >&6
28852 else
28853 if test x$gcc_no_link = xyes; then
28854 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28855 fi
28856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28857 /* end confdefs.h. */
28858
28859 #ifdef HAVE_COMPLEX_H
28860 #include <complex.h>
28861 #endif
28862 #ifdef HAVE_MATH_H
28863 #include <math.h>
28864 #endif
28865
28866 int (*ptr)() = (int (*)())sinf128;
28867
28868 int
28869 main ()
28870 {
28871 return 0;
28872 }
28873
28874 _ACEOF
28875 if ac_fn_c_try_link "$LINENO"; then :
28876 gcc_cv_math_func_sinf128=yes
28877 else
28878 gcc_cv_math_func_sinf128=no
28879 fi
28880 rm -f core conftest.err conftest.$ac_objext \
28881 conftest$ac_exeext conftest.$ac_ext
28882 fi
28883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28884 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28885 if test $gcc_cv_math_func_sinf128 = yes; then
28886
28887 cat >>confdefs.h <<_ACEOF
28888 #define HAVE_SINF128 1
28889 _ACEOF
28890
28891 fi
28892
28893
28894
28895
28896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28897 $as_echo_n "checking for csinf128... " >&6; }
28898 if ${gcc_cv_math_func_csinf128+:} false; then :
28899 $as_echo_n "(cached) " >&6
28900 else
28901 if test x$gcc_no_link = xyes; then
28902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28903 fi
28904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28905 /* end confdefs.h. */
28906
28907 #ifdef HAVE_COMPLEX_H
28908 #include <complex.h>
28909 #endif
28910 #ifdef HAVE_MATH_H
28911 #include <math.h>
28912 #endif
28913
28914 int (*ptr)() = (int (*)())csinf128;
28915
28916 int
28917 main ()
28918 {
28919 return 0;
28920 }
28921
28922 _ACEOF
28923 if ac_fn_c_try_link "$LINENO"; then :
28924 gcc_cv_math_func_csinf128=yes
28925 else
28926 gcc_cv_math_func_csinf128=no
28927 fi
28928 rm -f core conftest.err conftest.$ac_objext \
28929 conftest$ac_exeext conftest.$ac_ext
28930 fi
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28932 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28933 if test $gcc_cv_math_func_csinf128 = yes; then
28934
28935 cat >>confdefs.h <<_ACEOF
28936 #define HAVE_CSINF128 1
28937 _ACEOF
28938
28939 fi
28940
28941
28942
28943
28944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28945 $as_echo_n "checking for sinhf128... " >&6; }
28946 if ${gcc_cv_math_func_sinhf128+:} false; then :
28947 $as_echo_n "(cached) " >&6
28948 else
28949 if test x$gcc_no_link = xyes; then
28950 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28951 fi
28952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28953 /* end confdefs.h. */
28954
28955 #ifdef HAVE_COMPLEX_H
28956 #include <complex.h>
28957 #endif
28958 #ifdef HAVE_MATH_H
28959 #include <math.h>
28960 #endif
28961
28962 int (*ptr)() = (int (*)())sinhf128;
28963
28964 int
28965 main ()
28966 {
28967 return 0;
28968 }
28969
28970 _ACEOF
28971 if ac_fn_c_try_link "$LINENO"; then :
28972 gcc_cv_math_func_sinhf128=yes
28973 else
28974 gcc_cv_math_func_sinhf128=no
28975 fi
28976 rm -f core conftest.err conftest.$ac_objext \
28977 conftest$ac_exeext conftest.$ac_ext
28978 fi
28979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28980 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28981 if test $gcc_cv_math_func_sinhf128 = yes; then
28982
28983 cat >>confdefs.h <<_ACEOF
28984 #define HAVE_SINHF128 1
28985 _ACEOF
28986
28987 fi
28988
28989
28990
28991
28992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28993 $as_echo_n "checking for csinhf128... " >&6; }
28994 if ${gcc_cv_math_func_csinhf128+:} false; then :
28995 $as_echo_n "(cached) " >&6
28996 else
28997 if test x$gcc_no_link = xyes; then
28998 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28999 fi
29000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29001 /* end confdefs.h. */
29002
29003 #ifdef HAVE_COMPLEX_H
29004 #include <complex.h>
29005 #endif
29006 #ifdef HAVE_MATH_H
29007 #include <math.h>
29008 #endif
29009
29010 int (*ptr)() = (int (*)())csinhf128;
29011
29012 int
29013 main ()
29014 {
29015 return 0;
29016 }
29017
29018 _ACEOF
29019 if ac_fn_c_try_link "$LINENO"; then :
29020 gcc_cv_math_func_csinhf128=yes
29021 else
29022 gcc_cv_math_func_csinhf128=no
29023 fi
29024 rm -f core conftest.err conftest.$ac_objext \
29025 conftest$ac_exeext conftest.$ac_ext
29026 fi
29027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
29028 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
29029 if test $gcc_cv_math_func_csinhf128 = yes; then
29030
29031 cat >>confdefs.h <<_ACEOF
29032 #define HAVE_CSINHF128 1
29033 _ACEOF
29034
29035 fi
29036
29037
29038
29039
29040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
29041 $as_echo_n "checking for sqrtf128... " >&6; }
29042 if ${gcc_cv_math_func_sqrtf128+:} false; then :
29043 $as_echo_n "(cached) " >&6
29044 else
29045 if test x$gcc_no_link = xyes; then
29046 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29047 fi
29048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29049 /* end confdefs.h. */
29050
29051 #ifdef HAVE_COMPLEX_H
29052 #include <complex.h>
29053 #endif
29054 #ifdef HAVE_MATH_H
29055 #include <math.h>
29056 #endif
29057
29058 int (*ptr)() = (int (*)())sqrtf128;
29059
29060 int
29061 main ()
29062 {
29063 return 0;
29064 }
29065
29066 _ACEOF
29067 if ac_fn_c_try_link "$LINENO"; then :
29068 gcc_cv_math_func_sqrtf128=yes
29069 else
29070 gcc_cv_math_func_sqrtf128=no
29071 fi
29072 rm -f core conftest.err conftest.$ac_objext \
29073 conftest$ac_exeext conftest.$ac_ext
29074 fi
29075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
29076 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
29077 if test $gcc_cv_math_func_sqrtf128 = yes; then
29078
29079 cat >>confdefs.h <<_ACEOF
29080 #define HAVE_SQRTF128 1
29081 _ACEOF
29082
29083 fi
29084
29085
29086
29087
29088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
29089 $as_echo_n "checking for csqrtf128... " >&6; }
29090 if ${gcc_cv_math_func_csqrtf128+:} false; then :
29091 $as_echo_n "(cached) " >&6
29092 else
29093 if test x$gcc_no_link = xyes; then
29094 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29095 fi
29096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29097 /* end confdefs.h. */
29098
29099 #ifdef HAVE_COMPLEX_H
29100 #include <complex.h>
29101 #endif
29102 #ifdef HAVE_MATH_H
29103 #include <math.h>
29104 #endif
29105
29106 int (*ptr)() = (int (*)())csqrtf128;
29107
29108 int
29109 main ()
29110 {
29111 return 0;
29112 }
29113
29114 _ACEOF
29115 if ac_fn_c_try_link "$LINENO"; then :
29116 gcc_cv_math_func_csqrtf128=yes
29117 else
29118 gcc_cv_math_func_csqrtf128=no
29119 fi
29120 rm -f core conftest.err conftest.$ac_objext \
29121 conftest$ac_exeext conftest.$ac_ext
29122 fi
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
29124 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
29125 if test $gcc_cv_math_func_csqrtf128 = yes; then
29126
29127 cat >>confdefs.h <<_ACEOF
29128 #define HAVE_CSQRTF128 1
29129 _ACEOF
29130
29131 fi
29132
29133
29134
29135
29136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
29137 $as_echo_n "checking for tanf128... " >&6; }
29138 if ${gcc_cv_math_func_tanf128+:} false; then :
29139 $as_echo_n "(cached) " >&6
29140 else
29141 if test x$gcc_no_link = xyes; then
29142 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29143 fi
29144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29145 /* end confdefs.h. */
29146
29147 #ifdef HAVE_COMPLEX_H
29148 #include <complex.h>
29149 #endif
29150 #ifdef HAVE_MATH_H
29151 #include <math.h>
29152 #endif
29153
29154 int (*ptr)() = (int (*)())tanf128;
29155
29156 int
29157 main ()
29158 {
29159 return 0;
29160 }
29161
29162 _ACEOF
29163 if ac_fn_c_try_link "$LINENO"; then :
29164 gcc_cv_math_func_tanf128=yes
29165 else
29166 gcc_cv_math_func_tanf128=no
29167 fi
29168 rm -f core conftest.err conftest.$ac_objext \
29169 conftest$ac_exeext conftest.$ac_ext
29170 fi
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29172 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29173 if test $gcc_cv_math_func_tanf128 = yes; then
29174
29175 cat >>confdefs.h <<_ACEOF
29176 #define HAVE_TANF128 1
29177 _ACEOF
29178
29179 fi
29180
29181
29182
29183
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29185 $as_echo_n "checking for ctanf128... " >&6; }
29186 if ${gcc_cv_math_func_ctanf128+:} false; then :
29187 $as_echo_n "(cached) " >&6
29188 else
29189 if test x$gcc_no_link = xyes; then
29190 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29191 fi
29192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29193 /* end confdefs.h. */
29194
29195 #ifdef HAVE_COMPLEX_H
29196 #include <complex.h>
29197 #endif
29198 #ifdef HAVE_MATH_H
29199 #include <math.h>
29200 #endif
29201
29202 int (*ptr)() = (int (*)())ctanf128;
29203
29204 int
29205 main ()
29206 {
29207 return 0;
29208 }
29209
29210 _ACEOF
29211 if ac_fn_c_try_link "$LINENO"; then :
29212 gcc_cv_math_func_ctanf128=yes
29213 else
29214 gcc_cv_math_func_ctanf128=no
29215 fi
29216 rm -f core conftest.err conftest.$ac_objext \
29217 conftest$ac_exeext conftest.$ac_ext
29218 fi
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29220 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29221 if test $gcc_cv_math_func_ctanf128 = yes; then
29222
29223 cat >>confdefs.h <<_ACEOF
29224 #define HAVE_CTANF128 1
29225 _ACEOF
29226
29227 fi
29228
29229
29230
29231
29232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29233 $as_echo_n "checking for tanhf128... " >&6; }
29234 if ${gcc_cv_math_func_tanhf128+:} false; then :
29235 $as_echo_n "(cached) " >&6
29236 else
29237 if test x$gcc_no_link = xyes; then
29238 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29239 fi
29240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29241 /* end confdefs.h. */
29242
29243 #ifdef HAVE_COMPLEX_H
29244 #include <complex.h>
29245 #endif
29246 #ifdef HAVE_MATH_H
29247 #include <math.h>
29248 #endif
29249
29250 int (*ptr)() = (int (*)())tanhf128;
29251
29252 int
29253 main ()
29254 {
29255 return 0;
29256 }
29257
29258 _ACEOF
29259 if ac_fn_c_try_link "$LINENO"; then :
29260 gcc_cv_math_func_tanhf128=yes
29261 else
29262 gcc_cv_math_func_tanhf128=no
29263 fi
29264 rm -f core conftest.err conftest.$ac_objext \
29265 conftest$ac_exeext conftest.$ac_ext
29266 fi
29267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29268 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29269 if test $gcc_cv_math_func_tanhf128 = yes; then
29270
29271 cat >>confdefs.h <<_ACEOF
29272 #define HAVE_TANHF128 1
29273 _ACEOF
29274
29275 fi
29276
29277
29278
29279
29280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29281 $as_echo_n "checking for ctanhf128... " >&6; }
29282 if ${gcc_cv_math_func_ctanhf128+:} false; then :
29283 $as_echo_n "(cached) " >&6
29284 else
29285 if test x$gcc_no_link = xyes; then
29286 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29287 fi
29288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29289 /* end confdefs.h. */
29290
29291 #ifdef HAVE_COMPLEX_H
29292 #include <complex.h>
29293 #endif
29294 #ifdef HAVE_MATH_H
29295 #include <math.h>
29296 #endif
29297
29298 int (*ptr)() = (int (*)())ctanhf128;
29299
29300 int
29301 main ()
29302 {
29303 return 0;
29304 }
29305
29306 _ACEOF
29307 if ac_fn_c_try_link "$LINENO"; then :
29308 gcc_cv_math_func_ctanhf128=yes
29309 else
29310 gcc_cv_math_func_ctanhf128=no
29311 fi
29312 rm -f core conftest.err conftest.$ac_objext \
29313 conftest$ac_exeext conftest.$ac_ext
29314 fi
29315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29316 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29317 if test $gcc_cv_math_func_ctanhf128 = yes; then
29318
29319 cat >>confdefs.h <<_ACEOF
29320 #define HAVE_CTANHF128 1
29321 _ACEOF
29322
29323 fi
29324
29325
29326
29327
29328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29329 $as_echo_n "checking for truncf128... " >&6; }
29330 if ${gcc_cv_math_func_truncf128+:} false; then :
29331 $as_echo_n "(cached) " >&6
29332 else
29333 if test x$gcc_no_link = xyes; then
29334 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29335 fi
29336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29337 /* end confdefs.h. */
29338
29339 #ifdef HAVE_COMPLEX_H
29340 #include <complex.h>
29341 #endif
29342 #ifdef HAVE_MATH_H
29343 #include <math.h>
29344 #endif
29345
29346 int (*ptr)() = (int (*)())truncf128;
29347
29348 int
29349 main ()
29350 {
29351 return 0;
29352 }
29353
29354 _ACEOF
29355 if ac_fn_c_try_link "$LINENO"; then :
29356 gcc_cv_math_func_truncf128=yes
29357 else
29358 gcc_cv_math_func_truncf128=no
29359 fi
29360 rm -f core conftest.err conftest.$ac_objext \
29361 conftest$ac_exeext conftest.$ac_ext
29362 fi
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29364 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29365 if test $gcc_cv_math_func_truncf128 = yes; then
29366
29367 cat >>confdefs.h <<_ACEOF
29368 #define HAVE_TRUNCF128 1
29369 _ACEOF
29370
29371 fi
29372
29373
29374
29375
29376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29377 $as_echo_n "checking for erff128... " >&6; }
29378 if ${gcc_cv_math_func_erff128+:} false; then :
29379 $as_echo_n "(cached) " >&6
29380 else
29381 if test x$gcc_no_link = xyes; then
29382 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29383 fi
29384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29385 /* end confdefs.h. */
29386
29387 #ifdef HAVE_COMPLEX_H
29388 #include <complex.h>
29389 #endif
29390 #ifdef HAVE_MATH_H
29391 #include <math.h>
29392 #endif
29393
29394 int (*ptr)() = (int (*)())erff128;
29395
29396 int
29397 main ()
29398 {
29399 return 0;
29400 }
29401
29402 _ACEOF
29403 if ac_fn_c_try_link "$LINENO"; then :
29404 gcc_cv_math_func_erff128=yes
29405 else
29406 gcc_cv_math_func_erff128=no
29407 fi
29408 rm -f core conftest.err conftest.$ac_objext \
29409 conftest$ac_exeext conftest.$ac_ext
29410 fi
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29412 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29413 if test $gcc_cv_math_func_erff128 = yes; then
29414
29415 cat >>confdefs.h <<_ACEOF
29416 #define HAVE_ERFF128 1
29417 _ACEOF
29418
29419 fi
29420
29421
29422
29423
29424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29425 $as_echo_n "checking for erfcf128... " >&6; }
29426 if ${gcc_cv_math_func_erfcf128+:} false; then :
29427 $as_echo_n "(cached) " >&6
29428 else
29429 if test x$gcc_no_link = xyes; then
29430 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29431 fi
29432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29433 /* end confdefs.h. */
29434
29435 #ifdef HAVE_COMPLEX_H
29436 #include <complex.h>
29437 #endif
29438 #ifdef HAVE_MATH_H
29439 #include <math.h>
29440 #endif
29441
29442 int (*ptr)() = (int (*)())erfcf128;
29443
29444 int
29445 main ()
29446 {
29447 return 0;
29448 }
29449
29450 _ACEOF
29451 if ac_fn_c_try_link "$LINENO"; then :
29452 gcc_cv_math_func_erfcf128=yes
29453 else
29454 gcc_cv_math_func_erfcf128=no
29455 fi
29456 rm -f core conftest.err conftest.$ac_objext \
29457 conftest$ac_exeext conftest.$ac_ext
29458 fi
29459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29460 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29461 if test $gcc_cv_math_func_erfcf128 = yes; then
29462
29463 cat >>confdefs.h <<_ACEOF
29464 #define HAVE_ERFCF128 1
29465 _ACEOF
29466
29467 fi
29468
29469
29470
29471
29472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29473 $as_echo_n "checking for j0f128... " >&6; }
29474 if ${gcc_cv_math_func_j0f128+:} false; then :
29475 $as_echo_n "(cached) " >&6
29476 else
29477 if test x$gcc_no_link = xyes; then
29478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29479 fi
29480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29481 /* end confdefs.h. */
29482
29483 #ifdef HAVE_COMPLEX_H
29484 #include <complex.h>
29485 #endif
29486 #ifdef HAVE_MATH_H
29487 #include <math.h>
29488 #endif
29489
29490 int (*ptr)() = (int (*)())j0f128;
29491
29492 int
29493 main ()
29494 {
29495 return 0;
29496 }
29497
29498 _ACEOF
29499 if ac_fn_c_try_link "$LINENO"; then :
29500 gcc_cv_math_func_j0f128=yes
29501 else
29502 gcc_cv_math_func_j0f128=no
29503 fi
29504 rm -f core conftest.err conftest.$ac_objext \
29505 conftest$ac_exeext conftest.$ac_ext
29506 fi
29507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29508 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29509 if test $gcc_cv_math_func_j0f128 = yes; then
29510
29511 cat >>confdefs.h <<_ACEOF
29512 #define HAVE_J0F128 1
29513 _ACEOF
29514
29515 fi
29516
29517
29518
29519
29520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29521 $as_echo_n "checking for j1f128... " >&6; }
29522 if ${gcc_cv_math_func_j1f128+:} false; then :
29523 $as_echo_n "(cached) " >&6
29524 else
29525 if test x$gcc_no_link = xyes; then
29526 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29527 fi
29528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29529 /* end confdefs.h. */
29530
29531 #ifdef HAVE_COMPLEX_H
29532 #include <complex.h>
29533 #endif
29534 #ifdef HAVE_MATH_H
29535 #include <math.h>
29536 #endif
29537
29538 int (*ptr)() = (int (*)())j1f128;
29539
29540 int
29541 main ()
29542 {
29543 return 0;
29544 }
29545
29546 _ACEOF
29547 if ac_fn_c_try_link "$LINENO"; then :
29548 gcc_cv_math_func_j1f128=yes
29549 else
29550 gcc_cv_math_func_j1f128=no
29551 fi
29552 rm -f core conftest.err conftest.$ac_objext \
29553 conftest$ac_exeext conftest.$ac_ext
29554 fi
29555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29556 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29557 if test $gcc_cv_math_func_j1f128 = yes; then
29558
29559 cat >>confdefs.h <<_ACEOF
29560 #define HAVE_J1F128 1
29561 _ACEOF
29562
29563 fi
29564
29565
29566
29567
29568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29569 $as_echo_n "checking for jnf128... " >&6; }
29570 if ${gcc_cv_math_func_jnf128+:} false; then :
29571 $as_echo_n "(cached) " >&6
29572 else
29573 if test x$gcc_no_link = xyes; then
29574 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29575 fi
29576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29577 /* end confdefs.h. */
29578
29579 #ifdef HAVE_COMPLEX_H
29580 #include <complex.h>
29581 #endif
29582 #ifdef HAVE_MATH_H
29583 #include <math.h>
29584 #endif
29585
29586 int (*ptr)() = (int (*)())jnf128;
29587
29588 int
29589 main ()
29590 {
29591 return 0;
29592 }
29593
29594 _ACEOF
29595 if ac_fn_c_try_link "$LINENO"; then :
29596 gcc_cv_math_func_jnf128=yes
29597 else
29598 gcc_cv_math_func_jnf128=no
29599 fi
29600 rm -f core conftest.err conftest.$ac_objext \
29601 conftest$ac_exeext conftest.$ac_ext
29602 fi
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29604 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29605 if test $gcc_cv_math_func_jnf128 = yes; then
29606
29607 cat >>confdefs.h <<_ACEOF
29608 #define HAVE_JNF128 1
29609 _ACEOF
29610
29611 fi
29612
29613
29614
29615
29616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29617 $as_echo_n "checking for y0f128... " >&6; }
29618 if ${gcc_cv_math_func_y0f128+:} false; then :
29619 $as_echo_n "(cached) " >&6
29620 else
29621 if test x$gcc_no_link = xyes; then
29622 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29623 fi
29624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29625 /* end confdefs.h. */
29626
29627 #ifdef HAVE_COMPLEX_H
29628 #include <complex.h>
29629 #endif
29630 #ifdef HAVE_MATH_H
29631 #include <math.h>
29632 #endif
29633
29634 int (*ptr)() = (int (*)())y0f128;
29635
29636 int
29637 main ()
29638 {
29639 return 0;
29640 }
29641
29642 _ACEOF
29643 if ac_fn_c_try_link "$LINENO"; then :
29644 gcc_cv_math_func_y0f128=yes
29645 else
29646 gcc_cv_math_func_y0f128=no
29647 fi
29648 rm -f core conftest.err conftest.$ac_objext \
29649 conftest$ac_exeext conftest.$ac_ext
29650 fi
29651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29652 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29653 if test $gcc_cv_math_func_y0f128 = yes; then
29654
29655 cat >>confdefs.h <<_ACEOF
29656 #define HAVE_Y0F128 1
29657 _ACEOF
29658
29659 fi
29660
29661
29662
29663
29664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29665 $as_echo_n "checking for y1f128... " >&6; }
29666 if ${gcc_cv_math_func_y1f128+:} false; then :
29667 $as_echo_n "(cached) " >&6
29668 else
29669 if test x$gcc_no_link = xyes; then
29670 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29671 fi
29672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29673 /* end confdefs.h. */
29674
29675 #ifdef HAVE_COMPLEX_H
29676 #include <complex.h>
29677 #endif
29678 #ifdef HAVE_MATH_H
29679 #include <math.h>
29680 #endif
29681
29682 int (*ptr)() = (int (*)())y1f128;
29683
29684 int
29685 main ()
29686 {
29687 return 0;
29688 }
29689
29690 _ACEOF
29691 if ac_fn_c_try_link "$LINENO"; then :
29692 gcc_cv_math_func_y1f128=yes
29693 else
29694 gcc_cv_math_func_y1f128=no
29695 fi
29696 rm -f core conftest.err conftest.$ac_objext \
29697 conftest$ac_exeext conftest.$ac_ext
29698 fi
29699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29700 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29701 if test $gcc_cv_math_func_y1f128 = yes; then
29702
29703 cat >>confdefs.h <<_ACEOF
29704 #define HAVE_Y1F128 1
29705 _ACEOF
29706
29707 fi
29708
29709
29710
29711
29712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29713 $as_echo_n "checking for ynf128... " >&6; }
29714 if ${gcc_cv_math_func_ynf128+:} false; then :
29715 $as_echo_n "(cached) " >&6
29716 else
29717 if test x$gcc_no_link = xyes; then
29718 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29719 fi
29720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29721 /* end confdefs.h. */
29722
29723 #ifdef HAVE_COMPLEX_H
29724 #include <complex.h>
29725 #endif
29726 #ifdef HAVE_MATH_H
29727 #include <math.h>
29728 #endif
29729
29730 int (*ptr)() = (int (*)())ynf128;
29731
29732 int
29733 main ()
29734 {
29735 return 0;
29736 }
29737
29738 _ACEOF
29739 if ac_fn_c_try_link "$LINENO"; then :
29740 gcc_cv_math_func_ynf128=yes
29741 else
29742 gcc_cv_math_func_ynf128=no
29743 fi
29744 rm -f core conftest.err conftest.$ac_objext \
29745 conftest$ac_exeext conftest.$ac_ext
29746 fi
29747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29748 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29749 if test $gcc_cv_math_func_ynf128 = yes; then
29750
29751 cat >>confdefs.h <<_ACEOF
29752 #define HAVE_YNF128 1
29753 _ACEOF
29754
29755 fi
29756
29757
29758
29759
29760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29761 $as_echo_n "checking for tgammaf128... " >&6; }
29762 if ${gcc_cv_math_func_tgammaf128+:} false; then :
29763 $as_echo_n "(cached) " >&6
29764 else
29765 if test x$gcc_no_link = xyes; then
29766 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29767 fi
29768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29769 /* end confdefs.h. */
29770
29771 #ifdef HAVE_COMPLEX_H
29772 #include <complex.h>
29773 #endif
29774 #ifdef HAVE_MATH_H
29775 #include <math.h>
29776 #endif
29777
29778 int (*ptr)() = (int (*)())tgammaf128;
29779
29780 int
29781 main ()
29782 {
29783 return 0;
29784 }
29785
29786 _ACEOF
29787 if ac_fn_c_try_link "$LINENO"; then :
29788 gcc_cv_math_func_tgammaf128=yes
29789 else
29790 gcc_cv_math_func_tgammaf128=no
29791 fi
29792 rm -f core conftest.err conftest.$ac_objext \
29793 conftest$ac_exeext conftest.$ac_ext
29794 fi
29795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29796 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29797 if test $gcc_cv_math_func_tgammaf128 = yes; then
29798
29799 cat >>confdefs.h <<_ACEOF
29800 #define HAVE_TGAMMAF128 1
29801 _ACEOF
29802
29803 fi
29804
29805
29806
29807
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29809 $as_echo_n "checking for lgammaf128... " >&6; }
29810 if ${gcc_cv_math_func_lgammaf128+:} false; then :
29811 $as_echo_n "(cached) " >&6
29812 else
29813 if test x$gcc_no_link = xyes; then
29814 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29815 fi
29816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29817 /* end confdefs.h. */
29818
29819 #ifdef HAVE_COMPLEX_H
29820 #include <complex.h>
29821 #endif
29822 #ifdef HAVE_MATH_H
29823 #include <math.h>
29824 #endif
29825
29826 int (*ptr)() = (int (*)())lgammaf128;
29827
29828 int
29829 main ()
29830 {
29831 return 0;
29832 }
29833
29834 _ACEOF
29835 if ac_fn_c_try_link "$LINENO"; then :
29836 gcc_cv_math_func_lgammaf128=yes
29837 else
29838 gcc_cv_math_func_lgammaf128=no
29839 fi
29840 rm -f core conftest.err conftest.$ac_objext \
29841 conftest$ac_exeext conftest.$ac_ext
29842 fi
29843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29844 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29845 if test $gcc_cv_math_func_lgammaf128 = yes; then
29846
29847 cat >>confdefs.h <<_ACEOF
29848 #define HAVE_LGAMMAF128 1
29849 _ACEOF
29850
29851 fi
29852
29853
29854
29855
29856
29857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29858 $as_echo_n "checking for cacosf128... " >&6; }
29859 if ${gcc_cv_math_func_cacosf128+:} false; then :
29860 $as_echo_n "(cached) " >&6
29861 else
29862 if test x$gcc_no_link = xyes; then
29863 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29864 fi
29865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h. */
29867
29868 #ifdef HAVE_COMPLEX_H
29869 #include <complex.h>
29870 #endif
29871 #ifdef HAVE_MATH_H
29872 #include <math.h>
29873 #endif
29874
29875 int (*ptr)() = (int (*)())cacosf128;
29876
29877 int
29878 main ()
29879 {
29880 return 0;
29881 }
29882
29883 _ACEOF
29884 if ac_fn_c_try_link "$LINENO"; then :
29885 gcc_cv_math_func_cacosf128=yes
29886 else
29887 gcc_cv_math_func_cacosf128=no
29888 fi
29889 rm -f core conftest.err conftest.$ac_objext \
29890 conftest$ac_exeext conftest.$ac_ext
29891 fi
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29893 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29894 if test $gcc_cv_math_func_cacosf128 = yes; then
29895
29896 cat >>confdefs.h <<_ACEOF
29897 #define HAVE_CACOSF128 1
29898 _ACEOF
29899
29900 fi
29901
29902
29903
29904
29905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29906 $as_echo_n "checking for cacoshf128... " >&6; }
29907 if ${gcc_cv_math_func_cacoshf128+:} false; then :
29908 $as_echo_n "(cached) " >&6
29909 else
29910 if test x$gcc_no_link = xyes; then
29911 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29912 fi
29913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29914 /* end confdefs.h. */
29915
29916 #ifdef HAVE_COMPLEX_H
29917 #include <complex.h>
29918 #endif
29919 #ifdef HAVE_MATH_H
29920 #include <math.h>
29921 #endif
29922
29923 int (*ptr)() = (int (*)())cacoshf128;
29924
29925 int
29926 main ()
29927 {
29928 return 0;
29929 }
29930
29931 _ACEOF
29932 if ac_fn_c_try_link "$LINENO"; then :
29933 gcc_cv_math_func_cacoshf128=yes
29934 else
29935 gcc_cv_math_func_cacoshf128=no
29936 fi
29937 rm -f core conftest.err conftest.$ac_objext \
29938 conftest$ac_exeext conftest.$ac_ext
29939 fi
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29941 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29942 if test $gcc_cv_math_func_cacoshf128 = yes; then
29943
29944 cat >>confdefs.h <<_ACEOF
29945 #define HAVE_CACOSHF128 1
29946 _ACEOF
29947
29948 fi
29949
29950
29951
29952
29953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29954 $as_echo_n "checking for casinf128... " >&6; }
29955 if ${gcc_cv_math_func_casinf128+:} false; then :
29956 $as_echo_n "(cached) " >&6
29957 else
29958 if test x$gcc_no_link = xyes; then
29959 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29960 fi
29961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29962 /* end confdefs.h. */
29963
29964 #ifdef HAVE_COMPLEX_H
29965 #include <complex.h>
29966 #endif
29967 #ifdef HAVE_MATH_H
29968 #include <math.h>
29969 #endif
29970
29971 int (*ptr)() = (int (*)())casinf128;
29972
29973 int
29974 main ()
29975 {
29976 return 0;
29977 }
29978
29979 _ACEOF
29980 if ac_fn_c_try_link "$LINENO"; then :
29981 gcc_cv_math_func_casinf128=yes
29982 else
29983 gcc_cv_math_func_casinf128=no
29984 fi
29985 rm -f core conftest.err conftest.$ac_objext \
29986 conftest$ac_exeext conftest.$ac_ext
29987 fi
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29989 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29990 if test $gcc_cv_math_func_casinf128 = yes; then
29991
29992 cat >>confdefs.h <<_ACEOF
29993 #define HAVE_CASINF128 1
29994 _ACEOF
29995
29996 fi
29997
29998
29999
30000
30001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
30002 $as_echo_n "checking for casinhf128... " >&6; }
30003 if ${gcc_cv_math_func_casinhf128+:} false; then :
30004 $as_echo_n "(cached) " >&6
30005 else
30006 if test x$gcc_no_link = xyes; then
30007 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30008 fi
30009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30010 /* end confdefs.h. */
30011
30012 #ifdef HAVE_COMPLEX_H
30013 #include <complex.h>
30014 #endif
30015 #ifdef HAVE_MATH_H
30016 #include <math.h>
30017 #endif
30018
30019 int (*ptr)() = (int (*)())casinhf128;
30020
30021 int
30022 main ()
30023 {
30024 return 0;
30025 }
30026
30027 _ACEOF
30028 if ac_fn_c_try_link "$LINENO"; then :
30029 gcc_cv_math_func_casinhf128=yes
30030 else
30031 gcc_cv_math_func_casinhf128=no
30032 fi
30033 rm -f core conftest.err conftest.$ac_objext \
30034 conftest$ac_exeext conftest.$ac_ext
30035 fi
30036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
30037 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
30038 if test $gcc_cv_math_func_casinhf128 = yes; then
30039
30040 cat >>confdefs.h <<_ACEOF
30041 #define HAVE_CASINHF128 1
30042 _ACEOF
30043
30044 fi
30045
30046
30047
30048
30049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
30050 $as_echo_n "checking for catanf128... " >&6; }
30051 if ${gcc_cv_math_func_catanf128+:} false; then :
30052 $as_echo_n "(cached) " >&6
30053 else
30054 if test x$gcc_no_link = xyes; then
30055 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30056 fi
30057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30059
30060 #ifdef HAVE_COMPLEX_H
30061 #include <complex.h>
30062 #endif
30063 #ifdef HAVE_MATH_H
30064 #include <math.h>
30065 #endif
30066
30067 int (*ptr)() = (int (*)())catanf128;
30068
30069 int
30070 main ()
30071 {
30072 return 0;
30073 }
30074
30075 _ACEOF
30076 if ac_fn_c_try_link "$LINENO"; then :
30077 gcc_cv_math_func_catanf128=yes
30078 else
30079 gcc_cv_math_func_catanf128=no
30080 fi
30081 rm -f core conftest.err conftest.$ac_objext \
30082 conftest$ac_exeext conftest.$ac_ext
30083 fi
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
30085 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
30086 if test $gcc_cv_math_func_catanf128 = yes; then
30087
30088 cat >>confdefs.h <<_ACEOF
30089 #define HAVE_CATANF128 1
30090 _ACEOF
30091
30092 fi
30093
30094
30095
30096
30097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
30098 $as_echo_n "checking for catanhf128... " >&6; }
30099 if ${gcc_cv_math_func_catanhf128+:} false; then :
30100 $as_echo_n "(cached) " >&6
30101 else
30102 if test x$gcc_no_link = xyes; then
30103 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30104 fi
30105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30106 /* end confdefs.h. */
30107
30108 #ifdef HAVE_COMPLEX_H
30109 #include <complex.h>
30110 #endif
30111 #ifdef HAVE_MATH_H
30112 #include <math.h>
30113 #endif
30114
30115 int (*ptr)() = (int (*)())catanhf128;
30116
30117 int
30118 main ()
30119 {
30120 return 0;
30121 }
30122
30123 _ACEOF
30124 if ac_fn_c_try_link "$LINENO"; then :
30125 gcc_cv_math_func_catanhf128=yes
30126 else
30127 gcc_cv_math_func_catanhf128=no
30128 fi
30129 rm -f core conftest.err conftest.$ac_objext \
30130 conftest$ac_exeext conftest.$ac_ext
30131 fi
30132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
30133 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
30134 if test $gcc_cv_math_func_catanhf128 = yes; then
30135
30136 cat >>confdefs.h <<_ACEOF
30137 #define HAVE_CATANHF128 1
30138 _ACEOF
30139
30140 fi
30141
30142
30143 # Check whether the system has a working stat()
30144
30145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
30146 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30147 if ${libgfor_cv_have_working_stat+:} false; then :
30148 $as_echo_n "(cached) " >&6
30149 else
30150
30151 if test "$cross_compiling" = yes; then :
30152
30153 case "${target}" in
30154 *mingw*) libgfor_cv_have_working_stat=no ;;
30155 *) libgfor_cv_have_working_stat=yes;;
30156 esac
30157 else
30158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30160
30161 #include <stdio.h>
30162 #include <sys/types.h>
30163 #include <sys/stat.h>
30164 #include <unistd.h>
30165
30166 int main ()
30167 {
30168 FILE *f, *g;
30169 struct stat st1, st2;
30170
30171 f = fopen ("foo", "w");
30172 g = fopen ("bar", "w");
30173 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30174 return 1;
30175 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30176 return 1;
30177 fclose(f);
30178 fclose(g);
30179 return 0;
30180 }
30181 _ACEOF
30182 if ac_fn_c_try_run "$LINENO"; then :
30183 libgfor_cv_have_working_stat=yes
30184 else
30185 libgfor_cv_have_working_stat=no
30186 fi
30187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30188 conftest.$ac_objext conftest.beam conftest.$ac_ext
30189 fi
30190
30191 fi
30192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30193 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30194 if test x"$libgfor_cv_have_working_stat" = xyes; then
30195
30196 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30197
30198 fi
30199
30200 # Check whether __mingw_snprintf() is present
30201
30202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30203 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30204 if ${libgfor_cv_have_mingw_snprintf+:} false; then :
30205 $as_echo_n "(cached) " >&6
30206 else
30207
30208 if test x$gcc_no_link = xyes; then
30209 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30210 fi
30211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h. */
30213
30214 #include <stdio.h>
30215 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30216
30217 int
30218 main ()
30219 {
30220
30221 __mingw_snprintf (NULL, 0, "%d\n", 1);
30222
30223 ;
30224 return 0;
30225 }
30226 _ACEOF
30227 if ac_fn_c_try_link "$LINENO"; then :
30228 eval "libgfor_cv_have_mingw_snprintf=yes"
30229 else
30230 eval "libgfor_cv_have_mingw_snprintf=no"
30231 fi
30232 rm -f core conftest.err conftest.$ac_objext \
30233 conftest$ac_exeext conftest.$ac_ext
30234
30235 fi
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30237 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30238 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
30239
30240 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30241
30242 fi
30243
30244
30245 have_iec_60559_libc_support=no
30246 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30247 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes; then
30248 have_iec_60559_libc_support=yes
30249 fi
30250
30251 # Check whether libquadmath should be used
30252 # Check whether --enable-libquadmath-support was given.
30253 if test "${enable_libquadmath_support+set}" = set; then :
30254 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
30255 else
30256 if test "x$have_iec_60559_libc_support" = xyes; then
30257 ENABLE_LIBQUADMATH_SUPPORT=default
30258 else
30259 ENABLE_LIBQUADMATH_SUPPORT=yes
30260 fi
30261 fi
30262
30263 enable_libquadmath_support=
30264 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30265 enable_libquadmath_support=no
30266 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30267 enable_libquadmath_support=default
30268 fi
30269
30270 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30271 # and have_iec_60559_libc_support.
30272
30273 LIBQUADSPEC=
30274 LIBQUADLIB=
30275 LIBQUADLIB_DEP=
30276 LIBQUADINCLUDE=
30277 USE_IEC_60559=no
30278
30279 if test "x$enable_libquadmath_support" != xno; then
30280
30281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30282 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30283 if ${libgfor_cv_have_float128+:} false; then :
30284 $as_echo_n "(cached) " >&6
30285 else
30286
30287 if test x$gcc_no_link = xyes; then
30288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30289 /* end confdefs.h. */
30290
30291 _Float128 foo (_Float128 x)
30292 {
30293 _Complex _Float128 z1, z2;
30294
30295 z1 = x;
30296 z2 = x / 7.F128;
30297 z2 /= z1;
30298
30299 return (_Float128) z2;
30300 }
30301
30302 _Float128 bar (_Float128 x)
30303 {
30304 return x * __builtin_huge_valf128 ();
30305 }
30306
30307 __float128 baz (__float128 x)
30308 {
30309 return x * __builtin_huge_valf128 ();
30310 }
30311
30312 int
30313 main ()
30314 {
30315
30316 foo (1.2F128);
30317 bar (1.2F128);
30318 baz (1.2F128);
30319 foo (1.2Q);
30320 bar (1.2Q);
30321 baz (1.2Q);
30322
30323 ;
30324 return 0;
30325 }
30326 _ACEOF
30327 if ac_fn_c_try_compile "$LINENO"; then :
30328
30329 libgfor_cv_have_float128=yes
30330
30331 else
30332
30333 libgfor_cv_have_float128=no
30334
30335 fi
30336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30337 else
30338 if test x$gcc_no_link = xyes; then
30339 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30340 fi
30341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30342 /* end confdefs.h. */
30343
30344 _Float128 foo (_Float128 x)
30345 {
30346 _Complex _Float128 z1, z2;
30347
30348 z1 = x;
30349 z2 = x / 7.F128;
30350 z2 /= z1;
30351
30352 return (_Float128) z2;
30353 }
30354
30355 _Float128 bar (_Float128 x)
30356 {
30357 return x * __builtin_huge_valf128 ();
30358 }
30359
30360 __float128 baz (__float128 x)
30361 {
30362 return x * __builtin_huge_valf128 ();
30363 }
30364
30365 int
30366 main ()
30367 {
30368
30369 foo (1.2F128);
30370 bar (1.2F128);
30371 baz (1.2F128);
30372 foo (1.2Q);
30373 bar (1.2Q);
30374 baz (1.2Q);
30375
30376 ;
30377 return 0;
30378 }
30379 _ACEOF
30380 if ac_fn_c_try_link "$LINENO"; then :
30381
30382 libgfor_cv_have_float128=yes
30383
30384 else
30385
30386 libgfor_cv_have_float128=no
30387
30388 fi
30389 rm -f core conftest.err conftest.$ac_objext \
30390 conftest$ac_exeext conftest.$ac_ext
30391 fi
30392 fi
30393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30394 $as_echo "$libgfor_cv_have_float128" >&6; }
30395
30396 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes; then
30397 USE_IEC_60559=yes
30398 fi
30399
30400
30401 if test "x$libgfor_cv_have_float128" = xyes; then
30402 if test "x$USE_IEC_60559" = xyes; then
30403
30404 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30405
30406 fi
30407
30408 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30409
30410
30411 ac_xsave_c_werror_flag=$ac_c_werror_flag
30412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30413 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30414 if ${libgfor_cv_have_as_needed+:} false; then :
30415 $as_echo_n "(cached) " >&6
30416 else
30417
30418 # Test for native Solaris options first.
30419 # No whitespace after -z to pass it through -Wl.
30420 libgfor_cv_as_needed_option="-zignore"
30421 libgfor_cv_no_as_needed_option="-zrecord"
30422 save_LDFLAGS="$LDFLAGS"
30423 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30424 libgfor_cv_have_as_needed=no
30425
30426 ac_c_werror_flag=yes
30427 if test x$gcc_no_link = xyes; then
30428 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30429 fi
30430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30431 /* end confdefs.h. */
30432
30433 int
30434 main ()
30435 {
30436
30437 ;
30438 return 0;
30439 }
30440 _ACEOF
30441 if ac_fn_c_try_link "$LINENO"; then :
30442 libgfor_cv_have_as_needed=yes
30443 else
30444 libgfor_cv_have_as_needed=no
30445 fi
30446 rm -f core conftest.err conftest.$ac_objext \
30447 conftest$ac_exeext conftest.$ac_ext
30448 LDFLAGS="$save_LDFLAGS"
30449 if test "x$libgfor_cv_have_as_needed" = xno; then
30450 libgfor_cv_as_needed_option="--as-needed"
30451 libgfor_cv_no_as_needed_option="--no-as-needed"
30452 save_LDFLAGS="$LDFLAGS"
30453 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30454 libgfor_cv_have_as_needed=no
30455
30456 ac_c_werror_flag=yes
30457 if test x$gcc_no_link = xyes; then
30458 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30459 fi
30460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30461 /* end confdefs.h. */
30462
30463 int
30464 main ()
30465 {
30466
30467 ;
30468 return 0;
30469 }
30470 _ACEOF
30471 if ac_fn_c_try_link "$LINENO"; then :
30472 libgfor_cv_have_as_needed=yes
30473 else
30474 libgfor_cv_have_as_needed=no
30475 fi
30476 rm -f core conftest.err conftest.$ac_objext \
30477 conftest$ac_exeext conftest.$ac_ext
30478 LDFLAGS="$save_LDFLAGS"
30479 fi
30480 ac_c_werror_flag=$ac_xsave_c_werror_flag
30481
30482 fi
30483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30484 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30485
30486 touch conftest1.$ac_objext conftest2.$ac_objext
30487 LQUADMATH=-lquadmath
30488 $FC -static-libgfortran -### -o conftest \
30489 conftest1.$ac_objext -lgfortran conftest2.$ac_objext 2>&1 >/dev/null \
30490 | grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30491 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30492 conftest.cmd >/dev/null 2>&1; then
30493 LQUADMATH="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30494 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30495 conftest.cmd >/dev/null 2>&1; then
30496 LQUADMATH="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30497 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30498 conftest.cmd >/dev/null 2>&1; then
30499 LQUADMATH="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30500 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30501 conftest.cmd >/dev/null 2>&1; then
30502 LQUADMATH="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30503 fi
30504 rm -f conftest1.$ac_objext conftest2.$ac_objext conftest conftest.cmd
30505
30506 if test "x$libgfor_cv_have_as_needed" = xyes; then
30507 if test "x$USE_IEC_60559" = xyes; then
30508 LIBQUADSPEC="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30509 else
30510 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30511 fi
30512 else
30513 LIBQUADSPEC="$LQUADMATH"
30514 fi
30515 if test "x$USE_IEC_60559" != xyes; then
30516 if test -f ../libquadmath/libquadmath.la; then
30517 LIBQUADLIB=../libquadmath/libquadmath.la
30518 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
30519 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
30520 else
30521 LIBQUADLIB="-lquadmath"
30522 fi
30523 fi
30524 else
30525 USE_IEC_60559=no
30526 fi
30527 fi
30528
30529
30530
30531
30532
30533
30534
30535
30536 # Check for GNU libc feenableexcept
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30538 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30539 if ${ac_cv_lib_m_feenableexcept+:} false; then :
30540 $as_echo_n "(cached) " >&6
30541 else
30542 ac_check_lib_save_LIBS=$LIBS
30543 LIBS="-lm $LIBS"
30544 if test x$gcc_no_link = xyes; then
30545 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30546 fi
30547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30548 /* end confdefs.h. */
30549
30550 /* Override any GCC internal prototype to avoid an error.
30551 Use char because int might match the return type of a GCC
30552 builtin and then its argument prototype would still apply. */
30553 #ifdef __cplusplus
30554 extern "C"
30555 #endif
30556 char feenableexcept ();
30557 int
30558 main ()
30559 {
30560 return feenableexcept ();
30561 ;
30562 return 0;
30563 }
30564 _ACEOF
30565 if ac_fn_c_try_link "$LINENO"; then :
30566 ac_cv_lib_m_feenableexcept=yes
30567 else
30568 ac_cv_lib_m_feenableexcept=no
30569 fi
30570 rm -f core conftest.err conftest.$ac_objext \
30571 conftest$ac_exeext conftest.$ac_ext
30572 LIBS=$ac_check_lib_save_LIBS
30573 fi
30574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30575 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30576 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
30577 have_feenableexcept=yes
30578 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30579
30580 fi
30581
30582
30583 # At least for glibc, clock_gettime is in librt. But don't
30584 # pull that in if it still doesn't give us the function we want. This
30585 # test is copied from libgomp, and modified to not link in -lrt as
30586 # libgfortran calls clock_gettime via a weak reference if it's found
30587 # in librt.
30588 if test "$ac_cv_func_clock_gettime" = no; then
30589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30590 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30591 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
30592 $as_echo_n "(cached) " >&6
30593 else
30594 ac_check_lib_save_LIBS=$LIBS
30595 LIBS="-lrt $LIBS"
30596 if test x$gcc_no_link = xyes; then
30597 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30598 fi
30599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30600 /* end confdefs.h. */
30601
30602 /* Override any GCC internal prototype to avoid an error.
30603 Use char because int might match the return type of a GCC
30604 builtin and then its argument prototype would still apply. */
30605 #ifdef __cplusplus
30606 extern "C"
30607 #endif
30608 char clock_gettime ();
30609 int
30610 main ()
30611 {
30612 return clock_gettime ();
30613 ;
30614 return 0;
30615 }
30616 _ACEOF
30617 if ac_fn_c_try_link "$LINENO"; then :
30618 ac_cv_lib_rt_clock_gettime=yes
30619 else
30620 ac_cv_lib_rt_clock_gettime=no
30621 fi
30622 rm -f core conftest.err conftest.$ac_objext \
30623 conftest$ac_exeext conftest.$ac_ext
30624 LIBS=$ac_check_lib_save_LIBS
30625 fi
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30627 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30628 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
30629
30630 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30631
30632 fi
30633
30634 fi
30635
30636 # Check for SysV fpsetmask
30637
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30639 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30640 if ${libgfor_cv_have_fpsetmask+:} false; then :
30641 $as_echo_n "(cached) " >&6
30642 else
30643
30644 if test x$gcc_no_link = xyes; then
30645 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30646 fi
30647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30648 /* end confdefs.h. */
30649
30650 #if HAVE_FLOATINGPOINT_H
30651 # include <floatingpoint.h>
30652 #endif /* HAVE_FLOATINGPOINT_H */
30653 #if HAVE_IEEEFP_H
30654 # include <ieeefp.h>
30655 #endif /* HAVE_IEEEFP_H */
30656 int
30657 main ()
30658 {
30659 fpsetmask(0);
30660 ;
30661 return 0;
30662 }
30663 _ACEOF
30664 if ac_fn_c_try_link "$LINENO"; then :
30665 eval "libgfor_cv_have_fpsetmask=yes"
30666 else
30667 eval "libgfor_cv_have_fpsetmask=no"
30668 fi
30669 rm -f core conftest.err conftest.$ac_objext \
30670 conftest$ac_exeext conftest.$ac_ext
30671
30672 fi
30673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30674 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30675 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
30676 have_fpsetmask=yes
30677
30678 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30679
30680 fi
30681
30682 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
30683 #ifdef HAVE_IEEEFP_H
30684 #include <ieeefp.h>
30685 #endif
30686 #include <math.h>
30687
30688 "
30689 if test "x$ac_cv_type_fp_except" = xyes; then :
30690
30691 cat >>confdefs.h <<_ACEOF
30692 #define HAVE_FP_EXCEPT 1
30693 _ACEOF
30694
30695
30696 fi
30697 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30698 #ifdef HAVE_IEEEFP_H
30699 #include <ieeefp.h>
30700 #endif
30701 #include <math.h>
30702
30703 "
30704 if test "x$ac_cv_type_fp_except_t" = xyes; then :
30705
30706 cat >>confdefs.h <<_ACEOF
30707 #define HAVE_FP_EXCEPT_T 1
30708 _ACEOF
30709
30710
30711 fi
30712
30713 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30714 #ifdef HAVE_IEEEFP_H
30715 #include <ieeefp.h>
30716 #endif
30717 #include <math.h>
30718
30719 "
30720 if test "x$ac_cv_type_fp_rnd" = xyes; then :
30721
30722 cat >>confdefs.h <<_ACEOF
30723 #define HAVE_FP_RND 1
30724 _ACEOF
30725
30726
30727 fi
30728 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30729 #ifdef HAVE_IEEEFP_H
30730 #include <ieeefp.h>
30731 #endif
30732 #include <math.h>
30733
30734 "
30735 if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
30736
30737 cat >>confdefs.h <<_ACEOF
30738 #define HAVE_FP_RND_T 1
30739 _ACEOF
30740
30741
30742 fi
30743
30744
30745 # Check whether we have fpsetsticky or fpresetsticky
30746 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30747 if test "x$ac_cv_func_fpsetsticky" = xyes; then :
30748 have_fpsetsticky=yes
30749 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30750
30751 fi
30752
30753 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30754 if test "x$ac_cv_func_fpresetsticky" = xyes; then :
30755 have_fpresetsticky=yes
30756 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30757
30758 fi
30759
30760
30761 # Check for AIX fp_trap and fp_enable
30762 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30763 if test "x$ac_cv_func_fp_trap" = xyes; then :
30764 have_fp_trap=yes
30765 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30766
30767 fi
30768
30769 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30770 if test "x$ac_cv_func_fp_enable" = xyes; then :
30771 have_fp_enable=yes
30772 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30773
30774 fi
30775
30776
30777 # Check if _SOFT_FLOAT is defined
30778
30779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30780 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30781 if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
30782 $as_echo_n "(cached) " >&6
30783 else
30784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30785 /* end confdefs.h. */
30786
30787 int
30788 main ()
30789 {
30790
30791 #ifdef _SOFT_FLOAT
30792 int ok;
30793 #else
30794 choke me
30795 #endif
30796
30797 ;
30798 return 0;
30799 }
30800 _ACEOF
30801 if ac_fn_c_try_compile "$LINENO"; then :
30802 ac_cv_defined__SOFT_FLOAT=yes
30803 else
30804 ac_cv_defined__SOFT_FLOAT=no
30805 fi
30806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30807 fi
30808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30809 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30810 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30811 have_soft_float=yes
30812 fi
30813
30814 # Runs configure.host to set up necessary host-dependent shell variables.
30815 # We then display a message about it, and propagate them through the
30816 # build chain.
30817 . ${srcdir}/configure.host
30818 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30819 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30820 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30821 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30822 FPU_HOST_HEADER=config/${fpu_host}.h
30823
30824
30825 # Whether we will build the IEEE modules
30826 if test x${ieee_support} = xyes; then
30827 IEEE_SUPPORT_TRUE=
30828 IEEE_SUPPORT_FALSE='#'
30829 else
30830 IEEE_SUPPORT_TRUE='#'
30831 IEEE_SUPPORT_FALSE=
30832 fi
30833
30834
30835
30836 # Some targets require additional compiler options for IEEE compatibility.
30837 IEEE_FLAGS="${ieee_flags}"
30838
30839
30840 # Conditionalize the makefile for this target machine.
30841 tmake_file_=
30842 for f in ${tmake_file}
30843 do
30844 if test -f ${srcdir}/config/$f
30845 then
30846 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
30847 fi
30848 done
30849 tmake_file="${tmake_file_}"
30850
30851
30852
30853 # Check for POSIX getpwuid_r
30854 #
30855 # There are two versions of getpwuid_r, the POSIX one with 5
30856 # arguments, and another one with 4 arguments used by at least HP-UX
30857 # 10.2.
30858 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30860 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30861 if ${libgfor_cv_posix_getpwuid_r+:} false; then :
30862 $as_echo_n "(cached) " >&6
30863 else
30864
30865 if test x$gcc_no_link = xyes; then
30866 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30867 fi
30868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30869 /* end confdefs.h. */
30870
30871 #include <stdio.h>
30872 #include <sys/types.h>
30873 #include <pwd.h>
30874 int
30875 main ()
30876 {
30877
30878 getpwuid_r(0, NULL, NULL, 0, NULL);
30879
30880 ;
30881 return 0;
30882 }
30883 _ACEOF
30884 if ac_fn_c_try_link "$LINENO"; then :
30885 libgfor_cv_posix_getpwuid_r="yes"
30886 else
30887 libgfor_cv_posix_getpwuid_r="no"
30888 fi
30889 rm -f core conftest.err conftest.$ac_objext \
30890 conftest$ac_exeext conftest.$ac_ext
30891 fi
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30893 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30894 fi
30895 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30896
30897 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30898
30899 fi
30900
30901
30902 # Check out attribute support.
30903
30904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30905 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30906 if ${libgfor_cv_have_attribute_visibility+:} false; then :
30907 $as_echo_n "(cached) " >&6
30908 else
30909
30910 save_CFLAGS="$CFLAGS"
30911 CFLAGS="$CFLAGS -Werror"
30912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30913 /* end confdefs.h. */
30914 void __attribute__((visibility("hidden"))) foo(void) { }
30915 int
30916 main ()
30917 {
30918
30919 ;
30920 return 0;
30921 }
30922 _ACEOF
30923 if ac_fn_c_try_compile "$LINENO"; then :
30924 libgfor_cv_have_attribute_visibility=yes
30925 else
30926 libgfor_cv_have_attribute_visibility=no
30927 fi
30928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30929 CFLAGS="$save_CFLAGS"
30930 fi
30931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30932 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30933 if test $libgfor_cv_have_attribute_visibility = yes; then
30934
30935 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30936
30937 fi
30938
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30940 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30941 if ${libgfor_cv_have_attribute_alias+:} false; then :
30942 $as_echo_n "(cached) " >&6
30943 else
30944
30945 if test x$gcc_no_link = xyes; then
30946 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30947 fi
30948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30949 /* end confdefs.h. */
30950
30951 void foo(void) { }
30952 extern void bar(void) __attribute__((alias("foo")));
30953 int
30954 main ()
30955 {
30956 bar();
30957 ;
30958 return 0;
30959 }
30960 _ACEOF
30961 if ac_fn_c_try_link "$LINENO"; then :
30962 libgfor_cv_have_attribute_alias=yes
30963 else
30964 libgfor_cv_have_attribute_alias=no
30965 fi
30966 rm -f core conftest.err conftest.$ac_objext \
30967 conftest$ac_exeext conftest.$ac_ext
30968 fi
30969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30970 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30971 if test $libgfor_cv_have_attribute_alias = yes; then
30972
30973 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30974
30975 fi
30976
30977 # Check out atomic builtins support.
30978
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30980 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30981 if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
30982 $as_echo_n "(cached) " >&6
30983 else
30984
30985 if test x$gcc_no_link = xyes; then
30986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30987 fi
30988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30989 /* end confdefs.h. */
30990 int foovar = 0;
30991 int
30992 main ()
30993 {
30994
30995 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30996 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30997 ;
30998 return 0;
30999 }
31000 _ACEOF
31001 if ac_fn_c_try_link "$LINENO"; then :
31002 libgfor_cv_have_atomic_fetch_add=yes
31003 else
31004 libgfor_cv_have_atomic_fetch_add=no
31005 fi
31006 rm -f core conftest.err conftest.$ac_objext \
31007 conftest$ac_exeext conftest.$ac_ext
31008 fi
31009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
31010 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
31011 if test $libgfor_cv_have_atomic_fetch_add = yes; then
31012
31013 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
31014
31015 fi
31016
31017 # Check out #pragma weak.
31018
31019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
31020 $as_echo_n "checking whether pragma weak works... " >&6; }
31021 if ${libgfor_cv_have_pragma_weak+:} false; then :
31022 $as_echo_n "(cached) " >&6
31023 else
31024
31025 gfor_save_CFLAGS="$CFLAGS"
31026 CFLAGS="$CFLAGS -Wunknown-pragmas"
31027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31028 /* end confdefs.h. */
31029
31030 void foo (void);
31031 #pragma weak foo
31032
31033 int
31034 main ()
31035 {
31036 if (foo) foo ();
31037 ;
31038 return 0;
31039 }
31040 _ACEOF
31041 if ac_fn_c_try_compile "$LINENO"; then :
31042 libgfor_cv_have_pragma_weak=yes
31043 else
31044 libgfor_cv_have_pragma_weak=no
31045 fi
31046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31047 fi
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
31049 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
31050 if test $libgfor_cv_have_pragma_weak = yes; then
31051
31052 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
31053
31054 fi
31055 case "$host" in
31056 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
31057
31058 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
31059
31060 ;;
31061 esac
31062
31063 # Check out weakref support.
31064
31065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
31066 $as_echo_n "checking whether the target supports weakref... " >&6; }
31067 if ${libgfor_cv_have_weakref+:} false; then :
31068 $as_echo_n "(cached) " >&6
31069 else
31070
31071 save_CFLAGS="$CFLAGS"
31072 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
31073 if test x$gcc_no_link = xyes; then
31074 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31075 fi
31076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31077 /* end confdefs.h. */
31078
31079 static int mytoto (int) __attribute__((__weakref__("toto")));
31080
31081 int
31082 main ()
31083 {
31084 return (mytoto != 0);
31085 ;
31086 return 0;
31087 }
31088 _ACEOF
31089 if ac_fn_c_try_link "$LINENO"; then :
31090 libgfor_cv_have_weakref=yes
31091 else
31092 libgfor_cv_have_weakref=no
31093 fi
31094 rm -f core conftest.err conftest.$ac_objext \
31095 conftest$ac_exeext conftest.$ac_ext
31096 CFLAGS="$save_CFLAGS"
31097 fi
31098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
31099 $as_echo "$libgfor_cv_have_weakref" >&6; }
31100 if test $libgfor_cv_have_weakref = yes; then
31101
31102 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
31103
31104 fi
31105
31106 # Various other checks on target
31107
31108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
31109 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
31110 if ${libgfor_cv_have_unlink_open_file+:} false; then :
31111 $as_echo_n "(cached) " >&6
31112 else
31113
31114 if test "$cross_compiling" = yes; then :
31115
31116 case "${target}" in
31117 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
31118 *) libgfor_cv_have_unlink_open_file=yes;;
31119 esac
31120 else
31121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31122 /* end confdefs.h. */
31123
31124 #include <errno.h>
31125 #include <fcntl.h>
31126 #include <unistd.h>
31127 #include <sys/stat.h>
31128
31129 int main ()
31130 {
31131 int fd;
31132
31133 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
31134 if (fd <= 0)
31135 return 0;
31136 if (unlink ("testfile") == -1)
31137 return 1;
31138 write (fd, "This is a test\n", 15);
31139 close (fd);
31140
31141 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31142 return 0;
31143 else
31144 return 1;
31145 }
31146 _ACEOF
31147 if ac_fn_c_try_run "$LINENO"; then :
31148 libgfor_cv_have_unlink_open_file=yes
31149 else
31150 libgfor_cv_have_unlink_open_file=no
31151 fi
31152 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31153 conftest.$ac_objext conftest.beam conftest.$ac_ext
31154 fi
31155
31156 fi
31157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31158 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31159 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
31160
31161 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31162
31163 fi
31164
31165 # Check whether line terminator is LF or CRLF
31166
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31168 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31169 if ${libgfor_cv_have_crlf+:} false; then :
31170 $as_echo_n "(cached) " >&6
31171 else
31172
31173 if test "$cross_compiling" = yes; then :
31174
31175 case "${target}" in
31176 *mingw*) libgfor_cv_have_crlf=yes ;;
31177 *) libgfor_cv_have_crlf=no;;
31178 esac
31179 else
31180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h. */
31182
31183 /* This test program should exit with status 0 if system uses a CRLF as
31184 line terminator, and status 1 otherwise.
31185 Since it is used to check for mingw systems, and should return 0 in any
31186 other case, in case of a failure we will not use CRLF. */
31187 #include <sys/stat.h>
31188 #include <stdlib.h>
31189 #include <fcntl.h>
31190 #include <stdio.h>
31191
31192 int main ()
31193 {
31194 #ifndef O_BINARY
31195 exit(1);
31196 #else
31197 int fd, bytes;
31198 char buff[5];
31199
31200 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31201 if (fd < 0)
31202 exit(1);
31203 if (write (fd, "\n", 1) < 0)
31204 perror ("write");
31205
31206 close (fd);
31207
31208 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31209 exit(1);
31210 bytes = read (fd, buff, 5);
31211 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31212 exit(0);
31213 else
31214 exit(1);
31215 #endif
31216 }
31217 _ACEOF
31218 if ac_fn_c_try_run "$LINENO"; then :
31219 libgfor_cv_have_crlf=yes
31220 else
31221 libgfor_cv_have_crlf=no
31222 fi
31223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31224 conftest.$ac_objext conftest.beam conftest.$ac_ext
31225 fi
31226
31227 fi
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31229 $as_echo "$libgfor_cv_have_crlf" >&6; }
31230 if test x"$libgfor_cv_have_crlf" = xyes; then
31231
31232 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31233
31234 fi
31235
31236 # Check whether we support AVX extensions
31237
31238 ac_save_CFLAGS="$CFLAGS"
31239 CFLAGS="-O2 -mavx"
31240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31241 /* end confdefs.h. */
31242
31243 void _mm256_zeroall (void)
31244 {
31245 __builtin_ia32_vzeroall ();
31246 }
31247 int
31248 main ()
31249 {
31250
31251 ;
31252 return 0;
31253 }
31254 _ACEOF
31255 if ac_fn_c_try_compile "$LINENO"; then :
31256
31257 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31258
31259 fi
31260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31261 CFLAGS="$ac_save_CFLAGS"
31262
31263
31264 # Check whether we support AVX2 extensions
31265
31266 ac_save_CFLAGS="$CFLAGS"
31267 CFLAGS="-O2 -mavx2"
31268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31269 /* end confdefs.h. */
31270
31271 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31272 __v4di
31273 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31274 {
31275 return __builtin_ia32_andnotsi256 (__X, __Y);
31276 }
31277 int
31278 main ()
31279 {
31280
31281 ;
31282 return 0;
31283 }
31284 _ACEOF
31285 if ac_fn_c_try_compile "$LINENO"; then :
31286
31287 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31288
31289 fi
31290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31291 CFLAGS="$ac_save_CFLAGS"
31292
31293
31294 # Check whether we support AVX512f extensions
31295
31296 ac_save_CFLAGS="$CFLAGS"
31297 CFLAGS="-O2 -mavx512f"
31298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31299 /* end confdefs.h. */
31300
31301 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31302 __m512d _mm512_add (__m512d a)
31303 {
31304 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31305 /* For -m64/-mx32 also verify that code will work even if
31306 the target uses call saved zmm16+ and needs to emit
31307 unwind info for them (e.g. on mingw). See PR79127. */
31308 #ifdef __x86_64__
31309 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31310 #endif
31311 return b;
31312 }
31313 int
31314 main ()
31315 {
31316
31317 ;
31318 return 0;
31319 }
31320 _ACEOF
31321 if ac_fn_c_try_compile "$LINENO"; then :
31322
31323 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31324
31325 fi
31326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31327 CFLAGS="$ac_save_CFLAGS"
31328
31329
31330 # Check for FMA3 extensions
31331
31332 ac_save_CFLAGS="$CFLAGS"
31333 CFLAGS="-O2 -mfma -mno-fma4"
31334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31335 /* end confdefs.h. */
31336
31337 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31338 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31339 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31340 {
31341 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31342 (__v4sf)__B,
31343 (__v4sf)__C);
31344 }
31345 int
31346 main ()
31347 {
31348
31349 ;
31350 return 0;
31351 }
31352 _ACEOF
31353 if ac_fn_c_try_compile "$LINENO"; then :
31354
31355 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31356
31357 fi
31358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31359 CFLAGS="$ac_save_CFLAGS"
31360
31361
31362 # Check for FMA4 extensions
31363
31364 ac_save_CFLAGS="$CFLAGS"
31365 CFLAGS="-O2 -mfma4 -mno-fma"
31366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31367 /* end confdefs.h. */
31368
31369 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31370 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31371 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31372 {
31373 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31374 (__v4sf)__B,
31375 (__v4sf)__C);
31376 }
31377 int
31378 main ()
31379 {
31380
31381 ;
31382 return 0;
31383 }
31384 _ACEOF
31385 if ac_fn_c_try_compile "$LINENO"; then :
31386
31387 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31388
31389 fi
31390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31391 CFLAGS="$ac_save_CFLAGS"
31392
31393
31394 # Check if AVX128 works
31395
31396 ac_save_CFLAGS="$CFLAGS"
31397 CFLAGS="-O2 -mavx -mprefer-avx128"
31398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31399 /* end confdefs.h. */
31400
31401 void foo()
31402 {
31403 }
31404 int
31405 main ()
31406 {
31407
31408 ;
31409 return 0;
31410 }
31411 _ACEOF
31412 if ac_fn_c_try_compile "$LINENO"; then :
31413
31414 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31415
31416 if true; then
31417 HAVE_AVX128_TRUE=
31418 HAVE_AVX128_FALSE='#'
31419 else
31420 HAVE_AVX128_TRUE='#'
31421 HAVE_AVX128_FALSE=
31422 fi
31423
31424 else
31425 if false; then
31426 HAVE_AVX128_TRUE=
31427 HAVE_AVX128_FALSE='#'
31428 else
31429 HAVE_AVX128_TRUE='#'
31430 HAVE_AVX128_FALSE=
31431 fi
31432
31433 fi
31434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31435 CFLAGS="$ac_save_CFLAGS"
31436
31437
31438 # Determine what GCC version number to use in filesystem paths.
31439
31440 get_gcc_base_ver="cat"
31441
31442 # Check whether --with-gcc-major-version-only was given.
31443 if test "${with_gcc_major_version_only+set}" = set; then :
31444 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
31445 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
31446 fi
31447
31448 fi
31449
31450
31451
31452
31453 cat >confcache <<\_ACEOF
31454 # This file is a shell script that caches the results of configure
31455 # tests run on this system so they can be shared between configure
31456 # scripts and configure runs, see configure's option --config-cache.
31457 # It is not useful on other systems. If it contains results you don't
31458 # want to keep, you may remove or edit it.
31459 #
31460 # config.status only pays attention to the cache file if you give it
31461 # the --recheck option to rerun configure.
31462 #
31463 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31464 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31465 # following values.
31466
31467 _ACEOF
31468
31469 # The following way of writing the cache mishandles newlines in values,
31470 # but we know of no workaround that is simple, portable, and efficient.
31471 # So, we kill variables containing newlines.
31472 # Ultrix sh set writes to stderr and can't be redirected directly,
31473 # and sets the high bit in the cache file unless we assign to the vars.
31474 (
31475 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31476 eval ac_val=\$$ac_var
31477 case $ac_val in #(
31478 *${as_nl}*)
31479 case $ac_var in #(
31480 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31481 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31482 esac
31483 case $ac_var in #(
31484 _ | IFS | as_nl) ;; #(
31485 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31486 *) { eval $ac_var=; unset $ac_var;} ;;
31487 esac ;;
31488 esac
31489 done
31490
31491 (set) 2>&1 |
31492 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31493 *${as_nl}ac_space=\ *)
31494 # `set' does not quote correctly, so add quotes: double-quote
31495 # substitution turns \\\\ into \\, and sed turns \\ into \.
31496 sed -n \
31497 "s/'/'\\\\''/g;
31498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31499 ;; #(
31500 *)
31501 # `set' quotes correctly as required by POSIX, so do not add quotes.
31502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31503 ;;
31504 esac |
31505 sort
31506 ) |
31507 sed '
31508 /^ac_cv_env_/b end
31509 t clear
31510 :clear
31511 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31512 t end
31513 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31514 :end' >>confcache
31515 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31516 if test -w "$cache_file"; then
31517 if test "x$cache_file" != "x/dev/null"; then
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31519 $as_echo "$as_me: updating cache $cache_file" >&6;}
31520 if test ! -f "$cache_file" || test -h "$cache_file"; then
31521 cat confcache >"$cache_file"
31522 else
31523 case $cache_file in #(
31524 */* | ?:*)
31525 mv -f confcache "$cache_file"$$ &&
31526 mv -f "$cache_file"$$ "$cache_file" ;; #(
31527 *)
31528 mv -f confcache "$cache_file" ;;
31529 esac
31530 fi
31531 fi
31532 else
31533 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31534 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31535 fi
31536 fi
31537 rm -f confcache
31538
31539 if test ${multilib} = yes; then
31540 multilib_arg="--enable-multilib"
31541 else
31542 multilib_arg=
31543 fi
31544
31545 # Write our Makefile and spec file.
31546 ac_config_files="$ac_config_files Makefile libgfortran.spec"
31547
31548 cat >confcache <<\_ACEOF
31549 # This file is a shell script that caches the results of configure
31550 # tests run on this system so they can be shared between configure
31551 # scripts and configure runs, see configure's option --config-cache.
31552 # It is not useful on other systems. If it contains results you don't
31553 # want to keep, you may remove or edit it.
31554 #
31555 # config.status only pays attention to the cache file if you give it
31556 # the --recheck option to rerun configure.
31557 #
31558 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31559 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31560 # following values.
31561
31562 _ACEOF
31563
31564 # The following way of writing the cache mishandles newlines in values,
31565 # but we know of no workaround that is simple, portable, and efficient.
31566 # So, we kill variables containing newlines.
31567 # Ultrix sh set writes to stderr and can't be redirected directly,
31568 # and sets the high bit in the cache file unless we assign to the vars.
31569 (
31570 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31571 eval ac_val=\$$ac_var
31572 case $ac_val in #(
31573 *${as_nl}*)
31574 case $ac_var in #(
31575 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31576 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31577 esac
31578 case $ac_var in #(
31579 _ | IFS | as_nl) ;; #(
31580 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31581 *) { eval $ac_var=; unset $ac_var;} ;;
31582 esac ;;
31583 esac
31584 done
31585
31586 (set) 2>&1 |
31587 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31588 *${as_nl}ac_space=\ *)
31589 # `set' does not quote correctly, so add quotes: double-quote
31590 # substitution turns \\\\ into \\, and sed turns \\ into \.
31591 sed -n \
31592 "s/'/'\\\\''/g;
31593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31594 ;; #(
31595 *)
31596 # `set' quotes correctly as required by POSIX, so do not add quotes.
31597 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31598 ;;
31599 esac |
31600 sort
31601 ) |
31602 sed '
31603 /^ac_cv_env_/b end
31604 t clear
31605 :clear
31606 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31607 t end
31608 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31609 :end' >>confcache
31610 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31611 if test -w "$cache_file"; then
31612 if test "x$cache_file" != "x/dev/null"; then
31613 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31614 $as_echo "$as_me: updating cache $cache_file" >&6;}
31615 if test ! -f "$cache_file" || test -h "$cache_file"; then
31616 cat confcache >"$cache_file"
31617 else
31618 case $cache_file in #(
31619 */* | ?:*)
31620 mv -f confcache "$cache_file"$$ &&
31621 mv -f "$cache_file"$$ "$cache_file" ;; #(
31622 *)
31623 mv -f confcache "$cache_file" ;;
31624 esac
31625 fi
31626 fi
31627 else
31628 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31629 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31630 fi
31631 fi
31632 rm -f confcache
31633
31634 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31635 # Let make expand exec_prefix.
31636 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31637
31638 DEFS=-DHAVE_CONFIG_H
31639
31640 ac_libobjs=
31641 ac_ltlibobjs=
31642 U=
31643 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31644 # 1. Remove the extension, and $U if already installed.
31645 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31646 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31647 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31648 # will be set to the directory where LIBOBJS objects are built.
31649 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31650 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31651 done
31652 LIBOBJS=$ac_libobjs
31653
31654 LTLIBOBJS=$ac_ltlibobjs
31655
31656
31657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31658 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31659 if test -n "$am_sleep_pid"; then
31660 # Hide warnings about reused PIDs.
31661 wait $am_sleep_pid 2>/dev/null
31662 fi
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31664 $as_echo "done" >&6; }
31665 if test -n "$EXEEXT"; then
31666 am__EXEEXT_TRUE=
31667 am__EXEEXT_FALSE='#'
31668 else
31669 am__EXEEXT_TRUE='#'
31670 am__EXEEXT_FALSE=
31671 fi
31672
31673 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31674 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31676 fi
31677 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31678 as_fn_error $? "conditional \"AMDEP\" was never defined.
31679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31680 fi
31681 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31682 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31684 fi
31685 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31686 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31688 fi
31689 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31690 as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined.
31691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31692 fi
31693 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31694 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31696 fi
31697 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31698 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31700 fi
31701 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31702 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31704 fi
31705 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31706 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
31707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31708 fi
31709 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31710 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
31711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31712 fi
31713 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
31714 as_fn_error $? "conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
31715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31716 fi
31717 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31718 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
31719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31720 fi
31721 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31722 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31724 fi
31725 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31726 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31728 fi
31729
31730 : "${CONFIG_STATUS=./config.status}"
31731 ac_write_fail=0
31732 ac_clean_files_save=$ac_clean_files
31733 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31735 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31736 as_write_fail=0
31737 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31738 #! $SHELL
31739 # Generated by $as_me.
31740 # Run this file to recreate the current configuration.
31741 # Compiler output produced by configure, useful for debugging
31742 # configure, is in config.log if it exists.
31743
31744 debug=false
31745 ac_cs_recheck=false
31746 ac_cs_silent=false
31747
31748 SHELL=\${CONFIG_SHELL-$SHELL}
31749 export SHELL
31750 _ASEOF
31751 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31752 ## -------------------- ##
31753 ## M4sh Initialization. ##
31754 ## -------------------- ##
31755
31756 # Be more Bourne compatible
31757 DUALCASE=1; export DUALCASE # for MKS sh
31758 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31759 emulate sh
31760 NULLCMD=:
31761 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31762 # is contrary to our usage. Disable this feature.
31763 alias -g '${1+"$@"}'='"$@"'
31764 setopt NO_GLOB_SUBST
31765 else
31766 case `(set -o) 2>/dev/null` in #(
31767 *posix*) :
31768 set -o posix ;; #(
31769 *) :
31770 ;;
31771 esac
31772 fi
31773
31774
31775 as_nl='
31776 '
31777 export as_nl
31778 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31779 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31780 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31781 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31782 # Prefer a ksh shell builtin over an external printf program on Solaris,
31783 # but without wasting forks for bash or zsh.
31784 if test -z "$BASH_VERSION$ZSH_VERSION" \
31785 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31786 as_echo='print -r --'
31787 as_echo_n='print -rn --'
31788 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31789 as_echo='printf %s\n'
31790 as_echo_n='printf %s'
31791 else
31792 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31793 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31794 as_echo_n='/usr/ucb/echo -n'
31795 else
31796 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31797 as_echo_n_body='eval
31798 arg=$1;
31799 case $arg in #(
31800 *"$as_nl"*)
31801 expr "X$arg" : "X\\(.*\\)$as_nl";
31802 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31803 esac;
31804 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31805 '
31806 export as_echo_n_body
31807 as_echo_n='sh -c $as_echo_n_body as_echo'
31808 fi
31809 export as_echo_body
31810 as_echo='sh -c $as_echo_body as_echo'
31811 fi
31812
31813 # The user is always right.
31814 if test "${PATH_SEPARATOR+set}" != set; then
31815 PATH_SEPARATOR=:
31816 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31817 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31818 PATH_SEPARATOR=';'
31819 }
31820 fi
31821
31822
31823 # IFS
31824 # We need space, tab and new line, in precisely that order. Quoting is
31825 # there to prevent editors from complaining about space-tab.
31826 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31827 # splitting by setting IFS to empty value.)
31828 IFS=" "" $as_nl"
31829
31830 # Find who we are. Look in the path if we contain no directory separator.
31831 as_myself=
31832 case $0 in #((
31833 *[\\/]* ) as_myself=$0 ;;
31834 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31835 for as_dir in $PATH
31836 do
31837 IFS=$as_save_IFS
31838 test -z "$as_dir" && as_dir=.
31839 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31840 done
31841 IFS=$as_save_IFS
31842
31843 ;;
31844 esac
31845 # We did not find ourselves, most probably we were run as `sh COMMAND'
31846 # in which case we are not to be found in the path.
31847 if test "x$as_myself" = x; then
31848 as_myself=$0
31849 fi
31850 if test ! -f "$as_myself"; then
31851 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31852 exit 1
31853 fi
31854
31855 # Unset variables that we do not need and which cause bugs (e.g. in
31856 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31857 # suppresses any "Segmentation fault" message there. '((' could
31858 # trigger a bug in pdksh 5.2.14.
31859 for as_var in BASH_ENV ENV MAIL MAILPATH
31860 do eval test x\${$as_var+set} = xset \
31861 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31862 done
31863 PS1='$ '
31864 PS2='> '
31865 PS4='+ '
31866
31867 # NLS nuisances.
31868 LC_ALL=C
31869 export LC_ALL
31870 LANGUAGE=C
31871 export LANGUAGE
31872
31873 # CDPATH.
31874 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31875
31876
31877 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31878 # ----------------------------------------
31879 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31880 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31881 # script with STATUS, using 1 if that was 0.
31882 as_fn_error ()
31883 {
31884 as_status=$1; test $as_status -eq 0 && as_status=1
31885 if test "$4"; then
31886 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31887 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31888 fi
31889 $as_echo "$as_me: error: $2" >&2
31890 as_fn_exit $as_status
31891 } # as_fn_error
31892
31893
31894 # as_fn_set_status STATUS
31895 # -----------------------
31896 # Set $? to STATUS, without forking.
31897 as_fn_set_status ()
31898 {
31899 return $1
31900 } # as_fn_set_status
31901
31902 # as_fn_exit STATUS
31903 # -----------------
31904 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31905 as_fn_exit ()
31906 {
31907 set +e
31908 as_fn_set_status $1
31909 exit $1
31910 } # as_fn_exit
31911
31912 # as_fn_unset VAR
31913 # ---------------
31914 # Portably unset VAR.
31915 as_fn_unset ()
31916 {
31917 { eval $1=; unset $1;}
31918 }
31919 as_unset=as_fn_unset
31920 # as_fn_append VAR VALUE
31921 # ----------------------
31922 # Append the text in VALUE to the end of the definition contained in VAR. Take
31923 # advantage of any shell optimizations that allow amortized linear growth over
31924 # repeated appends, instead of the typical quadratic growth present in naive
31925 # implementations.
31926 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31927 eval 'as_fn_append ()
31928 {
31929 eval $1+=\$2
31930 }'
31931 else
31932 as_fn_append ()
31933 {
31934 eval $1=\$$1\$2
31935 }
31936 fi # as_fn_append
31937
31938 # as_fn_arith ARG...
31939 # ------------------
31940 # Perform arithmetic evaluation on the ARGs, and store the result in the
31941 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31942 # must be portable across $(()) and expr.
31943 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31944 eval 'as_fn_arith ()
31945 {
31946 as_val=$(( $* ))
31947 }'
31948 else
31949 as_fn_arith ()
31950 {
31951 as_val=`expr "$@" || test $? -eq 1`
31952 }
31953 fi # as_fn_arith
31954
31955
31956 if expr a : '\(a\)' >/dev/null 2>&1 &&
31957 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31958 as_expr=expr
31959 else
31960 as_expr=false
31961 fi
31962
31963 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31964 as_basename=basename
31965 else
31966 as_basename=false
31967 fi
31968
31969 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31970 as_dirname=dirname
31971 else
31972 as_dirname=false
31973 fi
31974
31975 as_me=`$as_basename -- "$0" ||
31976 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31977 X"$0" : 'X\(//\)$' \| \
31978 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31979 $as_echo X/"$0" |
31980 sed '/^.*\/\([^/][^/]*\)\/*$/{
31981 s//\1/
31982 q
31983 }
31984 /^X\/\(\/\/\)$/{
31985 s//\1/
31986 q
31987 }
31988 /^X\/\(\/\).*/{
31989 s//\1/
31990 q
31991 }
31992 s/.*/./; q'`
31993
31994 # Avoid depending upon Character Ranges.
31995 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31996 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31997 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31998 as_cr_digits='0123456789'
31999 as_cr_alnum=$as_cr_Letters$as_cr_digits
32000
32001 ECHO_C= ECHO_N= ECHO_T=
32002 case `echo -n x` in #(((((
32003 -n*)
32004 case `echo 'xy\c'` in
32005 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
32006 xy) ECHO_C='\c';;
32007 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
32008 ECHO_T=' ';;
32009 esac;;
32010 *)
32011 ECHO_N='-n';;
32012 esac
32013
32014 rm -f conf$$ conf$$.exe conf$$.file
32015 if test -d conf$$.dir; then
32016 rm -f conf$$.dir/conf$$.file
32017 else
32018 rm -f conf$$.dir
32019 mkdir conf$$.dir 2>/dev/null
32020 fi
32021 if (echo >conf$$.file) 2>/dev/null; then
32022 if ln -s conf$$.file conf$$ 2>/dev/null; then
32023 as_ln_s='ln -s'
32024 # ... but there are two gotchas:
32025 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32026 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32027 # In both cases, we have to default to `cp -pR'.
32028 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32029 as_ln_s='cp -pR'
32030 elif ln conf$$.file conf$$ 2>/dev/null; then
32031 as_ln_s=ln
32032 else
32033 as_ln_s='cp -pR'
32034 fi
32035 else
32036 as_ln_s='cp -pR'
32037 fi
32038 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32039 rmdir conf$$.dir 2>/dev/null
32040
32041
32042 # as_fn_mkdir_p
32043 # -------------
32044 # Create "$as_dir" as a directory, including parents if necessary.
32045 as_fn_mkdir_p ()
32046 {
32047
32048 case $as_dir in #(
32049 -*) as_dir=./$as_dir;;
32050 esac
32051 test -d "$as_dir" || eval $as_mkdir_p || {
32052 as_dirs=
32053 while :; do
32054 case $as_dir in #(
32055 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32056 *) as_qdir=$as_dir;;
32057 esac
32058 as_dirs="'$as_qdir' $as_dirs"
32059 as_dir=`$as_dirname -- "$as_dir" ||
32060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32061 X"$as_dir" : 'X\(//\)[^/]' \| \
32062 X"$as_dir" : 'X\(//\)$' \| \
32063 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32064 $as_echo X"$as_dir" |
32065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32066 s//\1/
32067 q
32068 }
32069 /^X\(\/\/\)[^/].*/{
32070 s//\1/
32071 q
32072 }
32073 /^X\(\/\/\)$/{
32074 s//\1/
32075 q
32076 }
32077 /^X\(\/\).*/{
32078 s//\1/
32079 q
32080 }
32081 s/.*/./; q'`
32082 test -d "$as_dir" && break
32083 done
32084 test -z "$as_dirs" || eval "mkdir $as_dirs"
32085 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
32086
32087
32088 } # as_fn_mkdir_p
32089 if mkdir -p . 2>/dev/null; then
32090 as_mkdir_p='mkdir -p "$as_dir"'
32091 else
32092 test -d ./-p && rmdir ./-p
32093 as_mkdir_p=false
32094 fi
32095
32096
32097 # as_fn_executable_p FILE
32098 # -----------------------
32099 # Test if FILE is an executable regular file.
32100 as_fn_executable_p ()
32101 {
32102 test -f "$1" && test -x "$1"
32103 } # as_fn_executable_p
32104 as_test_x='test -x'
32105 as_executable_p=as_fn_executable_p
32106
32107 # Sed expression to map a string onto a valid CPP name.
32108 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32109
32110 # Sed expression to map a string onto a valid variable name.
32111 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32112
32113
32114 exec 6>&1
32115 ## ----------------------------------- ##
32116 ## Main body of $CONFIG_STATUS script. ##
32117 ## ----------------------------------- ##
32118 _ASEOF
32119 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
32120
32121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32122 # Save the log message, to keep $0 and so on meaningful, and to
32123 # report actual input values of CONFIG_FILES etc. instead of their
32124 # values after options handling.
32125 ac_log="
32126 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
32127 generated by GNU Autoconf 2.69. Invocation command line was
32128
32129 CONFIG_FILES = $CONFIG_FILES
32130 CONFIG_HEADERS = $CONFIG_HEADERS
32131 CONFIG_LINKS = $CONFIG_LINKS
32132 CONFIG_COMMANDS = $CONFIG_COMMANDS
32133 $ $0 $@
32134
32135 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32136 "
32137
32138 _ACEOF
32139
32140 case $ac_config_files in *"
32141 "*) set x $ac_config_files; shift; ac_config_files=$*;;
32142 esac
32143
32144 case $ac_config_headers in *"
32145 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32146 esac
32147
32148
32149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32150 # Files that config.status was made for.
32151 config_files="$ac_config_files"
32152 config_headers="$ac_config_headers"
32153 config_commands="$ac_config_commands"
32154
32155 _ACEOF
32156
32157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32158 ac_cs_usage="\
32159 \`$as_me' instantiates files and other configuration actions
32160 from templates according to the current configuration. Unless the files
32161 and actions are specified as TAGs, all are instantiated by default.
32162
32163 Usage: $0 [OPTION]... [TAG]...
32164
32165 -h, --help print this help, then exit
32166 -V, --version print version number and configuration settings, then exit
32167 --config print configuration, then exit
32168 -q, --quiet, --silent
32169 do not print progress messages
32170 -d, --debug don't remove temporary files
32171 --recheck update $as_me by reconfiguring in the same conditions
32172 --file=FILE[:TEMPLATE]
32173 instantiate the configuration file FILE
32174 --header=FILE[:TEMPLATE]
32175 instantiate the configuration header FILE
32176
32177 Configuration files:
32178 $config_files
32179
32180 Configuration headers:
32181 $config_headers
32182
32183 Configuration commands:
32184 $config_commands
32185
32186 Report bugs to the package provider.
32187 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32188 General help using GNU software: <http://www.gnu.org/gethelp/>."
32189
32190 _ACEOF
32191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32192 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32193 ac_cs_version="\\
32194 GNU Fortran Runtime Library config.status 0.3
32195 configured by $0, generated by GNU Autoconf 2.69,
32196 with options \\"\$ac_cs_config\\"
32197
32198 Copyright (C) 2012 Free Software Foundation, Inc.
32199 This config.status script is free software; the Free Software Foundation
32200 gives unlimited permission to copy, distribute and modify it."
32201
32202 ac_pwd='$ac_pwd'
32203 srcdir='$srcdir'
32204 INSTALL='$INSTALL'
32205 MKDIR_P='$MKDIR_P'
32206 AWK='$AWK'
32207 test -n "\$AWK" || AWK=awk
32208 _ACEOF
32209
32210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32211 # The default lists apply if the user does not specify any file.
32212 ac_need_defaults=:
32213 while test $# != 0
32214 do
32215 case $1 in
32216 --*=?*)
32217 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32218 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32219 ac_shift=:
32220 ;;
32221 --*=)
32222 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32223 ac_optarg=
32224 ac_shift=:
32225 ;;
32226 *)
32227 ac_option=$1
32228 ac_optarg=$2
32229 ac_shift=shift
32230 ;;
32231 esac
32232
32233 case $ac_option in
32234 # Handling of the options.
32235 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32236 ac_cs_recheck=: ;;
32237 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32238 $as_echo "$ac_cs_version"; exit ;;
32239 --config | --confi | --conf | --con | --co | --c )
32240 $as_echo "$ac_cs_config"; exit ;;
32241 --debug | --debu | --deb | --de | --d | -d )
32242 debug=: ;;
32243 --file | --fil | --fi | --f )
32244 $ac_shift
32245 case $ac_optarg in
32246 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32247 '') as_fn_error $? "missing file argument" ;;
32248 esac
32249 as_fn_append CONFIG_FILES " '$ac_optarg'"
32250 ac_need_defaults=false;;
32251 --header | --heade | --head | --hea )
32252 $ac_shift
32253 case $ac_optarg in
32254 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32255 esac
32256 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32257 ac_need_defaults=false;;
32258 --he | --h)
32259 # Conflict between --help and --header
32260 as_fn_error $? "ambiguous option: \`$1'
32261 Try \`$0 --help' for more information.";;
32262 --help | --hel | -h )
32263 $as_echo "$ac_cs_usage"; exit ;;
32264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32265 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32266 ac_cs_silent=: ;;
32267
32268 # This is an error.
32269 -*) as_fn_error $? "unrecognized option: \`$1'
32270 Try \`$0 --help' for more information." ;;
32271
32272 *) as_fn_append ac_config_targets " $1"
32273 ac_need_defaults=false ;;
32274
32275 esac
32276 shift
32277 done
32278
32279 ac_configure_extra_args=
32280
32281 if $ac_cs_silent; then
32282 exec 6>/dev/null
32283 ac_configure_extra_args="$ac_configure_extra_args --silent"
32284 fi
32285
32286 _ACEOF
32287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32288 if \$ac_cs_recheck; then
32289 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32290 shift
32291 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32292 CONFIG_SHELL='$SHELL'
32293 export CONFIG_SHELL
32294 exec "\$@"
32295 fi
32296
32297 _ACEOF
32298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32299 exec 5>>config.log
32300 {
32301 echo
32302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32303 ## Running $as_me. ##
32304 _ASBOX
32305 $as_echo "$ac_log"
32306 } >&5
32307
32308 _ACEOF
32309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32310 #
32311 # INIT-COMMANDS
32312 #
32313
32314 srcdir="$srcdir"
32315 host="$host"
32316 target="$target"
32317 with_multisubdir="$with_multisubdir"
32318 with_multisrctop="$with_multisrctop"
32319 with_target_subdir="$with_target_subdir"
32320 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32321 multi_basedir="$multi_basedir"
32322 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32323 CC="$CC"
32324 CXX="$CXX"
32325 GFORTRAN="$GFORTRAN"
32326 GDC="$GDC"
32327 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32328
32329
32330 # The HP-UX ksh and POSIX shell print the target directory to stdout
32331 # if CDPATH is set.
32332 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32333
32334 sed_quote_subst='$sed_quote_subst'
32335 double_quote_subst='$double_quote_subst'
32336 delay_variable_subst='$delay_variable_subst'
32337 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32338 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32339 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32340 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32341 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32342 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32343 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32344 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32345 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32346 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32347 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32348 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32349 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32350 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32351 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32352 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32353 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32354 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32355 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32356 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32357 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32358 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32359 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32360 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32361 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32362 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32363 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32364 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32365 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32366 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32367 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32368 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32369 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32370 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32371 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32372 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32373 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32374 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32375 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32376 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32377 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32378 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32379 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32380 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32381 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32382 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32383 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32384 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32385 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"`'
32386 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32387 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32388 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32389 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32390 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32391 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32392 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32393 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32394 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32395 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32396 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32397 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32398 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32399 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32400 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32401 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32402 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32403 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32404 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32405 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32406 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32407 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32408 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32409 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32410 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32411 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32412 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32413 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32414 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32415 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32416 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32417 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32418 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32419 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32420 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32421 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32422 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32423 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32424 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32425 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32426 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32427 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32428 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32429 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32430 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32431 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32432 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32433 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32434 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32435 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32436 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32437 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32438 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32439 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32440 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32441 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32442 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32443 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32444 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32445 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32446 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32447 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32448 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32449 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32450 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32451 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32452 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32453 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32454 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32455 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32456 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32457 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32458 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32459 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32460 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32461 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32462 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32463 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32464 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32465 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32466 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32467 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32468 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32469 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32470 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32471 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32472 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32473 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32474 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32475 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32476 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32477 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32478 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32479 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32480 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32481 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32482 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32483 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32484 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32485 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32486 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32487 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32488 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32489 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32490 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32491 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32492 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32493 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32494 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32495 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32496 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32497 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32498 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32499 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32500 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32501 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32502 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32503 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32504 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32505 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32506 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32507 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32508 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32509 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32510 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32511 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32512
32513 LTCC='$LTCC'
32514 LTCFLAGS='$LTCFLAGS'
32515 compiler='$compiler_DEFAULT'
32516
32517 # A function that is used when there is no print builtin or printf.
32518 func_fallback_echo ()
32519 {
32520 eval 'cat <<_LTECHO_EOF
32521 \$1
32522 _LTECHO_EOF'
32523 }
32524
32525 # Quote evaled strings.
32526 for var in SED \
32527 GREP \
32528 EGREP \
32529 FGREP \
32530 SHELL \
32531 ECHO \
32532 LD \
32533 NM \
32534 LN_S \
32535 lt_SP2NL \
32536 lt_NL2SP \
32537 reload_flag \
32538 OBJDUMP \
32539 deplibs_check_method \
32540 file_magic_cmd \
32541 AR \
32542 AR_FLAGS \
32543 STRIP \
32544 RANLIB \
32545 CC \
32546 CFLAGS \
32547 compiler \
32548 lt_cv_sys_global_symbol_pipe \
32549 lt_cv_sys_global_symbol_to_cdecl \
32550 lt_cv_sys_global_symbol_to_c_name_address \
32551 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32552 lt_prog_compiler_no_builtin_flag \
32553 lt_prog_compiler_wl \
32554 lt_prog_compiler_pic \
32555 lt_prog_compiler_static \
32556 lt_cv_prog_compiler_c_o \
32557 need_locks \
32558 DSYMUTIL \
32559 NMEDIT \
32560 LIPO \
32561 OTOOL \
32562 OTOOL64 \
32563 shrext_cmds \
32564 export_dynamic_flag_spec \
32565 whole_archive_flag_spec \
32566 compiler_needs_object \
32567 with_gnu_ld \
32568 allow_undefined_flag \
32569 no_undefined_flag \
32570 hardcode_libdir_flag_spec \
32571 hardcode_libdir_flag_spec_ld \
32572 hardcode_libdir_separator \
32573 fix_srcfile_path \
32574 exclude_expsyms \
32575 include_expsyms \
32576 file_list_spec \
32577 variables_saved_for_relink \
32578 libname_spec \
32579 library_names_spec \
32580 soname_spec \
32581 install_override_mode \
32582 finish_eval \
32583 old_striplib \
32584 striplib \
32585 compiler_lib_search_dirs \
32586 predep_objects \
32587 postdep_objects \
32588 predeps \
32589 postdeps \
32590 compiler_lib_search_path \
32591 LD_FC \
32592 reload_flag_FC \
32593 compiler_FC \
32594 lt_prog_compiler_no_builtin_flag_FC \
32595 lt_prog_compiler_wl_FC \
32596 lt_prog_compiler_pic_FC \
32597 lt_prog_compiler_static_FC \
32598 lt_cv_prog_compiler_c_o_FC \
32599 export_dynamic_flag_spec_FC \
32600 whole_archive_flag_spec_FC \
32601 compiler_needs_object_FC \
32602 with_gnu_ld_FC \
32603 allow_undefined_flag_FC \
32604 no_undefined_flag_FC \
32605 hardcode_libdir_flag_spec_FC \
32606 hardcode_libdir_flag_spec_ld_FC \
32607 hardcode_libdir_separator_FC \
32608 fix_srcfile_path_FC \
32609 exclude_expsyms_FC \
32610 include_expsyms_FC \
32611 file_list_spec_FC \
32612 compiler_lib_search_dirs_FC \
32613 predep_objects_FC \
32614 postdep_objects_FC \
32615 predeps_FC \
32616 postdeps_FC \
32617 compiler_lib_search_path_FC; do
32618 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32619 *[\\\\\\\`\\"\\\$]*)
32620 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32621 ;;
32622 *)
32623 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32624 ;;
32625 esac
32626 done
32627
32628 # Double-quote double-evaled strings.
32629 for var in reload_cmds \
32630 old_postinstall_cmds \
32631 old_postuninstall_cmds \
32632 old_archive_cmds \
32633 extract_expsyms_cmds \
32634 old_archive_from_new_cmds \
32635 old_archive_from_expsyms_cmds \
32636 archive_cmds \
32637 archive_expsym_cmds \
32638 module_cmds \
32639 module_expsym_cmds \
32640 export_symbols_cmds \
32641 prelink_cmds \
32642 postinstall_cmds \
32643 postuninstall_cmds \
32644 finish_cmds \
32645 sys_lib_search_path_spec \
32646 sys_lib_dlsearch_path_spec \
32647 reload_cmds_FC \
32648 old_archive_cmds_FC \
32649 old_archive_from_new_cmds_FC \
32650 old_archive_from_expsyms_cmds_FC \
32651 archive_cmds_FC \
32652 archive_expsym_cmds_FC \
32653 module_cmds_FC \
32654 module_expsym_cmds_FC \
32655 export_symbols_cmds_FC \
32656 prelink_cmds_FC; do
32657 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32658 *[\\\\\\\`\\"\\\$]*)
32659 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32660 ;;
32661 *)
32662 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32663 ;;
32664 esac
32665 done
32666
32667 ac_aux_dir='$ac_aux_dir'
32668 xsi_shell='$xsi_shell'
32669 lt_shell_append='$lt_shell_append'
32670
32671 # See if we are running on zsh, and set the options which allow our
32672 # commands through without removal of \ escapes INIT.
32673 if test -n "\${ZSH_VERSION+set}" ; then
32674 setopt NO_GLOB_SUBST
32675 fi
32676
32677
32678 PACKAGE='$PACKAGE'
32679 VERSION='$VERSION'
32680 TIMESTAMP='$TIMESTAMP'
32681 RM='$RM'
32682 ofile='$ofile'
32683
32684
32685
32686
32687
32688
32689 GCC="$GCC"
32690 CC="$CC"
32691 acx_cv_header_stdint="$acx_cv_header_stdint"
32692 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32693 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32694 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32695 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32696 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32697 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32698 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32699 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32700 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32701 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32702 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32703 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32704 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32705
32706
32707 _ACEOF
32708
32709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32710
32711 # Handling of arguments.
32712 for ac_config_target in $ac_config_targets
32713 do
32714 case $ac_config_target in
32715 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32716 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
32717 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32718 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32719 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
32720 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32721 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
32722
32723 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32724 esac
32725 done
32726
32727
32728 # If the user did not use the arguments to specify the items to instantiate,
32729 # then the envvar interface is used. Set only those that are not.
32730 # We use the long form for the default assignment because of an extremely
32731 # bizarre bug on SunOS 4.1.3.
32732 if $ac_need_defaults; then
32733 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32734 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32735 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32736 fi
32737
32738 # Have a temporary directory for convenience. Make it in the build tree
32739 # simply because there is no reason against having it here, and in addition,
32740 # creating and moving files from /tmp can sometimes cause problems.
32741 # Hook for its removal unless debugging.
32742 # Note that there is a small window in which the directory will not be cleaned:
32743 # after its creation but before its name has been assigned to `$tmp'.
32744 $debug ||
32745 {
32746 tmp= ac_tmp=
32747 trap 'exit_status=$?
32748 : "${ac_tmp:=$tmp}"
32749 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32750 ' 0
32751 trap 'as_fn_exit 1' 1 2 13 15
32752 }
32753 # Create a (secure) tmp directory for tmp files.
32754
32755 {
32756 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32757 test -d "$tmp"
32758 } ||
32759 {
32760 tmp=./conf$$-$RANDOM
32761 (umask 077 && mkdir "$tmp")
32762 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32763 ac_tmp=$tmp
32764
32765 # Set up the scripts for CONFIG_FILES section.
32766 # No need to generate them if there are no CONFIG_FILES.
32767 # This happens for instance with `./config.status config.h'.
32768 if test -n "$CONFIG_FILES"; then
32769
32770
32771 ac_cr=`echo X | tr X '\015'`
32772 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32773 # But we know of no other shell where ac_cr would be empty at this
32774 # point, so we can use a bashism as a fallback.
32775 if test "x$ac_cr" = x; then
32776 eval ac_cr=\$\'\\r\'
32777 fi
32778 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32779 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32780 ac_cs_awk_cr='\\r'
32781 else
32782 ac_cs_awk_cr=$ac_cr
32783 fi
32784
32785 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32786 _ACEOF
32787
32788
32789 {
32790 echo "cat >conf$$subs.awk <<_ACEOF" &&
32791 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32792 echo "_ACEOF"
32793 } >conf$$subs.sh ||
32794 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32795 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32796 ac_delim='%!_!# '
32797 for ac_last_try in false false false false false :; do
32798 . ./conf$$subs.sh ||
32799 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32800
32801 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32802 if test $ac_delim_n = $ac_delim_num; then
32803 break
32804 elif $ac_last_try; then
32805 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32806 else
32807 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32808 fi
32809 done
32810 rm -f conf$$subs.sh
32811
32812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32813 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
32814 _ACEOF
32815 sed -n '
32816 h
32817 s/^/S["/; s/!.*/"]=/
32818 p
32819 g
32820 s/^[^!]*!//
32821 :repl
32822 t repl
32823 s/'"$ac_delim"'$//
32824 t delim
32825 :nl
32826 h
32827 s/\(.\{148\}\)..*/\1/
32828 t more1
32829 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32830 p
32831 n
32832 b repl
32833 :more1
32834 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32835 p
32836 g
32837 s/.\{148\}//
32838 t nl
32839 :delim
32840 h
32841 s/\(.\{148\}\)..*/\1/
32842 t more2
32843 s/["\\]/\\&/g; s/^/"/; s/$/"/
32844 p
32845 b
32846 :more2
32847 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32848 p
32849 g
32850 s/.\{148\}//
32851 t delim
32852 ' <conf$$subs.awk | sed '
32853 /^[^""]/{
32854 N
32855 s/\n//
32856 }
32857 ' >>$CONFIG_STATUS || ac_write_fail=1
32858 rm -f conf$$subs.awk
32859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32860 _ACAWK
32861 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
32862 for (key in S) S_is_set[key] = 1
32863 FS = "\a"
32864
32865 }
32866 {
32867 line = $ 0
32868 nfields = split(line, field, "@")
32869 substed = 0
32870 len = length(field[1])
32871 for (i = 2; i < nfields; i++) {
32872 key = field[i]
32873 keylen = length(key)
32874 if (S_is_set[key]) {
32875 value = S[key]
32876 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32877 len += length(value) + length(field[++i])
32878 substed = 1
32879 } else
32880 len += 1 + keylen
32881 }
32882
32883 print line
32884 }
32885
32886 _ACAWK
32887 _ACEOF
32888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32889 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32890 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32891 else
32892 cat
32893 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
32894 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32895 _ACEOF
32896
32897 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32898 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32899 # trailing colons and then remove the whole line if VPATH becomes empty
32900 # (actually we leave an empty line to preserve line numbers).
32901 if test "x$srcdir" = x.; then
32902 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32903 h
32904 s///
32905 s/^/:/
32906 s/[ ]*$/:/
32907 s/:\$(srcdir):/:/g
32908 s/:\${srcdir}:/:/g
32909 s/:@srcdir@:/:/g
32910 s/^:*//
32911 s/:*$//
32912 x
32913 s/\(=[ ]*\).*/\1/
32914 G
32915 s/\n//
32916 s/^[^=]*=[ ]*$//
32917 }'
32918 fi
32919
32920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32921 fi # test -n "$CONFIG_FILES"
32922
32923 # Set up the scripts for CONFIG_HEADERS section.
32924 # No need to generate them if there are no CONFIG_HEADERS.
32925 # This happens for instance with `./config.status Makefile'.
32926 if test -n "$CONFIG_HEADERS"; then
32927 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
32928 BEGIN {
32929 _ACEOF
32930
32931 # Transform confdefs.h into an awk script `defines.awk', embedded as
32932 # here-document in config.status, that substitutes the proper values into
32933 # config.h.in to produce config.h.
32934
32935 # Create a delimiter string that does not exist in confdefs.h, to ease
32936 # handling of long lines.
32937 ac_delim='%!_!# '
32938 for ac_last_try in false false :; do
32939 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
32940 if test -z "$ac_tt"; then
32941 break
32942 elif $ac_last_try; then
32943 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32944 else
32945 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32946 fi
32947 done
32948
32949 # For the awk script, D is an array of macro values keyed by name,
32950 # likewise P contains macro parameters if any. Preserve backslash
32951 # newline sequences.
32952
32953 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32954 sed -n '
32955 s/.\{148\}/&'"$ac_delim"'/g
32956 t rset
32957 :rset
32958 s/^[ ]*#[ ]*define[ ][ ]*/ /
32959 t def
32960 d
32961 :def
32962 s/\\$//
32963 t bsnl
32964 s/["\\]/\\&/g
32965 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32966 D["\1"]=" \3"/p
32967 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32968 d
32969 :bsnl
32970 s/["\\]/\\&/g
32971 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32972 D["\1"]=" \3\\\\\\n"\\/p
32973 t cont
32974 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32975 t cont
32976 d
32977 :cont
32978 n
32979 s/.\{148\}/&'"$ac_delim"'/g
32980 t clear
32981 :clear
32982 s/\\$//
32983 t bsnlc
32984 s/["\\]/\\&/g; s/^/"/; s/$/"/p
32985 d
32986 :bsnlc
32987 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32988 b cont
32989 ' <confdefs.h | sed '
32990 s/'"$ac_delim"'/"\\\
32991 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32992
32993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32994 for (key in D) D_is_set[key] = 1
32995 FS = "\a"
32996 }
32997 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32998 line = \$ 0
32999 split(line, arg, " ")
33000 if (arg[1] == "#") {
33001 defundef = arg[2]
33002 mac1 = arg[3]
33003 } else {
33004 defundef = substr(arg[1], 2)
33005 mac1 = arg[2]
33006 }
33007 split(mac1, mac2, "(") #)
33008 macro = mac2[1]
33009 prefix = substr(line, 1, index(line, defundef) - 1)
33010 if (D_is_set[macro]) {
33011 # Preserve the white space surrounding the "#".
33012 print prefix "define", macro P[macro] D[macro]
33013 next
33014 } else {
33015 # Replace #undef with comments. This is necessary, for example,
33016 # in the case of _POSIX_SOURCE, which is predefined and required
33017 # on some systems where configure will not decide to define it.
33018 if (defundef == "undef") {
33019 print "/*", prefix defundef, macro, "*/"
33020 next
33021 }
33022 }
33023 }
33024 { print }
33025 _ACAWK
33026 _ACEOF
33027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33028 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
33029 fi # test -n "$CONFIG_HEADERS"
33030
33031
33032 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
33033 shift
33034 for ac_tag
33035 do
33036 case $ac_tag in
33037 :[FHLC]) ac_mode=$ac_tag; continue;;
33038 esac
33039 case $ac_mode$ac_tag in
33040 :[FHL]*:*);;
33041 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
33042 :[FH]-) ac_tag=-:-;;
33043 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
33044 esac
33045 ac_save_IFS=$IFS
33046 IFS=:
33047 set x $ac_tag
33048 IFS=$ac_save_IFS
33049 shift
33050 ac_file=$1
33051 shift
33052
33053 case $ac_mode in
33054 :L) ac_source=$1;;
33055 :[FH])
33056 ac_file_inputs=
33057 for ac_f
33058 do
33059 case $ac_f in
33060 -) ac_f="$ac_tmp/stdin";;
33061 *) # Look for the file first in the build tree, then in the source tree
33062 # (if the path is not absolute). The absolute path cannot be DOS-style,
33063 # because $ac_f cannot contain `:'.
33064 test -f "$ac_f" ||
33065 case $ac_f in
33066 [\\/$]*) false;;
33067 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
33068 esac ||
33069 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33070 esac
33071 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33072 as_fn_append ac_file_inputs " '$ac_f'"
33073 done
33074
33075 # Let's still pretend it is `configure' which instantiates (i.e., don't
33076 # use $as_me), people would be surprised to read:
33077 # /* config.h. Generated by config.status. */
33078 configure_input='Generated from '`
33079 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33080 `' by configure.'
33081 if test x"$ac_file" != x-; then
33082 configure_input="$ac_file. $configure_input"
33083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
33084 $as_echo "$as_me: creating $ac_file" >&6;}
33085 fi
33086 # Neutralize special characters interpreted by sed in replacement strings.
33087 case $configure_input in #(
33088 *\&* | *\|* | *\\* )
33089 ac_sed_conf_input=`$as_echo "$configure_input" |
33090 sed 's/[\\\\&|]/\\\\&/g'`;; #(
33091 *) ac_sed_conf_input=$configure_input;;
33092 esac
33093
33094 case $ac_tag in
33095 *:-:* | *:-) cat >"$ac_tmp/stdin" \
33096 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
33097 esac
33098 ;;
33099 esac
33100
33101 ac_dir=`$as_dirname -- "$ac_file" ||
33102 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33103 X"$ac_file" : 'X\(//\)[^/]' \| \
33104 X"$ac_file" : 'X\(//\)$' \| \
33105 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33106 $as_echo X"$ac_file" |
33107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33108 s//\1/
33109 q
33110 }
33111 /^X\(\/\/\)[^/].*/{
33112 s//\1/
33113 q
33114 }
33115 /^X\(\/\/\)$/{
33116 s//\1/
33117 q
33118 }
33119 /^X\(\/\).*/{
33120 s//\1/
33121 q
33122 }
33123 s/.*/./; q'`
33124 as_dir="$ac_dir"; as_fn_mkdir_p
33125 ac_builddir=.
33126
33127 case "$ac_dir" in
33128 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
33129 *)
33130 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33131 # A ".." for each directory in $ac_dir_suffix.
33132 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33133 case $ac_top_builddir_sub in
33134 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
33135 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
33136 esac ;;
33137 esac
33138 ac_abs_top_builddir=$ac_pwd
33139 ac_abs_builddir=$ac_pwd$ac_dir_suffix
33140 # for backward compatibility:
33141 ac_top_builddir=$ac_top_build_prefix
33142
33143 case $srcdir in
33144 .) # We are building in place.
33145 ac_srcdir=.
33146 ac_top_srcdir=$ac_top_builddir_sub
33147 ac_abs_top_srcdir=$ac_pwd ;;
33148 [\\/]* | ?:[\\/]* ) # Absolute name.
33149 ac_srcdir=$srcdir$ac_dir_suffix;
33150 ac_top_srcdir=$srcdir
33151 ac_abs_top_srcdir=$srcdir ;;
33152 *) # Relative name.
33153 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33154 ac_top_srcdir=$ac_top_build_prefix$srcdir
33155 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33156 esac
33157 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33158
33159
33160 case $ac_mode in
33161 :F)
33162 #
33163 # CONFIG_FILE
33164 #
33165
33166 case $INSTALL in
33167 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33168 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33169 esac
33170 ac_MKDIR_P=$MKDIR_P
33171 case $MKDIR_P in
33172 [\\/$]* | ?:[\\/]* ) ;;
33173 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33174 esac
33175 _ACEOF
33176
33177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33178 # If the template does not know about datarootdir, expand it.
33179 # FIXME: This hack should be removed a few years after 2.60.
33180 ac_datarootdir_hack=; ac_datarootdir_seen=
33181 ac_sed_dataroot='
33182 /datarootdir/ {
33183 p
33184 q
33185 }
33186 /@datadir@/p
33187 /@docdir@/p
33188 /@infodir@/p
33189 /@localedir@/p
33190 /@mandir@/p'
33191 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33192 *datarootdir*) ac_datarootdir_seen=yes;;
33193 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33195 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33196 _ACEOF
33197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33198 ac_datarootdir_hack='
33199 s&@datadir@&$datadir&g
33200 s&@docdir@&$docdir&g
33201 s&@infodir@&$infodir&g
33202 s&@localedir@&$localedir&g
33203 s&@mandir@&$mandir&g
33204 s&\\\${datarootdir}&$datarootdir&g' ;;
33205 esac
33206 _ACEOF
33207
33208 # Neutralize VPATH when `$srcdir' = `.'.
33209 # Shell code in configure.ac might set extrasub.
33210 # FIXME: do we really want to maintain this feature?
33211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33212 ac_sed_extra="$ac_vpsub
33213 $extrasub
33214 _ACEOF
33215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33216 :t
33217 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33218 s|@configure_input@|$ac_sed_conf_input|;t t
33219 s&@top_builddir@&$ac_top_builddir_sub&;t t
33220 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33221 s&@srcdir@&$ac_srcdir&;t t
33222 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33223 s&@top_srcdir@&$ac_top_srcdir&;t t
33224 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33225 s&@builddir@&$ac_builddir&;t t
33226 s&@abs_builddir@&$ac_abs_builddir&;t t
33227 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33228 s&@INSTALL@&$ac_INSTALL&;t t
33229 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33230 $ac_datarootdir_hack
33231 "
33232 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33233 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33234
33235 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33236 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33237 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33238 "$ac_tmp/out"`; test -z "$ac_out"; } &&
33239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33240 which seems to be undefined. Please make sure it is defined" >&5
33241 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33242 which seems to be undefined. Please make sure it is defined" >&2;}
33243
33244 rm -f "$ac_tmp/stdin"
33245 case $ac_file in
33246 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33247 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33248 esac \
33249 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33250 ;;
33251 :H)
33252 #
33253 # CONFIG_HEADER
33254 #
33255 if test x"$ac_file" != x-; then
33256 {
33257 $as_echo "/* $configure_input */" \
33258 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33259 } >"$ac_tmp/config.h" \
33260 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33261 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33262 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33263 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33264 else
33265 rm -f "$ac_file"
33266 mv "$ac_tmp/config.h" "$ac_file" \
33267 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33268 fi
33269 else
33270 $as_echo "/* $configure_input */" \
33271 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33272 || as_fn_error $? "could not create -" "$LINENO" 5
33273 fi
33274 # Compute "$ac_file"'s index in $config_headers.
33275 _am_arg="$ac_file"
33276 _am_stamp_count=1
33277 for _am_header in $config_headers :; do
33278 case $_am_header in
33279 $_am_arg | $_am_arg:* )
33280 break ;;
33281 * )
33282 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33283 esac
33284 done
33285 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33286 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33287 X"$_am_arg" : 'X\(//\)[^/]' \| \
33288 X"$_am_arg" : 'X\(//\)$' \| \
33289 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33290 $as_echo X"$_am_arg" |
33291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33292 s//\1/
33293 q
33294 }
33295 /^X\(\/\/\)[^/].*/{
33296 s//\1/
33297 q
33298 }
33299 /^X\(\/\/\)$/{
33300 s//\1/
33301 q
33302 }
33303 /^X\(\/\).*/{
33304 s//\1/
33305 q
33306 }
33307 s/.*/./; q'`/stamp-h$_am_stamp_count
33308 ;;
33309
33310 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33311 $as_echo "$as_me: executing $ac_file commands" >&6;}
33312 ;;
33313 esac
33314
33315
33316 case $ac_file$ac_mode in
33317 "default-1":C)
33318 # Only add multilib support code if we just rebuilt the top-level
33319 # Makefile.
33320 case " $CONFIG_FILES " in
33321 *" Makefile "*)
33322 ac_file=Makefile . ${multi_basedir}/config-ml.in
33323 ;;
33324 esac ;;
33325 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33326 # Older Autoconf quotes --file arguments for eval, but not when files
33327 # are listed without --file. Let's play safe and only enable the eval
33328 # if we detect the quoting.
33329 case $CONFIG_FILES in
33330 *\'*) eval set x "$CONFIG_FILES" ;;
33331 *) set x $CONFIG_FILES ;;
33332 esac
33333 shift
33334 for mf
33335 do
33336 # Strip MF so we end up with the name of the file.
33337 mf=`echo "$mf" | sed -e 's/:.*$//'`
33338 # Check whether this is an Automake generated Makefile or not.
33339 # We used to match only the files named 'Makefile.in', but
33340 # some people rename them; so instead we look at the file content.
33341 # Grep'ing the first line is not enough: some people post-process
33342 # each Makefile.in and add a new line on top of each file to say so.
33343 # Grep'ing the whole file is not good either: AIX grep has a line
33344 # limit of 2048, but all sed's we know have understand at least 4000.
33345 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33346 dirpart=`$as_dirname -- "$mf" ||
33347 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33348 X"$mf" : 'X\(//\)[^/]' \| \
33349 X"$mf" : 'X\(//\)$' \| \
33350 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33351 $as_echo X"$mf" |
33352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33353 s//\1/
33354 q
33355 }
33356 /^X\(\/\/\)[^/].*/{
33357 s//\1/
33358 q
33359 }
33360 /^X\(\/\/\)$/{
33361 s//\1/
33362 q
33363 }
33364 /^X\(\/\).*/{
33365 s//\1/
33366 q
33367 }
33368 s/.*/./; q'`
33369 else
33370 continue
33371 fi
33372 # Extract the definition of DEPDIR, am__include, and am__quote
33373 # from the Makefile without running 'make'.
33374 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33375 test -z "$DEPDIR" && continue
33376 am__include=`sed -n 's/^am__include = //p' < "$mf"`
33377 test -z "$am__include" && continue
33378 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33379 # Find all dependency output files, they are included files with
33380 # $(DEPDIR) in their names. We invoke sed twice because it is the
33381 # simplest approach to changing $(DEPDIR) to its actual value in the
33382 # expansion.
33383 for file in `sed -n "
33384 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33385 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33386 # Make sure the directory exists.
33387 test -f "$dirpart/$file" && continue
33388 fdir=`$as_dirname -- "$file" ||
33389 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33390 X"$file" : 'X\(//\)[^/]' \| \
33391 X"$file" : 'X\(//\)$' \| \
33392 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33393 $as_echo X"$file" |
33394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33395 s//\1/
33396 q
33397 }
33398 /^X\(\/\/\)[^/].*/{
33399 s//\1/
33400 q
33401 }
33402 /^X\(\/\/\)$/{
33403 s//\1/
33404 q
33405 }
33406 /^X\(\/\).*/{
33407 s//\1/
33408 q
33409 }
33410 s/.*/./; q'`
33411 as_dir=$dirpart/$fdir; as_fn_mkdir_p
33412 # echo "creating $dirpart/$file"
33413 echo '# dummy' > "$dirpart/$file"
33414 done
33415 done
33416 }
33417 ;;
33418 "libtool":C)
33419
33420 # See if we are running on zsh, and set the options which allow our
33421 # commands through without removal of \ escapes.
33422 if test -n "${ZSH_VERSION+set}" ; then
33423 setopt NO_GLOB_SUBST
33424 fi
33425
33426 cfgfile="${ofile}T"
33427 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33428 $RM "$cfgfile"
33429
33430 cat <<_LT_EOF >> "$cfgfile"
33431 #! $SHELL
33432
33433 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33434 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33435 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33436 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33437 #
33438 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33439 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33440 # Written by Gordon Matzigkeit, 1996
33441 #
33442 # This file is part of GNU Libtool.
33443 #
33444 # GNU Libtool is free software; you can redistribute it and/or
33445 # modify it under the terms of the GNU General Public License as
33446 # published by the Free Software Foundation; either version 2 of
33447 # the License, or (at your option) any later version.
33448 #
33449 # As a special exception to the GNU General Public License,
33450 # if you distribute this file as part of a program or library that
33451 # is built using GNU Libtool, you may include this file under the
33452 # same distribution terms that you use for the rest of that program.
33453 #
33454 # GNU Libtool is distributed in the hope that it will be useful,
33455 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33456 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33457 # GNU General Public License for more details.
33458 #
33459 # You should have received a copy of the GNU General Public License
33460 # along with GNU Libtool; see the file COPYING. If not, a copy
33461 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33462 # obtained by writing to the Free Software Foundation, Inc.,
33463 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33464
33465
33466 # The names of the tagged configurations supported by this script.
33467 available_tags="FC "
33468
33469 # ### BEGIN LIBTOOL CONFIG
33470
33471 # A sed program that does not truncate output.
33472 SED=$lt_SED
33473
33474 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33475 Xsed="\$SED -e 1s/^X//"
33476
33477 # A grep program that handles long lines.
33478 GREP=$lt_GREP
33479
33480 # An ERE matcher.
33481 EGREP=$lt_EGREP
33482
33483 # A literal string matcher.
33484 FGREP=$lt_FGREP
33485
33486 # Shell to use when invoking shell scripts.
33487 SHELL=$lt_SHELL
33488
33489 # An echo program that protects backslashes.
33490 ECHO=$lt_ECHO
33491
33492 # Which release of libtool.m4 was used?
33493 macro_version=$macro_version
33494 macro_revision=$macro_revision
33495
33496 # Whether or not to build shared libraries.
33497 build_libtool_libs=$enable_shared
33498
33499 # Whether or not to build static libraries.
33500 build_old_libs=$enable_static
33501
33502 # What type of objects to build.
33503 pic_mode=$pic_mode
33504
33505 # Whether or not to optimize for fast installation.
33506 fast_install=$enable_fast_install
33507
33508 # The host system.
33509 host_alias=$host_alias
33510 host=$host
33511 host_os=$host_os
33512
33513 # The build system.
33514 build_alias=$build_alias
33515 build=$build
33516 build_os=$build_os
33517
33518 # A BSD- or MS-compatible name lister.
33519 NM=$lt_NM
33520
33521 # Whether we need soft or hard links.
33522 LN_S=$lt_LN_S
33523
33524 # What is the maximum length of a command?
33525 max_cmd_len=$max_cmd_len
33526
33527 # Object file suffix (normally "o").
33528 objext=$ac_objext
33529
33530 # Executable file suffix (normally "").
33531 exeext=$exeext
33532
33533 # whether the shell understands "unset".
33534 lt_unset=$lt_unset
33535
33536 # turn spaces into newlines.
33537 SP2NL=$lt_lt_SP2NL
33538
33539 # turn newlines into spaces.
33540 NL2SP=$lt_lt_NL2SP
33541
33542 # An object symbol dumper.
33543 OBJDUMP=$lt_OBJDUMP
33544
33545 # Method to check whether dependent libraries are shared objects.
33546 deplibs_check_method=$lt_deplibs_check_method
33547
33548 # Command to use when deplibs_check_method == "file_magic".
33549 file_magic_cmd=$lt_file_magic_cmd
33550
33551 # The archiver.
33552 AR=$lt_AR
33553 AR_FLAGS=$lt_AR_FLAGS
33554
33555 # A symbol stripping program.
33556 STRIP=$lt_STRIP
33557
33558 # Commands used to install an old-style archive.
33559 RANLIB=$lt_RANLIB
33560 old_postinstall_cmds=$lt_old_postinstall_cmds
33561 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33562
33563 # Whether to use a lock for old archive extraction.
33564 lock_old_archive_extraction=$lock_old_archive_extraction
33565
33566 # A C compiler.
33567 LTCC=$lt_CC
33568
33569 # LTCC compiler flags.
33570 LTCFLAGS=$lt_CFLAGS
33571
33572 # Take the output of nm and produce a listing of raw symbols and C names.
33573 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33574
33575 # Transform the output of nm in a proper C declaration.
33576 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33577
33578 # Transform the output of nm in a C name address pair.
33579 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33580
33581 # Transform the output of nm in a C name address pair when lib prefix is needed.
33582 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33583
33584 # The name of the directory that contains temporary libtool files.
33585 objdir=$objdir
33586
33587 # Used to examine libraries when file_magic_cmd begins with "file".
33588 MAGIC_CMD=$MAGIC_CMD
33589
33590 # Must we lock files when doing compilation?
33591 need_locks=$lt_need_locks
33592
33593 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33594 DSYMUTIL=$lt_DSYMUTIL
33595
33596 # Tool to change global to local symbols on Mac OS X.
33597 NMEDIT=$lt_NMEDIT
33598
33599 # Tool to manipulate fat objects and archives on Mac OS X.
33600 LIPO=$lt_LIPO
33601
33602 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33603 OTOOL=$lt_OTOOL
33604
33605 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33606 OTOOL64=$lt_OTOOL64
33607
33608 # Old archive suffix (normally "a").
33609 libext=$libext
33610
33611 # Shared library suffix (normally ".so").
33612 shrext_cmds=$lt_shrext_cmds
33613
33614 # The commands to extract the exported symbol list from a shared archive.
33615 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33616
33617 # Variables whose values should be saved in libtool wrapper scripts and
33618 # restored at link time.
33619 variables_saved_for_relink=$lt_variables_saved_for_relink
33620
33621 # Do we need the "lib" prefix for modules?
33622 need_lib_prefix=$need_lib_prefix
33623
33624 # Do we need a version for libraries?
33625 need_version=$need_version
33626
33627 # Library versioning type.
33628 version_type=$version_type
33629
33630 # Shared library runtime path variable.
33631 runpath_var=$runpath_var
33632
33633 # Shared library path variable.
33634 shlibpath_var=$shlibpath_var
33635
33636 # Is shlibpath searched before the hard-coded library search path?
33637 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33638
33639 # Format of library name prefix.
33640 libname_spec=$lt_libname_spec
33641
33642 # List of archive names. First name is the real one, the rest are links.
33643 # The last name is the one that the linker finds with -lNAME
33644 library_names_spec=$lt_library_names_spec
33645
33646 # The coded name of the library, if different from the real name.
33647 soname_spec=$lt_soname_spec
33648
33649 # Permission mode override for installation of shared libraries.
33650 install_override_mode=$lt_install_override_mode
33651
33652 # Command to use after installation of a shared archive.
33653 postinstall_cmds=$lt_postinstall_cmds
33654
33655 # Command to use after uninstallation of a shared archive.
33656 postuninstall_cmds=$lt_postuninstall_cmds
33657
33658 # Commands used to finish a libtool library installation in a directory.
33659 finish_cmds=$lt_finish_cmds
33660
33661 # As "finish_cmds", except a single script fragment to be evaled but
33662 # not shown.
33663 finish_eval=$lt_finish_eval
33664
33665 # Whether we should hardcode library paths into libraries.
33666 hardcode_into_libs=$hardcode_into_libs
33667
33668 # Compile-time system search path for libraries.
33669 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33670
33671 # Run-time system search path for libraries.
33672 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33673
33674 # Whether dlopen is supported.
33675 dlopen_support=$enable_dlopen
33676
33677 # Whether dlopen of programs is supported.
33678 dlopen_self=$enable_dlopen_self
33679
33680 # Whether dlopen of statically linked programs is supported.
33681 dlopen_self_static=$enable_dlopen_self_static
33682
33683 # Commands to strip libraries.
33684 old_striplib=$lt_old_striplib
33685 striplib=$lt_striplib
33686
33687
33688 # The linker used to build libraries.
33689 LD=$lt_LD
33690
33691 # How to create reloadable object files.
33692 reload_flag=$lt_reload_flag
33693 reload_cmds=$lt_reload_cmds
33694
33695 # Commands used to build an old-style archive.
33696 old_archive_cmds=$lt_old_archive_cmds
33697
33698 # A language specific compiler.
33699 CC=$lt_compiler
33700
33701 # Is the compiler the GNU compiler?
33702 with_gcc=$GCC
33703
33704 # Compiler flag to turn off builtin functions.
33705 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33706
33707 # How to pass a linker flag through the compiler.
33708 wl=$lt_lt_prog_compiler_wl
33709
33710 # Additional compiler flags for building library objects.
33711 pic_flag=$lt_lt_prog_compiler_pic
33712
33713 # Compiler flag to prevent dynamic linking.
33714 link_static_flag=$lt_lt_prog_compiler_static
33715
33716 # Does compiler simultaneously support -c and -o options?
33717 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33718
33719 # Whether or not to add -lc for building shared libraries.
33720 build_libtool_need_lc=$archive_cmds_need_lc
33721
33722 # Whether or not to disallow shared libs when runtime libs are static.
33723 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33724
33725 # Compiler flag to allow reflexive dlopens.
33726 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33727
33728 # Compiler flag to generate shared objects directly from archives.
33729 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33730
33731 # Whether the compiler copes with passing no objects directly.
33732 compiler_needs_object=$lt_compiler_needs_object
33733
33734 # Create an old-style archive from a shared archive.
33735 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33736
33737 # Create a temporary old-style archive to link instead of a shared archive.
33738 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33739
33740 # Commands used to build a shared archive.
33741 archive_cmds=$lt_archive_cmds
33742 archive_expsym_cmds=$lt_archive_expsym_cmds
33743
33744 # Commands used to build a loadable module if different from building
33745 # a shared archive.
33746 module_cmds=$lt_module_cmds
33747 module_expsym_cmds=$lt_module_expsym_cmds
33748
33749 # Whether we are building with GNU ld or not.
33750 with_gnu_ld=$lt_with_gnu_ld
33751
33752 # Flag that allows shared libraries with undefined symbols to be built.
33753 allow_undefined_flag=$lt_allow_undefined_flag
33754
33755 # Flag that enforces no undefined symbols.
33756 no_undefined_flag=$lt_no_undefined_flag
33757
33758 # Flag to hardcode \$libdir into a binary during linking.
33759 # This must work even if \$libdir does not exist
33760 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33761
33762 # If ld is used when linking, flag to hardcode \$libdir into a binary
33763 # during linking. This must work even if \$libdir does not exist.
33764 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33765
33766 # Whether we need a single "-rpath" flag with a separated argument.
33767 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33768
33769 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33770 # DIR into the resulting binary.
33771 hardcode_direct=$hardcode_direct
33772
33773 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33774 # DIR into the resulting binary and the resulting library dependency is
33775 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33776 # library is relocated.
33777 hardcode_direct_absolute=$hardcode_direct_absolute
33778
33779 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33780 # into the resulting binary.
33781 hardcode_minus_L=$hardcode_minus_L
33782
33783 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33784 # into the resulting binary.
33785 hardcode_shlibpath_var=$hardcode_shlibpath_var
33786
33787 # Set to "yes" if building a shared library automatically hardcodes DIR
33788 # into the library and all subsequent libraries and executables linked
33789 # against it.
33790 hardcode_automatic=$hardcode_automatic
33791
33792 # Set to yes if linker adds runtime paths of dependent libraries
33793 # to runtime path list.
33794 inherit_rpath=$inherit_rpath
33795
33796 # Whether libtool must link a program against all its dependency libraries.
33797 link_all_deplibs=$link_all_deplibs
33798
33799 # Fix the shell variable \$srcfile for the compiler.
33800 fix_srcfile_path=$lt_fix_srcfile_path
33801
33802 # Set to "yes" if exported symbols are required.
33803 always_export_symbols=$always_export_symbols
33804
33805 # The commands to list exported symbols.
33806 export_symbols_cmds=$lt_export_symbols_cmds
33807
33808 # Symbols that should not be listed in the preloaded symbols.
33809 exclude_expsyms=$lt_exclude_expsyms
33810
33811 # Symbols that must always be exported.
33812 include_expsyms=$lt_include_expsyms
33813
33814 # Commands necessary for linking programs (against libraries) with templates.
33815 prelink_cmds=$lt_prelink_cmds
33816
33817 # Specify filename containing input files.
33818 file_list_spec=$lt_file_list_spec
33819
33820 # How to hardcode a shared library path into an executable.
33821 hardcode_action=$hardcode_action
33822
33823 # The directories searched by this compiler when creating a shared library.
33824 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33825
33826 # Dependencies to place before and after the objects being linked to
33827 # create a shared library.
33828 predep_objects=$lt_predep_objects
33829 postdep_objects=$lt_postdep_objects
33830 predeps=$lt_predeps
33831 postdeps=$lt_postdeps
33832
33833 # The library search path used internally by the compiler when linking
33834 # a shared library.
33835 compiler_lib_search_path=$lt_compiler_lib_search_path
33836
33837 # ### END LIBTOOL CONFIG
33838
33839 _LT_EOF
33840
33841 case $host_os in
33842 aix3*)
33843 cat <<\_LT_EOF >> "$cfgfile"
33844 # AIX sometimes has problems with the GCC collect2 program. For some
33845 # reason, if we set the COLLECT_NAMES environment variable, the problems
33846 # vanish in a puff of smoke.
33847 if test "X${COLLECT_NAMES+set}" != Xset; then
33848 COLLECT_NAMES=
33849 export COLLECT_NAMES
33850 fi
33851 _LT_EOF
33852 ;;
33853 esac
33854
33855
33856 ltmain="$ac_aux_dir/ltmain.sh"
33857
33858
33859 # We use sed instead of cat because bash on DJGPP gets confused if
33860 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33861 # text mode, it properly converts lines to CR/LF. This bash problem
33862 # is reportedly fixed, but why not run on old versions too?
33863 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33864 || (rm -f "$cfgfile"; exit 1)
33865
33866 case $xsi_shell in
33867 yes)
33868 cat << \_LT_EOF >> "$cfgfile"
33869
33870 # func_dirname file append nondir_replacement
33871 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33872 # otherwise set result to NONDIR_REPLACEMENT.
33873 func_dirname ()
33874 {
33875 case ${1} in
33876 */*) func_dirname_result="${1%/*}${2}" ;;
33877 * ) func_dirname_result="${3}" ;;
33878 esac
33879 }
33880
33881 # func_basename file
33882 func_basename ()
33883 {
33884 func_basename_result="${1##*/}"
33885 }
33886
33887 # func_dirname_and_basename file append nondir_replacement
33888 # perform func_basename and func_dirname in a single function
33889 # call:
33890 # dirname: Compute the dirname of FILE. If nonempty,
33891 # add APPEND to the result, otherwise set result
33892 # to NONDIR_REPLACEMENT.
33893 # value returned in "$func_dirname_result"
33894 # basename: Compute filename of FILE.
33895 # value retuned in "$func_basename_result"
33896 # Implementation must be kept synchronized with func_dirname
33897 # and func_basename. For efficiency, we do not delegate to
33898 # those functions but instead duplicate the functionality here.
33899 func_dirname_and_basename ()
33900 {
33901 case ${1} in
33902 */*) func_dirname_result="${1%/*}${2}" ;;
33903 * ) func_dirname_result="${3}" ;;
33904 esac
33905 func_basename_result="${1##*/}"
33906 }
33907
33908 # func_stripname prefix suffix name
33909 # strip PREFIX and SUFFIX off of NAME.
33910 # PREFIX and SUFFIX must not contain globbing or regex special
33911 # characters, hashes, percent signs, but SUFFIX may contain a leading
33912 # dot (in which case that matches only a dot).
33913 func_stripname ()
33914 {
33915 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33916 # positional parameters, so assign one to ordinary parameter first.
33917 func_stripname_result=${3}
33918 func_stripname_result=${func_stripname_result#"${1}"}
33919 func_stripname_result=${func_stripname_result%"${2}"}
33920 }
33921
33922 # func_opt_split
33923 func_opt_split ()
33924 {
33925 func_opt_split_opt=${1%%=*}
33926 func_opt_split_arg=${1#*=}
33927 }
33928
33929 # func_lo2o object
33930 func_lo2o ()
33931 {
33932 case ${1} in
33933 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33934 *) func_lo2o_result=${1} ;;
33935 esac
33936 }
33937
33938 # func_xform libobj-or-source
33939 func_xform ()
33940 {
33941 func_xform_result=${1%.*}.lo
33942 }
33943
33944 # func_arith arithmetic-term...
33945 func_arith ()
33946 {
33947 func_arith_result=$(( $* ))
33948 }
33949
33950 # func_len string
33951 # STRING may not start with a hyphen.
33952 func_len ()
33953 {
33954 func_len_result=${#1}
33955 }
33956
33957 _LT_EOF
33958 ;;
33959 *) # Bourne compatible functions.
33960 cat << \_LT_EOF >> "$cfgfile"
33961
33962 # func_dirname file append nondir_replacement
33963 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33964 # otherwise set result to NONDIR_REPLACEMENT.
33965 func_dirname ()
33966 {
33967 # Extract subdirectory from the argument.
33968 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
33969 if test "X$func_dirname_result" = "X${1}"; then
33970 func_dirname_result="${3}"
33971 else
33972 func_dirname_result="$func_dirname_result${2}"
33973 fi
33974 }
33975
33976 # func_basename file
33977 func_basename ()
33978 {
33979 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
33980 }
33981
33982
33983 # func_stripname prefix suffix name
33984 # strip PREFIX and SUFFIX off of NAME.
33985 # PREFIX and SUFFIX must not contain globbing or regex special
33986 # characters, hashes, percent signs, but SUFFIX may contain a leading
33987 # dot (in which case that matches only a dot).
33988 # func_strip_suffix prefix name
33989 func_stripname ()
33990 {
33991 case ${2} in
33992 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33993 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33994 esac
33995 }
33996
33997 # sed scripts:
33998 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33999 my_sed_long_arg='1s/^-[^=]*=//'
34000
34001 # func_opt_split
34002 func_opt_split ()
34003 {
34004 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
34005 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
34006 }
34007
34008 # func_lo2o object
34009 func_lo2o ()
34010 {
34011 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
34012 }
34013
34014 # func_xform libobj-or-source
34015 func_xform ()
34016 {
34017 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
34018 }
34019
34020 # func_arith arithmetic-term...
34021 func_arith ()
34022 {
34023 func_arith_result=`expr "$@"`
34024 }
34025
34026 # func_len string
34027 # STRING may not start with a hyphen.
34028 func_len ()
34029 {
34030 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
34031 }
34032
34033 _LT_EOF
34034 esac
34035
34036 case $lt_shell_append in
34037 yes)
34038 cat << \_LT_EOF >> "$cfgfile"
34039
34040 # func_append var value
34041 # Append VALUE to the end of shell variable VAR.
34042 func_append ()
34043 {
34044 eval "$1+=\$2"
34045 }
34046 _LT_EOF
34047 ;;
34048 *)
34049 cat << \_LT_EOF >> "$cfgfile"
34050
34051 # func_append var value
34052 # Append VALUE to the end of shell variable VAR.
34053 func_append ()
34054 {
34055 eval "$1=\$$1\$2"
34056 }
34057
34058 _LT_EOF
34059 ;;
34060 esac
34061
34062
34063 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
34064 || (rm -f "$cfgfile"; exit 1)
34065
34066 mv -f "$cfgfile" "$ofile" ||
34067 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34068 chmod +x "$ofile"
34069
34070
34071 cat <<_LT_EOF >> "$ofile"
34072
34073 # ### BEGIN LIBTOOL TAG CONFIG: FC
34074
34075 # The linker used to build libraries.
34076 LD=$lt_LD_FC
34077
34078 # How to create reloadable object files.
34079 reload_flag=$lt_reload_flag_FC
34080 reload_cmds=$lt_reload_cmds_FC
34081
34082 # Commands used to build an old-style archive.
34083 old_archive_cmds=$lt_old_archive_cmds_FC
34084
34085 # A language specific compiler.
34086 CC=$lt_compiler_FC
34087
34088 # Is the compiler the GNU compiler?
34089 with_gcc=$GCC_FC
34090
34091 # Compiler flag to turn off builtin functions.
34092 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
34093
34094 # How to pass a linker flag through the compiler.
34095 wl=$lt_lt_prog_compiler_wl_FC
34096
34097 # Additional compiler flags for building library objects.
34098 pic_flag=$lt_lt_prog_compiler_pic_FC
34099
34100 # Compiler flag to prevent dynamic linking.
34101 link_static_flag=$lt_lt_prog_compiler_static_FC
34102
34103 # Does compiler simultaneously support -c and -o options?
34104 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
34105
34106 # Whether or not to add -lc for building shared libraries.
34107 build_libtool_need_lc=$archive_cmds_need_lc_FC
34108
34109 # Whether or not to disallow shared libs when runtime libs are static.
34110 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
34111
34112 # Compiler flag to allow reflexive dlopens.
34113 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
34114
34115 # Compiler flag to generate shared objects directly from archives.
34116 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
34117
34118 # Whether the compiler copes with passing no objects directly.
34119 compiler_needs_object=$lt_compiler_needs_object_FC
34120
34121 # Create an old-style archive from a shared archive.
34122 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
34123
34124 # Create a temporary old-style archive to link instead of a shared archive.
34125 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
34126
34127 # Commands used to build a shared archive.
34128 archive_cmds=$lt_archive_cmds_FC
34129 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34130
34131 # Commands used to build a loadable module if different from building
34132 # a shared archive.
34133 module_cmds=$lt_module_cmds_FC
34134 module_expsym_cmds=$lt_module_expsym_cmds_FC
34135
34136 # Whether we are building with GNU ld or not.
34137 with_gnu_ld=$lt_with_gnu_ld_FC
34138
34139 # Flag that allows shared libraries with undefined symbols to be built.
34140 allow_undefined_flag=$lt_allow_undefined_flag_FC
34141
34142 # Flag that enforces no undefined symbols.
34143 no_undefined_flag=$lt_no_undefined_flag_FC
34144
34145 # Flag to hardcode \$libdir into a binary during linking.
34146 # This must work even if \$libdir does not exist
34147 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34148
34149 # If ld is used when linking, flag to hardcode \$libdir into a binary
34150 # during linking. This must work even if \$libdir does not exist.
34151 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34152
34153 # Whether we need a single "-rpath" flag with a separated argument.
34154 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34155
34156 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34157 # DIR into the resulting binary.
34158 hardcode_direct=$hardcode_direct_FC
34159
34160 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34161 # DIR into the resulting binary and the resulting library dependency is
34162 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34163 # library is relocated.
34164 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34165
34166 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34167 # into the resulting binary.
34168 hardcode_minus_L=$hardcode_minus_L_FC
34169
34170 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34171 # into the resulting binary.
34172 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34173
34174 # Set to "yes" if building a shared library automatically hardcodes DIR
34175 # into the library and all subsequent libraries and executables linked
34176 # against it.
34177 hardcode_automatic=$hardcode_automatic_FC
34178
34179 # Set to yes if linker adds runtime paths of dependent libraries
34180 # to runtime path list.
34181 inherit_rpath=$inherit_rpath_FC
34182
34183 # Whether libtool must link a program against all its dependency libraries.
34184 link_all_deplibs=$link_all_deplibs_FC
34185
34186 # Fix the shell variable \$srcfile for the compiler.
34187 fix_srcfile_path=$lt_fix_srcfile_path_FC
34188
34189 # Set to "yes" if exported symbols are required.
34190 always_export_symbols=$always_export_symbols_FC
34191
34192 # The commands to list exported symbols.
34193 export_symbols_cmds=$lt_export_symbols_cmds_FC
34194
34195 # Symbols that should not be listed in the preloaded symbols.
34196 exclude_expsyms=$lt_exclude_expsyms_FC
34197
34198 # Symbols that must always be exported.
34199 include_expsyms=$lt_include_expsyms_FC
34200
34201 # Commands necessary for linking programs (against libraries) with templates.
34202 prelink_cmds=$lt_prelink_cmds_FC
34203
34204 # Specify filename containing input files.
34205 file_list_spec=$lt_file_list_spec_FC
34206
34207 # How to hardcode a shared library path into an executable.
34208 hardcode_action=$hardcode_action_FC
34209
34210 # The directories searched by this compiler when creating a shared library.
34211 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34212
34213 # Dependencies to place before and after the objects being linked to
34214 # create a shared library.
34215 predep_objects=$lt_predep_objects_FC
34216 postdep_objects=$lt_postdep_objects_FC
34217 predeps=$lt_predeps_FC
34218 postdeps=$lt_postdeps_FC
34219
34220 # The library search path used internally by the compiler when linking
34221 # a shared library.
34222 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34223
34224 # ### END LIBTOOL TAG CONFIG: FC
34225 _LT_EOF
34226
34227 ;;
34228 "gstdint.h":C)
34229 if test "$GCC" = yes; then
34230 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34231 else
34232 echo "/* generated for $CC */" > tmp-stdint.h
34233 fi
34234
34235 sed 's/^ *//' >> tmp-stdint.h <<EOF
34236
34237 #ifndef GCC_GENERATED_STDINT_H
34238 #define GCC_GENERATED_STDINT_H 1
34239
34240 #include <sys/types.h>
34241 EOF
34242
34243 if test "$acx_cv_header_stdint" != stdint.h; then
34244 echo "#include <stddef.h>" >> tmp-stdint.h
34245 fi
34246 if test "$acx_cv_header_stdint" != stddef.h; then
34247 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34248 fi
34249
34250 sed 's/^ *//' >> tmp-stdint.h <<EOF
34251 /* glibc uses these symbols as guards to prevent redefinitions. */
34252 #ifdef __int8_t_defined
34253 #define _INT8_T
34254 #define _INT16_T
34255 #define _INT32_T
34256 #endif
34257 #ifdef __uint32_t_defined
34258 #define _UINT32_T
34259 #endif
34260
34261 EOF
34262
34263 # ----------------- done header, emit basic int types -------------
34264 if test "$acx_cv_header_stdint" = stddef.h; then
34265 sed 's/^ *//' >> tmp-stdint.h <<EOF
34266
34267 #ifndef _UINT8_T
34268 #define _UINT8_T
34269 #ifndef __uint8_t_defined
34270 #define __uint8_t_defined
34271 #ifndef uint8_t
34272 typedef unsigned $acx_cv_type_int8_t uint8_t;
34273 #endif
34274 #endif
34275 #endif
34276
34277 #ifndef _UINT16_T
34278 #define _UINT16_T
34279 #ifndef __uint16_t_defined
34280 #define __uint16_t_defined
34281 #ifndef uint16_t
34282 typedef unsigned $acx_cv_type_int16_t uint16_t;
34283 #endif
34284 #endif
34285 #endif
34286
34287 #ifndef _UINT32_T
34288 #define _UINT32_T
34289 #ifndef __uint32_t_defined
34290 #define __uint32_t_defined
34291 #ifndef uint32_t
34292 typedef unsigned $acx_cv_type_int32_t uint32_t;
34293 #endif
34294 #endif
34295 #endif
34296
34297 #ifndef _INT8_T
34298 #define _INT8_T
34299 #ifndef __int8_t_defined
34300 #define __int8_t_defined
34301 #ifndef int8_t
34302 typedef $acx_cv_type_int8_t int8_t;
34303 #endif
34304 #endif
34305 #endif
34306
34307 #ifndef _INT16_T
34308 #define _INT16_T
34309 #ifndef __int16_t_defined
34310 #define __int16_t_defined
34311 #ifndef int16_t
34312 typedef $acx_cv_type_int16_t int16_t;
34313 #endif
34314 #endif
34315 #endif
34316
34317 #ifndef _INT32_T
34318 #define _INT32_T
34319 #ifndef __int32_t_defined
34320 #define __int32_t_defined
34321 #ifndef int32_t
34322 typedef $acx_cv_type_int32_t int32_t;
34323 #endif
34324 #endif
34325 #endif
34326 EOF
34327 elif test "$ac_cv_type_u_int32_t" = yes; then
34328 sed 's/^ *//' >> tmp-stdint.h <<EOF
34329
34330 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34331 #ifndef _INT8_T
34332 #define _INT8_T
34333 #endif
34334 #ifndef _INT16_T
34335 #define _INT16_T
34336 #endif
34337 #ifndef _INT32_T
34338 #define _INT32_T
34339 #endif
34340
34341 #ifndef _UINT8_T
34342 #define _UINT8_T
34343 #ifndef __uint8_t_defined
34344 #define __uint8_t_defined
34345 #ifndef uint8_t
34346 typedef u_int8_t uint8_t;
34347 #endif
34348 #endif
34349 #endif
34350
34351 #ifndef _UINT16_T
34352 #define _UINT16_T
34353 #ifndef __uint16_t_defined
34354 #define __uint16_t_defined
34355 #ifndef uint16_t
34356 typedef u_int16_t uint16_t;
34357 #endif
34358 #endif
34359 #endif
34360
34361 #ifndef _UINT32_T
34362 #define _UINT32_T
34363 #ifndef __uint32_t_defined
34364 #define __uint32_t_defined
34365 #ifndef uint32_t
34366 typedef u_int32_t uint32_t;
34367 #endif
34368 #endif
34369 #endif
34370 EOF
34371 else
34372 sed 's/^ *//' >> tmp-stdint.h <<EOF
34373
34374 /* Some systems have guard macros to prevent redefinitions, define them. */
34375 #ifndef _INT8_T
34376 #define _INT8_T
34377 #endif
34378 #ifndef _INT16_T
34379 #define _INT16_T
34380 #endif
34381 #ifndef _INT32_T
34382 #define _INT32_T
34383 #endif
34384 #ifndef _UINT8_T
34385 #define _UINT8_T
34386 #endif
34387 #ifndef _UINT16_T
34388 #define _UINT16_T
34389 #endif
34390 #ifndef _UINT32_T
34391 #define _UINT32_T
34392 #endif
34393 EOF
34394 fi
34395
34396 # ------------- done basic int types, emit int64_t types ------------
34397 if test "$ac_cv_type_uint64_t" = yes; then
34398 sed 's/^ *//' >> tmp-stdint.h <<EOF
34399
34400 /* system headers have good uint64_t and int64_t */
34401 #ifndef _INT64_T
34402 #define _INT64_T
34403 #endif
34404 #ifndef _UINT64_T
34405 #define _UINT64_T
34406 #endif
34407 EOF
34408 elif test "$ac_cv_type_u_int64_t" = yes; then
34409 sed 's/^ *//' >> tmp-stdint.h <<EOF
34410
34411 /* system headers have an u_int64_t (and int64_t) */
34412 #ifndef _INT64_T
34413 #define _INT64_T
34414 #endif
34415 #ifndef _UINT64_T
34416 #define _UINT64_T
34417 #ifndef __uint64_t_defined
34418 #define __uint64_t_defined
34419 #ifndef uint64_t
34420 typedef u_int64_t uint64_t;
34421 #endif
34422 #endif
34423 #endif
34424 EOF
34425 elif test -n "$acx_cv_type_int64_t"; then
34426 sed 's/^ *//' >> tmp-stdint.h <<EOF
34427
34428 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34429 #ifndef _INT64_T
34430 #define _INT64_T
34431 #ifndef int64_t
34432 typedef $acx_cv_type_int64_t int64_t;
34433 #endif
34434 #endif
34435 #ifndef _UINT64_T
34436 #define _UINT64_T
34437 #ifndef __uint64_t_defined
34438 #define __uint64_t_defined
34439 #ifndef uint64_t
34440 typedef unsigned $acx_cv_type_int64_t uint64_t;
34441 #endif
34442 #endif
34443 #endif
34444 EOF
34445 else
34446 sed 's/^ *//' >> tmp-stdint.h <<EOF
34447
34448 /* some common heuristics for int64_t, using compiler-specific tests */
34449 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34450 #ifndef _INT64_T
34451 #define _INT64_T
34452 #ifndef __int64_t_defined
34453 #ifndef int64_t
34454 typedef long long int64_t;
34455 #endif
34456 #endif
34457 #endif
34458 #ifndef _UINT64_T
34459 #define _UINT64_T
34460 #ifndef uint64_t
34461 typedef unsigned long long uint64_t;
34462 #endif
34463 #endif
34464
34465 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34466 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34467 does not implement __extension__. But that compiler doesn't define
34468 __GNUC_MINOR__. */
34469 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34470 # define __extension__
34471 # endif
34472
34473 # ifndef _INT64_T
34474 # define _INT64_T
34475 # ifndef int64_t
34476 __extension__ typedef long long int64_t;
34477 # endif
34478 # endif
34479 # ifndef _UINT64_T
34480 # define _UINT64_T
34481 # ifndef uint64_t
34482 __extension__ typedef unsigned long long uint64_t;
34483 # endif
34484 # endif
34485
34486 #elif !defined __STRICT_ANSI__
34487 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34488
34489 # ifndef _INT64_T
34490 # define _INT64_T
34491 # ifndef int64_t
34492 typedef __int64 int64_t;
34493 # endif
34494 # endif
34495 # ifndef _UINT64_T
34496 # define _UINT64_T
34497 # ifndef uint64_t
34498 typedef unsigned __int64 uint64_t;
34499 # endif
34500 # endif
34501 # endif /* compiler */
34502
34503 #endif /* ANSI version */
34504 EOF
34505 fi
34506
34507 # ------------- done int64_t types, emit intptr types ------------
34508 if test "$ac_cv_type_uintptr_t" != yes; then
34509 sed 's/^ *//' >> tmp-stdint.h <<EOF
34510
34511 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34512 #ifndef __uintptr_t_defined
34513 #ifndef uintptr_t
34514 typedef u$acx_cv_type_intptr_t uintptr_t;
34515 #endif
34516 #endif
34517 #ifndef __intptr_t_defined
34518 #ifndef intptr_t
34519 typedef $acx_cv_type_intptr_t intptr_t;
34520 #endif
34521 #endif
34522 EOF
34523 fi
34524
34525 # ------------- done intptr types, emit int_least types ------------
34526 if test "$ac_cv_type_int_least32_t" != yes; then
34527 sed 's/^ *//' >> tmp-stdint.h <<EOF
34528
34529 /* Define int_least types */
34530 typedef int8_t int_least8_t;
34531 typedef int16_t int_least16_t;
34532 typedef int32_t int_least32_t;
34533 #ifdef _INT64_T
34534 typedef int64_t int_least64_t;
34535 #endif
34536
34537 typedef uint8_t uint_least8_t;
34538 typedef uint16_t uint_least16_t;
34539 typedef uint32_t uint_least32_t;
34540 #ifdef _UINT64_T
34541 typedef uint64_t uint_least64_t;
34542 #endif
34543 EOF
34544 fi
34545
34546 # ------------- done intptr types, emit int_fast types ------------
34547 if test "$ac_cv_type_int_fast32_t" != yes; then
34548 sed 's/^ *//' >> tmp-stdint.h <<EOF
34549
34550 /* Define int_fast types. short is often slow */
34551 typedef int8_t int_fast8_t;
34552 typedef int int_fast16_t;
34553 typedef int32_t int_fast32_t;
34554 #ifdef _INT64_T
34555 typedef int64_t int_fast64_t;
34556 #endif
34557
34558 typedef uint8_t uint_fast8_t;
34559 typedef unsigned int uint_fast16_t;
34560 typedef uint32_t uint_fast32_t;
34561 #ifdef _UINT64_T
34562 typedef uint64_t uint_fast64_t;
34563 #endif
34564 EOF
34565 fi
34566
34567 if test "$ac_cv_type_uintmax_t" != yes; then
34568 sed 's/^ *//' >> tmp-stdint.h <<EOF
34569
34570 /* Define intmax based on what we found */
34571 #ifndef intmax_t
34572 #ifdef _INT64_T
34573 typedef int64_t intmax_t;
34574 #else
34575 typedef long intmax_t;
34576 #endif
34577 #endif
34578 #ifndef uintmax_t
34579 #ifdef _UINT64_T
34580 typedef uint64_t uintmax_t;
34581 #else
34582 typedef unsigned long uintmax_t;
34583 #endif
34584 #endif
34585 EOF
34586 fi
34587
34588 sed 's/^ *//' >> tmp-stdint.h <<EOF
34589
34590 #endif /* GCC_GENERATED_STDINT_H */
34591 EOF
34592
34593 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
34594 rm -f tmp-stdint.h
34595 else
34596 mv -f tmp-stdint.h gstdint.h
34597 fi
34598
34599 ;;
34600
34601 esac
34602 done # for ac_tag
34603
34604
34605 as_fn_exit 0
34606 _ACEOF
34607 ac_clean_files=$ac_clean_files_save
34608
34609 test $ac_write_fail = 0 ||
34610 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34611
34612
34613 # configure is writing to config.log, and then calls config.status.
34614 # config.status does its own redirection, appending to config.log.
34615 # Unfortunately, on DOS this fails, as config.log is still kept open
34616 # by configure, so config.status won't be able to write to it; its
34617 # output is simply discarded. So we exec the FD to /dev/null,
34618 # effectively closing config.log, so it can be properly (re)opened and
34619 # appended to by config.status. When coming back to configure, we
34620 # need to make the FD available again.
34621 if test "$no_create" != yes; then
34622 ac_cs_success=:
34623 ac_config_status_args=
34624 test "$silent" = yes &&
34625 ac_config_status_args="$ac_config_status_args --quiet"
34626 exec 5>/dev/null
34627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34628 exec 5>>config.log
34629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34630 # would make configure fail if this is the last instruction.
34631 $ac_cs_success || as_fn_exit 1
34632 fi
34633 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34635 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
34636 fi
34637