genmatch.c (comparison_code_p): New predicate.
[gcc.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
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 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME='libgfortran'
559 PACKAGE_VERSION='0.3'
560 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
563
564 # Factoring default headers for most tests.
565 ac_includes_default="\
566 #include <stdio.h>
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
569 #endif
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
572 #endif
573 #ifdef STDC_HEADERS
574 # include <stdlib.h>
575 # include <stddef.h>
576 #else
577 # ifdef HAVE_STDLIB_H
578 # include <stdlib.h>
579 # endif
580 #endif
581 #ifdef HAVE_STRING_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 # include <memory.h>
584 # endif
585 # include <string.h>
586 #endif
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
589 #endif
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
592 #endif
593 #ifdef HAVE_STDINT_H
594 # include <stdint.h>
595 #endif
596 #ifdef HAVE_UNISTD_H
597 # include <unistd.h>
598 #endif"
599
600 ac_header_list=
601 ac_func_list=
602 ac_c_werror_flag=
603 ac_c_werror_flag=
604 ac_subst_vars='am__EXEEXT_FALSE
605 am__EXEEXT_TRUE
606 LTLIBOBJS
607 LIBOBJS
608 IEEE_FLAGS
609 IEEE_SUPPORT
610 IEEE_SUPPORT_FALSE
611 IEEE_SUPPORT_TRUE
612 FPU_HOST_HEADER
613 LIBGFOR_BUILD_QUAD_FALSE
614 LIBGFOR_BUILD_QUAD_TRUE
615 LIBQUADINCLUDE
616 LIBQUADLIB_DEP
617 LIBQUADLIB
618 LIBQUADSPEC
619 extra_ldflags_libgfortran
620 ac_ct_FC
621 FCFLAGS
622 FC
623 enable_static
624 enable_shared
625 lt_host_flags
626 OTOOL64
627 OTOOL
628 LIPO
629 NMEDIT
630 DSYMUTIL
631 OBJDUMP
632 LN_S
633 NM
634 ac_ct_DUMPBIN
635 DUMPBIN
636 LD
637 FGREP
638 SED
639 LIBTOOL
640 RANLIB
641 AR
642 AS
643 SECTION_FLAGS
644 LIBGFOR_MINIMAL_FALSE
645 LIBGFOR_MINIMAL_TRUE
646 LIBGFOR_USE_SYMVER_SUN_FALSE
647 LIBGFOR_USE_SYMVER_SUN_TRUE
648 LIBGFOR_USE_SYMVER_GNU_FALSE
649 LIBGFOR_USE_SYMVER_GNU_TRUE
650 LIBGFOR_USE_SYMVER_FALSE
651 LIBGFOR_USE_SYMVER_TRUE
652 AM_CFLAGS
653 AM_FCFLAGS
654 toolexeclibdir
655 toolexecdir
656 EGREP
657 GREP
658 CPP
659 am__fastdepCC_FALSE
660 am__fastdepCC_TRUE
661 CCDEPMODE
662 am__nodep
663 AMDEPBACKSLASH
664 AMDEP_FALSE
665 AMDEP_TRUE
666 am__quote
667 am__include
668 DEPDIR
669 OBJEXT
670 EXEEXT
671 ac_ct_CC
672 CPPFLAGS
673 LDFLAGS
674 CFLAGS
675 CC
676 multi_basedir
677 MAINT
678 MAINTAINER_MODE_FALSE
679 MAINTAINER_MODE_TRUE
680 am__untar
681 am__tar
682 AMTAR
683 am__leading_dot
684 SET_MAKE
685 AWK
686 mkdir_p
687 MKDIR_P
688 INSTALL_STRIP_PROGRAM
689 STRIP
690 install_sh
691 MAKEINFO
692 AUTOHEADER
693 AUTOMAKE
694 AUTOCONF
695 ACLOCAL
696 VERSION
697 PACKAGE
698 CYGPATH_W
699 am__isrc
700 INSTALL_DATA
701 INSTALL_SCRIPT
702 INSTALL_PROGRAM
703 target_noncanonical
704 target_os
705 target_vendor
706 target_cpu
707 target
708 host_os
709 host_vendor
710 host_cpu
711 host
712 onestep
713 onestep_FALSE
714 onestep_TRUE
715 target_subdir
716 host_subdir
717 build_subdir
718 build_libsubdir
719 build_os
720 build_vendor
721 build_cpu
722 build
723 target_alias
724 host_alias
725 build_alias
726 LIBS
727 ECHO_T
728 ECHO_N
729 ECHO_C
730 DEFS
731 mandir
732 localedir
733 libdir
734 psdir
735 pdfdir
736 dvidir
737 htmldir
738 infodir
739 docdir
740 oldincludedir
741 includedir
742 localstatedir
743 sharedstatedir
744 sysconfdir
745 datadir
746 datarootdir
747 libexecdir
748 sbindir
749 bindir
750 program_transform_name
751 prefix
752 exec_prefix
753 PACKAGE_URL
754 PACKAGE_BUGREPORT
755 PACKAGE_STRING
756 PACKAGE_VERSION
757 PACKAGE_TARNAME
758 PACKAGE_NAME
759 PATH_SEPARATOR
760 SHELL'
761 ac_subst_files=''
762 ac_user_opts='
763 enable_option_checking
764 with_build_libsubdir
765 enable_version_specific_runtime_libs
766 enable_intermodule
767 enable_maintainer_mode
768 enable_multilib
769 enable_dependency_tracking
770 enable_symvers
771 enable_shared
772 enable_static
773 with_pic
774 enable_fast_install
775 with_gnu_ld
776 enable_libtool_lock
777 enable_largefile
778 enable_libquadmath_support
779 '
780 ac_precious_vars='build_alias
781 host_alias
782 target_alias
783 CC
784 CFLAGS
785 LDFLAGS
786 LIBS
787 CPPFLAGS
788 CPP
789 FC
790 FCFLAGS'
791
792
793 # Initialize some variables set by options.
794 ac_init_help=
795 ac_init_version=false
796 ac_unrecognized_opts=
797 ac_unrecognized_sep=
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
800 cache_file=/dev/null
801 exec_prefix=NONE
802 no_create=
803 no_recursion=
804 prefix=NONE
805 program_prefix=NONE
806 program_suffix=NONE
807 program_transform_name=s,x,x,
808 silent=
809 site=
810 srcdir=
811 verbose=
812 x_includes=NONE
813 x_libraries=NONE
814
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir='${exec_prefix}/bin'
822 sbindir='${exec_prefix}/sbin'
823 libexecdir='${exec_prefix}/libexec'
824 datarootdir='${prefix}/share'
825 datadir='${datarootdir}'
826 sysconfdir='${prefix}/etc'
827 sharedstatedir='${prefix}/com'
828 localstatedir='${prefix}/var'
829 includedir='${prefix}/include'
830 oldincludedir='/usr/include'
831 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir='${datarootdir}/info'
833 htmldir='${docdir}'
834 dvidir='${docdir}'
835 pdfdir='${docdir}'
836 psdir='${docdir}'
837 libdir='${exec_prefix}/lib'
838 localedir='${datarootdir}/locale'
839 mandir='${datarootdir}/man'
840
841 ac_prev=
842 ac_dashdash=
843 for ac_option
844 do
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\$ac_option
848 ac_prev=
849 continue
850 fi
851
852 case $ac_option in
853 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 *) ac_optarg=yes ;;
855 esac
856
857 # Accept the important Cygnus configure options, so we can diagnose typos.
858
859 case $ac_dashdash$ac_option in
860 --)
861 ac_dashdash=yes ;;
862
863 -bindir | --bindir | --bindi | --bind | --bin | --bi)
864 ac_prev=bindir ;;
865 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866 bindir=$ac_optarg ;;
867
868 -build | --build | --buil | --bui | --bu)
869 ac_prev=build_alias ;;
870 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
871 build_alias=$ac_optarg ;;
872
873 -cache-file | --cache-file | --cache-fil | --cache-fi \
874 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
875 ac_prev=cache_file ;;
876 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
877 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
878 cache_file=$ac_optarg ;;
879
880 --config-cache | -C)
881 cache_file=config.cache ;;
882
883 -datadir | --datadir | --datadi | --datad)
884 ac_prev=datadir ;;
885 -datadir=* | --datadir=* | --datadi=* | --datad=*)
886 datadir=$ac_optarg ;;
887
888 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
889 | --dataroo | --dataro | --datar)
890 ac_prev=datarootdir ;;
891 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
892 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
893 datarootdir=$ac_optarg ;;
894
895 -disable-* | --disable-*)
896 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899 as_fn_error "invalid feature name: $ac_useropt"
900 ac_useropt_orig=$ac_useropt
901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
903 *"
904 "enable_$ac_useropt"
905 "*) ;;
906 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep=', ';;
908 esac
909 eval enable_$ac_useropt=no ;;
910
911 -docdir | --docdir | --docdi | --doc | --do)
912 ac_prev=docdir ;;
913 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914 docdir=$ac_optarg ;;
915
916 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917 ac_prev=dvidir ;;
918 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919 dvidir=$ac_optarg ;;
920
921 -enable-* | --enable-*)
922 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925 as_fn_error "invalid feature name: $ac_useropt"
926 ac_useropt_orig=$ac_useropt
927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
929 *"
930 "enable_$ac_useropt"
931 "*) ;;
932 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep=', ';;
934 esac
935 eval enable_$ac_useropt=\$ac_optarg ;;
936
937 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
938 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
939 | --exec | --exe | --ex)
940 ac_prev=exec_prefix ;;
941 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
942 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
943 | --exec=* | --exe=* | --ex=*)
944 exec_prefix=$ac_optarg ;;
945
946 -gas | --gas | --ga | --g)
947 # Obsolete; use --with-gas.
948 with_gas=yes ;;
949
950 -help | --help | --hel | --he | -h)
951 ac_init_help=long ;;
952 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
953 ac_init_help=recursive ;;
954 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
955 ac_init_help=short ;;
956
957 -host | --host | --hos | --ho)
958 ac_prev=host_alias ;;
959 -host=* | --host=* | --hos=* | --ho=*)
960 host_alias=$ac_optarg ;;
961
962 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
963 ac_prev=htmldir ;;
964 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
965 | --ht=*)
966 htmldir=$ac_optarg ;;
967
968 -includedir | --includedir | --includedi | --included | --include \
969 | --includ | --inclu | --incl | --inc)
970 ac_prev=includedir ;;
971 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
972 | --includ=* | --inclu=* | --incl=* | --inc=*)
973 includedir=$ac_optarg ;;
974
975 -infodir | --infodir | --infodi | --infod | --info | --inf)
976 ac_prev=infodir ;;
977 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
978 infodir=$ac_optarg ;;
979
980 -libdir | --libdir | --libdi | --libd)
981 ac_prev=libdir ;;
982 -libdir=* | --libdir=* | --libdi=* | --libd=*)
983 libdir=$ac_optarg ;;
984
985 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
986 | --libexe | --libex | --libe)
987 ac_prev=libexecdir ;;
988 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
989 | --libexe=* | --libex=* | --libe=*)
990 libexecdir=$ac_optarg ;;
991
992 -localedir | --localedir | --localedi | --localed | --locale)
993 ac_prev=localedir ;;
994 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
995 localedir=$ac_optarg ;;
996
997 -localstatedir | --localstatedir | --localstatedi | --localstated \
998 | --localstate | --localstat | --localsta | --localst | --locals)
999 ac_prev=localstatedir ;;
1000 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1001 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1002 localstatedir=$ac_optarg ;;
1003
1004 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1005 ac_prev=mandir ;;
1006 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1007 mandir=$ac_optarg ;;
1008
1009 -nfp | --nfp | --nf)
1010 # Obsolete; use --without-fp.
1011 with_fp=no ;;
1012
1013 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1014 | --no-cr | --no-c | -n)
1015 no_create=yes ;;
1016
1017 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1018 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019 no_recursion=yes ;;
1020
1021 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1022 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1023 | --oldin | --oldi | --old | --ol | --o)
1024 ac_prev=oldincludedir ;;
1025 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1026 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1027 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1028 oldincludedir=$ac_optarg ;;
1029
1030 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1031 ac_prev=prefix ;;
1032 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1033 prefix=$ac_optarg ;;
1034
1035 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1036 | --program-pre | --program-pr | --program-p)
1037 ac_prev=program_prefix ;;
1038 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1039 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1040 program_prefix=$ac_optarg ;;
1041
1042 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1043 | --program-suf | --program-su | --program-s)
1044 ac_prev=program_suffix ;;
1045 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1046 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1047 program_suffix=$ac_optarg ;;
1048
1049 -program-transform-name | --program-transform-name \
1050 | --program-transform-nam | --program-transform-na \
1051 | --program-transform-n | --program-transform- \
1052 | --program-transform | --program-transfor \
1053 | --program-transfo | --program-transf \
1054 | --program-trans | --program-tran \
1055 | --progr-tra | --program-tr | --program-t)
1056 ac_prev=program_transform_name ;;
1057 -program-transform-name=* | --program-transform-name=* \
1058 | --program-transform-nam=* | --program-transform-na=* \
1059 | --program-transform-n=* | --program-transform-=* \
1060 | --program-transform=* | --program-transfor=* \
1061 | --program-transfo=* | --program-transf=* \
1062 | --program-trans=* | --program-tran=* \
1063 | --progr-tra=* | --program-tr=* | --program-t=*)
1064 program_transform_name=$ac_optarg ;;
1065
1066 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1067 ac_prev=pdfdir ;;
1068 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1069 pdfdir=$ac_optarg ;;
1070
1071 -psdir | --psdir | --psdi | --psd | --ps)
1072 ac_prev=psdir ;;
1073 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1074 psdir=$ac_optarg ;;
1075
1076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1077 | -silent | --silent | --silen | --sile | --sil)
1078 silent=yes ;;
1079
1080 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1081 ac_prev=sbindir ;;
1082 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1083 | --sbi=* | --sb=*)
1084 sbindir=$ac_optarg ;;
1085
1086 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1087 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1088 | --sharedst | --shareds | --shared | --share | --shar \
1089 | --sha | --sh)
1090 ac_prev=sharedstatedir ;;
1091 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1092 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1093 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1094 | --sha=* | --sh=*)
1095 sharedstatedir=$ac_optarg ;;
1096
1097 -site | --site | --sit)
1098 ac_prev=site ;;
1099 -site=* | --site=* | --sit=*)
1100 site=$ac_optarg ;;
1101
1102 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1103 ac_prev=srcdir ;;
1104 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1105 srcdir=$ac_optarg ;;
1106
1107 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1108 | --syscon | --sysco | --sysc | --sys | --sy)
1109 ac_prev=sysconfdir ;;
1110 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1111 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1112 sysconfdir=$ac_optarg ;;
1113
1114 -target | --target | --targe | --targ | --tar | --ta | --t)
1115 ac_prev=target_alias ;;
1116 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1117 target_alias=$ac_optarg ;;
1118
1119 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1120 verbose=yes ;;
1121
1122 -version | --version | --versio | --versi | --vers | -V)
1123 ac_init_version=: ;;
1124
1125 -with-* | --with-*)
1126 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129 as_fn_error "invalid package name: $ac_useropt"
1130 ac_useropt_orig=$ac_useropt
1131 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1133 *"
1134 "with_$ac_useropt"
1135 "*) ;;
1136 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep=', ';;
1138 esac
1139 eval with_$ac_useropt=\$ac_optarg ;;
1140
1141 -without-* | --without-*)
1142 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145 as_fn_error "invalid package name: $ac_useropt"
1146 ac_useropt_orig=$ac_useropt
1147 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1149 *"
1150 "with_$ac_useropt"
1151 "*) ;;
1152 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep=', ';;
1154 esac
1155 eval with_$ac_useropt=no ;;
1156
1157 --x)
1158 # Obsolete; use --with-x.
1159 with_x=yes ;;
1160
1161 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1162 | --x-incl | --x-inc | --x-in | --x-i)
1163 ac_prev=x_includes ;;
1164 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1165 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1166 x_includes=$ac_optarg ;;
1167
1168 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1169 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1170 ac_prev=x_libraries ;;
1171 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1172 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1173 x_libraries=$ac_optarg ;;
1174
1175 -*) as_fn_error "unrecognized option: \`$ac_option'
1176 Try \`$0 --help' for more information."
1177 ;;
1178
1179 *=*)
1180 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 case $ac_envvar in #(
1183 '' | [0-9]* | *[!_$as_cr_alnum]* )
1184 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1185 esac
1186 eval $ac_envvar=\$ac_optarg
1187 export $ac_envvar ;;
1188
1189 *)
1190 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1195 ;;
1196
1197 esac
1198 done
1199
1200 if test -n "$ac_prev"; then
1201 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1202 as_fn_error "missing argument to $ac_option"
1203 fi
1204
1205 if test -n "$ac_unrecognized_opts"; then
1206 case $enable_option_checking in
1207 no) ;;
1208 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210 esac
1211 fi
1212
1213 # Check all directory arguments for consistency.
1214 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215 datadir sysconfdir sharedstatedir localstatedir includedir \
1216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1218 do
1219 eval ac_val=\$$ac_var
1220 # Remove trailing slashes.
1221 case $ac_val in
1222 */ )
1223 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\$ac_val;;
1225 esac
1226 # Be sure to have absolute directory names.
1227 case $ac_val in
1228 [\\/$]* | ?:[\\/]* ) continue;;
1229 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1230 esac
1231 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1232 done
1233
1234 # There might be people who depend on the old broken behavior: `$host'
1235 # used to hold the argument of --host etc.
1236 # FIXME: To remove some day.
1237 build=$build_alias
1238 host=$host_alias
1239 target=$target_alias
1240
1241 # FIXME: To remove some day.
1242 if test "x$host_alias" != x; then
1243 if test "x$build_alias" = x; then
1244 cross_compiling=maybe
1245 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1246 If a cross compiler is detected then cross compile mode will be used." >&2
1247 elif test "x$build_alias" != "x$host_alias"; then
1248 cross_compiling=yes
1249 fi
1250 fi
1251
1252 ac_tool_prefix=
1253 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1254
1255 test "$silent" = yes && exec 6>/dev/null
1256
1257
1258 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1259 ac_ls_di=`ls -di .` &&
1260 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1261 as_fn_error "working directory cannot be determined"
1262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263 as_fn_error "pwd does not report name of working directory"
1264
1265
1266 # Find the source files, if location was not specified.
1267 if test -z "$srcdir"; then
1268 ac_srcdir_defaulted=yes
1269 # Try the directory containing this script, then the parent directory.
1270 ac_confdir=`$as_dirname -- "$as_myself" ||
1271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272 X"$as_myself" : 'X\(//\)[^/]' \| \
1273 X"$as_myself" : 'X\(//\)$' \| \
1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275 $as_echo X"$as_myself" |
1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 s//\1/
1278 q
1279 }
1280 /^X\(\/\/\)[^/].*/{
1281 s//\1/
1282 q
1283 }
1284 /^X\(\/\/\)$/{
1285 s//\1/
1286 q
1287 }
1288 /^X\(\/\).*/{
1289 s//\1/
1290 q
1291 }
1292 s/.*/./; q'`
1293 srcdir=$ac_confdir
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295 srcdir=..
1296 fi
1297 else
1298 ac_srcdir_defaulted=no
1299 fi
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1301 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1302 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1303 fi
1304 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1305 ac_abs_confdir=`(
1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1307 pwd)`
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1310 srcdir=.
1311 fi
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1315 case $srcdir in
1316 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317 esac
1318 for ac_var in $ac_precious_vars; do
1319 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_${ac_var}_value=\$${ac_var}
1321 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1323 done
1324
1325 #
1326 # Report the --help message.
1327 #
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1331 cat <<_ACEOF
1332 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1333
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1335
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1338
1339 Defaults for the options are specified in brackets.
1340
1341 Configuration:
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1351
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1356 [PREFIX]
1357
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1362
1363 For better control, use the options below.
1364
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1385 _ACEOF
1386
1387 cat <<\_ACEOF
1388
1389 Program names:
1390 --program-prefix=PREFIX prepend PREFIX to installed program names
1391 --program-suffix=SUFFIX append SUFFIX to installed program names
1392 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1393
1394 System types:
1395 --build=BUILD configure for building on BUILD [guessed]
1396 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1397 --target=TARGET configure for building compilers for TARGET [HOST]
1398 _ACEOF
1399 fi
1400
1401 if test -n "$ac_init_help"; then
1402 case $ac_init_help in
1403 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1404 esac
1405 cat <<\_ACEOF
1406
1407 Optional Features:
1408 --disable-option-checking ignore unrecognized --enable/--with options
1409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1411 --enable-version-specific-runtime-libs
1412 specify that runtime libraries should be installed
1413 in a compiler-specific directory
1414 --enable-intermodule build the library in one step
1415 --enable-maintainer-mode enable make rules and dependencies not useful
1416 (and sometimes confusing) to the casual installer
1417 --enable-multilib build many library versions (default)
1418 --disable-dependency-tracking speeds up one-time build
1419 --enable-dependency-tracking do not reject slow dependency extractors
1420 --disable-symvers disable symbol versioning for libgfortran
1421 --enable-shared[=PKGS] build shared libraries [default=yes]
1422 --enable-static[=PKGS] build static libraries [default=yes]
1423 --enable-fast-install[=PKGS]
1424 optimize for fast installation [default=yes]
1425 --disable-libtool-lock avoid locking (might break parallel builds)
1426 --disable-largefile omit support for large files
1427 --disable-libquadmath-support
1428 disable libquadmath support for Fortran
1429
1430 Optional Packages:
1431 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1432 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1433 --with-build-libsubdir=DIR Directory where to find libraries for build system
1434 --with-pic try to use only PIC/non-PIC objects [default=use
1435 both]
1436 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1437
1438 Some influential environment variables:
1439 CC C compiler command
1440 CFLAGS C compiler flags
1441 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1442 nonstandard directory <lib dir>
1443 LIBS libraries to pass to the linker, e.g. -l<library>
1444 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1445 you have headers in a nonstandard directory <include dir>
1446 CPP C preprocessor
1447 FC Fortran compiler command
1448 FCFLAGS Fortran compiler flags
1449
1450 Use these variables to override the choices made by `configure' or to help
1451 it to find libraries and programs with nonstandard names/locations.
1452
1453 Report bugs to the package provider.
1454 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1455 General help using GNU software: <http://www.gnu.org/gethelp/>.
1456 _ACEOF
1457 ac_status=$?
1458 fi
1459
1460 if test "$ac_init_help" = "recursive"; then
1461 # If there are subdirs, report their specific --help.
1462 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1463 test -d "$ac_dir" ||
1464 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1465 continue
1466 ac_builddir=.
1467
1468 case "$ac_dir" in
1469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470 *)
1471 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1472 # A ".." for each directory in $ac_dir_suffix.
1473 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1474 case $ac_top_builddir_sub in
1475 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1477 esac ;;
1478 esac
1479 ac_abs_top_builddir=$ac_pwd
1480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1481 # for backward compatibility:
1482 ac_top_builddir=$ac_top_build_prefix
1483
1484 case $srcdir in
1485 .) # We are building in place.
1486 ac_srcdir=.
1487 ac_top_srcdir=$ac_top_builddir_sub
1488 ac_abs_top_srcdir=$ac_pwd ;;
1489 [\\/]* | ?:[\\/]* ) # Absolute name.
1490 ac_srcdir=$srcdir$ac_dir_suffix;
1491 ac_top_srcdir=$srcdir
1492 ac_abs_top_srcdir=$srcdir ;;
1493 *) # Relative name.
1494 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1495 ac_top_srcdir=$ac_top_build_prefix$srcdir
1496 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1497 esac
1498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1499
1500 cd "$ac_dir" || { ac_status=$?; continue; }
1501 # Check for guested configure.
1502 if test -f "$ac_srcdir/configure.gnu"; then
1503 echo &&
1504 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1505 elif test -f "$ac_srcdir/configure"; then
1506 echo &&
1507 $SHELL "$ac_srcdir/configure" --help=recursive
1508 else
1509 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1510 fi || ac_status=$?
1511 cd "$ac_pwd" || { ac_status=$?; break; }
1512 done
1513 fi
1514
1515 test -n "$ac_init_help" && exit $ac_status
1516 if $ac_init_version; then
1517 cat <<\_ACEOF
1518 GNU Fortran Runtime Library configure 0.3
1519 generated by GNU Autoconf 2.64
1520
1521 Copyright (C) 2009 Free Software Foundation, Inc.
1522 This configure script is free software; the Free Software Foundation
1523 gives unlimited permission to copy, distribute and modify it.
1524 _ACEOF
1525 exit
1526 fi
1527
1528 ## ------------------------ ##
1529 ## Autoconf initialization. ##
1530 ## ------------------------ ##
1531
1532 # ac_fn_c_try_compile LINENO
1533 # --------------------------
1534 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1535 ac_fn_c_try_compile ()
1536 {
1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538 rm -f conftest.$ac_objext
1539 if { { ac_try="$ac_compile"
1540 case "(($ac_try" in
1541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1542 *) ac_try_echo=$ac_try;;
1543 esac
1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545 $as_echo "$ac_try_echo"; } >&5
1546 (eval "$ac_compile") 2>conftest.err
1547 ac_status=$?
1548 if test -s conftest.err; then
1549 grep -v '^ *+' conftest.err >conftest.er1
1550 cat conftest.er1 >&5
1551 mv -f conftest.er1 conftest.err
1552 fi
1553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554 test $ac_status = 0; } && {
1555 test -z "$ac_c_werror_flag" ||
1556 test ! -s conftest.err
1557 } && test -s conftest.$ac_objext; then :
1558 ac_retval=0
1559 else
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.$ac_ext >&5
1562
1563 ac_retval=1
1564 fi
1565 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1566 return $ac_retval
1567
1568 } # ac_fn_c_try_compile
1569
1570 # ac_fn_c_try_cpp LINENO
1571 # ----------------------
1572 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1573 ac_fn_c_try_cpp ()
1574 {
1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576 if { { ac_try="$ac_cpp conftest.$ac_ext"
1577 case "(($ac_try" in
1578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1579 *) ac_try_echo=$ac_try;;
1580 esac
1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582 $as_echo "$ac_try_echo"; } >&5
1583 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1584 ac_status=$?
1585 if test -s conftest.err; then
1586 grep -v '^ *+' conftest.err >conftest.er1
1587 cat conftest.er1 >&5
1588 mv -f conftest.er1 conftest.err
1589 fi
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; } >/dev/null && {
1592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1593 test ! -s conftest.err
1594 }; then :
1595 ac_retval=0
1596 else
1597 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.$ac_ext >&5
1599
1600 ac_retval=1
1601 fi
1602 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1603 return $ac_retval
1604
1605 } # ac_fn_c_try_cpp
1606
1607 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1608 # -------------------------------------------------------
1609 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1610 # the include files in INCLUDES and setting the cache variable VAR
1611 # accordingly.
1612 ac_fn_c_check_header_mongrel ()
1613 {
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1619 $as_echo_n "(cached) " >&6
1620 fi
1621 eval ac_res=\$$3
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623 $as_echo "$ac_res" >&6; }
1624 else
1625 # Is the header compilable?
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1627 $as_echo_n "checking $2 usability... " >&6; }
1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1630 $4
1631 #include <$2>
1632 _ACEOF
1633 if ac_fn_c_try_compile "$LINENO"; then :
1634 ac_header_compiler=yes
1635 else
1636 ac_header_compiler=no
1637 fi
1638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1640 $as_echo "$ac_header_compiler" >&6; }
1641
1642 # Is the header present?
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1644 $as_echo_n "checking $2 presence... " >&6; }
1645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1647 #include <$2>
1648 _ACEOF
1649 if ac_fn_c_try_cpp "$LINENO"; then :
1650 ac_header_preproc=yes
1651 else
1652 ac_header_preproc=no
1653 fi
1654 rm -f conftest.err conftest.$ac_ext
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1656 $as_echo "$ac_header_preproc" >&6; }
1657
1658 # So? What about this header?
1659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1660 yes:no: )
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1662 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1664 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1665 ;;
1666 no:yes:* )
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1668 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1670 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1672 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1674 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1677 ;;
1678 esac
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 $as_echo_n "(cached) " >&6
1683 else
1684 eval "$3=\$ac_header_compiler"
1685 fi
1686 eval ac_res=\$$3
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1689 fi
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1691
1692 } # ac_fn_c_check_header_mongrel
1693
1694 # ac_fn_c_try_run LINENO
1695 # ----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1697 # that executables *can* be run.
1698 ac_fn_c_try_run ()
1699 {
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if { { ac_try="$ac_link"
1702 case "(($ac_try" in
1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1705 esac
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>&5
1709 ac_status=$?
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1712 { { case "(($ac_try" in
1713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1714 *) ac_try_echo=$ac_try;;
1715 esac
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_try") 2>&5
1719 ac_status=$?
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; }; }; then :
1722 ac_retval=0
1723 else
1724 $as_echo "$as_me: program exited with status $ac_status" >&5
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.$ac_ext >&5
1727
1728 ac_retval=$ac_status
1729 fi
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 return $ac_retval
1733
1734 } # ac_fn_c_try_run
1735
1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists and can be compiled using the include files in
1739 # INCLUDES, setting the cache variable VAR accordingly.
1740 ac_fn_c_check_header_compile ()
1741 {
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1746 $as_echo_n "(cached) " >&6
1747 else
1748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1750 $4
1751 #include <$2>
1752 _ACEOF
1753 if ac_fn_c_try_compile "$LINENO"; then :
1754 eval "$3=yes"
1755 else
1756 eval "$3=no"
1757 fi
1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1759 fi
1760 eval ac_res=\$$3
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1764
1765 } # ac_fn_c_check_header_compile
1766
1767 # ac_fn_c_try_link LINENO
1768 # -----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_link ()
1771 {
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 rm -f conftest.$ac_objext conftest$ac_exeext
1774 if { { ac_try="$ac_link"
1775 case "(($ac_try" in
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1778 esac
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>conftest.err
1782 ac_status=$?
1783 if test -s conftest.err; then
1784 grep -v '^ *+' conftest.err >conftest.er1
1785 cat conftest.er1 >&5
1786 mv -f conftest.er1 conftest.err
1787 fi
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } && {
1790 test -z "$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1792 } && test -s conftest$ac_exeext && {
1793 test "$cross_compiling" = yes ||
1794 $as_test_x conftest$ac_exeext
1795 }; then :
1796 ac_retval=0
1797 else
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1800
1801 ac_retval=1
1802 fi
1803 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1804 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1805 # interfere with the next link command; also delete a directory that is
1806 # left behind by Apple's compiler. We do this before executing the actions.
1807 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1809 return $ac_retval
1810
1811 } # ac_fn_c_try_link
1812
1813 # ac_fn_c_check_func LINENO FUNC VAR
1814 # ----------------------------------
1815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1816 ac_fn_c_check_func ()
1817 {
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1822 $as_echo_n "(cached) " >&6
1823 else
1824 if test x$gcc_no_link = xyes; then
1825 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1826 fi
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1829 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1831 #define $2 innocuous_$2
1832
1833 /* System header to define __stub macros and hopefully few prototypes,
1834 which can conflict with char $2 (); below.
1835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1836 <limits.h> exists even on freestanding compilers. */
1837
1838 #ifdef __STDC__
1839 # include <limits.h>
1840 #else
1841 # include <assert.h>
1842 #endif
1843
1844 #undef $2
1845
1846 /* Override any GCC internal prototype to avoid an error.
1847 Use char because int might match the return type of a GCC
1848 builtin and then its argument prototype would still apply. */
1849 #ifdef __cplusplus
1850 extern "C"
1851 #endif
1852 char $2 ();
1853 /* The GNU C library defines this for functions which it implements
1854 to always fail with ENOSYS. Some functions are actually named
1855 something starting with __ and the normal name is an alias. */
1856 #if defined __stub_$2 || defined __stub___$2
1857 choke me
1858 #endif
1859
1860 int
1861 main ()
1862 {
1863 return $2 ();
1864 ;
1865 return 0;
1866 }
1867 _ACEOF
1868 if ac_fn_c_try_link "$LINENO"; then :
1869 eval "$3=yes"
1870 else
1871 eval "$3=no"
1872 fi
1873 rm -f core conftest.err conftest.$ac_objext \
1874 conftest$ac_exeext conftest.$ac_ext
1875 fi
1876 eval ac_res=\$$3
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880
1881 } # ac_fn_c_check_func
1882
1883 # ac_fn_fc_try_compile LINENO
1884 # ---------------------------
1885 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1886 ac_fn_fc_try_compile ()
1887 {
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 rm -f conftest.$ac_objext
1890 if { { ac_try="$ac_compile"
1891 case "(($ac_try" in
1892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1893 *) ac_try_echo=$ac_try;;
1894 esac
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897 (eval "$ac_compile") 2>conftest.err
1898 ac_status=$?
1899 if test -s conftest.err; then
1900 grep -v '^ *+' conftest.err >conftest.er1
1901 cat conftest.er1 >&5
1902 mv -f conftest.er1 conftest.err
1903 fi
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && {
1906 test -z "$ac_fc_werror_flag" ||
1907 test ! -s conftest.err
1908 } && test -s conftest.$ac_objext; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1913
1914 ac_retval=1
1915 fi
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1917 return $ac_retval
1918
1919 } # ac_fn_fc_try_compile
1920
1921 # ac_fn_fc_try_link LINENO
1922 # ------------------------
1923 # Try to link conftest.$ac_ext, and return whether this succeeded.
1924 ac_fn_fc_try_link ()
1925 {
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 rm -f conftest.$ac_objext conftest$ac_exeext
1928 if { { ac_try="$ac_link"
1929 case "(($ac_try" in
1930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1931 *) ac_try_echo=$ac_try;;
1932 esac
1933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 $as_echo "$ac_try_echo"; } >&5
1935 (eval "$ac_link") 2>conftest.err
1936 ac_status=$?
1937 if test -s conftest.err; then
1938 grep -v '^ *+' conftest.err >conftest.er1
1939 cat conftest.er1 >&5
1940 mv -f conftest.er1 conftest.err
1941 fi
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; } && {
1944 test -z "$ac_fc_werror_flag" ||
1945 test ! -s conftest.err
1946 } && test -s conftest$ac_exeext && {
1947 test "$cross_compiling" = yes ||
1948 $as_test_x conftest$ac_exeext
1949 }; then :
1950 ac_retval=0
1951 else
1952 $as_echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.$ac_ext >&5
1954
1955 ac_retval=1
1956 fi
1957 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1958 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1959 # interfere with the next link command; also delete a directory that is
1960 # left behind by Apple's compiler. We do this before executing the actions.
1961 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1962 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1963 return $ac_retval
1964
1965 } # ac_fn_fc_try_link
1966
1967 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1968 # -------------------------------------------
1969 # Tests whether TYPE exists after having included INCLUDES, setting cache
1970 # variable VAR accordingly.
1971 ac_fn_c_check_type ()
1972 {
1973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975 $as_echo_n "checking for $2... " >&6; }
1976 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1977 $as_echo_n "(cached) " >&6
1978 else
1979 eval "$3=no"
1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h. */
1982 $4
1983 int
1984 main ()
1985 {
1986 if (sizeof ($2))
1987 return 0;
1988 ;
1989 return 0;
1990 }
1991 _ACEOF
1992 if ac_fn_c_try_compile "$LINENO"; then :
1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1995 $4
1996 int
1997 main ()
1998 {
1999 if (sizeof (($2)))
2000 return 0;
2001 ;
2002 return 0;
2003 }
2004 _ACEOF
2005 if ac_fn_c_try_compile "$LINENO"; then :
2006
2007 else
2008 eval "$3=yes"
2009 fi
2010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011 fi
2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013 fi
2014 eval ac_res=\$$3
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 $as_echo "$ac_res" >&6; }
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2018
2019 } # ac_fn_c_check_type
2020
2021 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2022 # --------------------------------------------
2023 # Tries to find the compile-time value of EXPR in a program that includes
2024 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2025 # computed
2026 ac_fn_c_compute_int ()
2027 {
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 if test "$cross_compiling" = yes; then
2030 # Depending upon the size, compute the lo and hi bounds.
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2033 $4
2034 int
2035 main ()
2036 {
2037 static int test_array [1 - 2 * !(($2) >= 0)];
2038 test_array [0] = 0
2039
2040 ;
2041 return 0;
2042 }
2043 _ACEOF
2044 if ac_fn_c_try_compile "$LINENO"; then :
2045 ac_lo=0 ac_mid=0
2046 while :; do
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2049 $4
2050 int
2051 main ()
2052 {
2053 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2054 test_array [0] = 0
2055
2056 ;
2057 return 0;
2058 }
2059 _ACEOF
2060 if ac_fn_c_try_compile "$LINENO"; then :
2061 ac_hi=$ac_mid; break
2062 else
2063 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2064 if test $ac_lo -le $ac_mid; then
2065 ac_lo= ac_hi=
2066 break
2067 fi
2068 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2069 fi
2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2071 done
2072 else
2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2075 $4
2076 int
2077 main ()
2078 {
2079 static int test_array [1 - 2 * !(($2) < 0)];
2080 test_array [0] = 0
2081
2082 ;
2083 return 0;
2084 }
2085 _ACEOF
2086 if ac_fn_c_try_compile "$LINENO"; then :
2087 ac_hi=-1 ac_mid=-1
2088 while :; do
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2091 $4
2092 int
2093 main ()
2094 {
2095 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2096 test_array [0] = 0
2097
2098 ;
2099 return 0;
2100 }
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103 ac_lo=$ac_mid; break
2104 else
2105 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2106 if test $ac_mid -le $ac_hi; then
2107 ac_lo= ac_hi=
2108 break
2109 fi
2110 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2111 fi
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 done
2114 else
2115 ac_lo= ac_hi=
2116 fi
2117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2118 fi
2119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2120 # Binary search between lo and hi bounds.
2121 while test "x$ac_lo" != "x$ac_hi"; do
2122 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2125 $4
2126 int
2127 main ()
2128 {
2129 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2130 test_array [0] = 0
2131
2132 ;
2133 return 0;
2134 }
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137 ac_hi=$ac_mid
2138 else
2139 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2140 fi
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2142 done
2143 case $ac_lo in #((
2144 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2145 '') ac_retval=1 ;;
2146 esac
2147 else
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2150 $4
2151 static long int longval () { return $2; }
2152 static unsigned long int ulongval () { return $2; }
2153 #include <stdio.h>
2154 #include <stdlib.h>
2155 int
2156 main ()
2157 {
2158
2159 FILE *f = fopen ("conftest.val", "w");
2160 if (! f)
2161 return 1;
2162 if (($2) < 0)
2163 {
2164 long int i = longval ();
2165 if (i != ($2))
2166 return 1;
2167 fprintf (f, "%ld", i);
2168 }
2169 else
2170 {
2171 unsigned long int i = ulongval ();
2172 if (i != ($2))
2173 return 1;
2174 fprintf (f, "%lu", i);
2175 }
2176 /* Do not output a trailing newline, as this causes \r\n confusion
2177 on some platforms. */
2178 return ferror (f) || fclose (f) != 0;
2179
2180 ;
2181 return 0;
2182 }
2183 _ACEOF
2184 if ac_fn_c_try_run "$LINENO"; then :
2185 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2186 else
2187 ac_retval=1
2188 fi
2189 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2190 conftest.$ac_objext conftest.beam conftest.$ac_ext
2191 rm -f conftest.val
2192
2193 fi
2194 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2195 return $ac_retval
2196
2197 } # ac_fn_c_compute_int
2198
2199 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2200 # ----------------------------------------------------
2201 # Tries to find if the field MEMBER exists in type AGGR, after including
2202 # INCLUDES, setting cache variable VAR accordingly.
2203 ac_fn_c_check_member ()
2204 {
2205 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2207 $as_echo_n "checking for $2.$3... " >&6; }
2208 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2209 $as_echo_n "(cached) " >&6
2210 else
2211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2212 /* end confdefs.h. */
2213 $5
2214 int
2215 main ()
2216 {
2217 static $2 ac_aggr;
2218 if (ac_aggr.$3)
2219 return 0;
2220 ;
2221 return 0;
2222 }
2223 _ACEOF
2224 if ac_fn_c_try_compile "$LINENO"; then :
2225 eval "$4=yes"
2226 else
2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2228 /* end confdefs.h. */
2229 $5
2230 int
2231 main ()
2232 {
2233 static $2 ac_aggr;
2234 if (sizeof ac_aggr.$3)
2235 return 0;
2236 ;
2237 return 0;
2238 }
2239 _ACEOF
2240 if ac_fn_c_try_compile "$LINENO"; then :
2241 eval "$4=yes"
2242 else
2243 eval "$4=no"
2244 fi
2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2246 fi
2247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2248 fi
2249 eval ac_res=\$$4
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2253
2254 } # ac_fn_c_check_member
2255 cat >config.log <<_ACEOF
2256 This file contains any messages produced by compilers while
2257 running configure, to aid debugging if configure makes a mistake.
2258
2259 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2260 generated by GNU Autoconf 2.64. Invocation command line was
2261
2262 $ $0 $@
2263
2264 _ACEOF
2265 exec 5>>config.log
2266 {
2267 cat <<_ASUNAME
2268 ## --------- ##
2269 ## Platform. ##
2270 ## --------- ##
2271
2272 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2273 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2274 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2275 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2276 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2277
2278 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2279 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2280
2281 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2282 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2283 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2284 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2285 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2286 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2287 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2288
2289 _ASUNAME
2290
2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 for as_dir in $PATH
2293 do
2294 IFS=$as_save_IFS
2295 test -z "$as_dir" && as_dir=.
2296 $as_echo "PATH: $as_dir"
2297 done
2298 IFS=$as_save_IFS
2299
2300 } >&5
2301
2302 cat >&5 <<_ACEOF
2303
2304
2305 ## ----------- ##
2306 ## Core tests. ##
2307 ## ----------- ##
2308
2309 _ACEOF
2310
2311
2312 # Keep a trace of the command line.
2313 # Strip out --no-create and --no-recursion so they do not pile up.
2314 # Strip out --silent because we don't want to record it for future runs.
2315 # Also quote any args containing shell meta-characters.
2316 # Make two passes to allow for proper duplicate-argument suppression.
2317 ac_configure_args=
2318 ac_configure_args0=
2319 ac_configure_args1=
2320 ac_must_keep_next=false
2321 for ac_pass in 1 2
2322 do
2323 for ac_arg
2324 do
2325 case $ac_arg in
2326 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2328 | -silent | --silent | --silen | --sile | --sil)
2329 continue ;;
2330 *\'*)
2331 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2332 esac
2333 case $ac_pass in
2334 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2335 2)
2336 as_fn_append ac_configure_args1 " '$ac_arg'"
2337 if test $ac_must_keep_next = true; then
2338 ac_must_keep_next=false # Got value, back to normal.
2339 else
2340 case $ac_arg in
2341 *=* | --config-cache | -C | -disable-* | --disable-* \
2342 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2343 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2344 | -with-* | --with-* | -without-* | --without-* | --x)
2345 case "$ac_configure_args0 " in
2346 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2347 esac
2348 ;;
2349 -* ) ac_must_keep_next=true ;;
2350 esac
2351 fi
2352 as_fn_append ac_configure_args " '$ac_arg'"
2353 ;;
2354 esac
2355 done
2356 done
2357 { ac_configure_args0=; unset ac_configure_args0;}
2358 { ac_configure_args1=; unset ac_configure_args1;}
2359
2360 # When interrupted or exit'd, cleanup temporary files, and complete
2361 # config.log. We remove comments because anyway the quotes in there
2362 # would cause problems or look ugly.
2363 # WARNING: Use '\'' to represent an apostrophe within the trap.
2364 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2365 trap 'exit_status=$?
2366 # Save into config.log some information that might help in debugging.
2367 {
2368 echo
2369
2370 cat <<\_ASBOX
2371 ## ---------------- ##
2372 ## Cache variables. ##
2373 ## ---------------- ##
2374 _ASBOX
2375 echo
2376 # The following way of writing the cache mishandles newlines in values,
2377 (
2378 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2379 eval ac_val=\$$ac_var
2380 case $ac_val in #(
2381 *${as_nl}*)
2382 case $ac_var in #(
2383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2385 esac
2386 case $ac_var in #(
2387 _ | IFS | as_nl) ;; #(
2388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2389 *) { eval $ac_var=; unset $ac_var;} ;;
2390 esac ;;
2391 esac
2392 done
2393 (set) 2>&1 |
2394 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2395 *${as_nl}ac_space=\ *)
2396 sed -n \
2397 "s/'\''/'\''\\\\'\'''\''/g;
2398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2399 ;; #(
2400 *)
2401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2402 ;;
2403 esac |
2404 sort
2405 )
2406 echo
2407
2408 cat <<\_ASBOX
2409 ## ----------------- ##
2410 ## Output variables. ##
2411 ## ----------------- ##
2412 _ASBOX
2413 echo
2414 for ac_var in $ac_subst_vars
2415 do
2416 eval ac_val=\$$ac_var
2417 case $ac_val in
2418 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2419 esac
2420 $as_echo "$ac_var='\''$ac_val'\''"
2421 done | sort
2422 echo
2423
2424 if test -n "$ac_subst_files"; then
2425 cat <<\_ASBOX
2426 ## ------------------- ##
2427 ## File substitutions. ##
2428 ## ------------------- ##
2429 _ASBOX
2430 echo
2431 for ac_var in $ac_subst_files
2432 do
2433 eval ac_val=\$$ac_var
2434 case $ac_val in
2435 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2436 esac
2437 $as_echo "$ac_var='\''$ac_val'\''"
2438 done | sort
2439 echo
2440 fi
2441
2442 if test -s confdefs.h; then
2443 cat <<\_ASBOX
2444 ## ----------- ##
2445 ## confdefs.h. ##
2446 ## ----------- ##
2447 _ASBOX
2448 echo
2449 cat confdefs.h
2450 echo
2451 fi
2452 test "$ac_signal" != 0 &&
2453 $as_echo "$as_me: caught signal $ac_signal"
2454 $as_echo "$as_me: exit $exit_status"
2455 } >&5
2456 rm -f core *.core core.conftest.* &&
2457 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2458 exit $exit_status
2459 ' 0
2460 for ac_signal in 1 2 13 15; do
2461 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2462 done
2463 ac_signal=0
2464
2465 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2466 rm -f -r conftest* confdefs.h
2467
2468 $as_echo "/* confdefs.h */" > confdefs.h
2469
2470 # Predefined preprocessor variables.
2471
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_NAME "$PACKAGE_NAME"
2474 _ACEOF
2475
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2478 _ACEOF
2479
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2482 _ACEOF
2483
2484 cat >>confdefs.h <<_ACEOF
2485 #define PACKAGE_STRING "$PACKAGE_STRING"
2486 _ACEOF
2487
2488 cat >>confdefs.h <<_ACEOF
2489 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2490 _ACEOF
2491
2492 cat >>confdefs.h <<_ACEOF
2493 #define PACKAGE_URL "$PACKAGE_URL"
2494 _ACEOF
2495
2496
2497 # Let the site file select an alternate cache file if it wants to.
2498 # Prefer an explicitly selected file to automatically selected ones.
2499 ac_site_file1=NONE
2500 ac_site_file2=NONE
2501 if test -n "$CONFIG_SITE"; then
2502 ac_site_file1=$CONFIG_SITE
2503 elif test "x$prefix" != xNONE; then
2504 ac_site_file1=$prefix/share/config.site
2505 ac_site_file2=$prefix/etc/config.site
2506 else
2507 ac_site_file1=$ac_default_prefix/share/config.site
2508 ac_site_file2=$ac_default_prefix/etc/config.site
2509 fi
2510 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2511 do
2512 test "x$ac_site_file" = xNONE && continue
2513 if test -r "$ac_site_file"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2515 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2516 sed 's/^/| /' "$ac_site_file" >&5
2517 . "$ac_site_file"
2518 fi
2519 done
2520
2521 if test -r "$cache_file"; then
2522 # Some versions of bash will fail to source /dev/null (special
2523 # files actually), so we avoid doing that.
2524 if test -f "$cache_file"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2526 $as_echo "$as_me: loading cache $cache_file" >&6;}
2527 case $cache_file in
2528 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2529 *) . "./$cache_file";;
2530 esac
2531 fi
2532 else
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2534 $as_echo "$as_me: creating cache $cache_file" >&6;}
2535 >$cache_file
2536 fi
2537
2538 as_fn_append ac_header_list " unistd.h"
2539 as_fn_append ac_header_list " sys/time.h"
2540 as_fn_append ac_header_list " sys/times.h"
2541 as_fn_append ac_header_list " sys/resource.h"
2542 as_fn_append ac_header_list " sys/types.h"
2543 as_fn_append ac_header_list " sys/stat.h"
2544 as_fn_append ac_header_list " sys/wait.h"
2545 as_fn_append ac_header_list " floatingpoint.h"
2546 as_fn_append ac_header_list " ieeefp.h"
2547 as_fn_append ac_header_list " fenv.h"
2548 as_fn_append ac_header_list " fptrap.h"
2549 as_fn_append ac_header_list " fpxcp.h"
2550 as_fn_append ac_header_list " pwd.h"
2551 as_fn_append ac_header_list " complex.h"
2552 as_fn_append ac_header_list " xlocale.h"
2553 as_fn_append ac_func_list " getrusage"
2554 as_fn_append ac_func_list " times"
2555 as_fn_append ac_func_list " mkstemp"
2556 as_fn_append ac_func_list " strtof"
2557 as_fn_append ac_func_list " strtold"
2558 as_fn_append ac_func_list " snprintf"
2559 as_fn_append ac_func_list " ftruncate"
2560 as_fn_append ac_func_list " chsize"
2561 as_fn_append ac_func_list " chdir"
2562 as_fn_append ac_func_list " getlogin"
2563 as_fn_append ac_func_list " gethostname"
2564 as_fn_append ac_func_list " kill"
2565 as_fn_append ac_func_list " link"
2566 as_fn_append ac_func_list " symlink"
2567 as_fn_append ac_func_list " sleep"
2568 as_fn_append ac_func_list " ttyname"
2569 as_fn_append ac_func_list " alarm"
2570 as_fn_append ac_func_list " access"
2571 as_fn_append ac_func_list " fork"
2572 as_fn_append ac_func_list " setmode"
2573 as_fn_append ac_func_list " fcntl"
2574 as_fn_append ac_func_list " gettimeofday"
2575 as_fn_append ac_func_list " stat"
2576 as_fn_append ac_func_list " fstat"
2577 as_fn_append ac_func_list " lstat"
2578 as_fn_append ac_func_list " getpwuid"
2579 as_fn_append ac_func_list " vsnprintf"
2580 as_fn_append ac_func_list " dup"
2581 as_fn_append ac_func_list " getcwd"
2582 as_fn_append ac_func_list " localtime_r"
2583 as_fn_append ac_func_list " gmtime_r"
2584 as_fn_append ac_func_list " getpwuid_r"
2585 as_fn_append ac_func_list " ttyname_r"
2586 as_fn_append ac_func_list " clock_gettime"
2587 as_fn_append ac_func_list " getgid"
2588 as_fn_append ac_func_list " getpid"
2589 as_fn_append ac_func_list " getuid"
2590 as_fn_append ac_func_list " geteuid"
2591 as_fn_append ac_func_list " umask"
2592 as_fn_append ac_func_list " getegid"
2593 as_fn_append ac_func_list " secure_getenv"
2594 as_fn_append ac_func_list " __secure_getenv"
2595 as_fn_append ac_func_list " mkostemp"
2596 as_fn_append ac_func_list " strnlen"
2597 as_fn_append ac_func_list " strndup"
2598 as_fn_append ac_func_list " newlocale"
2599 as_fn_append ac_func_list " freelocale"
2600 as_fn_append ac_func_list " uselocale"
2601 as_fn_append ac_func_list " strerror_l"
2602 as_fn_append ac_header_list " math.h"
2603 # Check that the precious variables saved in the cache have kept the same
2604 # value.
2605 ac_cache_corrupted=false
2606 for ac_var in $ac_precious_vars; do
2607 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2608 eval ac_new_set=\$ac_env_${ac_var}_set
2609 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2610 eval ac_new_val=\$ac_env_${ac_var}_value
2611 case $ac_old_set,$ac_new_set in
2612 set,)
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2614 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2615 ac_cache_corrupted=: ;;
2616 ,set)
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2618 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2619 ac_cache_corrupted=: ;;
2620 ,);;
2621 *)
2622 if test "x$ac_old_val" != "x$ac_new_val"; then
2623 # differences in whitespace do not lead to failure.
2624 ac_old_val_w=`echo x $ac_old_val`
2625 ac_new_val_w=`echo x $ac_new_val`
2626 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2628 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2629 ac_cache_corrupted=:
2630 else
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2632 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2633 eval $ac_var=\$ac_old_val
2634 fi
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2636 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2638 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2639 fi;;
2640 esac
2641 # Pass precious variables to config.status.
2642 if test "$ac_new_set" = set; then
2643 case $ac_new_val in
2644 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2645 *) ac_arg=$ac_var=$ac_new_val ;;
2646 esac
2647 case " $ac_configure_args " in
2648 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2649 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2650 esac
2651 fi
2652 done
2653 if $ac_cache_corrupted; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2657 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2658 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2659 fi
2660 ## -------------------- ##
2661 ## Main body of script. ##
2662 ## -------------------- ##
2663
2664 ac_ext=c
2665 ac_cpp='$CPP $CPPFLAGS'
2666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2669
2670
2671
2672
2673
2674 ac_config_headers="$ac_config_headers config.h"
2675
2676 ac_aux_dir=
2677 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2678 for ac_t in install-sh install.sh shtool; do
2679 if test -f "$ac_dir/$ac_t"; then
2680 ac_aux_dir=$ac_dir
2681 ac_install_sh="$ac_aux_dir/$ac_t -c"
2682 break 2
2683 fi
2684 done
2685 done
2686 if test -z "$ac_aux_dir"; then
2687 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2688 fi
2689
2690 # These three variables are undocumented and unsupported,
2691 # and are intended to be withdrawn in a future Autoconf release.
2692 # They can cause serious problems if a builder's source tree is in a directory
2693 # whose full name contains unusual characters.
2694 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2695 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2696 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2697
2698
2699 # Make sure we can run config.sub.
2700 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2701 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2702
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2704 $as_echo_n "checking build system type... " >&6; }
2705 if test "${ac_cv_build+set}" = set; then :
2706 $as_echo_n "(cached) " >&6
2707 else
2708 ac_build_alias=$build_alias
2709 test "x$ac_build_alias" = x &&
2710 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2711 test "x$ac_build_alias" = x &&
2712 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2713 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2714 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2715
2716 fi
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2718 $as_echo "$ac_cv_build" >&6; }
2719 case $ac_cv_build in
2720 *-*-*) ;;
2721 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2722 esac
2723 build=$ac_cv_build
2724 ac_save_IFS=$IFS; IFS='-'
2725 set x $ac_cv_build
2726 shift
2727 build_cpu=$1
2728 build_vendor=$2
2729 shift; shift
2730 # Remember, the first character of IFS is used to create $*,
2731 # except with old shells:
2732 build_os=$*
2733 IFS=$ac_save_IFS
2734 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2735
2736
2737 case ${build_alias} in
2738 "") build_noncanonical=${build} ;;
2739 *) build_noncanonical=${build_alias} ;;
2740 esac
2741
2742 case ${host_alias} in
2743 "") host_noncanonical=${build_noncanonical} ;;
2744 *) host_noncanonical=${host_alias} ;;
2745 esac
2746
2747 case ${target_alias} in
2748 "") target_noncanonical=${host_noncanonical} ;;
2749 *) target_noncanonical=${target_alias} ;;
2750 esac
2751
2752
2753 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2754 # have matching libraries, they should use host libraries: Makefile.tpl
2755 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2756 # However, they still use the build modules, because the corresponding
2757 # host modules (e.g. bison) are only built for the host when bootstrap
2758 # finishes. So:
2759 # - build_subdir is where we find build modules, and never changes.
2760 # - build_libsubdir is where we find build libraries, and can be overridden.
2761
2762 # Prefix 'build-' so this never conflicts with target_subdir.
2763 build_subdir="build-${build_noncanonical}"
2764
2765 # Check whether --with-build-libsubdir was given.
2766 if test "${with_build_libsubdir+set}" = set; then :
2767 withval=$with_build_libsubdir; build_libsubdir="$withval"
2768 else
2769 build_libsubdir="$build_subdir"
2770 fi
2771
2772 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2773 if ( test $srcdir = . && test -d gcc ) \
2774 || test -d $srcdir/../host-${host_noncanonical}; then
2775 host_subdir="host-${host_noncanonical}"
2776 else
2777 host_subdir=.
2778 fi
2779 # No prefix.
2780 target_subdir=${target_noncanonical}
2781
2782
2783 # -------
2784 # Options
2785 # -------
2786
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2788 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2789 # Check whether --enable-version-specific-runtime-libs was given.
2790 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2791 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2792 yes) version_specific_libs=yes ;;
2793 no) version_specific_libs=no ;;
2794 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2795 esac
2796 else
2797 version_specific_libs=no
2798 fi
2799
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2801 $as_echo "$version_specific_libs" >&6; }
2802
2803 # Build with intermodule optimisations
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2805 $as_echo_n "checking for --enable-intermodule... " >&6; }
2806 # Check whether --enable-intermodule was given.
2807 if test "${enable_intermodule+set}" = set; then :
2808 enableval=$enable_intermodule; case "$enable_intermodule" in
2809 yes) onestep="-onestep";;
2810 *) onestep="";;
2811 esac
2812 else
2813 onestep=""
2814 fi
2815
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2817 $as_echo "$enable_intermodule" >&6; }
2818 if test x$onestep = x-onestep; then
2819 onestep_TRUE=
2820 onestep_FALSE='#'
2821 else
2822 onestep_TRUE='#'
2823 onestep_FALSE=
2824 fi
2825
2826
2827
2828 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2829 #
2830 # You will slowly go insane if you do not grok the following fact: when
2831 # building this library, the top-level /target/ becomes the library's /host/.
2832 #
2833 # configure then causes --target to default to --host, exactly like any
2834 # other package using autoconf. Therefore, 'target' and 'host' will
2835 # always be the same. This makes sense both for native and cross compilers
2836 # just think about it for a little while. :-)
2837 #
2838 # Also, if this library is being configured as part of a cross compiler, the
2839 # top-level configure script will pass the "real" host as $with_cross_host.
2840 #
2841 # Do not delete or change the following two lines. For why, see
2842 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2844 $as_echo_n "checking host system type... " >&6; }
2845 if test "${ac_cv_host+set}" = set; then :
2846 $as_echo_n "(cached) " >&6
2847 else
2848 if test "x$host_alias" = x; then
2849 ac_cv_host=$ac_cv_build
2850 else
2851 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2852 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2853 fi
2854
2855 fi
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2857 $as_echo "$ac_cv_host" >&6; }
2858 case $ac_cv_host in
2859 *-*-*) ;;
2860 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2861 esac
2862 host=$ac_cv_host
2863 ac_save_IFS=$IFS; IFS='-'
2864 set x $ac_cv_host
2865 shift
2866 host_cpu=$1
2867 host_vendor=$2
2868 shift; shift
2869 # Remember, the first character of IFS is used to create $*,
2870 # except with old shells:
2871 host_os=$*
2872 IFS=$ac_save_IFS
2873 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2874
2875
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2877 $as_echo_n "checking target system type... " >&6; }
2878 if test "${ac_cv_target+set}" = set; then :
2879 $as_echo_n "(cached) " >&6
2880 else
2881 if test "x$target_alias" = x; then
2882 ac_cv_target=$ac_cv_host
2883 else
2884 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2885 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2886 fi
2887
2888 fi
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2890 $as_echo "$ac_cv_target" >&6; }
2891 case $ac_cv_target in
2892 *-*-*) ;;
2893 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2894 esac
2895 target=$ac_cv_target
2896 ac_save_IFS=$IFS; IFS='-'
2897 set x $ac_cv_target
2898 shift
2899 target_cpu=$1
2900 target_vendor=$2
2901 shift; shift
2902 # Remember, the first character of IFS is used to create $*,
2903 # except with old shells:
2904 target_os=$*
2905 IFS=$ac_save_IFS
2906 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2907
2908
2909 # The aliases save the names the user supplied, while $host etc.
2910 # will get canonicalized.
2911 test -n "$target_alias" &&
2912 test "$program_prefix$program_suffix$program_transform_name" = \
2913 NONENONEs,x,x, &&
2914 program_prefix=${target_alias}-
2915
2916
2917
2918
2919 target_alias=${target_alias-$host_alias}
2920
2921
2922 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2923 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2924 # 1.9.6: minimum required version
2925 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2926 # of other PACKAGE_* variables will, however, and there's nothing
2927 # we can do about that; they come from AC_INIT).
2928 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2929 # file in the top srcdir, etc, etc), so stop complaining.
2930 # no-dist: we don't want 'dist' and related rules.
2931 # -Wall: turns on all automake warnings...
2932 # -Wno-portability: ...except this one, since GNU make is required.
2933 am__api_version='1.11'
2934
2935 # Find a good install program. We prefer a C program (faster),
2936 # so one script is as good as another. But avoid the broken or
2937 # incompatible versions:
2938 # SysV /etc/install, /usr/sbin/install
2939 # SunOS /usr/etc/install
2940 # IRIX /sbin/install
2941 # AIX /bin/install
2942 # AmigaOS /C/install, which installs bootblocks on floppy discs
2943 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2944 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2945 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2946 # OS/2's system install, which has a completely different semantic
2947 # ./install, which can be erroneously created by make from ./install.sh.
2948 # Reject install programs that cannot install multiple files.
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2950 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2951 if test -z "$INSTALL"; then
2952 if test "${ac_cv_path_install+set}" = set; then :
2953 $as_echo_n "(cached) " >&6
2954 else
2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 for as_dir in $PATH
2957 do
2958 IFS=$as_save_IFS
2959 test -z "$as_dir" && as_dir=.
2960 # Account for people who put trailing slashes in PATH elements.
2961 case $as_dir/ in #((
2962 ./ | .// | /[cC]/* | \
2963 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2964 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2965 /usr/ucb/* ) ;;
2966 *)
2967 # OSF1 and SCO ODT 3.0 have their own names for install.
2968 # Don't use installbsd from OSF since it installs stuff as root
2969 # by default.
2970 for ac_prog in ginstall scoinst install; do
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2973 if test $ac_prog = install &&
2974 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2975 # AIX install. It has an incompatible calling convention.
2976 :
2977 elif test $ac_prog = install &&
2978 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2979 # program-specific install script used by HP pwplus--don't use.
2980 :
2981 else
2982 rm -rf conftest.one conftest.two conftest.dir
2983 echo one > conftest.one
2984 echo two > conftest.two
2985 mkdir conftest.dir
2986 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2987 test -s conftest.one && test -s conftest.two &&
2988 test -s conftest.dir/conftest.one &&
2989 test -s conftest.dir/conftest.two
2990 then
2991 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2992 break 3
2993 fi
2994 fi
2995 fi
2996 done
2997 done
2998 ;;
2999 esac
3000
3001 done
3002 IFS=$as_save_IFS
3003
3004 rm -rf conftest.one conftest.two conftest.dir
3005
3006 fi
3007 if test "${ac_cv_path_install+set}" = set; then
3008 INSTALL=$ac_cv_path_install
3009 else
3010 # As a last resort, use the slow shell script. Don't cache a
3011 # value for INSTALL within a source directory, because that will
3012 # break other packages using the cache if that directory is
3013 # removed, or if the value is a relative name.
3014 INSTALL=$ac_install_sh
3015 fi
3016 fi
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3018 $as_echo "$INSTALL" >&6; }
3019
3020 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3021 # It thinks the first close brace ends the variable substitution.
3022 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3023
3024 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3025
3026 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3027
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3029 $as_echo_n "checking whether build environment is sane... " >&6; }
3030 # Just in case
3031 sleep 1
3032 echo timestamp > conftest.file
3033 # Reject unsafe characters in $srcdir or the absolute working directory
3034 # name. Accept space and tab only in the latter.
3035 am_lf='
3036 '
3037 case `pwd` in
3038 *[\\\"\#\$\&\'\`$am_lf]*)
3039 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3040 esac
3041 case $srcdir in
3042 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3043 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3044 esac
3045
3046 # Do `set' in a subshell so we don't clobber the current shell's
3047 # arguments. Must try -L first in case configure is actually a
3048 # symlink; some systems play weird games with the mod time of symlinks
3049 # (eg FreeBSD returns the mod time of the symlink's containing
3050 # directory).
3051 if (
3052 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3053 if test "$*" = "X"; then
3054 # -L didn't work.
3055 set X `ls -t "$srcdir/configure" conftest.file`
3056 fi
3057 rm -f conftest.file
3058 if test "$*" != "X $srcdir/configure conftest.file" \
3059 && test "$*" != "X conftest.file $srcdir/configure"; then
3060
3061 # If neither matched, then we have a broken ls. This can happen
3062 # if, for instance, CONFIG_SHELL is bash and it inherits a
3063 # broken ls alias from the environment. This has actually
3064 # happened. Such a system could not be considered "sane".
3065 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3066 alias in your environment" "$LINENO" 5
3067 fi
3068
3069 test "$2" = conftest.file
3070 )
3071 then
3072 # Ok.
3073 :
3074 else
3075 as_fn_error "newly created file is older than distributed files!
3076 Check your system clock" "$LINENO" 5
3077 fi
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3079 $as_echo "yes" >&6; }
3080 test "$program_prefix" != NONE &&
3081 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3082 # Use a double $ so make ignores it.
3083 test "$program_suffix" != NONE &&
3084 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3085 # Double any \ or $.
3086 # By default was `s,x,x', remove it if useless.
3087 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3088 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3089
3090 # expand $ac_aux_dir to an absolute path
3091 am_aux_dir=`cd $ac_aux_dir && pwd`
3092
3093 if test x"${MISSING+set}" != xset; then
3094 case $am_aux_dir in
3095 *\ * | *\ *)
3096 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3097 *)
3098 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3099 esac
3100 fi
3101 # Use eval to expand $SHELL
3102 if eval "$MISSING --run true"; then
3103 am_missing_run="$MISSING --run "
3104 else
3105 am_missing_run=
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3107 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3108 fi
3109
3110 if test x"${install_sh}" != xset; then
3111 case $am_aux_dir in
3112 *\ * | *\ *)
3113 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3114 *)
3115 install_sh="\${SHELL} $am_aux_dir/install-sh"
3116 esac
3117 fi
3118
3119 # Installed binaries are usually stripped using `strip' when the user
3120 # run `make install-strip'. However `strip' might not be the right
3121 # tool to use in cross-compilation environments, therefore Automake
3122 # will honor the `STRIP' environment variable to overrule this program.
3123 if test "$cross_compiling" != no; then
3124 if test -n "$ac_tool_prefix"; then
3125 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3126 set dummy ${ac_tool_prefix}strip; ac_word=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if test "${ac_cv_prog_STRIP+set}" = set; then :
3130 $as_echo_n "(cached) " >&6
3131 else
3132 if test -n "$STRIP"; then
3133 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3134 else
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136 for as_dir in $PATH
3137 do
3138 IFS=$as_save_IFS
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3142 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 break 2
3145 fi
3146 done
3147 done
3148 IFS=$as_save_IFS
3149
3150 fi
3151 fi
3152 STRIP=$ac_cv_prog_STRIP
3153 if test -n "$STRIP"; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3155 $as_echo "$STRIP" >&6; }
3156 else
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3159 fi
3160
3161
3162 fi
3163 if test -z "$ac_cv_prog_STRIP"; then
3164 ac_ct_STRIP=$STRIP
3165 # Extract the first word of "strip", so it can be a program name with args.
3166 set dummy strip; ac_word=$2
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168 $as_echo_n "checking for $ac_word... " >&6; }
3169 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3170 $as_echo_n "(cached) " >&6
3171 else
3172 if test -n "$ac_ct_STRIP"; then
3173 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3174 else
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 for as_dir in $PATH
3177 do
3178 IFS=$as_save_IFS
3179 test -z "$as_dir" && as_dir=.
3180 for ac_exec_ext in '' $ac_executable_extensions; do
3181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3182 ac_cv_prog_ac_ct_STRIP="strip"
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 break 2
3185 fi
3186 done
3187 done
3188 IFS=$as_save_IFS
3189
3190 fi
3191 fi
3192 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3193 if test -n "$ac_ct_STRIP"; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3195 $as_echo "$ac_ct_STRIP" >&6; }
3196 else
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3199 fi
3200
3201 if test "x$ac_ct_STRIP" = x; then
3202 STRIP=":"
3203 else
3204 case $cross_compiling:$ac_tool_warned in
3205 yes:)
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3208 ac_tool_warned=yes ;;
3209 esac
3210 STRIP=$ac_ct_STRIP
3211 fi
3212 else
3213 STRIP="$ac_cv_prog_STRIP"
3214 fi
3215
3216 fi
3217 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3218
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3220 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3221 if test -z "$MKDIR_P"; then
3222 if test "${ac_cv_path_mkdir+set}" = set; then :
3223 $as_echo_n "(cached) " >&6
3224 else
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3227 do
3228 IFS=$as_save_IFS
3229 test -z "$as_dir" && as_dir=.
3230 for ac_prog in mkdir gmkdir; do
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3233 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3234 'mkdir (GNU coreutils) '* | \
3235 'mkdir (coreutils) '* | \
3236 'mkdir (fileutils) '4.1*)
3237 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3238 break 3;;
3239 esac
3240 done
3241 done
3242 done
3243 IFS=$as_save_IFS
3244
3245 fi
3246
3247 if test "${ac_cv_path_mkdir+set}" = set; then
3248 MKDIR_P="$ac_cv_path_mkdir -p"
3249 else
3250 # As a last resort, use the slow shell script. Don't cache a
3251 # value for MKDIR_P within a source directory, because that will
3252 # break other packages using the cache if that directory is
3253 # removed, or if the value is a relative name.
3254 test -d ./--version && rmdir ./--version
3255 MKDIR_P="$ac_install_sh -d"
3256 fi
3257 fi
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3259 $as_echo "$MKDIR_P" >&6; }
3260
3261 mkdir_p="$MKDIR_P"
3262 case $mkdir_p in
3263 [\\/$]* | ?:[\\/]*) ;;
3264 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3265 esac
3266
3267 for ac_prog in gawk mawk nawk awk
3268 do
3269 # Extract the first word of "$ac_prog", so it can be a program name with args.
3270 set dummy $ac_prog; ac_word=$2
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3272 $as_echo_n "checking for $ac_word... " >&6; }
3273 if test "${ac_cv_prog_AWK+set}" = set; then :
3274 $as_echo_n "(cached) " >&6
3275 else
3276 if test -n "$AWK"; then
3277 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3278 else
3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3280 for as_dir in $PATH
3281 do
3282 IFS=$as_save_IFS
3283 test -z "$as_dir" && as_dir=.
3284 for ac_exec_ext in '' $ac_executable_extensions; do
3285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3286 ac_cv_prog_AWK="$ac_prog"
3287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 break 2
3289 fi
3290 done
3291 done
3292 IFS=$as_save_IFS
3293
3294 fi
3295 fi
3296 AWK=$ac_cv_prog_AWK
3297 if test -n "$AWK"; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3299 $as_echo "$AWK" >&6; }
3300 else
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3303 fi
3304
3305
3306 test -n "$AWK" && break
3307 done
3308
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3310 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3311 set x ${MAKE-make}
3312 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3313 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3314 $as_echo_n "(cached) " >&6
3315 else
3316 cat >conftest.make <<\_ACEOF
3317 SHELL = /bin/sh
3318 all:
3319 @echo '@@@%%%=$(MAKE)=@@@%%%'
3320 _ACEOF
3321 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3322 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3323 *@@@%%%=?*=@@@%%%*)
3324 eval ac_cv_prog_make_${ac_make}_set=yes;;
3325 *)
3326 eval ac_cv_prog_make_${ac_make}_set=no;;
3327 esac
3328 rm -f conftest.make
3329 fi
3330 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332 $as_echo "yes" >&6; }
3333 SET_MAKE=
3334 else
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336 $as_echo "no" >&6; }
3337 SET_MAKE="MAKE=${MAKE-make}"
3338 fi
3339
3340 rm -rf .tst 2>/dev/null
3341 mkdir .tst 2>/dev/null
3342 if test -d .tst; then
3343 am__leading_dot=.
3344 else
3345 am__leading_dot=_
3346 fi
3347 rmdir .tst 2>/dev/null
3348
3349 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3350 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3351 # is not polluted with repeated "-I."
3352 am__isrc=' -I$(srcdir)'
3353 # test to see if srcdir already configured
3354 if test -f $srcdir/config.status; then
3355 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3356 fi
3357 fi
3358
3359 # test whether we have cygpath
3360 if test -z "$CYGPATH_W"; then
3361 if (cygpath --version) >/dev/null 2>/dev/null; then
3362 CYGPATH_W='cygpath -w'
3363 else
3364 CYGPATH_W=echo
3365 fi
3366 fi
3367
3368
3369 # Define the identity of the package.
3370 PACKAGE='libgfortran'
3371 VERSION='0.3'
3372
3373
3374 # Some tools Automake needs.
3375
3376 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3377
3378
3379 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3380
3381
3382 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3383
3384
3385 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3386
3387
3388 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3389
3390 # We need awk for the "check" target. The system "awk" is bad on
3391 # some platforms.
3392 # Always define AMTAR for backward compatibility. Yes, it's still used
3393 # in the wild :-( We should find a proper way to deprecate it ...
3394 AMTAR='$${TAR-tar}'
3395
3396 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3397
3398
3399
3400
3401
3402
3403
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3405 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3406 # Check whether --enable-maintainer-mode was given.
3407 if test "${enable_maintainer_mode+set}" = set; then :
3408 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3409 else
3410 USE_MAINTAINER_MODE=no
3411 fi
3412
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3414 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3415 if test $USE_MAINTAINER_MODE = yes; then
3416 MAINTAINER_MODE_TRUE=
3417 MAINTAINER_MODE_FALSE='#'
3418 else
3419 MAINTAINER_MODE_TRUE='#'
3420 MAINTAINER_MODE_FALSE=
3421 fi
3422
3423 MAINT=$MAINTAINER_MODE_TRUE
3424
3425
3426 # Default to --enable-multilib
3427 # Check whether --enable-multilib was given.
3428 if test "${enable_multilib+set}" = set; then :
3429 enableval=$enable_multilib; case "$enableval" in
3430 yes) multilib=yes ;;
3431 no) multilib=no ;;
3432 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3433 esac
3434 else
3435 multilib=yes
3436 fi
3437
3438
3439 # We may get other options which we leave undocumented:
3440 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3441 # See config-ml.in if you want the gory details.
3442
3443 if test "$srcdir" = "."; then
3444 if test "$with_target_subdir" != "."; then
3445 multi_basedir="$srcdir/$with_multisrctop../.."
3446 else
3447 multi_basedir="$srcdir/$with_multisrctop.."
3448 fi
3449 else
3450 multi_basedir="$srcdir/.."
3451 fi
3452
3453
3454 # Even if the default multilib is not a cross compilation,
3455 # it may be that some of the other multilibs are.
3456 if test $cross_compiling = no && test $multilib = yes \
3457 && test "x${with_multisubdir}" != x ; then
3458 cross_compiling=maybe
3459 fi
3460
3461 ac_config_commands="$ac_config_commands default-1"
3462
3463
3464 # Handy for debugging:
3465 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3466
3467 # Are we being configured with some form of cross compiler?
3468 # NB: We don't actually need to know this just now, but when, say, a test
3469 # suite is included, we'll have to know.
3470 if test "$build" != "$host"; then
3471 LIBGFOR_IS_NATIVE=false
3472
3473 else
3474 LIBGFOR_IS_NATIVE=true
3475 fi
3476
3477 DEPDIR="${am__leading_dot}deps"
3478
3479 ac_config_commands="$ac_config_commands depfiles"
3480
3481
3482 am_make=${MAKE-make}
3483 cat > confinc << 'END'
3484 am__doit:
3485 @echo this is the am__doit target
3486 .PHONY: am__doit
3487 END
3488 # If we don't find an include directive, just comment out the code.
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3490 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3491 am__include="#"
3492 am__quote=
3493 _am_result=none
3494 # First try GNU make style include.
3495 echo "include confinc" > confmf
3496 # Ignore all kinds of additional output from `make'.
3497 case `$am_make -s -f confmf 2> /dev/null` in #(
3498 *the\ am__doit\ target*)
3499 am__include=include
3500 am__quote=
3501 _am_result=GNU
3502 ;;
3503 esac
3504 # Now try BSD make style include.
3505 if test "$am__include" = "#"; then
3506 echo '.include "confinc"' > confmf
3507 case `$am_make -s -f confmf 2> /dev/null` in #(
3508 *the\ am__doit\ target*)
3509 am__include=.include
3510 am__quote="\""
3511 _am_result=BSD
3512 ;;
3513 esac
3514 fi
3515
3516
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3518 $as_echo "$_am_result" >&6; }
3519 rm -f confinc confmf
3520
3521 # Check whether --enable-dependency-tracking was given.
3522 if test "${enable_dependency_tracking+set}" = set; then :
3523 enableval=$enable_dependency_tracking;
3524 fi
3525
3526 if test "x$enable_dependency_tracking" != xno; then
3527 am_depcomp="$ac_aux_dir/depcomp"
3528 AMDEPBACKSLASH='\'
3529 am__nodep='_no'
3530 fi
3531 if test "x$enable_dependency_tracking" != xno; then
3532 AMDEP_TRUE=
3533 AMDEP_FALSE='#'
3534 else
3535 AMDEP_TRUE='#'
3536 AMDEP_FALSE=
3537 fi
3538
3539
3540 ac_ext=c
3541 ac_cpp='$CPP $CPPFLAGS'
3542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3545 if test -n "$ac_tool_prefix"; then
3546 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3547 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549 $as_echo_n "checking for $ac_word... " >&6; }
3550 if test "${ac_cv_prog_CC+set}" = set; then :
3551 $as_echo_n "(cached) " >&6
3552 else
3553 if test -n "$CC"; then
3554 ac_cv_prog_CC="$CC" # Let the user override the test.
3555 else
3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 for as_dir in $PATH
3558 do
3559 IFS=$as_save_IFS
3560 test -z "$as_dir" && as_dir=.
3561 for ac_exec_ext in '' $ac_executable_extensions; do
3562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3563 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 break 2
3566 fi
3567 done
3568 done
3569 IFS=$as_save_IFS
3570
3571 fi
3572 fi
3573 CC=$ac_cv_prog_CC
3574 if test -n "$CC"; then
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3576 $as_echo "$CC" >&6; }
3577 else
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 $as_echo "no" >&6; }
3580 fi
3581
3582
3583 fi
3584 if test -z "$ac_cv_prog_CC"; then
3585 ac_ct_CC=$CC
3586 # Extract the first word of "gcc", so it can be a program name with args.
3587 set dummy gcc; ac_word=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3591 $as_echo_n "(cached) " >&6
3592 else
3593 if test -n "$ac_ct_CC"; then
3594 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3595 else
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 for as_dir in $PATH
3598 do
3599 IFS=$as_save_IFS
3600 test -z "$as_dir" && as_dir=.
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3603 ac_cv_prog_ac_ct_CC="gcc"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3605 break 2
3606 fi
3607 done
3608 done
3609 IFS=$as_save_IFS
3610
3611 fi
3612 fi
3613 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3614 if test -n "$ac_ct_CC"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3616 $as_echo "$ac_ct_CC" >&6; }
3617 else
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3620 fi
3621
3622 if test "x$ac_ct_CC" = x; then
3623 CC=""
3624 else
3625 case $cross_compiling:$ac_tool_warned in
3626 yes:)
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3629 ac_tool_warned=yes ;;
3630 esac
3631 CC=$ac_ct_CC
3632 fi
3633 else
3634 CC="$ac_cv_prog_CC"
3635 fi
3636
3637 if test -z "$CC"; then
3638 if test -n "$ac_tool_prefix"; then
3639 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3640 set dummy ${ac_tool_prefix}cc; ac_word=$2
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if test "${ac_cv_prog_CC+set}" = set; then :
3644 $as_echo_n "(cached) " >&6
3645 else
3646 if test -n "$CC"; then
3647 ac_cv_prog_CC="$CC" # Let the user override the test.
3648 else
3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 for as_dir in $PATH
3651 do
3652 IFS=$as_save_IFS
3653 test -z "$as_dir" && as_dir=.
3654 for ac_exec_ext in '' $ac_executable_extensions; do
3655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3656 ac_cv_prog_CC="${ac_tool_prefix}cc"
3657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 break 2
3659 fi
3660 done
3661 done
3662 IFS=$as_save_IFS
3663
3664 fi
3665 fi
3666 CC=$ac_cv_prog_CC
3667 if test -n "$CC"; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3669 $as_echo "$CC" >&6; }
3670 else
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3673 fi
3674
3675
3676 fi
3677 fi
3678 if test -z "$CC"; then
3679 # Extract the first word of "cc", so it can be a program name with args.
3680 set dummy cc; ac_word=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if test "${ac_cv_prog_CC+set}" = set; then :
3684 $as_echo_n "(cached) " >&6
3685 else
3686 if test -n "$CC"; then
3687 ac_cv_prog_CC="$CC" # Let the user override the test.
3688 else
3689 ac_prog_rejected=no
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 for as_dir in $PATH
3692 do
3693 IFS=$as_save_IFS
3694 test -z "$as_dir" && as_dir=.
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3697 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3698 ac_prog_rejected=yes
3699 continue
3700 fi
3701 ac_cv_prog_CC="cc"
3702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 break 2
3704 fi
3705 done
3706 done
3707 IFS=$as_save_IFS
3708
3709 if test $ac_prog_rejected = yes; then
3710 # We found a bogon in the path, so make sure we never use it.
3711 set dummy $ac_cv_prog_CC
3712 shift
3713 if test $# != 0; then
3714 # We chose a different compiler from the bogus one.
3715 # However, it has the same basename, so the bogon will be chosen
3716 # first if we set CC to just the basename; use the full file name.
3717 shift
3718 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3719 fi
3720 fi
3721 fi
3722 fi
3723 CC=$ac_cv_prog_CC
3724 if test -n "$CC"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3726 $as_echo "$CC" >&6; }
3727 else
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3730 fi
3731
3732
3733 fi
3734 if test -z "$CC"; then
3735 if test -n "$ac_tool_prefix"; then
3736 for ac_prog in cl.exe
3737 do
3738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_CC+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3750 do
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 break 2
3758 fi
3759 done
3760 done
3761 IFS=$as_save_IFS
3762
3763 fi
3764 fi
3765 CC=$ac_cv_prog_CC
3766 if test -n "$CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3768 $as_echo "$CC" >&6; }
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3772 fi
3773
3774
3775 test -n "$CC" && break
3776 done
3777 fi
3778 if test -z "$CC"; then
3779 ac_ct_CC=$CC
3780 for ac_prog in cl.exe
3781 do
3782 # Extract the first word of "$ac_prog", so it can be a program name with args.
3783 set dummy $ac_prog; ac_word=$2
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3785 $as_echo_n "checking for $ac_word... " >&6; }
3786 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3787 $as_echo_n "(cached) " >&6
3788 else
3789 if test -n "$ac_ct_CC"; then
3790 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3791 else
3792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 for as_dir in $PATH
3794 do
3795 IFS=$as_save_IFS
3796 test -z "$as_dir" && as_dir=.
3797 for ac_exec_ext in '' $ac_executable_extensions; do
3798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3799 ac_cv_prog_ac_ct_CC="$ac_prog"
3800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 break 2
3802 fi
3803 done
3804 done
3805 IFS=$as_save_IFS
3806
3807 fi
3808 fi
3809 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3810 if test -n "$ac_ct_CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3812 $as_echo "$ac_ct_CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3816 fi
3817
3818
3819 test -n "$ac_ct_CC" && break
3820 done
3821
3822 if test "x$ac_ct_CC" = x; then
3823 CC=""
3824 else
3825 case $cross_compiling:$ac_tool_warned in
3826 yes:)
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3829 ac_tool_warned=yes ;;
3830 esac
3831 CC=$ac_ct_CC
3832 fi
3833 fi
3834
3835 fi
3836
3837
3838 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3840 as_fn_error "no acceptable C compiler found in \$PATH
3841 See \`config.log' for more details." "$LINENO" 5; }
3842
3843 # Provide some information about the compiler.
3844 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3845 set X $ac_compile
3846 ac_compiler=$2
3847 for ac_option in --version -v -V -qversion; do
3848 { { ac_try="$ac_compiler $ac_option >&5"
3849 case "(($ac_try" in
3850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3851 *) ac_try_echo=$ac_try;;
3852 esac
3853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3854 $as_echo "$ac_try_echo"; } >&5
3855 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3856 ac_status=$?
3857 if test -s conftest.err; then
3858 sed '10a\
3859 ... rest of stderr output deleted ...
3860 10q' conftest.err >conftest.er1
3861 cat conftest.er1 >&5
3862 rm -f conftest.er1 conftest.err
3863 fi
3864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3865 test $ac_status = 0; }
3866 done
3867
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3870
3871 int
3872 main ()
3873 {
3874
3875 ;
3876 return 0;
3877 }
3878 _ACEOF
3879 # FIXME: Cleanup?
3880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3881 (eval $ac_link) 2>&5
3882 ac_status=$?
3883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884 test $ac_status = 0; }; then :
3885 gcc_no_link=no
3886 else
3887 gcc_no_link=yes
3888 fi
3889 if test x$gcc_no_link = xyes; then
3890 # Setting cross_compile will disable run tests; it will
3891 # also disable AC_CHECK_FILE but that's generally
3892 # correct if we can't link.
3893 cross_compiling=yes
3894 EXEEXT=
3895 else
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3898
3899 int
3900 main ()
3901 {
3902
3903 ;
3904 return 0;
3905 }
3906 _ACEOF
3907 ac_clean_files_save=$ac_clean_files
3908 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3909 # Try to create an executable without -o first, disregard a.out.
3910 # It will help us diagnose broken compilers, and finding out an intuition
3911 # of exeext.
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3913 $as_echo_n "checking for C compiler default output file name... " >&6; }
3914 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3915
3916 # The possible output files:
3917 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3918
3919 ac_rmfiles=
3920 for ac_file in $ac_files
3921 do
3922 case $ac_file in
3923 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3924 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3925 esac
3926 done
3927 rm -f $ac_rmfiles
3928
3929 if { { ac_try="$ac_link_default"
3930 case "(($ac_try" in
3931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932 *) ac_try_echo=$ac_try;;
3933 esac
3934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935 $as_echo "$ac_try_echo"; } >&5
3936 (eval "$ac_link_default") 2>&5
3937 ac_status=$?
3938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939 test $ac_status = 0; }; then :
3940 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3941 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3942 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3943 # so that the user can short-circuit this test for compilers unknown to
3944 # Autoconf.
3945 for ac_file in $ac_files ''
3946 do
3947 test -f "$ac_file" || continue
3948 case $ac_file in
3949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3950 ;;
3951 [ab].out )
3952 # We found the default executable, but exeext='' is most
3953 # certainly right.
3954 break;;
3955 *.* )
3956 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3957 then :; else
3958 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3959 fi
3960 # We set ac_cv_exeext here because the later test for it is not
3961 # safe: cross compilers may not add the suffix if given an `-o'
3962 # argument, so we may need to know it at that point already.
3963 # Even if this section looks crufty: it has the advantage of
3964 # actually working.
3965 break;;
3966 * )
3967 break;;
3968 esac
3969 done
3970 test "$ac_cv_exeext" = no && ac_cv_exeext=
3971
3972 else
3973 ac_file=''
3974 fi
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3976 $as_echo "$ac_file" >&6; }
3977 if test -z "$ac_file"; then :
3978 $as_echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3980
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3983 { as_fn_set_status 77
3984 as_fn_error "C compiler cannot create executables
3985 See \`config.log' for more details." "$LINENO" 5; }; }
3986 fi
3987 ac_exeext=$ac_cv_exeext
3988
3989 # Check that the compiler produces executables we can run. If not, either
3990 # the compiler is broken, or we cross compile.
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3992 $as_echo_n "checking whether the C compiler works... " >&6; }
3993 # If not cross compiling, check that we can run a simple program.
3994 if test "$cross_compiling" != yes; then
3995 if { ac_try='./$ac_file'
3996 { { case "(($ac_try" in
3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
3999 esac
4000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001 $as_echo "$ac_try_echo"; } >&5
4002 (eval "$ac_try") 2>&5
4003 ac_status=$?
4004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4005 test $ac_status = 0; }; }; then
4006 cross_compiling=no
4007 else
4008 if test "$cross_compiling" = maybe; then
4009 cross_compiling=yes
4010 else
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error "cannot run C compiled programs.
4014 If you meant to cross compile, use \`--host'.
4015 See \`config.log' for more details." "$LINENO" 5; }
4016 fi
4017 fi
4018 fi
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4020 $as_echo "yes" >&6; }
4021
4022 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4023 ac_clean_files=$ac_clean_files_save
4024 # Check that the compiler produces executables we can run. If not, either
4025 # the compiler is broken, or we cross compile.
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4027 $as_echo_n "checking whether we are cross compiling... " >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4029 $as_echo "$cross_compiling" >&6; }
4030
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4032 $as_echo_n "checking for suffix of executables... " >&6; }
4033 if { { ac_try="$ac_link"
4034 case "(($ac_try" in
4035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4036 *) ac_try_echo=$ac_try;;
4037 esac
4038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4039 $as_echo "$ac_try_echo"; } >&5
4040 (eval "$ac_link") 2>&5
4041 ac_status=$?
4042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043 test $ac_status = 0; }; then :
4044 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4045 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4046 # work properly (i.e., refer to `conftest.exe'), while it won't with
4047 # `rm'.
4048 for ac_file in conftest.exe conftest conftest.*; do
4049 test -f "$ac_file" || continue
4050 case $ac_file in
4051 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4052 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4053 break;;
4054 * ) break;;
4055 esac
4056 done
4057 else
4058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4060 as_fn_error "cannot compute suffix of executables: cannot compile and link
4061 See \`config.log' for more details." "$LINENO" 5; }
4062 fi
4063 rm -f conftest$ac_cv_exeext
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4065 $as_echo "$ac_cv_exeext" >&6; }
4066
4067 rm -f conftest.$ac_ext
4068 EXEEXT=$ac_cv_exeext
4069 ac_exeext=$EXEEXT
4070 fi
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4072 $as_echo_n "checking for suffix of object files... " >&6; }
4073 if test "${ac_cv_objext+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4075 else
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4078
4079 int
4080 main ()
4081 {
4082
4083 ;
4084 return 0;
4085 }
4086 _ACEOF
4087 rm -f conftest.o conftest.obj
4088 if { { ac_try="$ac_compile"
4089 case "(($ac_try" in
4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4092 esac
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_compile") 2>&5
4096 ac_status=$?
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }; then :
4099 for ac_file in conftest.o conftest.obj conftest.*; do
4100 test -f "$ac_file" || continue;
4101 case $ac_file in
4102 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4103 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4104 break;;
4105 esac
4106 done
4107 else
4108 $as_echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.$ac_ext >&5
4110
4111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error "cannot compute suffix of object files: cannot compile
4114 See \`config.log' for more details." "$LINENO" 5; }
4115 fi
4116 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4117 fi
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4119 $as_echo "$ac_cv_objext" >&6; }
4120 OBJEXT=$ac_cv_objext
4121 ac_objext=$OBJEXT
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4123 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4124 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4125 $as_echo_n "(cached) " >&6
4126 else
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4129
4130 int
4131 main ()
4132 {
4133 #ifndef __GNUC__
4134 choke me
4135 #endif
4136
4137 ;
4138 return 0;
4139 }
4140 _ACEOF
4141 if ac_fn_c_try_compile "$LINENO"; then :
4142 ac_compiler_gnu=yes
4143 else
4144 ac_compiler_gnu=no
4145 fi
4146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4148
4149 fi
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4151 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4152 if test $ac_compiler_gnu = yes; then
4153 GCC=yes
4154 else
4155 GCC=
4156 fi
4157 ac_test_CFLAGS=${CFLAGS+set}
4158 ac_save_CFLAGS=$CFLAGS
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4160 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4161 if test "${ac_cv_prog_cc_g+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 ac_save_c_werror_flag=$ac_c_werror_flag
4165 ac_c_werror_flag=yes
4166 ac_cv_prog_cc_g=no
4167 CFLAGS="-g"
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4170
4171 int
4172 main ()
4173 {
4174
4175 ;
4176 return 0;
4177 }
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180 ac_cv_prog_cc_g=yes
4181 else
4182 CFLAGS=""
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4185
4186 int
4187 main ()
4188 {
4189
4190 ;
4191 return 0;
4192 }
4193 _ACEOF
4194 if ac_fn_c_try_compile "$LINENO"; then :
4195
4196 else
4197 ac_c_werror_flag=$ac_save_c_werror_flag
4198 CFLAGS="-g"
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4201
4202 int
4203 main ()
4204 {
4205
4206 ;
4207 return 0;
4208 }
4209 _ACEOF
4210 if ac_fn_c_try_compile "$LINENO"; then :
4211 ac_cv_prog_cc_g=yes
4212 fi
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 fi
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 fi
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 ac_c_werror_flag=$ac_save_c_werror_flag
4219 fi
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4221 $as_echo "$ac_cv_prog_cc_g" >&6; }
4222 if test "$ac_test_CFLAGS" = set; then
4223 CFLAGS=$ac_save_CFLAGS
4224 elif test $ac_cv_prog_cc_g = yes; then
4225 if test "$GCC" = yes; then
4226 CFLAGS="-g -O2"
4227 else
4228 CFLAGS="-g"
4229 fi
4230 else
4231 if test "$GCC" = yes; then
4232 CFLAGS="-O2"
4233 else
4234 CFLAGS=
4235 fi
4236 fi
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4238 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4239 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4240 $as_echo_n "(cached) " >&6
4241 else
4242 ac_cv_prog_cc_c89=no
4243 ac_save_CC=$CC
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4246 #include <stdarg.h>
4247 #include <stdio.h>
4248 #include <sys/types.h>
4249 #include <sys/stat.h>
4250 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4251 struct buf { int x; };
4252 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4253 static char *e (p, i)
4254 char **p;
4255 int i;
4256 {
4257 return p[i];
4258 }
4259 static char *f (char * (*g) (char **, int), char **p, ...)
4260 {
4261 char *s;
4262 va_list v;
4263 va_start (v,p);
4264 s = g (p, va_arg (v,int));
4265 va_end (v);
4266 return s;
4267 }
4268
4269 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4270 function prototypes and stuff, but not '\xHH' hex character constants.
4271 These don't provoke an error unfortunately, instead are silently treated
4272 as 'x'. The following induces an error, until -std is added to get
4273 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4274 array size at least. It's necessary to write '\x00'==0 to get something
4275 that's true only with -std. */
4276 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4277
4278 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4279 inside strings and character constants. */
4280 #define FOO(x) 'x'
4281 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4282
4283 int test (int i, double x);
4284 struct s1 {int (*f) (int a);};
4285 struct s2 {int (*f) (double a);};
4286 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4287 int argc;
4288 char **argv;
4289 int
4290 main ()
4291 {
4292 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4293 ;
4294 return 0;
4295 }
4296 _ACEOF
4297 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4298 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4299 do
4300 CC="$ac_save_CC $ac_arg"
4301 if ac_fn_c_try_compile "$LINENO"; then :
4302 ac_cv_prog_cc_c89=$ac_arg
4303 fi
4304 rm -f core conftest.err conftest.$ac_objext
4305 test "x$ac_cv_prog_cc_c89" != "xno" && break
4306 done
4307 rm -f conftest.$ac_ext
4308 CC=$ac_save_CC
4309
4310 fi
4311 # AC_CACHE_VAL
4312 case "x$ac_cv_prog_cc_c89" in
4313 x)
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4315 $as_echo "none needed" >&6; } ;;
4316 xno)
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4318 $as_echo "unsupported" >&6; } ;;
4319 *)
4320 CC="$CC $ac_cv_prog_cc_c89"
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4322 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4323 esac
4324 if test "x$ac_cv_prog_cc_c89" != xno; then :
4325
4326 fi
4327
4328 ac_ext=c
4329 ac_cpp='$CPP $CPPFLAGS'
4330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4333
4334 depcc="$CC" am_compiler_list=
4335
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4337 $as_echo_n "checking dependency style of $depcc... " >&6; }
4338 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4342 # We make a subdir and do the tests there. Otherwise we can end up
4343 # making bogus files that we don't know about and never remove. For
4344 # instance it was reported that on HP-UX the gcc test will end up
4345 # making a dummy file named `D' -- because `-MD' means `put the output
4346 # in D'.
4347 rm -rf conftest.dir
4348 mkdir conftest.dir
4349 # Copy depcomp to subdir because otherwise we won't find it if we're
4350 # using a relative directory.
4351 cp "$am_depcomp" conftest.dir
4352 cd conftest.dir
4353 # We will build objects and dependencies in a subdirectory because
4354 # it helps to detect inapplicable dependency modes. For instance
4355 # both Tru64's cc and ICC support -MD to output dependencies as a
4356 # side effect of compilation, but ICC will put the dependencies in
4357 # the current directory while Tru64 will put them in the object
4358 # directory.
4359 mkdir sub
4360
4361 am_cv_CC_dependencies_compiler_type=none
4362 if test "$am_compiler_list" = ""; then
4363 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4364 fi
4365 am__universal=false
4366 case " $depcc " in #(
4367 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4368 esac
4369
4370 for depmode in $am_compiler_list; do
4371 # Setup a source with many dependencies, because some compilers
4372 # like to wrap large dependency lists on column 80 (with \), and
4373 # we should not choose a depcomp mode which is confused by this.
4374 #
4375 # We need to recreate these files for each test, as the compiler may
4376 # overwrite some of them when testing with obscure command lines.
4377 # This happens at least with the AIX C compiler.
4378 : > sub/conftest.c
4379 for i in 1 2 3 4 5 6; do
4380 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4381 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4382 # Solaris 8's {/usr,}/bin/sh.
4383 touch sub/conftst$i.h
4384 done
4385 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4386
4387 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4388 # mode. It turns out that the SunPro C++ compiler does not properly
4389 # handle `-M -o', and we need to detect this. Also, some Intel
4390 # versions had trouble with output in subdirs
4391 am__obj=sub/conftest.${OBJEXT-o}
4392 am__minus_obj="-o $am__obj"
4393 case $depmode in
4394 gcc)
4395 # This depmode causes a compiler race in universal mode.
4396 test "$am__universal" = false || continue
4397 ;;
4398 nosideeffect)
4399 # after this tag, mechanisms are not by side-effect, so they'll
4400 # only be used when explicitly requested
4401 if test "x$enable_dependency_tracking" = xyes; then
4402 continue
4403 else
4404 break
4405 fi
4406 ;;
4407 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4408 # This compiler won't grok `-c -o', but also, the minuso test has
4409 # not run yet. These depmodes are late enough in the game, and
4410 # so weak that their functioning should not be impacted.
4411 am__obj=conftest.${OBJEXT-o}
4412 am__minus_obj=
4413 ;;
4414 none) break ;;
4415 esac
4416 if depmode=$depmode \
4417 source=sub/conftest.c object=$am__obj \
4418 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4419 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4420 >/dev/null 2>conftest.err &&
4421 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4422 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4423 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4424 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4425 # icc doesn't choke on unknown options, it will just issue warnings
4426 # or remarks (even with -Werror). So we grep stderr for any message
4427 # that says an option was ignored or not supported.
4428 # When given -MP, icc 7.0 and 7.1 complain thusly:
4429 # icc: Command line warning: ignoring option '-M'; no argument required
4430 # The diagnosis changed in icc 8.0:
4431 # icc: Command line remark: option '-MP' not supported
4432 if (grep 'ignoring option' conftest.err ||
4433 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4434 am_cv_CC_dependencies_compiler_type=$depmode
4435 break
4436 fi
4437 fi
4438 done
4439
4440 cd ..
4441 rm -rf conftest.dir
4442 else
4443 am_cv_CC_dependencies_compiler_type=none
4444 fi
4445
4446 fi
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4448 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4449 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4450
4451 if
4452 test "x$enable_dependency_tracking" != xno \
4453 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4454 am__fastdepCC_TRUE=
4455 am__fastdepCC_FALSE='#'
4456 else
4457 am__fastdepCC_TRUE='#'
4458 am__fastdepCC_FALSE=
4459 fi
4460
4461
4462
4463 ac_ext=c
4464 ac_cpp='$CPP $CPPFLAGS'
4465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4469 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4470 # On Suns, sometimes $CPP names a directory.
4471 if test -n "$CPP" && test -d "$CPP"; then
4472 CPP=
4473 fi
4474 if test -z "$CPP"; then
4475 if test "${ac_cv_prog_CPP+set}" = set; then :
4476 $as_echo_n "(cached) " >&6
4477 else
4478 # Double quotes because CPP needs to be expanded
4479 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4480 do
4481 ac_preproc_ok=false
4482 for ac_c_preproc_warn_flag in '' yes
4483 do
4484 # Use a header file that comes with gcc, so configuring glibc
4485 # with a fresh cross-compiler works.
4486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4487 # <limits.h> exists even on freestanding compilers.
4488 # On the NeXT, cc -E runs the code through the compiler's parser,
4489 # not just through cpp. "Syntax error" is here to catch this case.
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4492 #ifdef __STDC__
4493 # include <limits.h>
4494 #else
4495 # include <assert.h>
4496 #endif
4497 Syntax error
4498 _ACEOF
4499 if ac_fn_c_try_cpp "$LINENO"; then :
4500
4501 else
4502 # Broken: fails on valid input.
4503 continue
4504 fi
4505 rm -f conftest.err conftest.$ac_ext
4506
4507 # OK, works on sane cases. Now check whether nonexistent headers
4508 # can be detected and how.
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4511 #include <ac_nonexistent.h>
4512 _ACEOF
4513 if ac_fn_c_try_cpp "$LINENO"; then :
4514 # Broken: success on invalid input.
4515 continue
4516 else
4517 # Passes both tests.
4518 ac_preproc_ok=:
4519 break
4520 fi
4521 rm -f conftest.err conftest.$ac_ext
4522
4523 done
4524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4525 rm -f conftest.err conftest.$ac_ext
4526 if $ac_preproc_ok; then :
4527 break
4528 fi
4529
4530 done
4531 ac_cv_prog_CPP=$CPP
4532
4533 fi
4534 CPP=$ac_cv_prog_CPP
4535 else
4536 ac_cv_prog_CPP=$CPP
4537 fi
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4539 $as_echo "$CPP" >&6; }
4540 ac_preproc_ok=false
4541 for ac_c_preproc_warn_flag in '' yes
4542 do
4543 # Use a header file that comes with gcc, so configuring glibc
4544 # with a fresh cross-compiler works.
4545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4546 # <limits.h> exists even on freestanding compilers.
4547 # On the NeXT, cc -E runs the code through the compiler's parser,
4548 # not just through cpp. "Syntax error" is here to catch this case.
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4551 #ifdef __STDC__
4552 # include <limits.h>
4553 #else
4554 # include <assert.h>
4555 #endif
4556 Syntax error
4557 _ACEOF
4558 if ac_fn_c_try_cpp "$LINENO"; then :
4559
4560 else
4561 # Broken: fails on valid input.
4562 continue
4563 fi
4564 rm -f conftest.err conftest.$ac_ext
4565
4566 # OK, works on sane cases. Now check whether nonexistent headers
4567 # can be detected and how.
4568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4570 #include <ac_nonexistent.h>
4571 _ACEOF
4572 if ac_fn_c_try_cpp "$LINENO"; then :
4573 # Broken: success on invalid input.
4574 continue
4575 else
4576 # Passes both tests.
4577 ac_preproc_ok=:
4578 break
4579 fi
4580 rm -f conftest.err conftest.$ac_ext
4581
4582 done
4583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4584 rm -f conftest.err conftest.$ac_ext
4585 if $ac_preproc_ok; then :
4586
4587 else
4588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4590 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4591 See \`config.log' for more details." "$LINENO" 5; }
4592 fi
4593
4594 ac_ext=c
4595 ac_cpp='$CPP $CPPFLAGS'
4596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4599
4600
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4602 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4603 if test "${ac_cv_path_GREP+set}" = set; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 if test -z "$GREP"; then
4607 ac_path_GREP_found=false
4608 # Loop through the user's path and test for each of PROGNAME-LIST
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4611 do
4612 IFS=$as_save_IFS
4613 test -z "$as_dir" && as_dir=.
4614 for ac_prog in grep ggrep; do
4615 for ac_exec_ext in '' $ac_executable_extensions; do
4616 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4617 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4618 # Check for GNU ac_path_GREP and select it if it is found.
4619 # Check for GNU $ac_path_GREP
4620 case `"$ac_path_GREP" --version 2>&1` in
4621 *GNU*)
4622 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4623 *)
4624 ac_count=0
4625 $as_echo_n 0123456789 >"conftest.in"
4626 while :
4627 do
4628 cat "conftest.in" "conftest.in" >"conftest.tmp"
4629 mv "conftest.tmp" "conftest.in"
4630 cp "conftest.in" "conftest.nl"
4631 $as_echo 'GREP' >> "conftest.nl"
4632 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4633 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4634 as_fn_arith $ac_count + 1 && ac_count=$as_val
4635 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4636 # Best one so far, save it but keep looking for a better one
4637 ac_cv_path_GREP="$ac_path_GREP"
4638 ac_path_GREP_max=$ac_count
4639 fi
4640 # 10*(2^10) chars as input seems more than enough
4641 test $ac_count -gt 10 && break
4642 done
4643 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4644 esac
4645
4646 $ac_path_GREP_found && break 3
4647 done
4648 done
4649 done
4650 IFS=$as_save_IFS
4651 if test -z "$ac_cv_path_GREP"; then
4652 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4653 fi
4654 else
4655 ac_cv_path_GREP=$GREP
4656 fi
4657
4658 fi
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4660 $as_echo "$ac_cv_path_GREP" >&6; }
4661 GREP="$ac_cv_path_GREP"
4662
4663
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4665 $as_echo_n "checking for egrep... " >&6; }
4666 if test "${ac_cv_path_EGREP+set}" = set; then :
4667 $as_echo_n "(cached) " >&6
4668 else
4669 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4670 then ac_cv_path_EGREP="$GREP -E"
4671 else
4672 if test -z "$EGREP"; then
4673 ac_path_EGREP_found=false
4674 # Loop through the user's path and test for each of PROGNAME-LIST
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4677 do
4678 IFS=$as_save_IFS
4679 test -z "$as_dir" && as_dir=.
4680 for ac_prog in egrep; do
4681 for ac_exec_ext in '' $ac_executable_extensions; do
4682 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4683 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4684 # Check for GNU ac_path_EGREP and select it if it is found.
4685 # Check for GNU $ac_path_EGREP
4686 case `"$ac_path_EGREP" --version 2>&1` in
4687 *GNU*)
4688 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4689 *)
4690 ac_count=0
4691 $as_echo_n 0123456789 >"conftest.in"
4692 while :
4693 do
4694 cat "conftest.in" "conftest.in" >"conftest.tmp"
4695 mv "conftest.tmp" "conftest.in"
4696 cp "conftest.in" "conftest.nl"
4697 $as_echo 'EGREP' >> "conftest.nl"
4698 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4699 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4700 as_fn_arith $ac_count + 1 && ac_count=$as_val
4701 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4702 # Best one so far, save it but keep looking for a better one
4703 ac_cv_path_EGREP="$ac_path_EGREP"
4704 ac_path_EGREP_max=$ac_count
4705 fi
4706 # 10*(2^10) chars as input seems more than enough
4707 test $ac_count -gt 10 && break
4708 done
4709 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4710 esac
4711
4712 $ac_path_EGREP_found && break 3
4713 done
4714 done
4715 done
4716 IFS=$as_save_IFS
4717 if test -z "$ac_cv_path_EGREP"; then
4718 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4719 fi
4720 else
4721 ac_cv_path_EGREP=$EGREP
4722 fi
4723
4724 fi
4725 fi
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4727 $as_echo "$ac_cv_path_EGREP" >&6; }
4728 EGREP="$ac_cv_path_EGREP"
4729
4730
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4732 $as_echo_n "checking for ANSI C header files... " >&6; }
4733 if test "${ac_cv_header_stdc+set}" = set; then :
4734 $as_echo_n "(cached) " >&6
4735 else
4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4738 #include <stdlib.h>
4739 #include <stdarg.h>
4740 #include <string.h>
4741 #include <float.h>
4742
4743 int
4744 main ()
4745 {
4746
4747 ;
4748 return 0;
4749 }
4750 _ACEOF
4751 if ac_fn_c_try_compile "$LINENO"; then :
4752 ac_cv_header_stdc=yes
4753 else
4754 ac_cv_header_stdc=no
4755 fi
4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757
4758 if test $ac_cv_header_stdc = yes; then
4759 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4762 #include <string.h>
4763
4764 _ACEOF
4765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4766 $EGREP "memchr" >/dev/null 2>&1; then :
4767
4768 else
4769 ac_cv_header_stdc=no
4770 fi
4771 rm -f conftest*
4772
4773 fi
4774
4775 if test $ac_cv_header_stdc = yes; then
4776 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4779 #include <stdlib.h>
4780
4781 _ACEOF
4782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4783 $EGREP "free" >/dev/null 2>&1; then :
4784
4785 else
4786 ac_cv_header_stdc=no
4787 fi
4788 rm -f conftest*
4789
4790 fi
4791
4792 if test $ac_cv_header_stdc = yes; then
4793 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4794 if test "$cross_compiling" = yes; then :
4795 :
4796 else
4797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4798 /* end confdefs.h. */
4799 #include <ctype.h>
4800 #include <stdlib.h>
4801 #if ((' ' & 0x0FF) == 0x020)
4802 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4803 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4804 #else
4805 # define ISLOWER(c) \
4806 (('a' <= (c) && (c) <= 'i') \
4807 || ('j' <= (c) && (c) <= 'r') \
4808 || ('s' <= (c) && (c) <= 'z'))
4809 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4810 #endif
4811
4812 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4813 int
4814 main ()
4815 {
4816 int i;
4817 for (i = 0; i < 256; i++)
4818 if (XOR (islower (i), ISLOWER (i))
4819 || toupper (i) != TOUPPER (i))
4820 return 2;
4821 return 0;
4822 }
4823 _ACEOF
4824 if ac_fn_c_try_run "$LINENO"; then :
4825
4826 else
4827 ac_cv_header_stdc=no
4828 fi
4829 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4830 conftest.$ac_objext conftest.beam conftest.$ac_ext
4831 fi
4832
4833 fi
4834 fi
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4836 $as_echo "$ac_cv_header_stdc" >&6; }
4837 if test $ac_cv_header_stdc = yes; then
4838
4839 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4840
4841 fi
4842
4843 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4844 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4845 inttypes.h stdint.h unistd.h
4846 do :
4847 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4848 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4849 "
4850 eval as_val=\$$as_ac_Header
4851 if test "x$as_val" = x""yes; then :
4852 cat >>confdefs.h <<_ACEOF
4853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4854 _ACEOF
4855
4856 fi
4857
4858 done
4859
4860
4861
4862 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4863 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4864 MINIX=yes
4865 else
4866 MINIX=
4867 fi
4868
4869
4870 if test "$MINIX" = yes; then
4871
4872 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4873
4874
4875 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4876
4877
4878 $as_echo "#define _MINIX 1" >>confdefs.h
4879
4880 fi
4881
4882
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4884 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4885 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4890
4891 # define __EXTENSIONS__ 1
4892 $ac_includes_default
4893 int
4894 main ()
4895 {
4896
4897 ;
4898 return 0;
4899 }
4900 _ACEOF
4901 if ac_fn_c_try_compile "$LINENO"; then :
4902 ac_cv_safe_to_define___extensions__=yes
4903 else
4904 ac_cv_safe_to_define___extensions__=no
4905 fi
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907 fi
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4909 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4910 test $ac_cv_safe_to_define___extensions__ = yes &&
4911 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4912
4913 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4914
4915 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4916
4917 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4918
4919 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4920
4921
4922
4923 # Calculate toolexeclibdir
4924 # Also toolexecdir, though it's only used in toolexeclibdir
4925 case ${version_specific_libs} in
4926 yes)
4927 # Need the gcc compiler version to know where to install libraries
4928 # and header files if --enable-version-specific-runtime-libs option
4929 # is selected.
4930 toolexecdir='$(libdir)/gcc/$(target_alias)'
4931 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4932 ;;
4933 no)
4934 if test -n "$with_cross_host" &&
4935 test x"$with_cross_host" != x"no"; then
4936 # Install a library built with a cross compiler in tooldir, not libdir.
4937 toolexecdir='$(exec_prefix)/$(target_alias)'
4938 toolexeclibdir='$(toolexecdir)/lib'
4939 else
4940 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4941 toolexeclibdir='$(libdir)'
4942 fi
4943 multi_os_directory=`$CC -print-multi-os-directory`
4944 case $multi_os_directory in
4945 .) ;; # Avoid trailing /.
4946 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4947 esac
4948 ;;
4949 esac
4950
4951
4952
4953 # Create a spec file, so that compile/link tests don't fail
4954 test -f libgfortran.spec || touch libgfortran.spec
4955
4956 ac_ext=c
4957 ac_cpp='$CPP $CPPFLAGS'
4958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4961
4962 # Check the compiler.
4963 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4964 # We must force CC to /not/ be precious variables; otherwise
4965 # the wrong, non-multilib-adjusted value will be used in multilibs.
4966 # As a side effect, we have to subst CFLAGS ourselves.
4967
4968
4969
4970 ac_ext=c
4971 ac_cpp='$CPP $CPPFLAGS'
4972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4975 if test -n "$ac_tool_prefix"; then
4976 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4977 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_CC+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$CC"; then
4984 ac_cv_prog_CC="$CC" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4988 do
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4996 fi
4997 done
4998 done
4999 IFS=$as_save_IFS
5000
5001 fi
5002 fi
5003 CC=$ac_cv_prog_CC
5004 if test -n "$CC"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5006 $as_echo "$CC" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 fi
5011
5012
5013 fi
5014 if test -z "$ac_cv_prog_CC"; then
5015 ac_ct_CC=$CC
5016 # Extract the first word of "gcc", so it can be a program name with args.
5017 set dummy gcc; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 if test -n "$ac_ct_CC"; then
5024 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5028 do
5029 IFS=$as_save_IFS
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 ac_cv_prog_ac_ct_CC="gcc"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 break 2
5036 fi
5037 done
5038 done
5039 IFS=$as_save_IFS
5040
5041 fi
5042 fi
5043 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5044 if test -n "$ac_ct_CC"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5046 $as_echo "$ac_ct_CC" >&6; }
5047 else
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5050 fi
5051
5052 if test "x$ac_ct_CC" = x; then
5053 CC=""
5054 else
5055 case $cross_compiling:$ac_tool_warned in
5056 yes:)
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5059 ac_tool_warned=yes ;;
5060 esac
5061 CC=$ac_ct_CC
5062 fi
5063 else
5064 CC="$ac_cv_prog_CC"
5065 fi
5066
5067 if test -z "$CC"; then
5068 if test -n "$ac_tool_prefix"; then
5069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5070 set dummy ${ac_tool_prefix}cc; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if test "${ac_cv_prog_CC+set}" = set; then :
5074 $as_echo_n "(cached) " >&6
5075 else
5076 if test -n "$CC"; then
5077 ac_cv_prog_CC="$CC" # Let the user override the test.
5078 else
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 for as_dir in $PATH
5081 do
5082 IFS=$as_save_IFS
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5086 ac_cv_prog_CC="${ac_tool_prefix}cc"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 break 2
5089 fi
5090 done
5091 done
5092 IFS=$as_save_IFS
5093
5094 fi
5095 fi
5096 CC=$ac_cv_prog_CC
5097 if test -n "$CC"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5099 $as_echo "$CC" >&6; }
5100 else
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5103 fi
5104
5105
5106 fi
5107 fi
5108 if test -z "$CC"; then
5109 # Extract the first word of "cc", so it can be a program name with args.
5110 set dummy cc; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if test "${ac_cv_prog_CC+set}" = set; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 if test -n "$CC"; then
5117 ac_cv_prog_CC="$CC" # Let the user override the test.
5118 else
5119 ac_prog_rejected=no
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5122 do
5123 IFS=$as_save_IFS
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5127 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5128 ac_prog_rejected=yes
5129 continue
5130 fi
5131 ac_cv_prog_CC="cc"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 break 2
5134 fi
5135 done
5136 done
5137 IFS=$as_save_IFS
5138
5139 if test $ac_prog_rejected = yes; then
5140 # We found a bogon in the path, so make sure we never use it.
5141 set dummy $ac_cv_prog_CC
5142 shift
5143 if test $# != 0; then
5144 # We chose a different compiler from the bogus one.
5145 # However, it has the same basename, so the bogon will be chosen
5146 # first if we set CC to just the basename; use the full file name.
5147 shift
5148 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5149 fi
5150 fi
5151 fi
5152 fi
5153 CC=$ac_cv_prog_CC
5154 if test -n "$CC"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5156 $as_echo "$CC" >&6; }
5157 else
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5160 fi
5161
5162
5163 fi
5164 if test -z "$CC"; then
5165 if test -n "$ac_tool_prefix"; then
5166 for ac_prog in cl.exe
5167 do
5168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; }
5172 if test "${ac_cv_prog_CC+set}" = set; then :
5173 $as_echo_n "(cached) " >&6
5174 else
5175 if test -n "$CC"; then
5176 ac_cv_prog_CC="$CC" # Let the user override the test.
5177 else
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 for as_dir in $PATH
5180 do
5181 IFS=$as_save_IFS
5182 test -z "$as_dir" && as_dir=.
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5185 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 break 2
5188 fi
5189 done
5190 done
5191 IFS=$as_save_IFS
5192
5193 fi
5194 fi
5195 CC=$ac_cv_prog_CC
5196 if test -n "$CC"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5198 $as_echo "$CC" >&6; }
5199 else
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5202 fi
5203
5204
5205 test -n "$CC" && break
5206 done
5207 fi
5208 if test -z "$CC"; then
5209 ac_ct_CC=$CC
5210 for ac_prog in cl.exe
5211 do
5212 # Extract the first word of "$ac_prog", so it can be a program name with args.
5213 set dummy $ac_prog; ac_word=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5217 $as_echo_n "(cached) " >&6
5218 else
5219 if test -n "$ac_ct_CC"; then
5220 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5221 else
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 for as_dir in $PATH
5224 do
5225 IFS=$as_save_IFS
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229 ac_cv_prog_ac_ct_CC="$ac_prog"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 break 2
5232 fi
5233 done
5234 done
5235 IFS=$as_save_IFS
5236
5237 fi
5238 fi
5239 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5240 if test -n "$ac_ct_CC"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5242 $as_echo "$ac_ct_CC" >&6; }
5243 else
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5246 fi
5247
5248
5249 test -n "$ac_ct_CC" && break
5250 done
5251
5252 if test "x$ac_ct_CC" = x; then
5253 CC=""
5254 else
5255 case $cross_compiling:$ac_tool_warned in
5256 yes:)
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5259 ac_tool_warned=yes ;;
5260 esac
5261 CC=$ac_ct_CC
5262 fi
5263 fi
5264
5265 fi
5266
5267
5268 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5270 as_fn_error "no acceptable C compiler found in \$PATH
5271 See \`config.log' for more details." "$LINENO" 5; }
5272
5273 # Provide some information about the compiler.
5274 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5275 set X $ac_compile
5276 ac_compiler=$2
5277 for ac_option in --version -v -V -qversion; do
5278 { { ac_try="$ac_compiler $ac_option >&5"
5279 case "(($ac_try" in
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5282 esac
5283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284 $as_echo "$ac_try_echo"; } >&5
5285 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5286 ac_status=$?
5287 if test -s conftest.err; then
5288 sed '10a\
5289 ... rest of stderr output deleted ...
5290 10q' conftest.err >conftest.er1
5291 cat conftest.er1 >&5
5292 rm -f conftest.er1 conftest.err
5293 fi
5294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5295 test $ac_status = 0; }
5296 done
5297
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5299 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5300 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5301 $as_echo_n "(cached) " >&6
5302 else
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5305
5306 int
5307 main ()
5308 {
5309 #ifndef __GNUC__
5310 choke me
5311 #endif
5312
5313 ;
5314 return 0;
5315 }
5316 _ACEOF
5317 if ac_fn_c_try_compile "$LINENO"; then :
5318 ac_compiler_gnu=yes
5319 else
5320 ac_compiler_gnu=no
5321 fi
5322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5323 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5324
5325 fi
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5327 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5328 if test $ac_compiler_gnu = yes; then
5329 GCC=yes
5330 else
5331 GCC=
5332 fi
5333 ac_test_CFLAGS=${CFLAGS+set}
5334 ac_save_CFLAGS=$CFLAGS
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5336 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5337 if test "${ac_cv_prog_cc_g+set}" = set; then :
5338 $as_echo_n "(cached) " >&6
5339 else
5340 ac_save_c_werror_flag=$ac_c_werror_flag
5341 ac_c_werror_flag=yes
5342 ac_cv_prog_cc_g=no
5343 CFLAGS="-g"
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5346
5347 int
5348 main ()
5349 {
5350
5351 ;
5352 return 0;
5353 }
5354 _ACEOF
5355 if ac_fn_c_try_compile "$LINENO"; then :
5356 ac_cv_prog_cc_g=yes
5357 else
5358 CFLAGS=""
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5361
5362 int
5363 main ()
5364 {
5365
5366 ;
5367 return 0;
5368 }
5369 _ACEOF
5370 if ac_fn_c_try_compile "$LINENO"; then :
5371
5372 else
5373 ac_c_werror_flag=$ac_save_c_werror_flag
5374 CFLAGS="-g"
5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5377
5378 int
5379 main ()
5380 {
5381
5382 ;
5383 return 0;
5384 }
5385 _ACEOF
5386 if ac_fn_c_try_compile "$LINENO"; then :
5387 ac_cv_prog_cc_g=yes
5388 fi
5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 fi
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 fi
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5394 ac_c_werror_flag=$ac_save_c_werror_flag
5395 fi
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5397 $as_echo "$ac_cv_prog_cc_g" >&6; }
5398 if test "$ac_test_CFLAGS" = set; then
5399 CFLAGS=$ac_save_CFLAGS
5400 elif test $ac_cv_prog_cc_g = yes; then
5401 if test "$GCC" = yes; then
5402 CFLAGS="-g -O2"
5403 else
5404 CFLAGS="-g"
5405 fi
5406 else
5407 if test "$GCC" = yes; then
5408 CFLAGS="-O2"
5409 else
5410 CFLAGS=
5411 fi
5412 fi
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5414 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5415 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5416 $as_echo_n "(cached) " >&6
5417 else
5418 ac_cv_prog_cc_c89=no
5419 ac_save_CC=$CC
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5422 #include <stdarg.h>
5423 #include <stdio.h>
5424 #include <sys/types.h>
5425 #include <sys/stat.h>
5426 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5427 struct buf { int x; };
5428 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5429 static char *e (p, i)
5430 char **p;
5431 int i;
5432 {
5433 return p[i];
5434 }
5435 static char *f (char * (*g) (char **, int), char **p, ...)
5436 {
5437 char *s;
5438 va_list v;
5439 va_start (v,p);
5440 s = g (p, va_arg (v,int));
5441 va_end (v);
5442 return s;
5443 }
5444
5445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5446 function prototypes and stuff, but not '\xHH' hex character constants.
5447 These don't provoke an error unfortunately, instead are silently treated
5448 as 'x'. The following induces an error, until -std is added to get
5449 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5450 array size at least. It's necessary to write '\x00'==0 to get something
5451 that's true only with -std. */
5452 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5453
5454 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5455 inside strings and character constants. */
5456 #define FOO(x) 'x'
5457 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5458
5459 int test (int i, double x);
5460 struct s1 {int (*f) (int a);};
5461 struct s2 {int (*f) (double a);};
5462 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5463 int argc;
5464 char **argv;
5465 int
5466 main ()
5467 {
5468 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5469 ;
5470 return 0;
5471 }
5472 _ACEOF
5473 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5474 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5475 do
5476 CC="$ac_save_CC $ac_arg"
5477 if ac_fn_c_try_compile "$LINENO"; then :
5478 ac_cv_prog_cc_c89=$ac_arg
5479 fi
5480 rm -f core conftest.err conftest.$ac_objext
5481 test "x$ac_cv_prog_cc_c89" != "xno" && break
5482 done
5483 rm -f conftest.$ac_ext
5484 CC=$ac_save_CC
5485
5486 fi
5487 # AC_CACHE_VAL
5488 case "x$ac_cv_prog_cc_c89" in
5489 x)
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5491 $as_echo "none needed" >&6; } ;;
5492 xno)
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5494 $as_echo "unsupported" >&6; } ;;
5495 *)
5496 CC="$CC $ac_cv_prog_cc_c89"
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5498 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5499 esac
5500 if test "x$ac_cv_prog_cc_c89" != xno; then :
5501
5502 fi
5503
5504 ac_ext=c
5505 ac_cpp='$CPP $CPPFLAGS'
5506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5509
5510 depcc="$CC" am_compiler_list=
5511
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5513 $as_echo_n "checking dependency style of $depcc... " >&6; }
5514 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5515 $as_echo_n "(cached) " >&6
5516 else
5517 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5518 # We make a subdir and do the tests there. Otherwise we can end up
5519 # making bogus files that we don't know about and never remove. For
5520 # instance it was reported that on HP-UX the gcc test will end up
5521 # making a dummy file named `D' -- because `-MD' means `put the output
5522 # in D'.
5523 rm -rf conftest.dir
5524 mkdir conftest.dir
5525 # Copy depcomp to subdir because otherwise we won't find it if we're
5526 # using a relative directory.
5527 cp "$am_depcomp" conftest.dir
5528 cd conftest.dir
5529 # We will build objects and dependencies in a subdirectory because
5530 # it helps to detect inapplicable dependency modes. For instance
5531 # both Tru64's cc and ICC support -MD to output dependencies as a
5532 # side effect of compilation, but ICC will put the dependencies in
5533 # the current directory while Tru64 will put them in the object
5534 # directory.
5535 mkdir sub
5536
5537 am_cv_CC_dependencies_compiler_type=none
5538 if test "$am_compiler_list" = ""; then
5539 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5540 fi
5541 am__universal=false
5542 case " $depcc " in #(
5543 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5544 esac
5545
5546 for depmode in $am_compiler_list; do
5547 # Setup a source with many dependencies, because some compilers
5548 # like to wrap large dependency lists on column 80 (with \), and
5549 # we should not choose a depcomp mode which is confused by this.
5550 #
5551 # We need to recreate these files for each test, as the compiler may
5552 # overwrite some of them when testing with obscure command lines.
5553 # This happens at least with the AIX C compiler.
5554 : > sub/conftest.c
5555 for i in 1 2 3 4 5 6; do
5556 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5557 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5558 # Solaris 8's {/usr,}/bin/sh.
5559 touch sub/conftst$i.h
5560 done
5561 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5562
5563 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5564 # mode. It turns out that the SunPro C++ compiler does not properly
5565 # handle `-M -o', and we need to detect this. Also, some Intel
5566 # versions had trouble with output in subdirs
5567 am__obj=sub/conftest.${OBJEXT-o}
5568 am__minus_obj="-o $am__obj"
5569 case $depmode in
5570 gcc)
5571 # This depmode causes a compiler race in universal mode.
5572 test "$am__universal" = false || continue
5573 ;;
5574 nosideeffect)
5575 # after this tag, mechanisms are not by side-effect, so they'll
5576 # only be used when explicitly requested
5577 if test "x$enable_dependency_tracking" = xyes; then
5578 continue
5579 else
5580 break
5581 fi
5582 ;;
5583 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5584 # This compiler won't grok `-c -o', but also, the minuso test has
5585 # not run yet. These depmodes are late enough in the game, and
5586 # so weak that their functioning should not be impacted.
5587 am__obj=conftest.${OBJEXT-o}
5588 am__minus_obj=
5589 ;;
5590 none) break ;;
5591 esac
5592 if depmode=$depmode \
5593 source=sub/conftest.c object=$am__obj \
5594 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5595 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5596 >/dev/null 2>conftest.err &&
5597 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5598 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5599 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5600 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5601 # icc doesn't choke on unknown options, it will just issue warnings
5602 # or remarks (even with -Werror). So we grep stderr for any message
5603 # that says an option was ignored or not supported.
5604 # When given -MP, icc 7.0 and 7.1 complain thusly:
5605 # icc: Command line warning: ignoring option '-M'; no argument required
5606 # The diagnosis changed in icc 8.0:
5607 # icc: Command line remark: option '-MP' not supported
5608 if (grep 'ignoring option' conftest.err ||
5609 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5610 am_cv_CC_dependencies_compiler_type=$depmode
5611 break
5612 fi
5613 fi
5614 done
5615
5616 cd ..
5617 rm -rf conftest.dir
5618 else
5619 am_cv_CC_dependencies_compiler_type=none
5620 fi
5621
5622 fi
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5624 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5625 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5626
5627 if
5628 test "x$enable_dependency_tracking" != xno \
5629 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5630 am__fastdepCC_TRUE=
5631 am__fastdepCC_FALSE='#'
5632 else
5633 am__fastdepCC_TRUE='#'
5634 am__fastdepCC_FALSE=
5635 fi
5636
5637
5638
5639
5640
5641
5642 if test "x$CC" != xcc; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5644 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5645 else
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5647 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5648 fi
5649 set dummy $CC; ac_cc=`$as_echo "$2" |
5650 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5651 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5652 $as_echo_n "(cached) " >&6
5653 else
5654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5656
5657 int
5658 main ()
5659 {
5660
5661 ;
5662 return 0;
5663 }
5664 _ACEOF
5665 # Make sure it works both with $CC and with simple cc.
5666 # We do the test twice because some compilers refuse to overwrite an
5667 # existing .o file with -o, though they will create one.
5668 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5669 rm -f conftest2.*
5670 if { { case "(($ac_try" in
5671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5672 *) ac_try_echo=$ac_try;;
5673 esac
5674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5675 $as_echo "$ac_try_echo"; } >&5
5676 (eval "$ac_try") 2>&5
5677 ac_status=$?
5678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5679 test $ac_status = 0; } &&
5680 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5682 *) ac_try_echo=$ac_try;;
5683 esac
5684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5685 $as_echo "$ac_try_echo"; } >&5
5686 (eval "$ac_try") 2>&5
5687 ac_status=$?
5688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5689 test $ac_status = 0; };
5690 then
5691 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5692 if test "x$CC" != xcc; then
5693 # Test first that cc exists at all.
5694 if { ac_try='cc -c conftest.$ac_ext >&5'
5695 { { case "(($ac_try" in
5696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5698 esac
5699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5700 $as_echo "$ac_try_echo"; } >&5
5701 (eval "$ac_try") 2>&5
5702 ac_status=$?
5703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5704 test $ac_status = 0; }; }; then
5705 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5706 rm -f conftest2.*
5707 if { { case "(($ac_try" in
5708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5709 *) ac_try_echo=$ac_try;;
5710 esac
5711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5712 $as_echo "$ac_try_echo"; } >&5
5713 (eval "$ac_try") 2>&5
5714 ac_status=$?
5715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5716 test $ac_status = 0; } &&
5717 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5719 *) ac_try_echo=$ac_try;;
5720 esac
5721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5722 $as_echo "$ac_try_echo"; } >&5
5723 (eval "$ac_try") 2>&5
5724 ac_status=$?
5725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5726 test $ac_status = 0; };
5727 then
5728 # cc works too.
5729 :
5730 else
5731 # cc exists but doesn't like -o.
5732 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5733 fi
5734 fi
5735 fi
5736 else
5737 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5738 fi
5739 rm -f core conftest*
5740
5741 fi
5742 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5744 $as_echo "yes" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5748
5749 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5750
5751 fi
5752
5753 # FIXME: we rely on the cache variable name because
5754 # there is no other way.
5755 set dummy $CC
5756 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5757 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5758 if test "$am_t" != yes; then
5759 # Losing compiler, so override with the script.
5760 # FIXME: It is wrong to rewrite CC.
5761 # But if we don't then we get into trouble of one sort or another.
5762 # A longer-term fix would be to have automake use am__CC in this case,
5763 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5764 CC="$am_aux_dir/compile $CC"
5765 fi
5766
5767
5768
5769 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5770 if test "x$GCC" = "xyes"; then
5771 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5772 ## We like to use C11 and C99 routines when available. This makes
5773 ## sure that
5774 ## __STDC_VERSION__ is set such that libc includes make them available.
5775 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5776 ## Compile the following tests with the same system header contents
5777 ## that we'll encounter when compiling our own source files.
5778 CFLAGS="-std=gnu11 $CFLAGS"
5779 fi
5780
5781
5782
5783
5784 # Check for symbol versioning (copied from libssp).
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5786 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5787 # Check whether --enable-symvers was given.
5788 if test "${enable_symvers+set}" = set; then :
5789 enableval=$enable_symvers; gfortran_use_symver=$enableval
5790 else
5791 gfortran_use_symver=yes
5792 fi
5793
5794 if test "x$gfortran_use_symver" != xno; then
5795 save_LDFLAGS="$LDFLAGS"
5796 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5797 cat > conftest.map <<EOF
5798 FOO_1.0 {
5799 global: *foo*; bar; local: *;
5800 };
5801 EOF
5802 if test x$gcc_no_link = xyes; then
5803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5804 fi
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5807 int foo;
5808 int
5809 main ()
5810 {
5811
5812 ;
5813 return 0;
5814 }
5815 _ACEOF
5816 if ac_fn_c_try_link "$LINENO"; then :
5817 gfortran_use_symver=gnu
5818 else
5819 gfortran_use_symver=no
5820 fi
5821 rm -f core conftest.err conftest.$ac_objext \
5822 conftest$ac_exeext conftest.$ac_ext
5823 if test x$gfortran_use_symver = xno; then
5824 case "$target_os" in
5825 solaris2*)
5826 LDFLAGS="$save_LDFLAGS"
5827 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5828 # Sun ld cannot handle wildcards and treats all entries as undefined.
5829 cat > conftest.map <<EOF
5830 FOO_1.0 {
5831 global: foo; local: *;
5832 };
5833 EOF
5834 if test x$gcc_no_link = xyes; then
5835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5836 fi
5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5839 int foo;
5840 int
5841 main ()
5842 {
5843
5844 ;
5845 return 0;
5846 }
5847 _ACEOF
5848 if ac_fn_c_try_link "$LINENO"; then :
5849 gfortran_use_symver=sun
5850 else
5851 gfortran_use_symver=no
5852 fi
5853 rm -f core conftest.err conftest.$ac_objext \
5854 conftest$ac_exeext conftest.$ac_ext
5855 ;;
5856 esac
5857 fi
5858 LDFLAGS="$save_LDFLAGS"
5859 fi
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5861 $as_echo "$gfortran_use_symver" >&6; }
5862 if test "x$gfortran_use_symver" != xno; then
5863 LIBGFOR_USE_SYMVER_TRUE=
5864 LIBGFOR_USE_SYMVER_FALSE='#'
5865 else
5866 LIBGFOR_USE_SYMVER_TRUE='#'
5867 LIBGFOR_USE_SYMVER_FALSE=
5868 fi
5869
5870 if test "x$gfortran_use_symver" = xgnu; then
5871 LIBGFOR_USE_SYMVER_GNU_TRUE=
5872 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5873 else
5874 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5875 LIBGFOR_USE_SYMVER_GNU_FALSE=
5876 fi
5877
5878 if test "x$gfortran_use_symver" = xsun; then
5879 LIBGFOR_USE_SYMVER_SUN_TRUE=
5880 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5881 else
5882 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5883 LIBGFOR_USE_SYMVER_SUN_FALSE=
5884 fi
5885
5886
5887 # For GPU offloading, not everything in libfortran can be supported.
5888 # Currently, the only target that has this problem is nvptx. The
5889 # following is a (partial) list of features that are unsupportable on
5890 # this particular target:
5891 # * Constructors
5892 # * alloca
5893 # * C library support for I/O, with printf as the one notable exception
5894 # * C library support for other features such as signal, environment
5895 # variables, time functions
5896
5897 if test "x${target_cpu}" = xnvptx; then
5898 LIBGFOR_MINIMAL_TRUE=
5899 LIBGFOR_MINIMAL_FALSE='#'
5900 else
5901 LIBGFOR_MINIMAL_TRUE='#'
5902 LIBGFOR_MINIMAL_FALSE=
5903 fi
5904
5905
5906 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5907 # similarly to how libstdc++ does it
5908 ac_test_CFLAGS="${CFLAGS+set}"
5909 ac_save_CFLAGS="$CFLAGS"
5910
5911 # Check for -ffunction-sections -fdata-sections
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5913 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5914 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5916 /* end confdefs.h. */
5917
5918 int
5919 main ()
5920 {
5921 int foo;
5922 ;
5923 return 0;
5924 }
5925 _ACEOF
5926 if ac_fn_c_try_compile "$LINENO"; then :
5927 ac_fdsections=yes
5928 else
5929 ac_fdsections=no
5930 fi
5931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5932 if test "$ac_test_CFLAGS" = set; then
5933 CFLAGS="$ac_save_CFLAGS"
5934 else
5935 # this is the suspicious part
5936 CFLAGS=""
5937 fi
5938 if test x"$ac_fdsections" = x"yes"; then
5939 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5940 fi
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5942 $as_echo "$ac_fdsections" >&6; }
5943
5944
5945 # Find other programs we need.
5946 if test -n "$ac_tool_prefix"; then
5947 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5948 set dummy ${ac_tool_prefix}as; ac_word=$2
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5950 $as_echo_n "checking for $ac_word... " >&6; }
5951 if test "${ac_cv_prog_AS+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 if test -n "$AS"; then
5955 ac_cv_prog_AS="$AS" # Let the user override the test.
5956 else
5957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5958 for as_dir in $PATH
5959 do
5960 IFS=$as_save_IFS
5961 test -z "$as_dir" && as_dir=.
5962 for ac_exec_ext in '' $ac_executable_extensions; do
5963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5964 ac_cv_prog_AS="${ac_tool_prefix}as"
5965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5966 break 2
5967 fi
5968 done
5969 done
5970 IFS=$as_save_IFS
5971
5972 fi
5973 fi
5974 AS=$ac_cv_prog_AS
5975 if test -n "$AS"; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5977 $as_echo "$AS" >&6; }
5978 else
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5980 $as_echo "no" >&6; }
5981 fi
5982
5983
5984 fi
5985 if test -z "$ac_cv_prog_AS"; then
5986 ac_ct_AS=$AS
5987 # Extract the first word of "as", so it can be a program name with args.
5988 set dummy as; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5992 $as_echo_n "(cached) " >&6
5993 else
5994 if test -n "$ac_ct_AS"; then
5995 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5996 else
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 for as_dir in $PATH
5999 do
6000 IFS=$as_save_IFS
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6004 ac_cv_prog_ac_ct_AS="as"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 break 2
6007 fi
6008 done
6009 done
6010 IFS=$as_save_IFS
6011
6012 fi
6013 fi
6014 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6015 if test -n "$ac_ct_AS"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6017 $as_echo "$ac_ct_AS" >&6; }
6018 else
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6021 fi
6022
6023 if test "x$ac_ct_AS" = x; then
6024 AS=""
6025 else
6026 case $cross_compiling:$ac_tool_warned in
6027 yes:)
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6030 ac_tool_warned=yes ;;
6031 esac
6032 AS=$ac_ct_AS
6033 fi
6034 else
6035 AS="$ac_cv_prog_AS"
6036 fi
6037
6038 if test -n "$ac_tool_prefix"; then
6039 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6040 set dummy ${ac_tool_prefix}ar; ac_word=$2
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6042 $as_echo_n "checking for $ac_word... " >&6; }
6043 if test "${ac_cv_prog_AR+set}" = set; then :
6044 $as_echo_n "(cached) " >&6
6045 else
6046 if test -n "$AR"; then
6047 ac_cv_prog_AR="$AR" # Let the user override the test.
6048 else
6049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6050 for as_dir in $PATH
6051 do
6052 IFS=$as_save_IFS
6053 test -z "$as_dir" && as_dir=.
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6056 ac_cv_prog_AR="${ac_tool_prefix}ar"
6057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 break 2
6059 fi
6060 done
6061 done
6062 IFS=$as_save_IFS
6063
6064 fi
6065 fi
6066 AR=$ac_cv_prog_AR
6067 if test -n "$AR"; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6069 $as_echo "$AR" >&6; }
6070 else
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6072 $as_echo "no" >&6; }
6073 fi
6074
6075
6076 fi
6077 if test -z "$ac_cv_prog_AR"; then
6078 ac_ct_AR=$AR
6079 # Extract the first word of "ar", so it can be a program name with args.
6080 set dummy ar; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6084 $as_echo_n "(cached) " >&6
6085 else
6086 if test -n "$ac_ct_AR"; then
6087 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6091 do
6092 IFS=$as_save_IFS
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6096 ac_cv_prog_ac_ct_AR="ar"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 break 2
6099 fi
6100 done
6101 done
6102 IFS=$as_save_IFS
6103
6104 fi
6105 fi
6106 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6107 if test -n "$ac_ct_AR"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6109 $as_echo "$ac_ct_AR" >&6; }
6110 else
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6113 fi
6114
6115 if test "x$ac_ct_AR" = x; then
6116 AR=""
6117 else
6118 case $cross_compiling:$ac_tool_warned in
6119 yes:)
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6122 ac_tool_warned=yes ;;
6123 esac
6124 AR=$ac_ct_AR
6125 fi
6126 else
6127 AR="$ac_cv_prog_AR"
6128 fi
6129
6130 if test -n "$ac_tool_prefix"; then
6131 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6132 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6136 $as_echo_n "(cached) " >&6
6137 else
6138 if test -n "$RANLIB"; then
6139 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6140 else
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 for as_dir in $PATH
6143 do
6144 IFS=$as_save_IFS
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6148 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 break 2
6151 fi
6152 done
6153 done
6154 IFS=$as_save_IFS
6155
6156 fi
6157 fi
6158 RANLIB=$ac_cv_prog_RANLIB
6159 if test -n "$RANLIB"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6161 $as_echo "$RANLIB" >&6; }
6162 else
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6165 fi
6166
6167
6168 fi
6169 if test -z "$ac_cv_prog_RANLIB"; then
6170 ac_ct_RANLIB=$RANLIB
6171 # Extract the first word of "ranlib", so it can be a program name with args.
6172 set dummy ranlib; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6176 $as_echo_n "(cached) " >&6
6177 else
6178 if test -n "$ac_ct_RANLIB"; then
6179 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6180 else
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182 for as_dir in $PATH
6183 do
6184 IFS=$as_save_IFS
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6188 ac_cv_prog_ac_ct_RANLIB="ranlib"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190 break 2
6191 fi
6192 done
6193 done
6194 IFS=$as_save_IFS
6195
6196 fi
6197 fi
6198 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6199 if test -n "$ac_ct_RANLIB"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6201 $as_echo "$ac_ct_RANLIB" >&6; }
6202 else
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6205 fi
6206
6207 if test "x$ac_ct_RANLIB" = x; then
6208 RANLIB="ranlib-not-found-in-path-error"
6209 else
6210 case $cross_compiling:$ac_tool_warned in
6211 yes:)
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6214 ac_tool_warned=yes ;;
6215 esac
6216 RANLIB=$ac_ct_RANLIB
6217 fi
6218 else
6219 RANLIB="$ac_cv_prog_RANLIB"
6220 fi
6221
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6223 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6224 set x ${MAKE-make}
6225 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6226 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 cat >conftest.make <<\_ACEOF
6230 SHELL = /bin/sh
6231 all:
6232 @echo '@@@%%%=$(MAKE)=@@@%%%'
6233 _ACEOF
6234 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6235 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6236 *@@@%%%=?*=@@@%%%*)
6237 eval ac_cv_prog_make_${ac_make}_set=yes;;
6238 *)
6239 eval ac_cv_prog_make_${ac_make}_set=no;;
6240 esac
6241 rm -f conftest.make
6242 fi
6243 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6245 $as_echo "yes" >&6; }
6246 SET_MAKE=
6247 else
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6249 $as_echo "no" >&6; }
6250 SET_MAKE="MAKE=${MAKE-make}"
6251 fi
6252
6253
6254
6255 # Configure libtool
6256 #AC_MSG_NOTICE([====== Starting libtool configuration])
6257 enable_dlopen=yes
6258
6259
6260
6261 case `pwd` in
6262 *\ * | *\ *)
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6264 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6265 esac
6266
6267
6268
6269 macro_version='2.2.7a'
6270 macro_revision='1.3134'
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284 ltmain="$ac_aux_dir/ltmain.sh"
6285
6286 # Backslashify metacharacters that are still active within
6287 # double-quoted strings.
6288 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6289
6290 # Same as above, but do not quote variable references.
6291 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6292
6293 # Sed substitution to delay expansion of an escaped shell variable in a
6294 # double_quote_subst'ed string.
6295 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6296
6297 # Sed substitution to delay expansion of an escaped single quote.
6298 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6299
6300 # Sed substitution to avoid accidental globbing in evaled expressions
6301 no_glob_subst='s/\*/\\\*/g'
6302
6303 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6304 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6305 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6306
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6308 $as_echo_n "checking how to print strings... " >&6; }
6309 # Test print first, because it will be a builtin if present.
6310 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6311 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6312 ECHO='print -r --'
6313 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6314 ECHO='printf %s\n'
6315 else
6316 # Use this function as a fallback that always works.
6317 func_fallback_echo ()
6318 {
6319 eval 'cat <<_LTECHO_EOF
6320 $1
6321 _LTECHO_EOF'
6322 }
6323 ECHO='func_fallback_echo'
6324 fi
6325
6326 # func_echo_all arg...
6327 # Invoke $ECHO with all args, space-separated.
6328 func_echo_all ()
6329 {
6330 $ECHO ""
6331 }
6332
6333 case "$ECHO" in
6334 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6335 $as_echo "printf" >&6; } ;;
6336 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6337 $as_echo "print -r" >&6; } ;;
6338 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6339 $as_echo "cat" >&6; } ;;
6340 esac
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6356 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6357 if test "${ac_cv_path_SED+set}" = set; then :
6358 $as_echo_n "(cached) " >&6
6359 else
6360 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6361 for ac_i in 1 2 3 4 5 6 7; do
6362 ac_script="$ac_script$as_nl$ac_script"
6363 done
6364 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6365 { ac_script=; unset ac_script;}
6366 if test -z "$SED"; then
6367 ac_path_SED_found=false
6368 # Loop through the user's path and test for each of PROGNAME-LIST
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370 for as_dir in $PATH
6371 do
6372 IFS=$as_save_IFS
6373 test -z "$as_dir" && as_dir=.
6374 for ac_prog in sed gsed; do
6375 for ac_exec_ext in '' $ac_executable_extensions; do
6376 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6377 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6378 # Check for GNU ac_path_SED and select it if it is found.
6379 # Check for GNU $ac_path_SED
6380 case `"$ac_path_SED" --version 2>&1` in
6381 *GNU*)
6382 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6383 *)
6384 ac_count=0
6385 $as_echo_n 0123456789 >"conftest.in"
6386 while :
6387 do
6388 cat "conftest.in" "conftest.in" >"conftest.tmp"
6389 mv "conftest.tmp" "conftest.in"
6390 cp "conftest.in" "conftest.nl"
6391 $as_echo '' >> "conftest.nl"
6392 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6393 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6394 as_fn_arith $ac_count + 1 && ac_count=$as_val
6395 if test $ac_count -gt ${ac_path_SED_max-0}; then
6396 # Best one so far, save it but keep looking for a better one
6397 ac_cv_path_SED="$ac_path_SED"
6398 ac_path_SED_max=$ac_count
6399 fi
6400 # 10*(2^10) chars as input seems more than enough
6401 test $ac_count -gt 10 && break
6402 done
6403 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6404 esac
6405
6406 $ac_path_SED_found && break 3
6407 done
6408 done
6409 done
6410 IFS=$as_save_IFS
6411 if test -z "$ac_cv_path_SED"; then
6412 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6413 fi
6414 else
6415 ac_cv_path_SED=$SED
6416 fi
6417
6418 fi
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6420 $as_echo "$ac_cv_path_SED" >&6; }
6421 SED="$ac_cv_path_SED"
6422 rm -f conftest.sed
6423
6424 test -z "$SED" && SED=sed
6425 Xsed="$SED -e 1s/^X//"
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6438 $as_echo_n "checking for fgrep... " >&6; }
6439 if test "${ac_cv_path_FGREP+set}" = set; then :
6440 $as_echo_n "(cached) " >&6
6441 else
6442 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6443 then ac_cv_path_FGREP="$GREP -F"
6444 else
6445 if test -z "$FGREP"; then
6446 ac_path_FGREP_found=false
6447 # Loop through the user's path and test for each of PROGNAME-LIST
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6449 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6450 do
6451 IFS=$as_save_IFS
6452 test -z "$as_dir" && as_dir=.
6453 for ac_prog in fgrep; do
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6456 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6457 # Check for GNU ac_path_FGREP and select it if it is found.
6458 # Check for GNU $ac_path_FGREP
6459 case `"$ac_path_FGREP" --version 2>&1` in
6460 *GNU*)
6461 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6462 *)
6463 ac_count=0
6464 $as_echo_n 0123456789 >"conftest.in"
6465 while :
6466 do
6467 cat "conftest.in" "conftest.in" >"conftest.tmp"
6468 mv "conftest.tmp" "conftest.in"
6469 cp "conftest.in" "conftest.nl"
6470 $as_echo 'FGREP' >> "conftest.nl"
6471 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6472 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6473 as_fn_arith $ac_count + 1 && ac_count=$as_val
6474 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6475 # Best one so far, save it but keep looking for a better one
6476 ac_cv_path_FGREP="$ac_path_FGREP"
6477 ac_path_FGREP_max=$ac_count
6478 fi
6479 # 10*(2^10) chars as input seems more than enough
6480 test $ac_count -gt 10 && break
6481 done
6482 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6483 esac
6484
6485 $ac_path_FGREP_found && break 3
6486 done
6487 done
6488 done
6489 IFS=$as_save_IFS
6490 if test -z "$ac_cv_path_FGREP"; then
6491 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6492 fi
6493 else
6494 ac_cv_path_FGREP=$FGREP
6495 fi
6496
6497 fi
6498 fi
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6500 $as_echo "$ac_cv_path_FGREP" >&6; }
6501 FGREP="$ac_cv_path_FGREP"
6502
6503
6504 test -z "$GREP" && GREP=grep
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524 # Check whether --with-gnu-ld was given.
6525 if test "${with_gnu_ld+set}" = set; then :
6526 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6527 else
6528 with_gnu_ld=no
6529 fi
6530
6531 ac_prog=ld
6532 if test "$GCC" = yes; then
6533 # Check if gcc -print-prog-name=ld gives a path.
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6535 $as_echo_n "checking for ld used by $CC... " >&6; }
6536 case $host in
6537 *-*-mingw*)
6538 # gcc leaves a trailing carriage return which upsets mingw
6539 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6540 *)
6541 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6542 esac
6543 case $ac_prog in
6544 # Accept absolute paths.
6545 [\\/]* | ?:[\\/]*)
6546 re_direlt='/[^/][^/]*/\.\./'
6547 # Canonicalize the pathname of ld
6548 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6549 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6550 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6551 done
6552 test -z "$LD" && LD="$ac_prog"
6553 ;;
6554 "")
6555 # If it fails, then pretend we aren't using GCC.
6556 ac_prog=ld
6557 ;;
6558 *)
6559 # If it is relative, then search for the first ld in PATH.
6560 with_gnu_ld=unknown
6561 ;;
6562 esac
6563 elif test "$with_gnu_ld" = yes; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6565 $as_echo_n "checking for GNU ld... " >&6; }
6566 else
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6568 $as_echo_n "checking for non-GNU ld... " >&6; }
6569 fi
6570 if test "${lt_cv_path_LD+set}" = set; then :
6571 $as_echo_n "(cached) " >&6
6572 else
6573 if test -z "$LD"; then
6574 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6575 for ac_dir in $PATH; do
6576 IFS="$lt_save_ifs"
6577 test -z "$ac_dir" && ac_dir=.
6578 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6579 lt_cv_path_LD="$ac_dir/$ac_prog"
6580 # Check to see if the program is GNU ld. I'd rather use --version,
6581 # but apparently some variants of GNU ld only accept -v.
6582 # Break only if it was the GNU/non-GNU ld that we prefer.
6583 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6584 *GNU* | *'with BFD'*)
6585 test "$with_gnu_ld" != no && break
6586 ;;
6587 *)
6588 test "$with_gnu_ld" != yes && break
6589 ;;
6590 esac
6591 fi
6592 done
6593 IFS="$lt_save_ifs"
6594 else
6595 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6596 fi
6597 fi
6598
6599 LD="$lt_cv_path_LD"
6600 if test -n "$LD"; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6602 $as_echo "$LD" >&6; }
6603 else
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6605 $as_echo "no" >&6; }
6606 fi
6607 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6609 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6610 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6614 case `$LD -v 2>&1 </dev/null` in
6615 *GNU* | *'with BFD'*)
6616 lt_cv_prog_gnu_ld=yes
6617 ;;
6618 *)
6619 lt_cv_prog_gnu_ld=no
6620 ;;
6621 esac
6622 fi
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6624 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6625 with_gnu_ld=$lt_cv_prog_gnu_ld
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6636 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6637 if test "${lt_cv_path_NM+set}" = set; then :
6638 $as_echo_n "(cached) " >&6
6639 else
6640 if test -n "$NM"; then
6641 # Let the user override the test.
6642 lt_cv_path_NM="$NM"
6643 else
6644 lt_nm_to_check="${ac_tool_prefix}nm"
6645 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6646 lt_nm_to_check="$lt_nm_to_check nm"
6647 fi
6648 for lt_tmp_nm in $lt_nm_to_check; do
6649 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6650 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6651 IFS="$lt_save_ifs"
6652 test -z "$ac_dir" && ac_dir=.
6653 tmp_nm="$ac_dir/$lt_tmp_nm"
6654 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6655 # Check to see if the nm accepts a BSD-compat flag.
6656 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6657 # nm: unknown option "B" ignored
6658 # Tru64's nm complains that /dev/null is an invalid object file
6659 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6660 */dev/null* | *'Invalid file or object type'*)
6661 lt_cv_path_NM="$tmp_nm -B"
6662 break
6663 ;;
6664 *)
6665 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6666 */dev/null*)
6667 lt_cv_path_NM="$tmp_nm -p"
6668 break
6669 ;;
6670 *)
6671 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6672 continue # so that we can try to find one that supports BSD flags
6673 ;;
6674 esac
6675 ;;
6676 esac
6677 fi
6678 done
6679 IFS="$lt_save_ifs"
6680 done
6681 : ${lt_cv_path_NM=no}
6682 fi
6683 fi
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6685 $as_echo "$lt_cv_path_NM" >&6; }
6686 if test "$lt_cv_path_NM" != "no"; then
6687 NM="$lt_cv_path_NM"
6688 else
6689 # Didn't find any BSD compatible name lister, look for dumpbin.
6690 if test -n "$DUMPBIN"; then :
6691 # Let the user override the test.
6692 else
6693 if test -n "$ac_tool_prefix"; then
6694 for ac_prog in dumpbin "link -dump"
6695 do
6696 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6697 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699 $as_echo_n "checking for $ac_word... " >&6; }
6700 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6701 $as_echo_n "(cached) " >&6
6702 else
6703 if test -n "$DUMPBIN"; then
6704 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6705 else
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 for as_dir in $PATH
6708 do
6709 IFS=$as_save_IFS
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6713 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6715 break 2
6716 fi
6717 done
6718 done
6719 IFS=$as_save_IFS
6720
6721 fi
6722 fi
6723 DUMPBIN=$ac_cv_prog_DUMPBIN
6724 if test -n "$DUMPBIN"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6726 $as_echo "$DUMPBIN" >&6; }
6727 else
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 $as_echo "no" >&6; }
6730 fi
6731
6732
6733 test -n "$DUMPBIN" && break
6734 done
6735 fi
6736 if test -z "$DUMPBIN"; then
6737 ac_ct_DUMPBIN=$DUMPBIN
6738 for ac_prog in dumpbin "link -dump"
6739 do
6740 # Extract the first word of "$ac_prog", so it can be a program name with args.
6741 set dummy $ac_prog; ac_word=$2
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6743 $as_echo_n "checking for $ac_word... " >&6; }
6744 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6745 $as_echo_n "(cached) " >&6
6746 else
6747 if test -n "$ac_ct_DUMPBIN"; then
6748 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6749 else
6750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751 for as_dir in $PATH
6752 do
6753 IFS=$as_save_IFS
6754 test -z "$as_dir" && as_dir=.
6755 for ac_exec_ext in '' $ac_executable_extensions; do
6756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6757 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 break 2
6760 fi
6761 done
6762 done
6763 IFS=$as_save_IFS
6764
6765 fi
6766 fi
6767 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6768 if test -n "$ac_ct_DUMPBIN"; then
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6770 $as_echo "$ac_ct_DUMPBIN" >&6; }
6771 else
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6773 $as_echo "no" >&6; }
6774 fi
6775
6776
6777 test -n "$ac_ct_DUMPBIN" && break
6778 done
6779
6780 if test "x$ac_ct_DUMPBIN" = x; then
6781 DUMPBIN=":"
6782 else
6783 case $cross_compiling:$ac_tool_warned in
6784 yes:)
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6787 ac_tool_warned=yes ;;
6788 esac
6789 DUMPBIN=$ac_ct_DUMPBIN
6790 fi
6791 fi
6792
6793 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6794 *COFF*)
6795 DUMPBIN="$DUMPBIN -symbols"
6796 ;;
6797 *)
6798 DUMPBIN=:
6799 ;;
6800 esac
6801 fi
6802
6803 if test "$DUMPBIN" != ":"; then
6804 NM="$DUMPBIN"
6805 fi
6806 fi
6807 test -z "$NM" && NM=nm
6808
6809
6810
6811
6812
6813
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6815 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6816 if test "${lt_cv_nm_interface+set}" = set; then :
6817 $as_echo_n "(cached) " >&6
6818 else
6819 lt_cv_nm_interface="BSD nm"
6820 echo "int some_variable = 0;" > conftest.$ac_ext
6821 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6822 (eval "$ac_compile" 2>conftest.err)
6823 cat conftest.err >&5
6824 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6825 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6826 cat conftest.err >&5
6827 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6828 cat conftest.out >&5
6829 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6830 lt_cv_nm_interface="MS dumpbin"
6831 fi
6832 rm -f conftest*
6833 fi
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6835 $as_echo "$lt_cv_nm_interface" >&6; }
6836
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6838 $as_echo_n "checking whether ln -s works... " >&6; }
6839 LN_S=$as_ln_s
6840 if test "$LN_S" = "ln -s"; then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6842 $as_echo "yes" >&6; }
6843 else
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6845 $as_echo "no, using $LN_S" >&6; }
6846 fi
6847
6848 # find the maximum length of command line arguments
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6850 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6851 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6852 $as_echo_n "(cached) " >&6
6853 else
6854 i=0
6855 teststring="ABCD"
6856
6857 case $build_os in
6858 msdosdjgpp*)
6859 # On DJGPP, this test can blow up pretty badly due to problems in libc
6860 # (any single argument exceeding 2000 bytes causes a buffer overrun
6861 # during glob expansion). Even if it were fixed, the result of this
6862 # check would be larger than it should be.
6863 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6864 ;;
6865
6866 gnu*)
6867 # Under GNU Hurd, this test is not required because there is
6868 # no limit to the length of command line arguments.
6869 # Libtool will interpret -1 as no limit whatsoever
6870 lt_cv_sys_max_cmd_len=-1;
6871 ;;
6872
6873 cygwin* | mingw* | cegcc*)
6874 # On Win9x/ME, this test blows up -- it succeeds, but takes
6875 # about 5 minutes as the teststring grows exponentially.
6876 # Worse, since 9x/ME are not pre-emptively multitasking,
6877 # you end up with a "frozen" computer, even though with patience
6878 # the test eventually succeeds (with a max line length of 256k).
6879 # Instead, let's just punt: use the minimum linelength reported by
6880 # all of the supported platforms: 8192 (on NT/2K/XP).
6881 lt_cv_sys_max_cmd_len=8192;
6882 ;;
6883
6884 mint*)
6885 # On MiNT this can take a long time and run out of memory.
6886 lt_cv_sys_max_cmd_len=8192;
6887 ;;
6888
6889 amigaos*)
6890 # On AmigaOS with pdksh, this test takes hours, literally.
6891 # So we just punt and use a minimum line length of 8192.
6892 lt_cv_sys_max_cmd_len=8192;
6893 ;;
6894
6895 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6896 # This has been around since 386BSD, at least. Likely further.
6897 if test -x /sbin/sysctl; then
6898 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6899 elif test -x /usr/sbin/sysctl; then
6900 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6901 else
6902 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6903 fi
6904 # And add a safety zone
6905 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6906 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6907 ;;
6908
6909 interix*)
6910 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6911 lt_cv_sys_max_cmd_len=196608
6912 ;;
6913
6914 osf*)
6915 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6916 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6917 # nice to cause kernel panics so lets avoid the loop below.
6918 # First set a reasonable default.
6919 lt_cv_sys_max_cmd_len=16384
6920 #
6921 if test -x /sbin/sysconfig; then
6922 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6923 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6924 esac
6925 fi
6926 ;;
6927 sco3.2v5*)
6928 lt_cv_sys_max_cmd_len=102400
6929 ;;
6930 sysv5* | sco5v6* | sysv4.2uw2*)
6931 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6932 if test -n "$kargmax"; then
6933 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6934 else
6935 lt_cv_sys_max_cmd_len=32768
6936 fi
6937 ;;
6938 *)
6939 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6940 if test -n "$lt_cv_sys_max_cmd_len"; then
6941 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6942 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6943 else
6944 # Make teststring a little bigger before we do anything with it.
6945 # a 1K string should be a reasonable start.
6946 for i in 1 2 3 4 5 6 7 8 ; do
6947 teststring=$teststring$teststring
6948 done
6949 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6950 # If test is not a shell built-in, we'll probably end up computing a
6951 # maximum length that is only half of the actual maximum length, but
6952 # we can't tell.
6953 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6954 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6955 test $i != 17 # 1/2 MB should be enough
6956 do
6957 i=`expr $i + 1`
6958 teststring=$teststring$teststring
6959 done
6960 # Only check the string length outside the loop.
6961 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6962 teststring=
6963 # Add a significant safety factor because C++ compilers can tack on
6964 # massive amounts of additional arguments before passing them to the
6965 # linker. It appears as though 1/2 is a usable value.
6966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6967 fi
6968 ;;
6969 esac
6970
6971 fi
6972
6973 if test -n $lt_cv_sys_max_cmd_len ; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6975 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6976 else
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6978 $as_echo "none" >&6; }
6979 fi
6980 max_cmd_len=$lt_cv_sys_max_cmd_len
6981
6982
6983
6984
6985
6986
6987 : ${CP="cp -f"}
6988 : ${MV="mv -f"}
6989 : ${RM="rm -f"}
6990
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6992 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6993 # Try some XSI features
6994 xsi_shell=no
6995 ( _lt_dummy="a/b/c"
6996 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6997 = c,a/b,, \
6998 && eval 'test $(( 1 + 1 )) -eq 2 \
6999 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7000 && xsi_shell=yes
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7002 $as_echo "$xsi_shell" >&6; }
7003
7004
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7006 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7007 lt_shell_append=no
7008 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7009 >/dev/null 2>&1 \
7010 && lt_shell_append=yes
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7012 $as_echo "$lt_shell_append" >&6; }
7013
7014
7015 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7016 lt_unset=unset
7017 else
7018 lt_unset=false
7019 fi
7020
7021
7022
7023
7024
7025 # test EBCDIC or ASCII
7026 case `echo X|tr X '\101'` in
7027 A) # ASCII based system
7028 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7029 lt_SP2NL='tr \040 \012'
7030 lt_NL2SP='tr \015\012 \040\040'
7031 ;;
7032 *) # EBCDIC based system
7033 lt_SP2NL='tr \100 \n'
7034 lt_NL2SP='tr \r\n \100\100'
7035 ;;
7036 esac
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7047 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7048 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7049 $as_echo_n "(cached) " >&6
7050 else
7051 lt_cv_ld_reload_flag='-r'
7052 fi
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7054 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7055 reload_flag=$lt_cv_ld_reload_flag
7056 case $reload_flag in
7057 "" | " "*) ;;
7058 *) reload_flag=" $reload_flag" ;;
7059 esac
7060 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7061 case $host_os in
7062 darwin*)
7063 if test "$GCC" = yes; then
7064 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7065 else
7066 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7067 fi
7068 ;;
7069 esac
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079 if test -n "$ac_tool_prefix"; then
7080 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7081 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7085 $as_echo_n "(cached) " >&6
7086 else
7087 if test -n "$OBJDUMP"; then
7088 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7089 else
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 for as_dir in $PATH
7092 do
7093 IFS=$as_save_IFS
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7097 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7099 break 2
7100 fi
7101 done
7102 done
7103 IFS=$as_save_IFS
7104
7105 fi
7106 fi
7107 OBJDUMP=$ac_cv_prog_OBJDUMP
7108 if test -n "$OBJDUMP"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7110 $as_echo "$OBJDUMP" >&6; }
7111 else
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7114 fi
7115
7116
7117 fi
7118 if test -z "$ac_cv_prog_OBJDUMP"; then
7119 ac_ct_OBJDUMP=$OBJDUMP
7120 # Extract the first word of "objdump", so it can be a program name with args.
7121 set dummy objdump; ac_word=$2
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123 $as_echo_n "checking for $ac_word... " >&6; }
7124 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7125 $as_echo_n "(cached) " >&6
7126 else
7127 if test -n "$ac_ct_OBJDUMP"; then
7128 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7129 else
7130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7131 for as_dir in $PATH
7132 do
7133 IFS=$as_save_IFS
7134 test -z "$as_dir" && as_dir=.
7135 for ac_exec_ext in '' $ac_executable_extensions; do
7136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7137 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7139 break 2
7140 fi
7141 done
7142 done
7143 IFS=$as_save_IFS
7144
7145 fi
7146 fi
7147 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7148 if test -n "$ac_ct_OBJDUMP"; then
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7150 $as_echo "$ac_ct_OBJDUMP" >&6; }
7151 else
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7153 $as_echo "no" >&6; }
7154 fi
7155
7156 if test "x$ac_ct_OBJDUMP" = x; then
7157 OBJDUMP="false"
7158 else
7159 case $cross_compiling:$ac_tool_warned in
7160 yes:)
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7163 ac_tool_warned=yes ;;
7164 esac
7165 OBJDUMP=$ac_ct_OBJDUMP
7166 fi
7167 else
7168 OBJDUMP="$ac_cv_prog_OBJDUMP"
7169 fi
7170
7171 test -z "$OBJDUMP" && OBJDUMP=objdump
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7182 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7183 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7184 $as_echo_n "(cached) " >&6
7185 else
7186 lt_cv_file_magic_cmd='$MAGIC_CMD'
7187 lt_cv_file_magic_test_file=
7188 lt_cv_deplibs_check_method='unknown'
7189 # Need to set the preceding variable on all platforms that support
7190 # interlibrary dependencies.
7191 # 'none' -- dependencies not supported.
7192 # `unknown' -- same as none, but documents that we really don't know.
7193 # 'pass_all' -- all dependencies passed with no checks.
7194 # 'test_compile' -- check by making test program.
7195 # 'file_magic [[regex]]' -- check by looking for files in library path
7196 # which responds to the $file_magic_cmd with a given extended regex.
7197 # If you have `file' or equivalent on your system and you're not sure
7198 # whether `pass_all' will *always* work, you probably want this one.
7199
7200 case $host_os in
7201 aix[4-9]*)
7202 lt_cv_deplibs_check_method=pass_all
7203 ;;
7204
7205 beos*)
7206 lt_cv_deplibs_check_method=pass_all
7207 ;;
7208
7209 bsdi[45]*)
7210 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7211 lt_cv_file_magic_cmd='/usr/bin/file -L'
7212 lt_cv_file_magic_test_file=/shlib/libc.so
7213 ;;
7214
7215 cygwin*)
7216 # func_win32_libid is a shell function defined in ltmain.sh
7217 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7218 lt_cv_file_magic_cmd='func_win32_libid'
7219 ;;
7220
7221 mingw* | pw32*)
7222 # Base MSYS/MinGW do not provide the 'file' command needed by
7223 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7224 # unless we find 'file', for example because we are cross-compiling.
7225 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7226 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7227 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7228 lt_cv_file_magic_cmd='func_win32_libid'
7229 else
7230 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7231 lt_cv_file_magic_cmd='$OBJDUMP -f'
7232 fi
7233 ;;
7234
7235 cegcc*)
7236 # use the weaker test based on 'objdump'. See mingw*.
7237 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7238 lt_cv_file_magic_cmd='$OBJDUMP -f'
7239 ;;
7240
7241 darwin* | rhapsody*)
7242 lt_cv_deplibs_check_method=pass_all
7243 ;;
7244
7245 freebsd* | dragonfly*)
7246 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7247 case $host_cpu in
7248 i*86 )
7249 # Not sure whether the presence of OpenBSD here was a mistake.
7250 # Let's accept both of them until this is cleared up.
7251 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7252 lt_cv_file_magic_cmd=/usr/bin/file
7253 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7254 ;;
7255 esac
7256 else
7257 lt_cv_deplibs_check_method=pass_all
7258 fi
7259 ;;
7260
7261 gnu*)
7262 lt_cv_deplibs_check_method=pass_all
7263 ;;
7264
7265 haiku*)
7266 lt_cv_deplibs_check_method=pass_all
7267 ;;
7268
7269 hpux10.20* | hpux11*)
7270 lt_cv_file_magic_cmd=/usr/bin/file
7271 case $host_cpu in
7272 ia64*)
7273 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7274 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7275 ;;
7276 hppa*64*)
7277 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]'
7278 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7279 ;;
7280 *)
7281 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7282 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7283 ;;
7284 esac
7285 ;;
7286
7287 interix[3-9]*)
7288 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7289 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7290 ;;
7291
7292 irix5* | irix6* | nonstopux*)
7293 case $LD in
7294 *-32|*"-32 ") libmagic=32-bit;;
7295 *-n32|*"-n32 ") libmagic=N32;;
7296 *-64|*"-64 ") libmagic=64-bit;;
7297 *) libmagic=never-match;;
7298 esac
7299 lt_cv_deplibs_check_method=pass_all
7300 ;;
7301
7302 # This must be Linux ELF.
7303 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7304 lt_cv_deplibs_check_method=pass_all
7305 ;;
7306
7307 netbsd*)
7308 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7310 else
7311 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7312 fi
7313 ;;
7314
7315 newos6*)
7316 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7317 lt_cv_file_magic_cmd=/usr/bin/file
7318 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7319 ;;
7320
7321 *nto* | *qnx*)
7322 lt_cv_deplibs_check_method=pass_all
7323 ;;
7324
7325 openbsd*)
7326 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7327 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7328 else
7329 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7330 fi
7331 ;;
7332
7333 osf3* | osf4* | osf5*)
7334 lt_cv_deplibs_check_method=pass_all
7335 ;;
7336
7337 rdos*)
7338 lt_cv_deplibs_check_method=pass_all
7339 ;;
7340
7341 solaris*)
7342 lt_cv_deplibs_check_method=pass_all
7343 ;;
7344
7345 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7346 lt_cv_deplibs_check_method=pass_all
7347 ;;
7348
7349 sysv4 | sysv4.3*)
7350 case $host_vendor in
7351 motorola)
7352 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]'
7353 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7354 ;;
7355 ncr)
7356 lt_cv_deplibs_check_method=pass_all
7357 ;;
7358 sequent)
7359 lt_cv_file_magic_cmd='/bin/file'
7360 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7361 ;;
7362 sni)
7363 lt_cv_file_magic_cmd='/bin/file'
7364 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7365 lt_cv_file_magic_test_file=/lib/libc.so
7366 ;;
7367 siemens)
7368 lt_cv_deplibs_check_method=pass_all
7369 ;;
7370 pc)
7371 lt_cv_deplibs_check_method=pass_all
7372 ;;
7373 esac
7374 ;;
7375
7376 tpf*)
7377 lt_cv_deplibs_check_method=pass_all
7378 ;;
7379 esac
7380
7381 fi
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7383 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7384 file_magic_cmd=$lt_cv_file_magic_cmd
7385 deplibs_check_method=$lt_cv_deplibs_check_method
7386 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399 if test -n "$ac_tool_prefix"; then
7400 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7401 set dummy ${ac_tool_prefix}ar; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_AR+set}" = set; then :
7405 $as_echo_n "(cached) " >&6
7406 else
7407 if test -n "$AR"; then
7408 ac_cv_prog_AR="$AR" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7412 do
7413 IFS=$as_save_IFS
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_prog_AR="${ac_tool_prefix}ar"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 break 2
7420 fi
7421 done
7422 done
7423 IFS=$as_save_IFS
7424
7425 fi
7426 fi
7427 AR=$ac_cv_prog_AR
7428 if test -n "$AR"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7430 $as_echo "$AR" >&6; }
7431 else
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7434 fi
7435
7436
7437 fi
7438 if test -z "$ac_cv_prog_AR"; then
7439 ac_ct_AR=$AR
7440 # Extract the first word of "ar", so it can be a program name with args.
7441 set dummy ar; ac_word=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443 $as_echo_n "checking for $ac_word... " >&6; }
7444 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7445 $as_echo_n "(cached) " >&6
7446 else
7447 if test -n "$ac_ct_AR"; then
7448 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7449 else
7450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 for as_dir in $PATH
7452 do
7453 IFS=$as_save_IFS
7454 test -z "$as_dir" && as_dir=.
7455 for ac_exec_ext in '' $ac_executable_extensions; do
7456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7457 ac_cv_prog_ac_ct_AR="ar"
7458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 break 2
7460 fi
7461 done
7462 done
7463 IFS=$as_save_IFS
7464
7465 fi
7466 fi
7467 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7468 if test -n "$ac_ct_AR"; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7470 $as_echo "$ac_ct_AR" >&6; }
7471 else
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 $as_echo "no" >&6; }
7474 fi
7475
7476 if test "x$ac_ct_AR" = x; then
7477 AR="false"
7478 else
7479 case $cross_compiling:$ac_tool_warned in
7480 yes:)
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7483 ac_tool_warned=yes ;;
7484 esac
7485 AR=$ac_ct_AR
7486 fi
7487 else
7488 AR="$ac_cv_prog_AR"
7489 fi
7490
7491 test -z "$AR" && AR=ar
7492 test -z "$AR_FLAGS" && AR_FLAGS=cru
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504 if test -n "$ac_tool_prefix"; then
7505 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7506 set dummy ${ac_tool_prefix}strip; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if test "${ac_cv_prog_STRIP+set}" = set; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$STRIP"; then
7513 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7517 do
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7525 fi
7526 done
7527 done
7528 IFS=$as_save_IFS
7529
7530 fi
7531 fi
7532 STRIP=$ac_cv_prog_STRIP
7533 if test -n "$STRIP"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7535 $as_echo "$STRIP" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7539 fi
7540
7541
7542 fi
7543 if test -z "$ac_cv_prog_STRIP"; then
7544 ac_ct_STRIP=$STRIP
7545 # Extract the first word of "strip", so it can be a program name with args.
7546 set dummy strip; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7551 else
7552 if test -n "$ac_ct_STRIP"; then
7553 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7554 else
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 for as_dir in $PATH
7557 do
7558 IFS=$as_save_IFS
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7562 ac_cv_prog_ac_ct_STRIP="strip"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 break 2
7565 fi
7566 done
7567 done
7568 IFS=$as_save_IFS
7569
7570 fi
7571 fi
7572 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7573 if test -n "$ac_ct_STRIP"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7575 $as_echo "$ac_ct_STRIP" >&6; }
7576 else
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7579 fi
7580
7581 if test "x$ac_ct_STRIP" = x; then
7582 STRIP=":"
7583 else
7584 case $cross_compiling:$ac_tool_warned in
7585 yes:)
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7588 ac_tool_warned=yes ;;
7589 esac
7590 STRIP=$ac_ct_STRIP
7591 fi
7592 else
7593 STRIP="$ac_cv_prog_STRIP"
7594 fi
7595
7596 test -z "$STRIP" && STRIP=:
7597
7598
7599
7600
7601
7602
7603 if test -n "$ac_tool_prefix"; then
7604 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7605 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7607 $as_echo_n "checking for $ac_word... " >&6; }
7608 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7609 $as_echo_n "(cached) " >&6
7610 else
7611 if test -n "$RANLIB"; then
7612 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7613 else
7614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615 for as_dir in $PATH
7616 do
7617 IFS=$as_save_IFS
7618 test -z "$as_dir" && as_dir=.
7619 for ac_exec_ext in '' $ac_executable_extensions; do
7620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7621 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7623 break 2
7624 fi
7625 done
7626 done
7627 IFS=$as_save_IFS
7628
7629 fi
7630 fi
7631 RANLIB=$ac_cv_prog_RANLIB
7632 if test -n "$RANLIB"; then
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7634 $as_echo "$RANLIB" >&6; }
7635 else
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7637 $as_echo "no" >&6; }
7638 fi
7639
7640
7641 fi
7642 if test -z "$ac_cv_prog_RANLIB"; then
7643 ac_ct_RANLIB=$RANLIB
7644 # Extract the first word of "ranlib", so it can be a program name with args.
7645 set dummy ranlib; ac_word=$2
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7647 $as_echo_n "checking for $ac_word... " >&6; }
7648 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7649 $as_echo_n "(cached) " >&6
7650 else
7651 if test -n "$ac_ct_RANLIB"; then
7652 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7653 else
7654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7655 for as_dir in $PATH
7656 do
7657 IFS=$as_save_IFS
7658 test -z "$as_dir" && as_dir=.
7659 for ac_exec_ext in '' $ac_executable_extensions; do
7660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7661 ac_cv_prog_ac_ct_RANLIB="ranlib"
7662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7663 break 2
7664 fi
7665 done
7666 done
7667 IFS=$as_save_IFS
7668
7669 fi
7670 fi
7671 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7672 if test -n "$ac_ct_RANLIB"; then
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7674 $as_echo "$ac_ct_RANLIB" >&6; }
7675 else
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7677 $as_echo "no" >&6; }
7678 fi
7679
7680 if test "x$ac_ct_RANLIB" = x; then
7681 RANLIB=":"
7682 else
7683 case $cross_compiling:$ac_tool_warned in
7684 yes:)
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7687 ac_tool_warned=yes ;;
7688 esac
7689 RANLIB=$ac_ct_RANLIB
7690 fi
7691 else
7692 RANLIB="$ac_cv_prog_RANLIB"
7693 fi
7694
7695 test -z "$RANLIB" && RANLIB=:
7696
7697
7698
7699
7700
7701
7702 # Determine commands to create old-style static archives.
7703 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7704 old_postinstall_cmds='chmod 644 $oldlib'
7705 old_postuninstall_cmds=
7706
7707 if test -n "$RANLIB"; then
7708 case $host_os in
7709 openbsd*)
7710 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7711 ;;
7712 *)
7713 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7714 ;;
7715 esac
7716 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7717 fi
7718
7719 case $host_os in
7720 darwin*)
7721 lock_old_archive_extraction=yes ;;
7722 *)
7723 lock_old_archive_extraction=no ;;
7724 esac
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764 # If no C compiler was specified, use CC.
7765 LTCC=${LTCC-"$CC"}
7766
7767 # If no C compiler flags were specified, use CFLAGS.
7768 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7769
7770 # Allow CC to be a program name with arguments.
7771 compiler=$CC
7772
7773
7774 # Check for command to grab the raw symbol name followed by C symbol from nm.
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7776 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7777 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7778 $as_echo_n "(cached) " >&6
7779 else
7780
7781 # These are sane defaults that work on at least a few old systems.
7782 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7783
7784 # Character class describing NM global symbol codes.
7785 symcode='[BCDEGRST]'
7786
7787 # Regexp to match symbols that can be accessed directly from C.
7788 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7789
7790 # Define system-specific variables.
7791 case $host_os in
7792 aix*)
7793 symcode='[BCDT]'
7794 ;;
7795 cygwin* | mingw* | pw32* | cegcc*)
7796 symcode='[ABCDGISTW]'
7797 ;;
7798 hpux*)
7799 if test "$host_cpu" = ia64; then
7800 symcode='[ABCDEGRST]'
7801 fi
7802 ;;
7803 irix* | nonstopux*)
7804 symcode='[BCDEGRST]'
7805 ;;
7806 osf*)
7807 symcode='[BCDEGQRST]'
7808 ;;
7809 solaris*)
7810 symcode='[BDRT]'
7811 ;;
7812 sco3.2v5*)
7813 symcode='[DT]'
7814 ;;
7815 sysv4.2uw2*)
7816 symcode='[DT]'
7817 ;;
7818 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7819 symcode='[ABDT]'
7820 ;;
7821 sysv4)
7822 symcode='[DFNSTU]'
7823 ;;
7824 esac
7825
7826 # If we're using GNU nm, then use its standard symbol codes.
7827 case `$NM -V 2>&1` in
7828 *GNU* | *'with BFD'*)
7829 symcode='[ABCDGIRSTW]' ;;
7830 esac
7831
7832 # Transform an extracted symbol line into a proper C declaration.
7833 # Some systems (esp. on ia64) link data and code symbols differently,
7834 # so use this general approach.
7835 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7836
7837 # Transform an extracted symbol line into symbol name and symbol address
7838 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7839 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'"
7840
7841 # Handle CRLF in mingw tool chain
7842 opt_cr=
7843 case $build_os in
7844 mingw*)
7845 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7846 ;;
7847 esac
7848
7849 # Try without a prefix underscore, then with it.
7850 for ac_symprfx in "" "_"; do
7851
7852 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7853 symxfrm="\\1 $ac_symprfx\\2 \\2"
7854
7855 # Write the raw and C identifiers.
7856 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7857 # Fake it for dumpbin and say T for any non-static function
7858 # and D for any global variable.
7859 # Also find C++ and __fastcall symbols from MSVC++,
7860 # which start with @ or ?.
7861 lt_cv_sys_global_symbol_pipe="$AWK '"\
7862 " {last_section=section; section=\$ 3};"\
7863 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7864 " \$ 0!~/External *\|/{next};"\
7865 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7866 " {if(hide[section]) next};"\
7867 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7868 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7869 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7870 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7871 " ' prfx=^$ac_symprfx"
7872 else
7873 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7874 fi
7875
7876 # Check to see that the pipe works correctly.
7877 pipe_works=no
7878
7879 rm -f conftest*
7880 cat > conftest.$ac_ext <<_LT_EOF
7881 #ifdef __cplusplus
7882 extern "C" {
7883 #endif
7884 char nm_test_var;
7885 void nm_test_func(void);
7886 void nm_test_func(void){}
7887 #ifdef __cplusplus
7888 }
7889 #endif
7890 int main(){nm_test_var='a';nm_test_func();return(0);}
7891 _LT_EOF
7892
7893 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7894 (eval $ac_compile) 2>&5
7895 ac_status=$?
7896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7897 test $ac_status = 0; }; then
7898 # Now try to grab the symbols.
7899 nlist=conftest.nm
7900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7901 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7902 ac_status=$?
7903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7904 test $ac_status = 0; } && test -s "$nlist"; then
7905 # Try sorting and uniquifying the output.
7906 if sort "$nlist" | uniq > "$nlist"T; then
7907 mv -f "$nlist"T "$nlist"
7908 else
7909 rm -f "$nlist"T
7910 fi
7911
7912 # Make sure that we snagged all the symbols we need.
7913 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7914 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7915 cat <<_LT_EOF > conftest.$ac_ext
7916 #ifdef __cplusplus
7917 extern "C" {
7918 #endif
7919
7920 _LT_EOF
7921 # Now generate the symbol file.
7922 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7923
7924 cat <<_LT_EOF >> conftest.$ac_ext
7925
7926 /* The mapping between symbol names and symbols. */
7927 const struct {
7928 const char *name;
7929 void *address;
7930 }
7931 lt__PROGRAM__LTX_preloaded_symbols[] =
7932 {
7933 { "@PROGRAM@", (void *) 0 },
7934 _LT_EOF
7935 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7936 cat <<\_LT_EOF >> conftest.$ac_ext
7937 {0, (void *) 0}
7938 };
7939
7940 /* This works around a problem in FreeBSD linker */
7941 #ifdef FREEBSD_WORKAROUND
7942 static const void *lt_preloaded_setup() {
7943 return lt__PROGRAM__LTX_preloaded_symbols;
7944 }
7945 #endif
7946
7947 #ifdef __cplusplus
7948 }
7949 #endif
7950 _LT_EOF
7951 # Now try linking the two files.
7952 mv conftest.$ac_objext conftstm.$ac_objext
7953 lt_save_LIBS="$LIBS"
7954 lt_save_CFLAGS="$CFLAGS"
7955 LIBS="conftstm.$ac_objext"
7956 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7957 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7958 (eval $ac_link) 2>&5
7959 ac_status=$?
7960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7961 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7962 pipe_works=yes
7963 fi
7964 LIBS="$lt_save_LIBS"
7965 CFLAGS="$lt_save_CFLAGS"
7966 else
7967 echo "cannot find nm_test_func in $nlist" >&5
7968 fi
7969 else
7970 echo "cannot find nm_test_var in $nlist" >&5
7971 fi
7972 else
7973 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7974 fi
7975 else
7976 echo "$progname: failed program was:" >&5
7977 cat conftest.$ac_ext >&5
7978 fi
7979 rm -rf conftest* conftst*
7980
7981 # Do not use the global_symbol_pipe unless it works.
7982 if test "$pipe_works" = yes; then
7983 break
7984 else
7985 lt_cv_sys_global_symbol_pipe=
7986 fi
7987 done
7988
7989 fi
7990
7991 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7992 lt_cv_sys_global_symbol_to_cdecl=
7993 fi
7994 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7996 $as_echo "failed" >&6; }
7997 else
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7999 $as_echo "ok" >&6; }
8000 fi
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023 # Check whether --enable-libtool-lock was given.
8024 if test "${enable_libtool_lock+set}" = set; then :
8025 enableval=$enable_libtool_lock;
8026 fi
8027
8028 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8029
8030 # Some flags need to be propagated to the compiler or linker for good
8031 # libtool support.
8032 case $host in
8033 ia64-*-hpux*)
8034 # Find out which ABI we are using.
8035 echo 'int i;' > conftest.$ac_ext
8036 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8037 (eval $ac_compile) 2>&5
8038 ac_status=$?
8039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8040 test $ac_status = 0; }; then
8041 case `/usr/bin/file conftest.$ac_objext` in
8042 *ELF-32*)
8043 HPUX_IA64_MODE="32"
8044 ;;
8045 *ELF-64*)
8046 HPUX_IA64_MODE="64"
8047 ;;
8048 esac
8049 fi
8050 rm -rf conftest*
8051 ;;
8052 *-*-irix6*)
8053 # Find out which ABI we are using.
8054 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8056 (eval $ac_compile) 2>&5
8057 ac_status=$?
8058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8059 test $ac_status = 0; }; then
8060 if test "$lt_cv_prog_gnu_ld" = yes; then
8061 case `/usr/bin/file conftest.$ac_objext` in
8062 *32-bit*)
8063 LD="${LD-ld} -melf32bsmip"
8064 ;;
8065 *N32*)
8066 LD="${LD-ld} -melf32bmipn32"
8067 ;;
8068 *64-bit*)
8069 LD="${LD-ld} -melf64bmip"
8070 ;;
8071 esac
8072 else
8073 case `/usr/bin/file conftest.$ac_objext` in
8074 *32-bit*)
8075 LD="${LD-ld} -32"
8076 ;;
8077 *N32*)
8078 LD="${LD-ld} -n32"
8079 ;;
8080 *64-bit*)
8081 LD="${LD-ld} -64"
8082 ;;
8083 esac
8084 fi
8085 fi
8086 rm -rf conftest*
8087 ;;
8088
8089 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8090 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8091 # Find out which ABI we are using.
8092 echo 'int i;' > conftest.$ac_ext
8093 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8094 (eval $ac_compile) 2>&5
8095 ac_status=$?
8096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8097 test $ac_status = 0; }; then
8098 case `/usr/bin/file conftest.o` in
8099 *32-bit*)
8100 case $host in
8101 x86_64-*kfreebsd*-gnu)
8102 LD="${LD-ld} -m elf_i386_fbsd"
8103 ;;
8104 x86_64-*linux*)
8105 case `/usr/bin/file conftest.o` in
8106 *x86-64*)
8107 LD="${LD-ld} -m elf32_x86_64"
8108 ;;
8109 *)
8110 LD="${LD-ld} -m elf_i386"
8111 ;;
8112 esac
8113 ;;
8114 powerpc64le-*linux*)
8115 LD="${LD-ld} -m elf32lppclinux"
8116 ;;
8117 powerpc64-*linux*)
8118 LD="${LD-ld} -m elf32ppclinux"
8119 ;;
8120 s390x-*linux*)
8121 LD="${LD-ld} -m elf_s390"
8122 ;;
8123 sparc64-*linux*)
8124 LD="${LD-ld} -m elf32_sparc"
8125 ;;
8126 esac
8127 ;;
8128 *64-bit*)
8129 case $host in
8130 x86_64-*kfreebsd*-gnu)
8131 LD="${LD-ld} -m elf_x86_64_fbsd"
8132 ;;
8133 x86_64-*linux*)
8134 LD="${LD-ld} -m elf_x86_64"
8135 ;;
8136 powerpcle-*linux*)
8137 LD="${LD-ld} -m elf64lppc"
8138 ;;
8139 powerpc-*linux*)
8140 LD="${LD-ld} -m elf64ppc"
8141 ;;
8142 s390*-*linux*|s390*-*tpf*)
8143 LD="${LD-ld} -m elf64_s390"
8144 ;;
8145 sparc*-*linux*)
8146 LD="${LD-ld} -m elf64_sparc"
8147 ;;
8148 esac
8149 ;;
8150 esac
8151 fi
8152 rm -rf conftest*
8153 ;;
8154
8155 *-*-sco3.2v5*)
8156 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8157 SAVE_CFLAGS="$CFLAGS"
8158 CFLAGS="$CFLAGS -belf"
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8160 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8161 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8162 $as_echo_n "(cached) " >&6
8163 else
8164 ac_ext=c
8165 ac_cpp='$CPP $CPPFLAGS'
8166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8169
8170 if test x$gcc_no_link = xyes; then
8171 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8172 fi
8173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8174 /* end confdefs.h. */
8175
8176 int
8177 main ()
8178 {
8179
8180 ;
8181 return 0;
8182 }
8183 _ACEOF
8184 if ac_fn_c_try_link "$LINENO"; then :
8185 lt_cv_cc_needs_belf=yes
8186 else
8187 lt_cv_cc_needs_belf=no
8188 fi
8189 rm -f core conftest.err conftest.$ac_objext \
8190 conftest$ac_exeext conftest.$ac_ext
8191 ac_ext=c
8192 ac_cpp='$CPP $CPPFLAGS'
8193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8196
8197 fi
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8199 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8200 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8201 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8202 CFLAGS="$SAVE_CFLAGS"
8203 fi
8204 ;;
8205 sparc*-*solaris*)
8206 # Find out which ABI we are using.
8207 echo 'int i;' > conftest.$ac_ext
8208 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8209 (eval $ac_compile) 2>&5
8210 ac_status=$?
8211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8212 test $ac_status = 0; }; then
8213 case `/usr/bin/file conftest.o` in
8214 *64-bit*)
8215 case $lt_cv_prog_gnu_ld in
8216 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8217 *)
8218 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8219 LD="${LD-ld} -64"
8220 fi
8221 ;;
8222 esac
8223 ;;
8224 esac
8225 fi
8226 rm -rf conftest*
8227 ;;
8228 esac
8229
8230 need_locks="$enable_libtool_lock"
8231
8232
8233 case $host_os in
8234 rhapsody* | darwin*)
8235 if test -n "$ac_tool_prefix"; then
8236 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8237 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8239 $as_echo_n "checking for $ac_word... " >&6; }
8240 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 if test -n "$DSYMUTIL"; then
8244 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8245 else
8246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8247 for as_dir in $PATH
8248 do
8249 IFS=$as_save_IFS
8250 test -z "$as_dir" && as_dir=.
8251 for ac_exec_ext in '' $ac_executable_extensions; do
8252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8253 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 break 2
8256 fi
8257 done
8258 done
8259 IFS=$as_save_IFS
8260
8261 fi
8262 fi
8263 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8264 if test -n "$DSYMUTIL"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8266 $as_echo "$DSYMUTIL" >&6; }
8267 else
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8270 fi
8271
8272
8273 fi
8274 if test -z "$ac_cv_prog_DSYMUTIL"; then
8275 ac_ct_DSYMUTIL=$DSYMUTIL
8276 # Extract the first word of "dsymutil", so it can be a program name with args.
8277 set dummy dsymutil; ac_word=$2
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8279 $as_echo_n "checking for $ac_word... " >&6; }
8280 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 if test -n "$ac_ct_DSYMUTIL"; then
8284 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8285 else
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 for as_dir in $PATH
8288 do
8289 IFS=$as_save_IFS
8290 test -z "$as_dir" && as_dir=.
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8293 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8295 break 2
8296 fi
8297 done
8298 done
8299 IFS=$as_save_IFS
8300
8301 fi
8302 fi
8303 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8304 if test -n "$ac_ct_DSYMUTIL"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8306 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8307 else
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8310 fi
8311
8312 if test "x$ac_ct_DSYMUTIL" = x; then
8313 DSYMUTIL=":"
8314 else
8315 case $cross_compiling:$ac_tool_warned in
8316 yes:)
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8319 ac_tool_warned=yes ;;
8320 esac
8321 DSYMUTIL=$ac_ct_DSYMUTIL
8322 fi
8323 else
8324 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8325 fi
8326
8327 if test -n "$ac_tool_prefix"; then
8328 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8329 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8331 $as_echo_n "checking for $ac_word... " >&6; }
8332 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8333 $as_echo_n "(cached) " >&6
8334 else
8335 if test -n "$NMEDIT"; then
8336 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8337 else
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8339 for as_dir in $PATH
8340 do
8341 IFS=$as_save_IFS
8342 test -z "$as_dir" && as_dir=.
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8345 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8347 break 2
8348 fi
8349 done
8350 done
8351 IFS=$as_save_IFS
8352
8353 fi
8354 fi
8355 NMEDIT=$ac_cv_prog_NMEDIT
8356 if test -n "$NMEDIT"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8358 $as_echo "$NMEDIT" >&6; }
8359 else
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8361 $as_echo "no" >&6; }
8362 fi
8363
8364
8365 fi
8366 if test -z "$ac_cv_prog_NMEDIT"; then
8367 ac_ct_NMEDIT=$NMEDIT
8368 # Extract the first word of "nmedit", so it can be a program name with args.
8369 set dummy nmedit; ac_word=$2
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8371 $as_echo_n "checking for $ac_word... " >&6; }
8372 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 if test -n "$ac_ct_NMEDIT"; then
8376 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8377 else
8378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8379 for as_dir in $PATH
8380 do
8381 IFS=$as_save_IFS
8382 test -z "$as_dir" && as_dir=.
8383 for ac_exec_ext in '' $ac_executable_extensions; do
8384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8385 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8387 break 2
8388 fi
8389 done
8390 done
8391 IFS=$as_save_IFS
8392
8393 fi
8394 fi
8395 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8396 if test -n "$ac_ct_NMEDIT"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8398 $as_echo "$ac_ct_NMEDIT" >&6; }
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8402 fi
8403
8404 if test "x$ac_ct_NMEDIT" = x; then
8405 NMEDIT=":"
8406 else
8407 case $cross_compiling:$ac_tool_warned in
8408 yes:)
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8411 ac_tool_warned=yes ;;
8412 esac
8413 NMEDIT=$ac_ct_NMEDIT
8414 fi
8415 else
8416 NMEDIT="$ac_cv_prog_NMEDIT"
8417 fi
8418
8419 if test -n "$ac_tool_prefix"; then
8420 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8421 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8423 $as_echo_n "checking for $ac_word... " >&6; }
8424 if test "${ac_cv_prog_LIPO+set}" = set; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 if test -n "$LIPO"; then
8428 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8429 else
8430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8431 for as_dir in $PATH
8432 do
8433 IFS=$as_save_IFS
8434 test -z "$as_dir" && as_dir=.
8435 for ac_exec_ext in '' $ac_executable_extensions; do
8436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8437 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8439 break 2
8440 fi
8441 done
8442 done
8443 IFS=$as_save_IFS
8444
8445 fi
8446 fi
8447 LIPO=$ac_cv_prog_LIPO
8448 if test -n "$LIPO"; then
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8450 $as_echo "$LIPO" >&6; }
8451 else
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8453 $as_echo "no" >&6; }
8454 fi
8455
8456
8457 fi
8458 if test -z "$ac_cv_prog_LIPO"; then
8459 ac_ct_LIPO=$LIPO
8460 # Extract the first word of "lipo", so it can be a program name with args.
8461 set dummy lipo; ac_word=$2
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8463 $as_echo_n "checking for $ac_word... " >&6; }
8464 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8465 $as_echo_n "(cached) " >&6
8466 else
8467 if test -n "$ac_ct_LIPO"; then
8468 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8469 else
8470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8471 for as_dir in $PATH
8472 do
8473 IFS=$as_save_IFS
8474 test -z "$as_dir" && as_dir=.
8475 for ac_exec_ext in '' $ac_executable_extensions; do
8476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8477 ac_cv_prog_ac_ct_LIPO="lipo"
8478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8479 break 2
8480 fi
8481 done
8482 done
8483 IFS=$as_save_IFS
8484
8485 fi
8486 fi
8487 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8488 if test -n "$ac_ct_LIPO"; then
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8490 $as_echo "$ac_ct_LIPO" >&6; }
8491 else
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8493 $as_echo "no" >&6; }
8494 fi
8495
8496 if test "x$ac_ct_LIPO" = x; then
8497 LIPO=":"
8498 else
8499 case $cross_compiling:$ac_tool_warned in
8500 yes:)
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8503 ac_tool_warned=yes ;;
8504 esac
8505 LIPO=$ac_ct_LIPO
8506 fi
8507 else
8508 LIPO="$ac_cv_prog_LIPO"
8509 fi
8510
8511 if test -n "$ac_tool_prefix"; then
8512 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8513 set dummy ${ac_tool_prefix}otool; ac_word=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 if test -n "$OTOOL"; then
8520 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8521 else
8522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8523 for as_dir in $PATH
8524 do
8525 IFS=$as_save_IFS
8526 test -z "$as_dir" && as_dir=.
8527 for ac_exec_ext in '' $ac_executable_extensions; do
8528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8529 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8531 break 2
8532 fi
8533 done
8534 done
8535 IFS=$as_save_IFS
8536
8537 fi
8538 fi
8539 OTOOL=$ac_cv_prog_OTOOL
8540 if test -n "$OTOOL"; then
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8542 $as_echo "$OTOOL" >&6; }
8543 else
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8545 $as_echo "no" >&6; }
8546 fi
8547
8548
8549 fi
8550 if test -z "$ac_cv_prog_OTOOL"; then
8551 ac_ct_OTOOL=$OTOOL
8552 # Extract the first word of "otool", so it can be a program name with args.
8553 set dummy otool; ac_word=$2
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8555 $as_echo_n "checking for $ac_word... " >&6; }
8556 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 if test -n "$ac_ct_OTOOL"; then
8560 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8561 else
8562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8563 for as_dir in $PATH
8564 do
8565 IFS=$as_save_IFS
8566 test -z "$as_dir" && as_dir=.
8567 for ac_exec_ext in '' $ac_executable_extensions; do
8568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8569 ac_cv_prog_ac_ct_OTOOL="otool"
8570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8571 break 2
8572 fi
8573 done
8574 done
8575 IFS=$as_save_IFS
8576
8577 fi
8578 fi
8579 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8580 if test -n "$ac_ct_OTOOL"; then
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8582 $as_echo "$ac_ct_OTOOL" >&6; }
8583 else
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8585 $as_echo "no" >&6; }
8586 fi
8587
8588 if test "x$ac_ct_OTOOL" = x; then
8589 OTOOL=":"
8590 else
8591 case $cross_compiling:$ac_tool_warned in
8592 yes:)
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8595 ac_tool_warned=yes ;;
8596 esac
8597 OTOOL=$ac_ct_OTOOL
8598 fi
8599 else
8600 OTOOL="$ac_cv_prog_OTOOL"
8601 fi
8602
8603 if test -n "$ac_tool_prefix"; then
8604 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8605 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8607 $as_echo_n "checking for $ac_word... " >&6; }
8608 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8609 $as_echo_n "(cached) " >&6
8610 else
8611 if test -n "$OTOOL64"; then
8612 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8613 else
8614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8615 for as_dir in $PATH
8616 do
8617 IFS=$as_save_IFS
8618 test -z "$as_dir" && as_dir=.
8619 for ac_exec_ext in '' $ac_executable_extensions; do
8620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8621 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8623 break 2
8624 fi
8625 done
8626 done
8627 IFS=$as_save_IFS
8628
8629 fi
8630 fi
8631 OTOOL64=$ac_cv_prog_OTOOL64
8632 if test -n "$OTOOL64"; then
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8634 $as_echo "$OTOOL64" >&6; }
8635 else
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8637 $as_echo "no" >&6; }
8638 fi
8639
8640
8641 fi
8642 if test -z "$ac_cv_prog_OTOOL64"; then
8643 ac_ct_OTOOL64=$OTOOL64
8644 # Extract the first word of "otool64", so it can be a program name with args.
8645 set dummy otool64; ac_word=$2
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8647 $as_echo_n "checking for $ac_word... " >&6; }
8648 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8649 $as_echo_n "(cached) " >&6
8650 else
8651 if test -n "$ac_ct_OTOOL64"; then
8652 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8653 else
8654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8655 for as_dir in $PATH
8656 do
8657 IFS=$as_save_IFS
8658 test -z "$as_dir" && as_dir=.
8659 for ac_exec_ext in '' $ac_executable_extensions; do
8660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8661 ac_cv_prog_ac_ct_OTOOL64="otool64"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8663 break 2
8664 fi
8665 done
8666 done
8667 IFS=$as_save_IFS
8668
8669 fi
8670 fi
8671 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8672 if test -n "$ac_ct_OTOOL64"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8674 $as_echo "$ac_ct_OTOOL64" >&6; }
8675 else
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8677 $as_echo "no" >&6; }
8678 fi
8679
8680 if test "x$ac_ct_OTOOL64" = x; then
8681 OTOOL64=":"
8682 else
8683 case $cross_compiling:$ac_tool_warned in
8684 yes:)
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8687 ac_tool_warned=yes ;;
8688 esac
8689 OTOOL64=$ac_ct_OTOOL64
8690 fi
8691 else
8692 OTOOL64="$ac_cv_prog_OTOOL64"
8693 fi
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8722 $as_echo_n "checking for -single_module linker flag... " >&6; }
8723 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8724 $as_echo_n "(cached) " >&6
8725 else
8726 lt_cv_apple_cc_single_mod=no
8727 if test -z "${LT_MULTI_MODULE}"; then
8728 # By default we will add the -single_module flag. You can override
8729 # by either setting the environment variable LT_MULTI_MODULE
8730 # non-empty at configure time, or by adding -multi_module to the
8731 # link flags.
8732 rm -rf libconftest.dylib*
8733 echo "int foo(void){return 1;}" > conftest.c
8734 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8735 -dynamiclib -Wl,-single_module conftest.c" >&5
8736 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8737 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8738 _lt_result=$?
8739 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8740 lt_cv_apple_cc_single_mod=yes
8741 else
8742 cat conftest.err >&5
8743 fi
8744 rm -rf libconftest.dylib*
8745 rm -f conftest.*
8746 fi
8747 fi
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8749 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8751 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8752 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8753 $as_echo_n "(cached) " >&6
8754 else
8755 lt_cv_ld_exported_symbols_list=no
8756 save_LDFLAGS=$LDFLAGS
8757 echo "_main" > conftest.sym
8758 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8759 if test x$gcc_no_link = xyes; then
8760 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8761 fi
8762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763 /* end confdefs.h. */
8764
8765 int
8766 main ()
8767 {
8768
8769 ;
8770 return 0;
8771 }
8772 _ACEOF
8773 if ac_fn_c_try_link "$LINENO"; then :
8774 lt_cv_ld_exported_symbols_list=yes
8775 else
8776 lt_cv_ld_exported_symbols_list=no
8777 fi
8778 rm -f core conftest.err conftest.$ac_objext \
8779 conftest$ac_exeext conftest.$ac_ext
8780 LDFLAGS="$save_LDFLAGS"
8781
8782 fi
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8784 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8786 $as_echo_n "checking for -force_load linker flag... " >&6; }
8787 if test "${lt_cv_ld_force_load+set}" = set; then :
8788 $as_echo_n "(cached) " >&6
8789 else
8790 lt_cv_ld_force_load=no
8791 cat > conftest.c << _LT_EOF
8792 int forced_loaded() { return 2;}
8793 _LT_EOF
8794 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8795 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8796 echo "$AR cru libconftest.a conftest.o" >&5
8797 $AR cru libconftest.a conftest.o 2>&5
8798 cat > conftest.c << _LT_EOF
8799 int main() { return 0;}
8800 _LT_EOF
8801 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8802 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8803 _lt_result=$?
8804 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8805 lt_cv_ld_force_load=yes
8806 else
8807 cat conftest.err >&5
8808 fi
8809 rm -f conftest.err libconftest.a conftest conftest.c
8810 rm -rf conftest.dSYM
8811
8812 fi
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8814 $as_echo "$lt_cv_ld_force_load" >&6; }
8815 case $host_os in
8816 rhapsody* | darwin1.[012])
8817 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8818 darwin1.*)
8819 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8820 darwin*) # darwin 5.x on
8821 # if running on 10.5 or later, the deployment target defaults
8822 # to the OS version, if on x86, and 10.4, the deployment
8823 # target defaults to 10.4. Don't you love it?
8824 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8825 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8826 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8827 10.[012][,.]*)
8828 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8829 10.*)
8830 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8831 esac
8832 ;;
8833 esac
8834 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8835 _lt_dar_single_mod='$single_module'
8836 fi
8837 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8838 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8839 else
8840 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8841 fi
8842 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8843 _lt_dsymutil='~$DSYMUTIL $lib || :'
8844 else
8845 _lt_dsymutil=
8846 fi
8847 ;;
8848 esac
8849
8850 for ac_header in dlfcn.h
8851 do :
8852 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8853 "
8854 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8855 cat >>confdefs.h <<_ACEOF
8856 #define HAVE_DLFCN_H 1
8857 _ACEOF
8858
8859 fi
8860
8861 done
8862
8863
8864
8865
8866
8867 # Set options
8868
8869
8870
8871
8872 enable_win32_dll=no
8873
8874
8875 # Check whether --enable-shared was given.
8876 if test "${enable_shared+set}" = set; then :
8877 enableval=$enable_shared; p=${PACKAGE-default}
8878 case $enableval in
8879 yes) enable_shared=yes ;;
8880 no) enable_shared=no ;;
8881 *)
8882 enable_shared=no
8883 # Look at the argument we got. We use all the common list separators.
8884 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8885 for pkg in $enableval; do
8886 IFS="$lt_save_ifs"
8887 if test "X$pkg" = "X$p"; then
8888 enable_shared=yes
8889 fi
8890 done
8891 IFS="$lt_save_ifs"
8892 ;;
8893 esac
8894 else
8895 enable_shared=yes
8896 fi
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906 # Check whether --enable-static was given.
8907 if test "${enable_static+set}" = set; then :
8908 enableval=$enable_static; p=${PACKAGE-default}
8909 case $enableval in
8910 yes) enable_static=yes ;;
8911 no) enable_static=no ;;
8912 *)
8913 enable_static=no
8914 # Look at the argument we got. We use all the common list separators.
8915 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8916 for pkg in $enableval; do
8917 IFS="$lt_save_ifs"
8918 if test "X$pkg" = "X$p"; then
8919 enable_static=yes
8920 fi
8921 done
8922 IFS="$lt_save_ifs"
8923 ;;
8924 esac
8925 else
8926 enable_static=yes
8927 fi
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938 # Check whether --with-pic was given.
8939 if test "${with_pic+set}" = set; then :
8940 withval=$with_pic; pic_mode="$withval"
8941 else
8942 pic_mode=default
8943 fi
8944
8945
8946 test -z "$pic_mode" && pic_mode=default
8947
8948
8949
8950
8951
8952
8953
8954 # Check whether --enable-fast-install was given.
8955 if test "${enable_fast_install+set}" = set; then :
8956 enableval=$enable_fast_install; p=${PACKAGE-default}
8957 case $enableval in
8958 yes) enable_fast_install=yes ;;
8959 no) enable_fast_install=no ;;
8960 *)
8961 enable_fast_install=no
8962 # Look at the argument we got. We use all the common list separators.
8963 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8964 for pkg in $enableval; do
8965 IFS="$lt_save_ifs"
8966 if test "X$pkg" = "X$p"; then
8967 enable_fast_install=yes
8968 fi
8969 done
8970 IFS="$lt_save_ifs"
8971 ;;
8972 esac
8973 else
8974 enable_fast_install=yes
8975 fi
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987 # This can be used to rebuild libtool when needed
8988 LIBTOOL_DEPS="$ltmain"
8989
8990 # Always use our own libtool.
8991 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018 test -z "$LN_S" && LN_S="ln -s"
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033 if test -n "${ZSH_VERSION+set}" ; then
9034 setopt NO_GLOB_SUBST
9035 fi
9036
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9038 $as_echo_n "checking for objdir... " >&6; }
9039 if test "${lt_cv_objdir+set}" = set; then :
9040 $as_echo_n "(cached) " >&6
9041 else
9042 rm -f .libs 2>/dev/null
9043 mkdir .libs 2>/dev/null
9044 if test -d .libs; then
9045 lt_cv_objdir=.libs
9046 else
9047 # MS-DOS does not allow filenames that begin with a dot.
9048 lt_cv_objdir=_libs
9049 fi
9050 rmdir .libs 2>/dev/null
9051 fi
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9053 $as_echo "$lt_cv_objdir" >&6; }
9054 objdir=$lt_cv_objdir
9055
9056
9057
9058
9059
9060 cat >>confdefs.h <<_ACEOF
9061 #define LT_OBJDIR "$lt_cv_objdir/"
9062 _ACEOF
9063
9064
9065
9066
9067 case $host_os in
9068 aix3*)
9069 # AIX sometimes has problems with the GCC collect2 program. For some
9070 # reason, if we set the COLLECT_NAMES environment variable, the problems
9071 # vanish in a puff of smoke.
9072 if test "X${COLLECT_NAMES+set}" != Xset; then
9073 COLLECT_NAMES=
9074 export COLLECT_NAMES
9075 fi
9076 ;;
9077 esac
9078
9079 # Global variables:
9080 ofile=libtool
9081 can_build_shared=yes
9082
9083 # All known linkers require a `.a' archive for static linking (except MSVC,
9084 # which needs '.lib').
9085 libext=a
9086
9087 with_gnu_ld="$lt_cv_prog_gnu_ld"
9088
9089 old_CC="$CC"
9090 old_CFLAGS="$CFLAGS"
9091
9092 # Set sane defaults for various variables
9093 test -z "$CC" && CC=cc
9094 test -z "$LTCC" && LTCC=$CC
9095 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9096 test -z "$LD" && LD=ld
9097 test -z "$ac_objext" && ac_objext=o
9098
9099 for cc_temp in $compiler""; do
9100 case $cc_temp in
9101 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9102 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9103 \-*) ;;
9104 *) break;;
9105 esac
9106 done
9107 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9108
9109
9110 # Only perform the check for file, if the check method requires it
9111 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9112 case $deplibs_check_method in
9113 file_magic*)
9114 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9116 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9117 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9118 $as_echo_n "(cached) " >&6
9119 else
9120 case $MAGIC_CMD in
9121 [\\/*] | ?:[\\/]*)
9122 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9123 ;;
9124 *)
9125 lt_save_MAGIC_CMD="$MAGIC_CMD"
9126 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9127 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9128 for ac_dir in $ac_dummy; do
9129 IFS="$lt_save_ifs"
9130 test -z "$ac_dir" && ac_dir=.
9131 if test -f $ac_dir/${ac_tool_prefix}file; then
9132 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9133 if test -n "$file_magic_test_file"; then
9134 case $deplibs_check_method in
9135 "file_magic "*)
9136 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9137 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9138 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9139 $EGREP "$file_magic_regex" > /dev/null; then
9140 :
9141 else
9142 cat <<_LT_EOF 1>&2
9143
9144 *** Warning: the command libtool uses to detect shared libraries,
9145 *** $file_magic_cmd, produces output that libtool cannot recognize.
9146 *** The result is that libtool may fail to recognize shared libraries
9147 *** as such. This will affect the creation of libtool libraries that
9148 *** depend on shared libraries, but programs linked with such libtool
9149 *** libraries will work regardless of this problem. Nevertheless, you
9150 *** may want to report the problem to your system manager and/or to
9151 *** bug-libtool@gnu.org
9152
9153 _LT_EOF
9154 fi ;;
9155 esac
9156 fi
9157 break
9158 fi
9159 done
9160 IFS="$lt_save_ifs"
9161 MAGIC_CMD="$lt_save_MAGIC_CMD"
9162 ;;
9163 esac
9164 fi
9165
9166 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9167 if test -n "$MAGIC_CMD"; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9169 $as_echo "$MAGIC_CMD" >&6; }
9170 else
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9172 $as_echo "no" >&6; }
9173 fi
9174
9175
9176
9177
9178
9179 if test -z "$lt_cv_path_MAGIC_CMD"; then
9180 if test -n "$ac_tool_prefix"; then
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9182 $as_echo_n "checking for file... " >&6; }
9183 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9184 $as_echo_n "(cached) " >&6
9185 else
9186 case $MAGIC_CMD in
9187 [\\/*] | ?:[\\/]*)
9188 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9189 ;;
9190 *)
9191 lt_save_MAGIC_CMD="$MAGIC_CMD"
9192 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9193 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9194 for ac_dir in $ac_dummy; do
9195 IFS="$lt_save_ifs"
9196 test -z "$ac_dir" && ac_dir=.
9197 if test -f $ac_dir/file; then
9198 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9199 if test -n "$file_magic_test_file"; then
9200 case $deplibs_check_method in
9201 "file_magic "*)
9202 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9203 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9204 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9205 $EGREP "$file_magic_regex" > /dev/null; then
9206 :
9207 else
9208 cat <<_LT_EOF 1>&2
9209
9210 *** Warning: the command libtool uses to detect shared libraries,
9211 *** $file_magic_cmd, produces output that libtool cannot recognize.
9212 *** The result is that libtool may fail to recognize shared libraries
9213 *** as such. This will affect the creation of libtool libraries that
9214 *** depend on shared libraries, but programs linked with such libtool
9215 *** libraries will work regardless of this problem. Nevertheless, you
9216 *** may want to report the problem to your system manager and/or to
9217 *** bug-libtool@gnu.org
9218
9219 _LT_EOF
9220 fi ;;
9221 esac
9222 fi
9223 break
9224 fi
9225 done
9226 IFS="$lt_save_ifs"
9227 MAGIC_CMD="$lt_save_MAGIC_CMD"
9228 ;;
9229 esac
9230 fi
9231
9232 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9233 if test -n "$MAGIC_CMD"; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9235 $as_echo "$MAGIC_CMD" >&6; }
9236 else
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9238 $as_echo "no" >&6; }
9239 fi
9240
9241
9242 else
9243 MAGIC_CMD=:
9244 fi
9245 fi
9246
9247 fi
9248 ;;
9249 esac
9250
9251 # Use C for the default configuration in the libtool script
9252
9253 lt_save_CC="$CC"
9254 ac_ext=c
9255 ac_cpp='$CPP $CPPFLAGS'
9256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9259
9260
9261 # Source file extension for C test sources.
9262 ac_ext=c
9263
9264 # Object file extension for compiled C test sources.
9265 objext=o
9266 objext=$objext
9267
9268 # Code to be used in simple compile tests
9269 lt_simple_compile_test_code="int some_variable = 0;"
9270
9271 # Code to be used in simple link tests
9272 lt_simple_link_test_code='int main(){return(0);}'
9273
9274
9275
9276
9277
9278
9279
9280 # If no C compiler was specified, use CC.
9281 LTCC=${LTCC-"$CC"}
9282
9283 # If no C compiler flags were specified, use CFLAGS.
9284 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9285
9286 # Allow CC to be a program name with arguments.
9287 compiler=$CC
9288
9289 # Save the default compiler, since it gets overwritten when the other
9290 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9291 compiler_DEFAULT=$CC
9292
9293 # save warnings/boilerplate of simple test code
9294 ac_outfile=conftest.$ac_objext
9295 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9296 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9297 _lt_compiler_boilerplate=`cat conftest.err`
9298 $RM conftest*
9299
9300 ac_outfile=conftest.$ac_objext
9301 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9302 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9303 _lt_linker_boilerplate=`cat conftest.err`
9304 $RM -r conftest*
9305
9306
9307 ## CAVEAT EMPTOR:
9308 ## There is no encapsulation within the following macros, do not change
9309 ## the running order or otherwise move them around unless you know exactly
9310 ## what you are doing...
9311 if test -n "$compiler"; then
9312
9313 lt_prog_compiler_no_builtin_flag=
9314
9315 if test "$GCC" = yes; then
9316 case $cc_basename in
9317 nvcc*)
9318 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9319 *)
9320 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9321 esac
9322
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9324 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9325 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9326 $as_echo_n "(cached) " >&6
9327 else
9328 lt_cv_prog_compiler_rtti_exceptions=no
9329 ac_outfile=conftest.$ac_objext
9330 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9331 lt_compiler_flag="-fno-rtti -fno-exceptions"
9332 # Insert the option either (1) after the last *FLAGS variable, or
9333 # (2) before a word containing "conftest.", or (3) at the end.
9334 # Note that $ac_compile itself does not contain backslashes and begins
9335 # with a dollar sign (not a hyphen), so the echo should work correctly.
9336 # The option is referenced via a variable to avoid confusing sed.
9337 lt_compile=`echo "$ac_compile" | $SED \
9338 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9339 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9340 -e 's:$: $lt_compiler_flag:'`
9341 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9342 (eval "$lt_compile" 2>conftest.err)
9343 ac_status=$?
9344 cat conftest.err >&5
9345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 if (exit $ac_status) && test -s "$ac_outfile"; then
9347 # The compiler can only warn and ignore the option if not recognized
9348 # So say no if there are warnings other than the usual output.
9349 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9350 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9351 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9352 lt_cv_prog_compiler_rtti_exceptions=yes
9353 fi
9354 fi
9355 $RM conftest*
9356
9357 fi
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9359 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9360
9361 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9362 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9363 else
9364 :
9365 fi
9366
9367 fi
9368
9369
9370
9371
9372
9373
9374 lt_prog_compiler_wl=
9375 lt_prog_compiler_pic=
9376 lt_prog_compiler_static=
9377
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9379 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9380
9381 if test "$GCC" = yes; then
9382 lt_prog_compiler_wl='-Wl,'
9383 lt_prog_compiler_static='-static'
9384
9385 case $host_os in
9386 aix*)
9387 # All AIX code is PIC.
9388 if test "$host_cpu" = ia64; then
9389 # AIX 5 now supports IA64 processor
9390 lt_prog_compiler_static='-Bstatic'
9391 fi
9392 lt_prog_compiler_pic='-fPIC'
9393 ;;
9394
9395 amigaos*)
9396 case $host_cpu in
9397 powerpc)
9398 # see comment about AmigaOS4 .so support
9399 lt_prog_compiler_pic='-fPIC'
9400 ;;
9401 m68k)
9402 # FIXME: we need at least 68020 code to build shared libraries, but
9403 # adding the `-m68020' flag to GCC prevents building anything better,
9404 # like `-m68040'.
9405 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9406 ;;
9407 esac
9408 ;;
9409
9410 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9411 # PIC is the default for these OSes.
9412 ;;
9413
9414 mingw* | cygwin* | pw32* | os2* | cegcc*)
9415 # This hack is so that the source file can tell whether it is being
9416 # built for inclusion in a dll (and should export symbols for example).
9417 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9418 # (--disable-auto-import) libraries
9419 lt_prog_compiler_pic='-DDLL_EXPORT'
9420 ;;
9421
9422 darwin* | rhapsody*)
9423 # PIC is the default on this platform
9424 # Common symbols not allowed in MH_DYLIB files
9425 lt_prog_compiler_pic='-fno-common'
9426 ;;
9427
9428 haiku*)
9429 # PIC is the default for Haiku.
9430 # The "-static" flag exists, but is broken.
9431 lt_prog_compiler_static=
9432 ;;
9433
9434 hpux*)
9435 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9436 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9437 # sets the default TLS model and affects inlining.
9438 case $host_cpu in
9439 hppa*64*)
9440 # +Z the default
9441 ;;
9442 *)
9443 lt_prog_compiler_pic='-fPIC'
9444 ;;
9445 esac
9446 ;;
9447
9448 interix[3-9]*)
9449 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9450 # Instead, we relocate shared libraries at runtime.
9451 ;;
9452
9453 msdosdjgpp*)
9454 # Just because we use GCC doesn't mean we suddenly get shared libraries
9455 # on systems that don't support them.
9456 lt_prog_compiler_can_build_shared=no
9457 enable_shared=no
9458 ;;
9459
9460 *nto* | *qnx*)
9461 # QNX uses GNU C++, but need to define -shared option too, otherwise
9462 # it will coredump.
9463 lt_prog_compiler_pic='-fPIC -shared'
9464 ;;
9465
9466 sysv4*MP*)
9467 if test -d /usr/nec; then
9468 lt_prog_compiler_pic=-Kconform_pic
9469 fi
9470 ;;
9471
9472 *)
9473 lt_prog_compiler_pic='-fPIC'
9474 ;;
9475 esac
9476
9477 case $cc_basename in
9478 nvcc*) # Cuda Compiler Driver 2.2
9479 lt_prog_compiler_wl='-Xlinker '
9480 lt_prog_compiler_pic='-Xcompiler -fPIC'
9481 ;;
9482 esac
9483 else
9484 # PORTME Check for flag to pass linker flags through the system compiler.
9485 case $host_os in
9486 aix*)
9487 lt_prog_compiler_wl='-Wl,'
9488 if test "$host_cpu" = ia64; then
9489 # AIX 5 now supports IA64 processor
9490 lt_prog_compiler_static='-Bstatic'
9491 else
9492 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9493 fi
9494 ;;
9495
9496 mingw* | cygwin* | pw32* | os2* | cegcc*)
9497 # This hack is so that the source file can tell whether it is being
9498 # built for inclusion in a dll (and should export symbols for example).
9499 lt_prog_compiler_pic='-DDLL_EXPORT'
9500 ;;
9501
9502 hpux9* | hpux10* | hpux11*)
9503 lt_prog_compiler_wl='-Wl,'
9504 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9505 # not for PA HP-UX.
9506 case $host_cpu in
9507 hppa*64*|ia64*)
9508 # +Z the default
9509 ;;
9510 *)
9511 lt_prog_compiler_pic='+Z'
9512 ;;
9513 esac
9514 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9515 lt_prog_compiler_static='${wl}-a ${wl}archive'
9516 ;;
9517
9518 irix5* | irix6* | nonstopux*)
9519 lt_prog_compiler_wl='-Wl,'
9520 # PIC (with -KPIC) is the default.
9521 lt_prog_compiler_static='-non_shared'
9522 ;;
9523
9524 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9525 case $cc_basename in
9526 # old Intel for x86_64 which still supported -KPIC.
9527 ecc*)
9528 lt_prog_compiler_wl='-Wl,'
9529 lt_prog_compiler_pic='-KPIC'
9530 lt_prog_compiler_static='-static'
9531 ;;
9532 # icc used to be incompatible with GCC.
9533 # ICC 10 doesn't accept -KPIC any more.
9534 icc* | ifort*)
9535 lt_prog_compiler_wl='-Wl,'
9536 lt_prog_compiler_pic='-fPIC'
9537 lt_prog_compiler_static='-static'
9538 ;;
9539 # Lahey Fortran 8.1.
9540 lf95*)
9541 lt_prog_compiler_wl='-Wl,'
9542 lt_prog_compiler_pic='--shared'
9543 lt_prog_compiler_static='--static'
9544 ;;
9545 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9546 # Portland Group compilers (*not* the Pentium gcc compiler,
9547 # which looks to be a dead project)
9548 lt_prog_compiler_wl='-Wl,'
9549 lt_prog_compiler_pic='-fpic'
9550 lt_prog_compiler_static='-Bstatic'
9551 ;;
9552 ccc*)
9553 lt_prog_compiler_wl='-Wl,'
9554 # All Alpha code is PIC.
9555 lt_prog_compiler_static='-non_shared'
9556 ;;
9557 xl* | bgxl* | bgf* | mpixl*)
9558 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9559 lt_prog_compiler_wl='-Wl,'
9560 lt_prog_compiler_pic='-qpic'
9561 lt_prog_compiler_static='-qstaticlink'
9562 ;;
9563 *)
9564 case `$CC -V 2>&1 | sed 5q` in
9565 *Sun\ F* | *Sun*Fortran*)
9566 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9567 lt_prog_compiler_pic='-KPIC'
9568 lt_prog_compiler_static='-Bstatic'
9569 lt_prog_compiler_wl=''
9570 ;;
9571 *Sun\ C*)
9572 # Sun C 5.9
9573 lt_prog_compiler_pic='-KPIC'
9574 lt_prog_compiler_static='-Bstatic'
9575 lt_prog_compiler_wl='-Wl,'
9576 ;;
9577 esac
9578 ;;
9579 esac
9580 ;;
9581
9582 newsos6)
9583 lt_prog_compiler_pic='-KPIC'
9584 lt_prog_compiler_static='-Bstatic'
9585 ;;
9586
9587 *nto* | *qnx*)
9588 # QNX uses GNU C++, but need to define -shared option too, otherwise
9589 # it will coredump.
9590 lt_prog_compiler_pic='-fPIC -shared'
9591 ;;
9592
9593 osf3* | osf4* | osf5*)
9594 lt_prog_compiler_wl='-Wl,'
9595 # All OSF/1 code is PIC.
9596 lt_prog_compiler_static='-non_shared'
9597 ;;
9598
9599 rdos*)
9600 lt_prog_compiler_static='-non_shared'
9601 ;;
9602
9603 solaris*)
9604 lt_prog_compiler_pic='-KPIC'
9605 lt_prog_compiler_static='-Bstatic'
9606 case $cc_basename in
9607 f77* | f90* | f95*)
9608 lt_prog_compiler_wl='-Qoption ld ';;
9609 *)
9610 lt_prog_compiler_wl='-Wl,';;
9611 esac
9612 ;;
9613
9614 sunos4*)
9615 lt_prog_compiler_wl='-Qoption ld '
9616 lt_prog_compiler_pic='-PIC'
9617 lt_prog_compiler_static='-Bstatic'
9618 ;;
9619
9620 sysv4 | sysv4.2uw2* | sysv4.3*)
9621 lt_prog_compiler_wl='-Wl,'
9622 lt_prog_compiler_pic='-KPIC'
9623 lt_prog_compiler_static='-Bstatic'
9624 ;;
9625
9626 sysv4*MP*)
9627 if test -d /usr/nec ;then
9628 lt_prog_compiler_pic='-Kconform_pic'
9629 lt_prog_compiler_static='-Bstatic'
9630 fi
9631 ;;
9632
9633 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9634 lt_prog_compiler_wl='-Wl,'
9635 lt_prog_compiler_pic='-KPIC'
9636 lt_prog_compiler_static='-Bstatic'
9637 ;;
9638
9639 unicos*)
9640 lt_prog_compiler_wl='-Wl,'
9641 lt_prog_compiler_can_build_shared=no
9642 ;;
9643
9644 uts4*)
9645 lt_prog_compiler_pic='-pic'
9646 lt_prog_compiler_static='-Bstatic'
9647 ;;
9648
9649 *)
9650 lt_prog_compiler_can_build_shared=no
9651 ;;
9652 esac
9653 fi
9654
9655 case $host_os in
9656 # For platforms which do not support PIC, -DPIC is meaningless:
9657 *djgpp*)
9658 lt_prog_compiler_pic=
9659 ;;
9660 *)
9661 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9662 ;;
9663 esac
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9665 $as_echo "$lt_prog_compiler_pic" >&6; }
9666
9667
9668
9669
9670
9671
9672 #
9673 # Check to make sure the PIC flag actually works.
9674 #
9675 if test -n "$lt_prog_compiler_pic"; then
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9677 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9678 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9679 $as_echo_n "(cached) " >&6
9680 else
9681 lt_cv_prog_compiler_pic_works=no
9682 ac_outfile=conftest.$ac_objext
9683 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9684 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9685 # Insert the option either (1) after the last *FLAGS variable, or
9686 # (2) before a word containing "conftest.", or (3) at the end.
9687 # Note that $ac_compile itself does not contain backslashes and begins
9688 # with a dollar sign (not a hyphen), so the echo should work correctly.
9689 # The option is referenced via a variable to avoid confusing sed.
9690 lt_compile=`echo "$ac_compile" | $SED \
9691 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9692 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9693 -e 's:$: $lt_compiler_flag:'`
9694 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9695 (eval "$lt_compile" 2>conftest.err)
9696 ac_status=$?
9697 cat conftest.err >&5
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 if (exit $ac_status) && test -s "$ac_outfile"; then
9700 # The compiler can only warn and ignore the option if not recognized
9701 # So say no if there are warnings other than the usual output.
9702 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9703 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9704 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9705 lt_cv_prog_compiler_pic_works=yes
9706 fi
9707 fi
9708 $RM conftest*
9709
9710 fi
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9712 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9713
9714 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9715 case $lt_prog_compiler_pic in
9716 "" | " "*) ;;
9717 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9718 esac
9719 else
9720 lt_prog_compiler_pic=
9721 lt_prog_compiler_can_build_shared=no
9722 fi
9723
9724 fi
9725
9726
9727
9728
9729
9730
9731 #
9732 # Check to make sure the static flag actually works.
9733 #
9734 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9736 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9737 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9738 $as_echo_n "(cached) " >&6
9739 else
9740 lt_cv_prog_compiler_static_works=no
9741 save_LDFLAGS="$LDFLAGS"
9742 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9743 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9744 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9745 # The linker can only warn and ignore the option if not recognized
9746 # So say no if there are warnings
9747 if test -s conftest.err; then
9748 # Append any errors to the config.log.
9749 cat conftest.err 1>&5
9750 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9751 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9752 if diff conftest.exp conftest.er2 >/dev/null; then
9753 lt_cv_prog_compiler_static_works=yes
9754 fi
9755 else
9756 lt_cv_prog_compiler_static_works=yes
9757 fi
9758 fi
9759 $RM -r conftest*
9760 LDFLAGS="$save_LDFLAGS"
9761
9762 fi
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9764 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9765
9766 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9767 :
9768 else
9769 lt_prog_compiler_static=
9770 fi
9771
9772
9773
9774
9775
9776
9777
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9779 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9780 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9781 $as_echo_n "(cached) " >&6
9782 else
9783 lt_cv_prog_compiler_c_o=no
9784 $RM -r conftest 2>/dev/null
9785 mkdir conftest
9786 cd conftest
9787 mkdir out
9788 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9789
9790 lt_compiler_flag="-o out/conftest2.$ac_objext"
9791 # Insert the option either (1) after the last *FLAGS variable, or
9792 # (2) before a word containing "conftest.", or (3) at the end.
9793 # Note that $ac_compile itself does not contain backslashes and begins
9794 # with a dollar sign (not a hyphen), so the echo should work correctly.
9795 lt_compile=`echo "$ac_compile" | $SED \
9796 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9797 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9798 -e 's:$: $lt_compiler_flag:'`
9799 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9800 (eval "$lt_compile" 2>out/conftest.err)
9801 ac_status=$?
9802 cat out/conftest.err >&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9805 then
9806 # The compiler can only warn and ignore the option if not recognized
9807 # So say no if there are warnings
9808 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9809 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9810 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9811 lt_cv_prog_compiler_c_o=yes
9812 fi
9813 fi
9814 chmod u+w . 2>&5
9815 $RM conftest*
9816 # SGI C++ compiler will create directory out/ii_files/ for
9817 # template instantiation
9818 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9819 $RM out/* && rmdir out
9820 cd ..
9821 $RM -r conftest
9822 $RM conftest*
9823
9824 fi
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9826 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9827
9828
9829
9830
9831
9832
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9834 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9835 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9836 $as_echo_n "(cached) " >&6
9837 else
9838 lt_cv_prog_compiler_c_o=no
9839 $RM -r conftest 2>/dev/null
9840 mkdir conftest
9841 cd conftest
9842 mkdir out
9843 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9844
9845 lt_compiler_flag="-o out/conftest2.$ac_objext"
9846 # Insert the option either (1) after the last *FLAGS variable, or
9847 # (2) before a word containing "conftest.", or (3) at the end.
9848 # Note that $ac_compile itself does not contain backslashes and begins
9849 # with a dollar sign (not a hyphen), so the echo should work correctly.
9850 lt_compile=`echo "$ac_compile" | $SED \
9851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9853 -e 's:$: $lt_compiler_flag:'`
9854 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9855 (eval "$lt_compile" 2>out/conftest.err)
9856 ac_status=$?
9857 cat out/conftest.err >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9860 then
9861 # The compiler can only warn and ignore the option if not recognized
9862 # So say no if there are warnings
9863 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9864 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9865 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9866 lt_cv_prog_compiler_c_o=yes
9867 fi
9868 fi
9869 chmod u+w . 2>&5
9870 $RM conftest*
9871 # SGI C++ compiler will create directory out/ii_files/ for
9872 # template instantiation
9873 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9874 $RM out/* && rmdir out
9875 cd ..
9876 $RM -r conftest
9877 $RM conftest*
9878
9879 fi
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9881 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9882
9883
9884
9885
9886 hard_links="nottested"
9887 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9888 # do not overwrite the value of need_locks provided by the user
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9890 $as_echo_n "checking if we can lock with hard links... " >&6; }
9891 hard_links=yes
9892 $RM conftest*
9893 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9894 touch conftest.a
9895 ln conftest.a conftest.b 2>&5 || hard_links=no
9896 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9898 $as_echo "$hard_links" >&6; }
9899 if test "$hard_links" = no; then
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9901 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9902 need_locks=warn
9903 fi
9904 else
9905 need_locks=no
9906 fi
9907
9908
9909
9910
9911
9912
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9914 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9915
9916 runpath_var=
9917 allow_undefined_flag=
9918 always_export_symbols=no
9919 archive_cmds=
9920 archive_expsym_cmds=
9921 compiler_needs_object=no
9922 enable_shared_with_static_runtimes=no
9923 export_dynamic_flag_spec=
9924 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9925 hardcode_automatic=no
9926 hardcode_direct=no
9927 hardcode_direct_absolute=no
9928 hardcode_libdir_flag_spec=
9929 hardcode_libdir_flag_spec_ld=
9930 hardcode_libdir_separator=
9931 hardcode_minus_L=no
9932 hardcode_shlibpath_var=unsupported
9933 inherit_rpath=no
9934 link_all_deplibs=unknown
9935 module_cmds=
9936 module_expsym_cmds=
9937 old_archive_from_new_cmds=
9938 old_archive_from_expsyms_cmds=
9939 thread_safe_flag_spec=
9940 whole_archive_flag_spec=
9941 # include_expsyms should be a list of space-separated symbols to be *always*
9942 # included in the symbol list
9943 include_expsyms=
9944 # exclude_expsyms can be an extended regexp of symbols to exclude
9945 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9946 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9947 # as well as any symbol that contains `d'.
9948 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9949 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9950 # platforms (ab)use it in PIC code, but their linkers get confused if
9951 # the symbol is explicitly referenced. Since portable code cannot
9952 # rely on this symbol name, it's probably fine to never include it in
9953 # preloaded symbol tables.
9954 # Exclude shared library initialization/finalization symbols.
9955 extract_expsyms_cmds=
9956
9957 case $host_os in
9958 cygwin* | mingw* | pw32* | cegcc*)
9959 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9960 # When not using gcc, we currently assume that we are using
9961 # Microsoft Visual C++.
9962 if test "$GCC" != yes; then
9963 with_gnu_ld=no
9964 fi
9965 ;;
9966 interix*)
9967 # we just hope/assume this is gcc and not c89 (= MSVC++)
9968 with_gnu_ld=yes
9969 ;;
9970 openbsd*)
9971 with_gnu_ld=no
9972 ;;
9973 esac
9974
9975 ld_shlibs=yes
9976
9977 # On some targets, GNU ld is compatible enough with the native linker
9978 # that we're better off using the native interface for both.
9979 lt_use_gnu_ld_interface=no
9980 if test "$with_gnu_ld" = yes; then
9981 case $host_os in
9982 aix*)
9983 # The AIX port of GNU ld has always aspired to compatibility
9984 # with the native linker. However, as the warning in the GNU ld
9985 # block says, versions before 2.19.5* couldn't really create working
9986 # shared libraries, regardless of the interface used.
9987 case `$LD -v 2>&1` in
9988 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9989 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9990 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9991 *)
9992 lt_use_gnu_ld_interface=yes
9993 ;;
9994 esac
9995 ;;
9996 *)
9997 lt_use_gnu_ld_interface=yes
9998 ;;
9999 esac
10000 fi
10001
10002 if test "$lt_use_gnu_ld_interface" = yes; then
10003 # If archive_cmds runs LD, not CC, wlarc should be empty
10004 wlarc='${wl}'
10005
10006 # Set some defaults for GNU ld with shared library support. These
10007 # are reset later if shared libraries are not supported. Putting them
10008 # here allows them to be overridden if necessary.
10009 runpath_var=LD_RUN_PATH
10010 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10011 export_dynamic_flag_spec='${wl}--export-dynamic'
10012 # ancient GNU ld didn't support --whole-archive et. al.
10013 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10014 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10015 else
10016 whole_archive_flag_spec=
10017 fi
10018 supports_anon_versioning=no
10019 case `$LD -v 2>&1` in
10020 *GNU\ gold*) supports_anon_versioning=yes ;;
10021 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10022 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10023 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10024 *\ 2.11.*) ;; # other 2.11 versions
10025 *) supports_anon_versioning=yes ;;
10026 esac
10027
10028 # See if GNU ld supports shared libraries.
10029 case $host_os in
10030 aix[3-9]*)
10031 # On AIX/PPC, the GNU linker is very broken
10032 if test "$host_cpu" != ia64; then
10033 ld_shlibs=no
10034 cat <<_LT_EOF 1>&2
10035
10036 *** Warning: the GNU linker, at least up to release 2.19, is reported
10037 *** to be unable to reliably create shared libraries on AIX.
10038 *** Therefore, libtool is disabling shared libraries support. If you
10039 *** really care for shared libraries, you may want to install binutils
10040 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10041 *** You will then need to restart the configuration process.
10042
10043 _LT_EOF
10044 fi
10045 ;;
10046
10047 amigaos*)
10048 case $host_cpu in
10049 powerpc)
10050 # see comment about AmigaOS4 .so support
10051 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10052 archive_expsym_cmds=''
10053 ;;
10054 m68k)
10055 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)'
10056 hardcode_libdir_flag_spec='-L$libdir'
10057 hardcode_minus_L=yes
10058 ;;
10059 esac
10060 ;;
10061
10062 beos*)
10063 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10064 allow_undefined_flag=unsupported
10065 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10066 # support --undefined. This deserves some investigation. FIXME
10067 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10068 else
10069 ld_shlibs=no
10070 fi
10071 ;;
10072
10073 cygwin* | mingw* | pw32* | cegcc*)
10074 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10075 # as there is no search path for DLLs.
10076 hardcode_libdir_flag_spec='-L$libdir'
10077 export_dynamic_flag_spec='${wl}--export-all-symbols'
10078 allow_undefined_flag=unsupported
10079 always_export_symbols=no
10080 enable_shared_with_static_runtimes=yes
10081 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10082
10083 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10084 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10085 # If the export-symbols file already is a .def file (1st line
10086 # is EXPORTS), use it as is; otherwise, prepend...
10087 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10088 cp $export_symbols $output_objdir/$soname.def;
10089 else
10090 echo EXPORTS > $output_objdir/$soname.def;
10091 cat $export_symbols >> $output_objdir/$soname.def;
10092 fi~
10093 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10094 else
10095 ld_shlibs=no
10096 fi
10097 ;;
10098
10099 haiku*)
10100 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10101 link_all_deplibs=yes
10102 ;;
10103
10104 interix[3-9]*)
10105 hardcode_direct=no
10106 hardcode_shlibpath_var=no
10107 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10108 export_dynamic_flag_spec='${wl}-E'
10109 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10110 # Instead, shared libraries are loaded at an image base (0x10000000 by
10111 # default) and relocated if they conflict, which is a slow very memory
10112 # consuming and fragmenting process. To avoid this, we pick a random,
10113 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10114 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10115 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10116 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'
10117 ;;
10118
10119 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10120 tmp_diet=no
10121 if test "$host_os" = linux-dietlibc; then
10122 case $cc_basename in
10123 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10124 esac
10125 fi
10126 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10127 && test "$tmp_diet" = no
10128 then
10129 tmp_addflag=' $pic_flag'
10130 tmp_sharedflag='-shared'
10131 case $cc_basename,$host_cpu in
10132 pgcc*) # Portland Group C compiler
10133 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'
10134 tmp_addflag=' $pic_flag'
10135 ;;
10136 pgf77* | pgf90* | pgf95* | pgfortran*)
10137 # Portland Group f77 and f90 compilers
10138 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'
10139 tmp_addflag=' $pic_flag -Mnomain' ;;
10140 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10141 tmp_addflag=' -i_dynamic' ;;
10142 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10143 tmp_addflag=' -i_dynamic -nofor_main' ;;
10144 ifc* | ifort*) # Intel Fortran compiler
10145 tmp_addflag=' -nofor_main' ;;
10146 lf95*) # Lahey Fortran 8.1
10147 whole_archive_flag_spec=
10148 tmp_sharedflag='--shared' ;;
10149 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10150 tmp_sharedflag='-qmkshrobj'
10151 tmp_addflag= ;;
10152 nvcc*) # Cuda Compiler Driver 2.2
10153 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'
10154 compiler_needs_object=yes
10155 ;;
10156 esac
10157 case `$CC -V 2>&1 | sed 5q` in
10158 *Sun\ C*) # Sun C 5.9
10159 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'
10160 compiler_needs_object=yes
10161 tmp_sharedflag='-G' ;;
10162 *Sun\ F*) # Sun Fortran 8.3
10163 tmp_sharedflag='-G' ;;
10164 esac
10165 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10166
10167 if test "x$supports_anon_versioning" = xyes; then
10168 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10169 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10170 echo "local: *; };" >> $output_objdir/$libname.ver~
10171 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10172 fi
10173
10174 case $cc_basename in
10175 xlf* | bgf* | bgxlf* | mpixlf*)
10176 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10177 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10178 hardcode_libdir_flag_spec=
10179 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10180 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10181 if test "x$supports_anon_versioning" = xyes; then
10182 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10183 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10184 echo "local: *; };" >> $output_objdir/$libname.ver~
10185 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10186 fi
10187 ;;
10188 esac
10189 else
10190 ld_shlibs=no
10191 fi
10192 ;;
10193
10194 netbsd*)
10195 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10196 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10197 wlarc=
10198 else
10199 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10200 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10201 fi
10202 ;;
10203
10204 solaris*)
10205 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10206 ld_shlibs=no
10207 cat <<_LT_EOF 1>&2
10208
10209 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10210 *** create shared libraries on Solaris systems. Therefore, libtool
10211 *** is disabling shared libraries support. We urge you to upgrade GNU
10212 *** binutils to release 2.9.1 or newer. Another option is to modify
10213 *** your PATH or compiler configuration so that the native linker is
10214 *** used, and then restart.
10215
10216 _LT_EOF
10217 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10218 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10219 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10220 else
10221 ld_shlibs=no
10222 fi
10223 ;;
10224
10225 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10226 case `$LD -v 2>&1` in
10227 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10228 ld_shlibs=no
10229 cat <<_LT_EOF 1>&2
10230
10231 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10232 *** reliably create shared libraries on SCO systems. Therefore, libtool
10233 *** is disabling shared libraries support. We urge you to upgrade GNU
10234 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10235 *** your PATH or compiler configuration so that the native linker is
10236 *** used, and then restart.
10237
10238 _LT_EOF
10239 ;;
10240 *)
10241 # For security reasons, it is highly recommended that you always
10242 # use absolute paths for naming shared libraries, and exclude the
10243 # DT_RUNPATH tag from executables and libraries. But doing so
10244 # requires that you compile everything twice, which is a pain.
10245 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10246 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10248 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10249 else
10250 ld_shlibs=no
10251 fi
10252 ;;
10253 esac
10254 ;;
10255
10256 sunos4*)
10257 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10258 wlarc=
10259 hardcode_direct=yes
10260 hardcode_shlibpath_var=no
10261 ;;
10262
10263 *)
10264 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10265 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10266 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10267 else
10268 ld_shlibs=no
10269 fi
10270 ;;
10271 esac
10272
10273 if test "$ld_shlibs" = no; then
10274 runpath_var=
10275 hardcode_libdir_flag_spec=
10276 export_dynamic_flag_spec=
10277 whole_archive_flag_spec=
10278 fi
10279 else
10280 # PORTME fill in a description of your system's linker (not GNU ld)
10281 case $host_os in
10282 aix3*)
10283 allow_undefined_flag=unsupported
10284 always_export_symbols=yes
10285 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'
10286 # Note: this linker hardcodes the directories in LIBPATH if there
10287 # are no directories specified by -L.
10288 hardcode_minus_L=yes
10289 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10290 # Neither direct hardcoding nor static linking is supported with a
10291 # broken collect2.
10292 hardcode_direct=unsupported
10293 fi
10294 ;;
10295
10296 aix[4-9]*)
10297 if test "$host_cpu" = ia64; then
10298 # On IA64, the linker does run time linking by default, so we don't
10299 # have to do anything special.
10300 aix_use_runtimelinking=no
10301 exp_sym_flag='-Bexport'
10302 no_entry_flag=""
10303 else
10304 # If we're using GNU nm, then we don't want the "-C" option.
10305 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10306 # Also, AIX nm treats weak defined symbols like other global
10307 # defined symbols, whereas GNU nm marks them as "W".
10308 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10309 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'
10310 else
10311 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10312 fi
10313 aix_use_runtimelinking=no
10314
10315 # Test if we are trying to use run time linking or normal
10316 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10317 # need to do runtime linking.
10318 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10319 for ld_flag in $LDFLAGS; do
10320 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10321 aix_use_runtimelinking=yes
10322 break
10323 fi
10324 done
10325 ;;
10326 esac
10327
10328 exp_sym_flag='-bexport'
10329 no_entry_flag='-bnoentry'
10330 fi
10331
10332 # When large executables or shared objects are built, AIX ld can
10333 # have problems creating the table of contents. If linking a library
10334 # or program results in "error TOC overflow" add -mminimal-toc to
10335 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10336 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10337
10338 archive_cmds=''
10339 hardcode_direct=yes
10340 hardcode_direct_absolute=yes
10341 hardcode_libdir_separator=':'
10342 link_all_deplibs=yes
10343 file_list_spec='${wl}-f,'
10344
10345 if test "$GCC" = yes; then
10346 case $host_os in aix4.[012]|aix4.[012].*)
10347 # We only want to do this on AIX 4.2 and lower, the check
10348 # below for broken collect2 doesn't work under 4.3+
10349 collect2name=`${CC} -print-prog-name=collect2`
10350 if test -f "$collect2name" &&
10351 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10352 then
10353 # We have reworked collect2
10354 :
10355 else
10356 # We have old collect2
10357 hardcode_direct=unsupported
10358 # It fails to find uninstalled libraries when the uninstalled
10359 # path is not listed in the libpath. Setting hardcode_minus_L
10360 # to unsupported forces relinking
10361 hardcode_minus_L=yes
10362 hardcode_libdir_flag_spec='-L$libdir'
10363 hardcode_libdir_separator=
10364 fi
10365 ;;
10366 esac
10367 shared_flag='-shared'
10368 if test "$aix_use_runtimelinking" = yes; then
10369 shared_flag="$shared_flag "'${wl}-G'
10370 fi
10371 else
10372 # not using gcc
10373 if test "$host_cpu" = ia64; then
10374 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10375 # chokes on -Wl,-G. The following line is correct:
10376 shared_flag='-G'
10377 else
10378 if test "$aix_use_runtimelinking" = yes; then
10379 shared_flag='${wl}-G'
10380 else
10381 shared_flag='${wl}-bM:SRE'
10382 fi
10383 fi
10384 fi
10385
10386 export_dynamic_flag_spec='${wl}-bexpall'
10387 # It seems that -bexpall does not export symbols beginning with
10388 # underscore (_), so it is better to generate a list of symbols to export.
10389 always_export_symbols=yes
10390 if test "$aix_use_runtimelinking" = yes; then
10391 # Warning - without using the other runtime loading flags (-brtl),
10392 # -berok will link without error, but may produce a broken library.
10393 allow_undefined_flag='-berok'
10394 # Determine the default libpath from the value encoded in an
10395 # empty executable.
10396 if test x$gcc_no_link = xyes; then
10397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10398 fi
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10401
10402 int
10403 main ()
10404 {
10405
10406 ;
10407 return 0;
10408 }
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"; then :
10411
10412 lt_aix_libpath_sed='
10413 /Import File Strings/,/^$/ {
10414 /^0/ {
10415 s/^0 *\(.*\)$/\1/
10416 p
10417 }
10418 }'
10419 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10420 # Check for a 64-bit object if we didn't find anything.
10421 if test -z "$aix_libpath"; then
10422 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10423 fi
10424 fi
10425 rm -f core conftest.err conftest.$ac_objext \
10426 conftest$ac_exeext conftest.$ac_ext
10427 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10428
10429 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10430 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"
10431 else
10432 if test "$host_cpu" = ia64; then
10433 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10434 allow_undefined_flag="-z nodefs"
10435 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"
10436 else
10437 # Determine the default libpath from the value encoded in an
10438 # empty executable.
10439 if test x$gcc_no_link = xyes; then
10440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10441 fi
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10444
10445 int
10446 main ()
10447 {
10448
10449 ;
10450 return 0;
10451 }
10452 _ACEOF
10453 if ac_fn_c_try_link "$LINENO"; then :
10454
10455 lt_aix_libpath_sed='
10456 /Import File Strings/,/^$/ {
10457 /^0/ {
10458 s/^0 *\(.*\)$/\1/
10459 p
10460 }
10461 }'
10462 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10463 # Check for a 64-bit object if we didn't find anything.
10464 if test -z "$aix_libpath"; then
10465 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10466 fi
10467 fi
10468 rm -f core conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10471
10472 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10473 # Warning - without using the other run time loading flags,
10474 # -berok will link without error, but may produce a broken library.
10475 no_undefined_flag=' ${wl}-bernotok'
10476 allow_undefined_flag=' ${wl}-berok'
10477 if test "$with_gnu_ld" = yes; then
10478 # We only use this code for GNU lds that support --whole-archive.
10479 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10480 else
10481 # Exported symbols can be pulled into shared objects from archives
10482 whole_archive_flag_spec='$convenience'
10483 fi
10484 archive_cmds_need_lc=yes
10485 # This is similar to how AIX traditionally builds its shared libraries.
10486 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'
10487 fi
10488 fi
10489 ;;
10490
10491 amigaos*)
10492 case $host_cpu in
10493 powerpc)
10494 # see comment about AmigaOS4 .so support
10495 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10496 archive_expsym_cmds=''
10497 ;;
10498 m68k)
10499 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)'
10500 hardcode_libdir_flag_spec='-L$libdir'
10501 hardcode_minus_L=yes
10502 ;;
10503 esac
10504 ;;
10505
10506 bsdi[45]*)
10507 export_dynamic_flag_spec=-rdynamic
10508 ;;
10509
10510 cygwin* | mingw* | pw32* | cegcc*)
10511 # When not using gcc, we currently assume that we are using
10512 # Microsoft Visual C++.
10513 # hardcode_libdir_flag_spec is actually meaningless, as there is
10514 # no search path for DLLs.
10515 hardcode_libdir_flag_spec=' '
10516 allow_undefined_flag=unsupported
10517 # Tell ltmain to make .lib files, not .a files.
10518 libext=lib
10519 # Tell ltmain to make .dll files, not .so files.
10520 shrext_cmds=".dll"
10521 # FIXME: Setting linknames here is a bad hack.
10522 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10523 # The linker will automatically build a .lib file if we build a DLL.
10524 old_archive_from_new_cmds='true'
10525 # FIXME: Should let the user specify the lib program.
10526 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10527 fix_srcfile_path='`cygpath -w "$srcfile"`'
10528 enable_shared_with_static_runtimes=yes
10529 ;;
10530
10531 darwin* | rhapsody*)
10532
10533
10534 archive_cmds_need_lc=no
10535 hardcode_direct=no
10536 hardcode_automatic=yes
10537 hardcode_shlibpath_var=unsupported
10538 if test "$lt_cv_ld_force_load" = "yes"; then
10539 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\"`'
10540 else
10541 whole_archive_flag_spec=''
10542 fi
10543 link_all_deplibs=yes
10544 allow_undefined_flag="$_lt_dar_allow_undefined"
10545 case $cc_basename in
10546 ifort*) _lt_dar_can_shared=yes ;;
10547 *) _lt_dar_can_shared=$GCC ;;
10548 esac
10549 if test "$_lt_dar_can_shared" = "yes"; then
10550 output_verbose_link_cmd=func_echo_all
10551 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10552 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10553 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10554 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}"
10555
10556 else
10557 ld_shlibs=no
10558 fi
10559
10560 ;;
10561
10562 dgux*)
10563 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10564 hardcode_libdir_flag_spec='-L$libdir'
10565 hardcode_shlibpath_var=no
10566 ;;
10567
10568 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10569 # support. Future versions do this automatically, but an explicit c++rt0.o
10570 # does not break anything, and helps significantly (at the cost of a little
10571 # extra space).
10572 freebsd2.2*)
10573 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10574 hardcode_libdir_flag_spec='-R$libdir'
10575 hardcode_direct=yes
10576 hardcode_shlibpath_var=no
10577 ;;
10578
10579 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10580 freebsd2.*)
10581 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10582 hardcode_direct=yes
10583 hardcode_minus_L=yes
10584 hardcode_shlibpath_var=no
10585 ;;
10586
10587 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10588 freebsd* | dragonfly*)
10589 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10590 hardcode_libdir_flag_spec='-R$libdir'
10591 hardcode_direct=yes
10592 hardcode_shlibpath_var=no
10593 ;;
10594
10595 hpux9*)
10596 if test "$GCC" = yes; then
10597 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'
10598 else
10599 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'
10600 fi
10601 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10602 hardcode_libdir_separator=:
10603 hardcode_direct=yes
10604
10605 # hardcode_minus_L: Not really in the search PATH,
10606 # but as the default location of the library.
10607 hardcode_minus_L=yes
10608 export_dynamic_flag_spec='${wl}-E'
10609 ;;
10610
10611 hpux10*)
10612 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10613 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10614 else
10615 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10616 fi
10617 if test "$with_gnu_ld" = no; then
10618 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10619 hardcode_libdir_flag_spec_ld='+b $libdir'
10620 hardcode_libdir_separator=:
10621 hardcode_direct=yes
10622 hardcode_direct_absolute=yes
10623 export_dynamic_flag_spec='${wl}-E'
10624 # hardcode_minus_L: Not really in the search PATH,
10625 # but as the default location of the library.
10626 hardcode_minus_L=yes
10627 fi
10628 ;;
10629
10630 hpux11*)
10631 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10632 case $host_cpu in
10633 hppa*64*)
10634 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10635 ;;
10636 ia64*)
10637 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10638 ;;
10639 *)
10640 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10641 ;;
10642 esac
10643 else
10644 case $host_cpu in
10645 hppa*64*)
10646 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10647 ;;
10648 ia64*)
10649 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10650 ;;
10651 *)
10652
10653 # Older versions of the 11.00 compiler do not understand -b yet
10654 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10656 $as_echo_n "checking if $CC understands -b... " >&6; }
10657 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10658 $as_echo_n "(cached) " >&6
10659 else
10660 lt_cv_prog_compiler__b=no
10661 save_LDFLAGS="$LDFLAGS"
10662 LDFLAGS="$LDFLAGS -b"
10663 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10664 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10665 # The linker can only warn and ignore the option if not recognized
10666 # So say no if there are warnings
10667 if test -s conftest.err; then
10668 # Append any errors to the config.log.
10669 cat conftest.err 1>&5
10670 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10671 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10672 if diff conftest.exp conftest.er2 >/dev/null; then
10673 lt_cv_prog_compiler__b=yes
10674 fi
10675 else
10676 lt_cv_prog_compiler__b=yes
10677 fi
10678 fi
10679 $RM -r conftest*
10680 LDFLAGS="$save_LDFLAGS"
10681
10682 fi
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10684 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10685
10686 if test x"$lt_cv_prog_compiler__b" = xyes; then
10687 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10688 else
10689 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10690 fi
10691
10692 ;;
10693 esac
10694 fi
10695 if test "$with_gnu_ld" = no; then
10696 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10697 hardcode_libdir_separator=:
10698
10699 case $host_cpu in
10700 hppa*64*|ia64*)
10701 hardcode_direct=no
10702 hardcode_shlibpath_var=no
10703 ;;
10704 *)
10705 hardcode_direct=yes
10706 hardcode_direct_absolute=yes
10707 export_dynamic_flag_spec='${wl}-E'
10708
10709 # hardcode_minus_L: Not really in the search PATH,
10710 # but as the default location of the library.
10711 hardcode_minus_L=yes
10712 ;;
10713 esac
10714 fi
10715 ;;
10716
10717 irix5* | irix6* | nonstopux*)
10718 if test "$GCC" = yes; then
10719 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'
10720 # Try to use the -exported_symbol ld option, if it does not
10721 # work, assume that -exports_file does not work either and
10722 # implicitly export all symbols.
10723 save_LDFLAGS="$LDFLAGS"
10724 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10725 if test x$gcc_no_link = xyes; then
10726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10727 fi
10728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10729 /* end confdefs.h. */
10730 int foo(void) {}
10731 _ACEOF
10732 if ac_fn_c_try_link "$LINENO"; then :
10733 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'
10734
10735 fi
10736 rm -f core conftest.err conftest.$ac_objext \
10737 conftest$ac_exeext conftest.$ac_ext
10738 LDFLAGS="$save_LDFLAGS"
10739 else
10740 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'
10741 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'
10742 fi
10743 archive_cmds_need_lc='no'
10744 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10745 hardcode_libdir_separator=:
10746 inherit_rpath=yes
10747 link_all_deplibs=yes
10748 ;;
10749
10750 netbsd*)
10751 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10752 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10753 else
10754 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10755 fi
10756 hardcode_libdir_flag_spec='-R$libdir'
10757 hardcode_direct=yes
10758 hardcode_shlibpath_var=no
10759 ;;
10760
10761 newsos6)
10762 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10763 hardcode_direct=yes
10764 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10765 hardcode_libdir_separator=:
10766 hardcode_shlibpath_var=no
10767 ;;
10768
10769 *nto* | *qnx*)
10770 ;;
10771
10772 openbsd*)
10773 if test -f /usr/libexec/ld.so; then
10774 hardcode_direct=yes
10775 hardcode_shlibpath_var=no
10776 hardcode_direct_absolute=yes
10777 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10778 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10780 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10781 export_dynamic_flag_spec='${wl}-E'
10782 else
10783 case $host_os in
10784 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10785 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10786 hardcode_libdir_flag_spec='-R$libdir'
10787 ;;
10788 *)
10789 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10790 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10791 ;;
10792 esac
10793 fi
10794 else
10795 ld_shlibs=no
10796 fi
10797 ;;
10798
10799 os2*)
10800 hardcode_libdir_flag_spec='-L$libdir'
10801 hardcode_minus_L=yes
10802 allow_undefined_flag=unsupported
10803 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'
10804 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10805 ;;
10806
10807 osf3*)
10808 if test "$GCC" = yes; then
10809 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10810 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'
10811 else
10812 allow_undefined_flag=' -expect_unresolved \*'
10813 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'
10814 fi
10815 archive_cmds_need_lc='no'
10816 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10817 hardcode_libdir_separator=:
10818 ;;
10819
10820 osf4* | osf5*) # as osf3* with the addition of -msym flag
10821 if test "$GCC" = yes; then
10822 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10823 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'
10824 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10825 else
10826 allow_undefined_flag=' -expect_unresolved \*'
10827 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'
10828 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~
10829 $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'
10830
10831 # Both c and cxx compiler support -rpath directly
10832 hardcode_libdir_flag_spec='-rpath $libdir'
10833 fi
10834 archive_cmds_need_lc='no'
10835 hardcode_libdir_separator=:
10836 ;;
10837
10838 solaris*)
10839 no_undefined_flag=' -z defs'
10840 if test "$GCC" = yes; then
10841 wlarc='${wl}'
10842 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10843 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10844 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10845 else
10846 case `$CC -V 2>&1` in
10847 *"Compilers 5.0"*)
10848 wlarc=''
10849 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10850 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10851 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10852 ;;
10853 *)
10854 wlarc='${wl}'
10855 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10856 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10857 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10858 ;;
10859 esac
10860 fi
10861 hardcode_libdir_flag_spec='-R$libdir'
10862 hardcode_shlibpath_var=no
10863 case $host_os in
10864 solaris2.[0-5] | solaris2.[0-5].*) ;;
10865 *)
10866 # The compiler driver will combine and reorder linker options,
10867 # but understands `-z linker_flag'. GCC discards it without `$wl',
10868 # but is careful enough not to reorder.
10869 # Supported since Solaris 2.6 (maybe 2.5.1?)
10870 if test "$GCC" = yes; then
10871 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10872 else
10873 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10874 fi
10875 ;;
10876 esac
10877 link_all_deplibs=yes
10878 ;;
10879
10880 sunos4*)
10881 if test "x$host_vendor" = xsequent; then
10882 # Use $CC to link under sequent, because it throws in some extra .o
10883 # files that make .init and .fini sections work.
10884 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10885 else
10886 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10887 fi
10888 hardcode_libdir_flag_spec='-L$libdir'
10889 hardcode_direct=yes
10890 hardcode_minus_L=yes
10891 hardcode_shlibpath_var=no
10892 ;;
10893
10894 sysv4)
10895 case $host_vendor in
10896 sni)
10897 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10898 hardcode_direct=yes # is this really true???
10899 ;;
10900 siemens)
10901 ## LD is ld it makes a PLAMLIB
10902 ## CC just makes a GrossModule.
10903 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10904 reload_cmds='$CC -r -o $output$reload_objs'
10905 hardcode_direct=no
10906 ;;
10907 motorola)
10908 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10909 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10910 ;;
10911 esac
10912 runpath_var='LD_RUN_PATH'
10913 hardcode_shlibpath_var=no
10914 ;;
10915
10916 sysv4.3*)
10917 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10918 hardcode_shlibpath_var=no
10919 export_dynamic_flag_spec='-Bexport'
10920 ;;
10921
10922 sysv4*MP*)
10923 if test -d /usr/nec; then
10924 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10925 hardcode_shlibpath_var=no
10926 runpath_var=LD_RUN_PATH
10927 hardcode_runpath_var=yes
10928 ld_shlibs=yes
10929 fi
10930 ;;
10931
10932 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10933 no_undefined_flag='${wl}-z,text'
10934 archive_cmds_need_lc=no
10935 hardcode_shlibpath_var=no
10936 runpath_var='LD_RUN_PATH'
10937
10938 if test "$GCC" = yes; then
10939 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10940 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10941 else
10942 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10943 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10944 fi
10945 ;;
10946
10947 sysv5* | sco3.2v5* | sco5v6*)
10948 # Note: We can NOT use -z defs as we might desire, because we do not
10949 # link with -lc, and that would cause any symbols used from libc to
10950 # always be unresolved, which means just about no library would
10951 # ever link correctly. If we're not using GNU ld we use -z text
10952 # though, which does catch some bad symbols but isn't as heavy-handed
10953 # as -z defs.
10954 no_undefined_flag='${wl}-z,text'
10955 allow_undefined_flag='${wl}-z,nodefs'
10956 archive_cmds_need_lc=no
10957 hardcode_shlibpath_var=no
10958 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10959 hardcode_libdir_separator=':'
10960 link_all_deplibs=yes
10961 export_dynamic_flag_spec='${wl}-Bexport'
10962 runpath_var='LD_RUN_PATH'
10963
10964 if test "$GCC" = yes; then
10965 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10966 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10967 else
10968 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10969 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10970 fi
10971 ;;
10972
10973 uts4*)
10974 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10975 hardcode_libdir_flag_spec='-L$libdir'
10976 hardcode_shlibpath_var=no
10977 ;;
10978
10979 *)
10980 ld_shlibs=no
10981 ;;
10982 esac
10983
10984 if test x$host_vendor = xsni; then
10985 case $host in
10986 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10987 export_dynamic_flag_spec='${wl}-Blargedynsym'
10988 ;;
10989 esac
10990 fi
10991 fi
10992
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10994 $as_echo "$ld_shlibs" >&6; }
10995 test "$ld_shlibs" = no && can_build_shared=no
10996
10997 with_gnu_ld=$with_gnu_ld
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013 #
11014 # Do we need to explicitly link libc?
11015 #
11016 case "x$archive_cmds_need_lc" in
11017 x|xyes)
11018 # Assume -lc should be added
11019 archive_cmds_need_lc=yes
11020
11021 if test "$enable_shared" = yes && test "$GCC" = yes; then
11022 case $archive_cmds in
11023 *'~'*)
11024 # FIXME: we may have to deal with multi-command sequences.
11025 ;;
11026 '$CC '*)
11027 # Test whether the compiler implicitly links with -lc since on some
11028 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11029 # to ld, don't add -lc before -lgcc.
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11031 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11032 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11033 $as_echo_n "(cached) " >&6
11034 else
11035 $RM conftest*
11036 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11037
11038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11039 (eval $ac_compile) 2>&5
11040 ac_status=$?
11041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11042 test $ac_status = 0; } 2>conftest.err; then
11043 soname=conftest
11044 lib=conftest
11045 libobjs=conftest.$ac_objext
11046 deplibs=
11047 wl=$lt_prog_compiler_wl
11048 pic_flag=$lt_prog_compiler_pic
11049 compiler_flags=-v
11050 linker_flags=-v
11051 verstring=
11052 output_objdir=.
11053 libname=conftest
11054 lt_save_allow_undefined_flag=$allow_undefined_flag
11055 allow_undefined_flag=
11056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11057 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11058 ac_status=$?
11059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11060 test $ac_status = 0; }
11061 then
11062 lt_cv_archive_cmds_need_lc=no
11063 else
11064 lt_cv_archive_cmds_need_lc=yes
11065 fi
11066 allow_undefined_flag=$lt_save_allow_undefined_flag
11067 else
11068 cat conftest.err 1>&5
11069 fi
11070 $RM conftest*
11071
11072 fi
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11074 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11075 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11076 ;;
11077 esac
11078 fi
11079 ;;
11080 esac
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11239 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11240
11241 if test "$GCC" = yes; then
11242 case $host_os in
11243 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11244 *) lt_awk_arg="/^libraries:/" ;;
11245 esac
11246 case $host_os in
11247 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11248 *) lt_sed_strip_eq="s,=/,/,g" ;;
11249 esac
11250 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11251 case $lt_search_path_spec in
11252 *\;*)
11253 # if the path contains ";" then we assume it to be the separator
11254 # otherwise default to the standard path separator (i.e. ":") - it is
11255 # assumed that no part of a normal pathname contains ";" but that should
11256 # okay in the real world where ";" in dirpaths is itself problematic.
11257 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11258 ;;
11259 *)
11260 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11261 ;;
11262 esac
11263 # Ok, now we have the path, separated by spaces, we can step through it
11264 # and add multilib dir if necessary.
11265 lt_tmp_lt_search_path_spec=
11266 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11267 for lt_sys_path in $lt_search_path_spec; do
11268 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11269 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11270 else
11271 test -d "$lt_sys_path" && \
11272 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11273 fi
11274 done
11275 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11276 BEGIN {RS=" "; FS="/|\n";} {
11277 lt_foo="";
11278 lt_count=0;
11279 for (lt_i = NF; lt_i > 0; lt_i--) {
11280 if ($lt_i != "" && $lt_i != ".") {
11281 if ($lt_i == "..") {
11282 lt_count++;
11283 } else {
11284 if (lt_count == 0) {
11285 lt_foo="/" $lt_i lt_foo;
11286 } else {
11287 lt_count--;
11288 }
11289 }
11290 }
11291 }
11292 if (lt_foo != "") { lt_freq[lt_foo]++; }
11293 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11294 }'`
11295 # AWK program above erroneously prepends '/' to C:/dos/paths
11296 # for these hosts.
11297 case $host_os in
11298 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11299 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11300 esac
11301 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11302 else
11303 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11304 fi
11305 library_names_spec=
11306 libname_spec='lib$name'
11307 soname_spec=
11308 shrext_cmds=".so"
11309 postinstall_cmds=
11310 postuninstall_cmds=
11311 finish_cmds=
11312 finish_eval=
11313 shlibpath_var=
11314 shlibpath_overrides_runpath=unknown
11315 version_type=none
11316 dynamic_linker="$host_os ld.so"
11317 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11318 need_lib_prefix=unknown
11319 hardcode_into_libs=no
11320
11321 # when you set need_version to no, make sure it does not cause -set_version
11322 # flags to be left without arguments
11323 need_version=unknown
11324
11325 case $host_os in
11326 aix3*)
11327 version_type=linux
11328 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11329 shlibpath_var=LIBPATH
11330
11331 # AIX 3 has no versioning support, so we append a major version to the name.
11332 soname_spec='${libname}${release}${shared_ext}$major'
11333 ;;
11334
11335 aix[4-9]*)
11336 version_type=linux
11337 need_lib_prefix=no
11338 need_version=no
11339 hardcode_into_libs=yes
11340 if test "$host_cpu" = ia64; then
11341 # AIX 5 supports IA64
11342 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11343 shlibpath_var=LD_LIBRARY_PATH
11344 else
11345 # With GCC up to 2.95.x, collect2 would create an import file
11346 # for dependence libraries. The import file would start with
11347 # the line `#! .'. This would cause the generated library to
11348 # depend on `.', always an invalid library. This was fixed in
11349 # development snapshots of GCC prior to 3.0.
11350 case $host_os in
11351 aix4 | aix4.[01] | aix4.[01].*)
11352 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11353 echo ' yes '
11354 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11355 :
11356 else
11357 can_build_shared=no
11358 fi
11359 ;;
11360 esac
11361 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11362 # soname into executable. Probably we can add versioning support to
11363 # collect2, so additional links can be useful in future.
11364 if test "$aix_use_runtimelinking" = yes; then
11365 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11366 # instead of lib<name>.a to let people know that these are not
11367 # typical AIX shared libraries.
11368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11369 else
11370 # We preserve .a as extension for shared libraries through AIX4.2
11371 # and later when we are not doing run time linking.
11372 library_names_spec='${libname}${release}.a $libname.a'
11373 soname_spec='${libname}${release}${shared_ext}$major'
11374 fi
11375 shlibpath_var=LIBPATH
11376 fi
11377 ;;
11378
11379 amigaos*)
11380 case $host_cpu in
11381 powerpc)
11382 # Since July 2007 AmigaOS4 officially supports .so libraries.
11383 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11385 ;;
11386 m68k)
11387 library_names_spec='$libname.ixlibrary $libname.a'
11388 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11389 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'
11390 ;;
11391 esac
11392 ;;
11393
11394 beos*)
11395 library_names_spec='${libname}${shared_ext}'
11396 dynamic_linker="$host_os ld.so"
11397 shlibpath_var=LIBRARY_PATH
11398 ;;
11399
11400 bsdi[45]*)
11401 version_type=linux
11402 need_version=no
11403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11404 soname_spec='${libname}${release}${shared_ext}$major'
11405 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11406 shlibpath_var=LD_LIBRARY_PATH
11407 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11408 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11409 # the default ld.so.conf also contains /usr/contrib/lib and
11410 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11411 # libtool to hard-code these into programs
11412 ;;
11413
11414 cygwin* | mingw* | pw32* | cegcc*)
11415 version_type=windows
11416 shrext_cmds=".dll"
11417 need_version=no
11418 need_lib_prefix=no
11419
11420 case $GCC,$host_os in
11421 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11422 library_names_spec='$libname.dll.a'
11423 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11424 postinstall_cmds='base_file=`basename \${file}`~
11425 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11426 dldir=$destdir/`dirname \$dlpath`~
11427 test -d \$dldir || mkdir -p \$dldir~
11428 $install_prog $dir/$dlname \$dldir/$dlname~
11429 chmod a+x \$dldir/$dlname~
11430 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11431 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11432 fi'
11433 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11434 dlpath=$dir/\$dldll~
11435 $RM \$dlpath'
11436 shlibpath_overrides_runpath=yes
11437
11438 case $host_os in
11439 cygwin*)
11440 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11441 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11442
11443 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11444 ;;
11445 mingw* | cegcc*)
11446 # MinGW DLLs use traditional 'lib' prefix
11447 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11448 ;;
11449 pw32*)
11450 # pw32 DLLs use 'pw' prefix rather than 'lib'
11451 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11452 ;;
11453 esac
11454 ;;
11455
11456 *)
11457 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11458 ;;
11459 esac
11460 dynamic_linker='Win32 ld.exe'
11461 # FIXME: first we should search . and the directory the executable is in
11462 shlibpath_var=PATH
11463 ;;
11464
11465 darwin* | rhapsody*)
11466 dynamic_linker="$host_os dyld"
11467 version_type=darwin
11468 need_lib_prefix=no
11469 need_version=no
11470 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11471 soname_spec='${libname}${release}${major}$shared_ext'
11472 shlibpath_overrides_runpath=yes
11473 shlibpath_var=DYLD_LIBRARY_PATH
11474 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11475
11476 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11477 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11478 ;;
11479
11480 dgux*)
11481 version_type=linux
11482 need_lib_prefix=no
11483 need_version=no
11484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11485 soname_spec='${libname}${release}${shared_ext}$major'
11486 shlibpath_var=LD_LIBRARY_PATH
11487 ;;
11488
11489 freebsd* | dragonfly*)
11490 # DragonFly does not have aout. When/if they implement a new
11491 # versioning mechanism, adjust this.
11492 if test -x /usr/bin/objformat; then
11493 objformat=`/usr/bin/objformat`
11494 else
11495 case $host_os in
11496 freebsd[23].*) objformat=aout ;;
11497 *) objformat=elf ;;
11498 esac
11499 fi
11500 version_type=freebsd-$objformat
11501 case $version_type in
11502 freebsd-elf*)
11503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11504 need_version=no
11505 need_lib_prefix=no
11506 ;;
11507 freebsd-*)
11508 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11509 need_version=yes
11510 ;;
11511 esac
11512 shlibpath_var=LD_LIBRARY_PATH
11513 case $host_os in
11514 freebsd2.*)
11515 shlibpath_overrides_runpath=yes
11516 ;;
11517 freebsd3.[01]* | freebsdelf3.[01]*)
11518 shlibpath_overrides_runpath=yes
11519 hardcode_into_libs=yes
11520 ;;
11521 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11522 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11523 shlibpath_overrides_runpath=no
11524 hardcode_into_libs=yes
11525 ;;
11526 *) # from 4.6 on, and DragonFly
11527 shlibpath_overrides_runpath=yes
11528 hardcode_into_libs=yes
11529 ;;
11530 esac
11531 ;;
11532
11533 gnu*)
11534 version_type=linux
11535 need_lib_prefix=no
11536 need_version=no
11537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11538 soname_spec='${libname}${release}${shared_ext}$major'
11539 shlibpath_var=LD_LIBRARY_PATH
11540 hardcode_into_libs=yes
11541 ;;
11542
11543 haiku*)
11544 version_type=linux
11545 need_lib_prefix=no
11546 need_version=no
11547 dynamic_linker="$host_os runtime_loader"
11548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11549 soname_spec='${libname}${release}${shared_ext}$major'
11550 shlibpath_var=LIBRARY_PATH
11551 shlibpath_overrides_runpath=yes
11552 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11553 hardcode_into_libs=yes
11554 ;;
11555
11556 hpux9* | hpux10* | hpux11*)
11557 # Give a soname corresponding to the major version so that dld.sl refuses to
11558 # link against other versions.
11559 version_type=sunos
11560 need_lib_prefix=no
11561 need_version=no
11562 case $host_cpu in
11563 ia64*)
11564 shrext_cmds='.so'
11565 hardcode_into_libs=yes
11566 dynamic_linker="$host_os dld.so"
11567 shlibpath_var=LD_LIBRARY_PATH
11568 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11570 soname_spec='${libname}${release}${shared_ext}$major'
11571 if test "X$HPUX_IA64_MODE" = X32; then
11572 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11573 else
11574 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11575 fi
11576 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11577 ;;
11578 hppa*64*)
11579 shrext_cmds='.sl'
11580 hardcode_into_libs=yes
11581 dynamic_linker="$host_os dld.sl"
11582 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11583 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585 soname_spec='${libname}${release}${shared_ext}$major'
11586 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11587 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11588 ;;
11589 *)
11590 shrext_cmds='.sl'
11591 dynamic_linker="$host_os dld.sl"
11592 shlibpath_var=SHLIB_PATH
11593 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11595 soname_spec='${libname}${release}${shared_ext}$major'
11596 ;;
11597 esac
11598 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11599 postinstall_cmds='chmod 555 $lib'
11600 # or fails outright, so override atomically:
11601 install_override_mode=555
11602 ;;
11603
11604 interix[3-9]*)
11605 version_type=linux
11606 need_lib_prefix=no
11607 need_version=no
11608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11609 soname_spec='${libname}${release}${shared_ext}$major'
11610 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11611 shlibpath_var=LD_LIBRARY_PATH
11612 shlibpath_overrides_runpath=no
11613 hardcode_into_libs=yes
11614 ;;
11615
11616 irix5* | irix6* | nonstopux*)
11617 case $host_os in
11618 nonstopux*) version_type=nonstopux ;;
11619 *)
11620 if test "$lt_cv_prog_gnu_ld" = yes; then
11621 version_type=linux
11622 else
11623 version_type=irix
11624 fi ;;
11625 esac
11626 need_lib_prefix=no
11627 need_version=no
11628 soname_spec='${libname}${release}${shared_ext}$major'
11629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11630 case $host_os in
11631 irix5* | nonstopux*)
11632 libsuff= shlibsuff=
11633 ;;
11634 *)
11635 case $LD in # libtool.m4 will add one of these switches to LD
11636 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11637 libsuff= shlibsuff= libmagic=32-bit;;
11638 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11639 libsuff=32 shlibsuff=N32 libmagic=N32;;
11640 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11641 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11642 *) libsuff= shlibsuff= libmagic=never-match;;
11643 esac
11644 ;;
11645 esac
11646 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11647 shlibpath_overrides_runpath=no
11648 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11649 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11650 hardcode_into_libs=yes
11651 ;;
11652
11653 # No shared lib support for Linux oldld, aout, or coff.
11654 linux*oldld* | linux*aout* | linux*coff*)
11655 dynamic_linker=no
11656 ;;
11657
11658 # This must be Linux ELF.
11659 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11660 version_type=linux
11661 need_lib_prefix=no
11662 need_version=no
11663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11664 soname_spec='${libname}${release}${shared_ext}$major'
11665 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11666 shlibpath_var=LD_LIBRARY_PATH
11667 shlibpath_overrides_runpath=no
11668
11669 # Some binutils ld are patched to set DT_RUNPATH
11670 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11671 $as_echo_n "(cached) " >&6
11672 else
11673 lt_cv_shlibpath_overrides_runpath=no
11674 save_LDFLAGS=$LDFLAGS
11675 save_libdir=$libdir
11676 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11677 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11678 if test x$gcc_no_link = xyes; then
11679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11680 fi
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11683
11684 int
11685 main ()
11686 {
11687
11688 ;
11689 return 0;
11690 }
11691 _ACEOF
11692 if ac_fn_c_try_link "$LINENO"; then :
11693 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11694 lt_cv_shlibpath_overrides_runpath=yes
11695 fi
11696 fi
11697 rm -f core conftest.err conftest.$ac_objext \
11698 conftest$ac_exeext conftest.$ac_ext
11699 LDFLAGS=$save_LDFLAGS
11700 libdir=$save_libdir
11701
11702 fi
11703
11704 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11705
11706 # This implies no fast_install, which is unacceptable.
11707 # Some rework will be needed to allow for fast_install
11708 # before this can be enabled.
11709 hardcode_into_libs=yes
11710
11711 # Append ld.so.conf contents to the search path
11712 if test -f /etc/ld.so.conf; then
11713 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' ' '`
11714 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11715 fi
11716
11717 # We used to test for /lib/ld.so.1 and disable shared libraries on
11718 # powerpc, because MkLinux only supported shared libraries with the
11719 # GNU dynamic linker. Since this was broken with cross compilers,
11720 # most powerpc-linux boxes support dynamic linking these days and
11721 # people can always --disable-shared, the test was removed, and we
11722 # assume the GNU/Linux dynamic linker is in use.
11723 dynamic_linker='GNU/Linux ld.so'
11724 ;;
11725
11726 netbsd*)
11727 version_type=sunos
11728 need_lib_prefix=no
11729 need_version=no
11730 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11732 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11733 dynamic_linker='NetBSD (a.out) ld.so'
11734 else
11735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11736 soname_spec='${libname}${release}${shared_ext}$major'
11737 dynamic_linker='NetBSD ld.elf_so'
11738 fi
11739 shlibpath_var=LD_LIBRARY_PATH
11740 shlibpath_overrides_runpath=yes
11741 hardcode_into_libs=yes
11742 ;;
11743
11744 newsos6)
11745 version_type=linux
11746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11747 shlibpath_var=LD_LIBRARY_PATH
11748 shlibpath_overrides_runpath=yes
11749 ;;
11750
11751 *nto* | *qnx*)
11752 version_type=qnx
11753 need_lib_prefix=no
11754 need_version=no
11755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11756 soname_spec='${libname}${release}${shared_ext}$major'
11757 shlibpath_var=LD_LIBRARY_PATH
11758 shlibpath_overrides_runpath=no
11759 hardcode_into_libs=yes
11760 dynamic_linker='ldqnx.so'
11761 ;;
11762
11763 openbsd*)
11764 version_type=sunos
11765 sys_lib_dlsearch_path_spec="/usr/lib"
11766 need_lib_prefix=no
11767 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11768 case $host_os in
11769 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11770 *) need_version=no ;;
11771 esac
11772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11773 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11774 shlibpath_var=LD_LIBRARY_PATH
11775 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11776 case $host_os in
11777 openbsd2.[89] | openbsd2.[89].*)
11778 shlibpath_overrides_runpath=no
11779 ;;
11780 *)
11781 shlibpath_overrides_runpath=yes
11782 ;;
11783 esac
11784 else
11785 shlibpath_overrides_runpath=yes
11786 fi
11787 ;;
11788
11789 os2*)
11790 libname_spec='$name'
11791 shrext_cmds=".dll"
11792 need_lib_prefix=no
11793 library_names_spec='$libname${shared_ext} $libname.a'
11794 dynamic_linker='OS/2 ld.exe'
11795 shlibpath_var=LIBPATH
11796 ;;
11797
11798 osf3* | osf4* | osf5*)
11799 version_type=osf
11800 need_lib_prefix=no
11801 need_version=no
11802 soname_spec='${libname}${release}${shared_ext}$major'
11803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11804 shlibpath_var=LD_LIBRARY_PATH
11805 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11806 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11807 ;;
11808
11809 rdos*)
11810 dynamic_linker=no
11811 ;;
11812
11813 solaris*)
11814 version_type=linux
11815 need_lib_prefix=no
11816 need_version=no
11817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11818 soname_spec='${libname}${release}${shared_ext}$major'
11819 shlibpath_var=LD_LIBRARY_PATH
11820 shlibpath_overrides_runpath=yes
11821 hardcode_into_libs=yes
11822 # ldd complains unless libraries are executable
11823 postinstall_cmds='chmod +x $lib'
11824 ;;
11825
11826 sunos4*)
11827 version_type=sunos
11828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11829 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11830 shlibpath_var=LD_LIBRARY_PATH
11831 shlibpath_overrides_runpath=yes
11832 if test "$with_gnu_ld" = yes; then
11833 need_lib_prefix=no
11834 fi
11835 need_version=yes
11836 ;;
11837
11838 sysv4 | sysv4.3*)
11839 version_type=linux
11840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11841 soname_spec='${libname}${release}${shared_ext}$major'
11842 shlibpath_var=LD_LIBRARY_PATH
11843 case $host_vendor in
11844 sni)
11845 shlibpath_overrides_runpath=no
11846 need_lib_prefix=no
11847 runpath_var=LD_RUN_PATH
11848 ;;
11849 siemens)
11850 need_lib_prefix=no
11851 ;;
11852 motorola)
11853 need_lib_prefix=no
11854 need_version=no
11855 shlibpath_overrides_runpath=no
11856 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11857 ;;
11858 esac
11859 ;;
11860
11861 sysv4*MP*)
11862 if test -d /usr/nec ;then
11863 version_type=linux
11864 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11865 soname_spec='$libname${shared_ext}.$major'
11866 shlibpath_var=LD_LIBRARY_PATH
11867 fi
11868 ;;
11869
11870 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11871 version_type=freebsd-elf
11872 need_lib_prefix=no
11873 need_version=no
11874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11875 soname_spec='${libname}${release}${shared_ext}$major'
11876 shlibpath_var=LD_LIBRARY_PATH
11877 shlibpath_overrides_runpath=yes
11878 hardcode_into_libs=yes
11879 if test "$with_gnu_ld" = yes; then
11880 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11881 else
11882 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11883 case $host_os in
11884 sco3.2v5*)
11885 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11886 ;;
11887 esac
11888 fi
11889 sys_lib_dlsearch_path_spec='/usr/lib'
11890 ;;
11891
11892 tpf*)
11893 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11894 version_type=linux
11895 need_lib_prefix=no
11896 need_version=no
11897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11898 shlibpath_var=LD_LIBRARY_PATH
11899 shlibpath_overrides_runpath=no
11900 hardcode_into_libs=yes
11901 ;;
11902
11903 uts4*)
11904 version_type=linux
11905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11906 soname_spec='${libname}${release}${shared_ext}$major'
11907 shlibpath_var=LD_LIBRARY_PATH
11908 ;;
11909
11910 *)
11911 dynamic_linker=no
11912 ;;
11913 esac
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11915 $as_echo "$dynamic_linker" >&6; }
11916 test "$dynamic_linker" = no && can_build_shared=no
11917
11918 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11919 if test "$GCC" = yes; then
11920 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11921 fi
11922
11923 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11924 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11925 fi
11926 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11927 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11928 fi
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12022 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12023 hardcode_action=
12024 if test -n "$hardcode_libdir_flag_spec" ||
12025 test -n "$runpath_var" ||
12026 test "X$hardcode_automatic" = "Xyes" ; then
12027
12028 # We can hardcode non-existent directories.
12029 if test "$hardcode_direct" != no &&
12030 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12031 # have to relink, otherwise we might link with an installed library
12032 # when we should be linking with a yet-to-be-installed one
12033 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12034 test "$hardcode_minus_L" != no; then
12035 # Linking always hardcodes the temporary library directory.
12036 hardcode_action=relink
12037 else
12038 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12039 hardcode_action=immediate
12040 fi
12041 else
12042 # We cannot hardcode anything, or else we can only hardcode existing
12043 # directories.
12044 hardcode_action=unsupported
12045 fi
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12047 $as_echo "$hardcode_action" >&6; }
12048
12049 if test "$hardcode_action" = relink ||
12050 test "$inherit_rpath" = yes; then
12051 # Fast installation is not supported
12052 enable_fast_install=no
12053 elif test "$shlibpath_overrides_runpath" = yes ||
12054 test "$enable_shared" = no; then
12055 # Fast installation is not necessary
12056 enable_fast_install=needless
12057 fi
12058
12059
12060
12061
12062
12063
12064 if test "x$enable_dlopen" != xyes; then
12065 enable_dlopen=unknown
12066 enable_dlopen_self=unknown
12067 enable_dlopen_self_static=unknown
12068 else
12069 lt_cv_dlopen=no
12070 lt_cv_dlopen_libs=
12071
12072 case $host_os in
12073 beos*)
12074 lt_cv_dlopen="load_add_on"
12075 lt_cv_dlopen_libs=
12076 lt_cv_dlopen_self=yes
12077 ;;
12078
12079 mingw* | pw32* | cegcc*)
12080 lt_cv_dlopen="LoadLibrary"
12081 lt_cv_dlopen_libs=
12082 ;;
12083
12084 cygwin*)
12085 lt_cv_dlopen="dlopen"
12086 lt_cv_dlopen_libs=
12087 ;;
12088
12089 darwin*)
12090 # if libdl is installed we need to link against it
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12092 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12093 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12094 $as_echo_n "(cached) " >&6
12095 else
12096 ac_check_lib_save_LIBS=$LIBS
12097 LIBS="-ldl $LIBS"
12098 if test x$gcc_no_link = xyes; then
12099 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12100 fi
12101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12102 /* end confdefs.h. */
12103
12104 /* Override any GCC internal prototype to avoid an error.
12105 Use char because int might match the return type of a GCC
12106 builtin and then its argument prototype would still apply. */
12107 #ifdef __cplusplus
12108 extern "C"
12109 #endif
12110 char dlopen ();
12111 int
12112 main ()
12113 {
12114 return dlopen ();
12115 ;
12116 return 0;
12117 }
12118 _ACEOF
12119 if ac_fn_c_try_link "$LINENO"; then :
12120 ac_cv_lib_dl_dlopen=yes
12121 else
12122 ac_cv_lib_dl_dlopen=no
12123 fi
12124 rm -f core conftest.err conftest.$ac_objext \
12125 conftest$ac_exeext conftest.$ac_ext
12126 LIBS=$ac_check_lib_save_LIBS
12127 fi
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12129 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12130 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12131 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12132 else
12133
12134 lt_cv_dlopen="dyld"
12135 lt_cv_dlopen_libs=
12136 lt_cv_dlopen_self=yes
12137
12138 fi
12139
12140 ;;
12141
12142 *)
12143 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12144 if test "x$ac_cv_func_shl_load" = x""yes; then :
12145 lt_cv_dlopen="shl_load"
12146 else
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12148 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12149 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12150 $as_echo_n "(cached) " >&6
12151 else
12152 ac_check_lib_save_LIBS=$LIBS
12153 LIBS="-ldld $LIBS"
12154 if test x$gcc_no_link = xyes; then
12155 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12156 fi
12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12159
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12163 #ifdef __cplusplus
12164 extern "C"
12165 #endif
12166 char shl_load ();
12167 int
12168 main ()
12169 {
12170 return shl_load ();
12171 ;
12172 return 0;
12173 }
12174 _ACEOF
12175 if ac_fn_c_try_link "$LINENO"; then :
12176 ac_cv_lib_dld_shl_load=yes
12177 else
12178 ac_cv_lib_dld_shl_load=no
12179 fi
12180 rm -f core conftest.err conftest.$ac_objext \
12181 conftest$ac_exeext conftest.$ac_ext
12182 LIBS=$ac_check_lib_save_LIBS
12183 fi
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12185 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12186 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12187 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12188 else
12189 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12190 if test "x$ac_cv_func_dlopen" = x""yes; then :
12191 lt_cv_dlopen="dlopen"
12192 else
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12194 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12195 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12196 $as_echo_n "(cached) " >&6
12197 else
12198 ac_check_lib_save_LIBS=$LIBS
12199 LIBS="-ldl $LIBS"
12200 if test x$gcc_no_link = xyes; then
12201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12202 fi
12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12204 /* end confdefs.h. */
12205
12206 /* Override any GCC internal prototype to avoid an error.
12207 Use char because int might match the return type of a GCC
12208 builtin and then its argument prototype would still apply. */
12209 #ifdef __cplusplus
12210 extern "C"
12211 #endif
12212 char dlopen ();
12213 int
12214 main ()
12215 {
12216 return dlopen ();
12217 ;
12218 return 0;
12219 }
12220 _ACEOF
12221 if ac_fn_c_try_link "$LINENO"; then :
12222 ac_cv_lib_dl_dlopen=yes
12223 else
12224 ac_cv_lib_dl_dlopen=no
12225 fi
12226 rm -f core conftest.err conftest.$ac_objext \
12227 conftest$ac_exeext conftest.$ac_ext
12228 LIBS=$ac_check_lib_save_LIBS
12229 fi
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12231 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12232 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12233 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12234 else
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12236 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12237 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12238 $as_echo_n "(cached) " >&6
12239 else
12240 ac_check_lib_save_LIBS=$LIBS
12241 LIBS="-lsvld $LIBS"
12242 if test x$gcc_no_link = xyes; then
12243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12244 fi
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12247
12248 /* Override any GCC internal prototype to avoid an error.
12249 Use char because int might match the return type of a GCC
12250 builtin and then its argument prototype would still apply. */
12251 #ifdef __cplusplus
12252 extern "C"
12253 #endif
12254 char dlopen ();
12255 int
12256 main ()
12257 {
12258 return dlopen ();
12259 ;
12260 return 0;
12261 }
12262 _ACEOF
12263 if ac_fn_c_try_link "$LINENO"; then :
12264 ac_cv_lib_svld_dlopen=yes
12265 else
12266 ac_cv_lib_svld_dlopen=no
12267 fi
12268 rm -f core conftest.err conftest.$ac_objext \
12269 conftest$ac_exeext conftest.$ac_ext
12270 LIBS=$ac_check_lib_save_LIBS
12271 fi
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12273 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12274 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12275 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12276 else
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12278 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12279 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12280 $as_echo_n "(cached) " >&6
12281 else
12282 ac_check_lib_save_LIBS=$LIBS
12283 LIBS="-ldld $LIBS"
12284 if test x$gcc_no_link = xyes; then
12285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12286 fi
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12289
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12293 #ifdef __cplusplus
12294 extern "C"
12295 #endif
12296 char dld_link ();
12297 int
12298 main ()
12299 {
12300 return dld_link ();
12301 ;
12302 return 0;
12303 }
12304 _ACEOF
12305 if ac_fn_c_try_link "$LINENO"; then :
12306 ac_cv_lib_dld_dld_link=yes
12307 else
12308 ac_cv_lib_dld_dld_link=no
12309 fi
12310 rm -f core conftest.err conftest.$ac_objext \
12311 conftest$ac_exeext conftest.$ac_ext
12312 LIBS=$ac_check_lib_save_LIBS
12313 fi
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12315 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12316 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12317 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12318 fi
12319
12320
12321 fi
12322
12323
12324 fi
12325
12326
12327 fi
12328
12329
12330 fi
12331
12332
12333 fi
12334
12335 ;;
12336 esac
12337
12338 if test "x$lt_cv_dlopen" != xno; then
12339 enable_dlopen=yes
12340 else
12341 enable_dlopen=no
12342 fi
12343
12344 case $lt_cv_dlopen in
12345 dlopen)
12346 save_CPPFLAGS="$CPPFLAGS"
12347 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12348
12349 save_LDFLAGS="$LDFLAGS"
12350 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12351
12352 save_LIBS="$LIBS"
12353 LIBS="$lt_cv_dlopen_libs $LIBS"
12354
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12356 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12357 if test "${lt_cv_dlopen_self+set}" = set; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 if test "$cross_compiling" = yes; then :
12361 lt_cv_dlopen_self=cross
12362 else
12363 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12364 lt_status=$lt_dlunknown
12365 cat > conftest.$ac_ext <<_LT_EOF
12366 #line 12366 "configure"
12367 #include "confdefs.h"
12368
12369 #if HAVE_DLFCN_H
12370 #include <dlfcn.h>
12371 #endif
12372
12373 #include <stdio.h>
12374
12375 #ifdef RTLD_GLOBAL
12376 # define LT_DLGLOBAL RTLD_GLOBAL
12377 #else
12378 # ifdef DL_GLOBAL
12379 # define LT_DLGLOBAL DL_GLOBAL
12380 # else
12381 # define LT_DLGLOBAL 0
12382 # endif
12383 #endif
12384
12385 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12386 find out it does not work in some platform. */
12387 #ifndef LT_DLLAZY_OR_NOW
12388 # ifdef RTLD_LAZY
12389 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12390 # else
12391 # ifdef DL_LAZY
12392 # define LT_DLLAZY_OR_NOW DL_LAZY
12393 # else
12394 # ifdef RTLD_NOW
12395 # define LT_DLLAZY_OR_NOW RTLD_NOW
12396 # else
12397 # ifdef DL_NOW
12398 # define LT_DLLAZY_OR_NOW DL_NOW
12399 # else
12400 # define LT_DLLAZY_OR_NOW 0
12401 # endif
12402 # endif
12403 # endif
12404 # endif
12405 #endif
12406
12407 /* When -fvisbility=hidden is used, assume the code has been annotated
12408 correspondingly for the symbols needed. */
12409 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12410 void fnord () __attribute__((visibility("default")));
12411 #endif
12412
12413 void fnord () { int i=42; }
12414 int main ()
12415 {
12416 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12417 int status = $lt_dlunknown;
12418
12419 if (self)
12420 {
12421 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12422 else
12423 {
12424 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12425 else puts (dlerror ());
12426 }
12427 /* dlclose (self); */
12428 }
12429 else
12430 puts (dlerror ());
12431
12432 return status;
12433 }
12434 _LT_EOF
12435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12436 (eval $ac_link) 2>&5
12437 ac_status=$?
12438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12439 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12440 (./conftest; exit; ) >&5 2>/dev/null
12441 lt_status=$?
12442 case x$lt_status in
12443 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12444 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12445 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12446 esac
12447 else :
12448 # compilation failed
12449 lt_cv_dlopen_self=no
12450 fi
12451 fi
12452 rm -fr conftest*
12453
12454
12455 fi
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12457 $as_echo "$lt_cv_dlopen_self" >&6; }
12458
12459 if test "x$lt_cv_dlopen_self" = xyes; then
12460 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12462 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12463 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12464 $as_echo_n "(cached) " >&6
12465 else
12466 if test "$cross_compiling" = yes; then :
12467 lt_cv_dlopen_self_static=cross
12468 else
12469 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12470 lt_status=$lt_dlunknown
12471 cat > conftest.$ac_ext <<_LT_EOF
12472 #line 12472 "configure"
12473 #include "confdefs.h"
12474
12475 #if HAVE_DLFCN_H
12476 #include <dlfcn.h>
12477 #endif
12478
12479 #include <stdio.h>
12480
12481 #ifdef RTLD_GLOBAL
12482 # define LT_DLGLOBAL RTLD_GLOBAL
12483 #else
12484 # ifdef DL_GLOBAL
12485 # define LT_DLGLOBAL DL_GLOBAL
12486 # else
12487 # define LT_DLGLOBAL 0
12488 # endif
12489 #endif
12490
12491 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12492 find out it does not work in some platform. */
12493 #ifndef LT_DLLAZY_OR_NOW
12494 # ifdef RTLD_LAZY
12495 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12496 # else
12497 # ifdef DL_LAZY
12498 # define LT_DLLAZY_OR_NOW DL_LAZY
12499 # else
12500 # ifdef RTLD_NOW
12501 # define LT_DLLAZY_OR_NOW RTLD_NOW
12502 # else
12503 # ifdef DL_NOW
12504 # define LT_DLLAZY_OR_NOW DL_NOW
12505 # else
12506 # define LT_DLLAZY_OR_NOW 0
12507 # endif
12508 # endif
12509 # endif
12510 # endif
12511 #endif
12512
12513 /* When -fvisbility=hidden is used, assume the code has been annotated
12514 correspondingly for the symbols needed. */
12515 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12516 void fnord () __attribute__((visibility("default")));
12517 #endif
12518
12519 void fnord () { int i=42; }
12520 int main ()
12521 {
12522 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12523 int status = $lt_dlunknown;
12524
12525 if (self)
12526 {
12527 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12528 else
12529 {
12530 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12531 else puts (dlerror ());
12532 }
12533 /* dlclose (self); */
12534 }
12535 else
12536 puts (dlerror ());
12537
12538 return status;
12539 }
12540 _LT_EOF
12541 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12542 (eval $ac_link) 2>&5
12543 ac_status=$?
12544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12545 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12546 (./conftest; exit; ) >&5 2>/dev/null
12547 lt_status=$?
12548 case x$lt_status in
12549 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12550 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12551 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12552 esac
12553 else :
12554 # compilation failed
12555 lt_cv_dlopen_self_static=no
12556 fi
12557 fi
12558 rm -fr conftest*
12559
12560
12561 fi
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12563 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12564 fi
12565
12566 CPPFLAGS="$save_CPPFLAGS"
12567 LDFLAGS="$save_LDFLAGS"
12568 LIBS="$save_LIBS"
12569 ;;
12570 esac
12571
12572 case $lt_cv_dlopen_self in
12573 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12574 *) enable_dlopen_self=unknown ;;
12575 esac
12576
12577 case $lt_cv_dlopen_self_static in
12578 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12579 *) enable_dlopen_self_static=unknown ;;
12580 esac
12581 fi
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599 striplib=
12600 old_striplib=
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12602 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12603 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12604 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12605 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12607 $as_echo "yes" >&6; }
12608 else
12609 # FIXME - insert some real tests, host_os isn't really good enough
12610 case $host_os in
12611 darwin*)
12612 if test -n "$STRIP" ; then
12613 striplib="$STRIP -x"
12614 old_striplib="$STRIP -S"
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12616 $as_echo "yes" >&6; }
12617 else
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12619 $as_echo "no" >&6; }
12620 fi
12621 ;;
12622 *)
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12624 $as_echo "no" >&6; }
12625 ;;
12626 esac
12627 fi
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640 # Report which library types will actually be built
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12642 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12644 $as_echo "$can_build_shared" >&6; }
12645
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12647 $as_echo_n "checking whether to build shared libraries... " >&6; }
12648 test "$can_build_shared" = "no" && enable_shared=no
12649
12650 # On AIX, shared libraries and static libraries use the same namespace, and
12651 # are all built from PIC.
12652 case $host_os in
12653 aix3*)
12654 test "$enable_shared" = yes && enable_static=no
12655 if test -n "$RANLIB"; then
12656 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12657 postinstall_cmds='$RANLIB $lib'
12658 fi
12659 ;;
12660
12661 aix[4-9]*)
12662 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12663 test "$enable_shared" = yes && enable_static=no
12664 fi
12665 ;;
12666 esac
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12668 $as_echo "$enable_shared" >&6; }
12669
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12671 $as_echo_n "checking whether to build static libraries... " >&6; }
12672 # Make sure either enable_shared or enable_static is yes.
12673 test "$enable_shared" = yes || enable_static=yes
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12675 $as_echo "$enable_static" >&6; }
12676
12677
12678
12679
12680 fi
12681 ac_ext=c
12682 ac_cpp='$CPP $CPPFLAGS'
12683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12686
12687 CC="$lt_save_CC"
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701 ac_config_commands="$ac_config_commands libtool"
12702
12703
12704
12705
12706 # Only expand once:
12707
12708
12709
12710
12711
12712 case $host in
12713 *-cygwin* | *-mingw*)
12714 # 'host' will be top-level target in the case of a target lib,
12715 # we must compare to with_cross_host to decide if this is a native
12716 # or cross-compiler and select where to install dlls appropriately.
12717 if test -n "$with_cross_host" &&
12718 test x"$with_cross_host" != x"no"; then
12719 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12720 else
12721 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12722 fi
12723 ;;
12724 *)
12725 lt_host_flags=
12726 ;;
12727 esac
12728
12729
12730
12731
12732
12733 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12734
12735 # We need gfortran to compile parts of the library
12736 #AC_PROG_FC(gfortran)
12737 FC="$GFORTRAN"
12738 ac_ext=${ac_fc_srcext-f}
12739 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12740 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12741 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12742 if test -n "$ac_tool_prefix"; then
12743 for ac_prog in gfortran
12744 do
12745 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12746 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12748 $as_echo_n "checking for $ac_word... " >&6; }
12749 if test "${ac_cv_prog_FC+set}" = set; then :
12750 $as_echo_n "(cached) " >&6
12751 else
12752 if test -n "$FC"; then
12753 ac_cv_prog_FC="$FC" # Let the user override the test.
12754 else
12755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12756 for as_dir in $PATH
12757 do
12758 IFS=$as_save_IFS
12759 test -z "$as_dir" && as_dir=.
12760 for ac_exec_ext in '' $ac_executable_extensions; do
12761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12762 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12764 break 2
12765 fi
12766 done
12767 done
12768 IFS=$as_save_IFS
12769
12770 fi
12771 fi
12772 FC=$ac_cv_prog_FC
12773 if test -n "$FC"; then
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12775 $as_echo "$FC" >&6; }
12776 else
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12778 $as_echo "no" >&6; }
12779 fi
12780
12781
12782 test -n "$FC" && break
12783 done
12784 fi
12785 if test -z "$FC"; then
12786 ac_ct_FC=$FC
12787 for ac_prog in gfortran
12788 do
12789 # Extract the first word of "$ac_prog", so it can be a program name with args.
12790 set dummy $ac_prog; ac_word=$2
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12792 $as_echo_n "checking for $ac_word... " >&6; }
12793 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12794 $as_echo_n "(cached) " >&6
12795 else
12796 if test -n "$ac_ct_FC"; then
12797 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12798 else
12799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12800 for as_dir in $PATH
12801 do
12802 IFS=$as_save_IFS
12803 test -z "$as_dir" && as_dir=.
12804 for ac_exec_ext in '' $ac_executable_extensions; do
12805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12806 ac_cv_prog_ac_ct_FC="$ac_prog"
12807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12808 break 2
12809 fi
12810 done
12811 done
12812 IFS=$as_save_IFS
12813
12814 fi
12815 fi
12816 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12817 if test -n "$ac_ct_FC"; then
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12819 $as_echo "$ac_ct_FC" >&6; }
12820 else
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12822 $as_echo "no" >&6; }
12823 fi
12824
12825
12826 test -n "$ac_ct_FC" && break
12827 done
12828
12829 if test "x$ac_ct_FC" = x; then
12830 FC=""
12831 else
12832 case $cross_compiling:$ac_tool_warned in
12833 yes:)
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12836 ac_tool_warned=yes ;;
12837 esac
12838 FC=$ac_ct_FC
12839 fi
12840 fi
12841
12842
12843 # Provide some information about the compiler.
12844 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12845 set X $ac_compile
12846 ac_compiler=$2
12847 for ac_option in --version -v -V -qversion; do
12848 { { ac_try="$ac_compiler $ac_option >&5"
12849 case "(($ac_try" in
12850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12851 *) ac_try_echo=$ac_try;;
12852 esac
12853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12854 $as_echo "$ac_try_echo"; } >&5
12855 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12856 ac_status=$?
12857 if test -s conftest.err; then
12858 sed '10a\
12859 ... rest of stderr output deleted ...
12860 10q' conftest.err >conftest.er1
12861 cat conftest.er1 >&5
12862 rm -f conftest.er1 conftest.err
12863 fi
12864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12865 test $ac_status = 0; }
12866 done
12867 rm -f a.out
12868
12869 # If we don't use `.F' as extension, the preprocessor is not run on the
12870 # input file. (Note that this only needs to work for GNU compilers.)
12871 ac_save_ext=$ac_ext
12872 ac_ext=F
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12874 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12875 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12876 $as_echo_n "(cached) " >&6
12877 else
12878 cat > conftest.$ac_ext <<_ACEOF
12879 program main
12880 #ifndef __GNUC__
12881 choke me
12882 #endif
12883
12884 end
12885 _ACEOF
12886 if ac_fn_fc_try_compile "$LINENO"; then :
12887 ac_compiler_gnu=yes
12888 else
12889 ac_compiler_gnu=no
12890 fi
12891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12892 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12893
12894 fi
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12896 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12897 ac_ext=$ac_save_ext
12898 ac_test_FCFLAGS=${FCFLAGS+set}
12899 ac_save_FCFLAGS=$FCFLAGS
12900 FCFLAGS=
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12902 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12903 if test "${ac_cv_prog_fc_g+set}" = set; then :
12904 $as_echo_n "(cached) " >&6
12905 else
12906 FCFLAGS=-g
12907 cat > conftest.$ac_ext <<_ACEOF
12908 program main
12909
12910 end
12911 _ACEOF
12912 if ac_fn_fc_try_compile "$LINENO"; then :
12913 ac_cv_prog_fc_g=yes
12914 else
12915 ac_cv_prog_fc_g=no
12916 fi
12917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12918
12919 fi
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12921 $as_echo "$ac_cv_prog_fc_g" >&6; }
12922 if test "$ac_test_FCFLAGS" = set; then
12923 FCFLAGS=$ac_save_FCFLAGS
12924 elif test $ac_cv_prog_fc_g = yes; then
12925 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12926 FCFLAGS="-g -O2"
12927 else
12928 FCFLAGS="-g"
12929 fi
12930 else
12931 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12932 FCFLAGS="-O2"
12933 else
12934 FCFLAGS=
12935 fi
12936 fi
12937
12938 ac_ext=c
12939 ac_cpp='$CPP $CPPFLAGS'
12940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12943
12944 ac_ext=${ac_fc_srcext-f}
12945 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12946 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12947 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12948
12949
12950 if test -z "$FC" || test "X$FC" = "Xno"; then
12951 _lt_disable_FC=yes
12952 fi
12953
12954 archive_cmds_need_lc_FC=no
12955 allow_undefined_flag_FC=
12956 always_export_symbols_FC=no
12957 archive_expsym_cmds_FC=
12958 export_dynamic_flag_spec_FC=
12959 hardcode_direct_FC=no
12960 hardcode_direct_absolute_FC=no
12961 hardcode_libdir_flag_spec_FC=
12962 hardcode_libdir_flag_spec_ld_FC=
12963 hardcode_libdir_separator_FC=
12964 hardcode_minus_L_FC=no
12965 hardcode_automatic_FC=no
12966 inherit_rpath_FC=no
12967 module_cmds_FC=
12968 module_expsym_cmds_FC=
12969 link_all_deplibs_FC=unknown
12970 old_archive_cmds_FC=$old_archive_cmds
12971 reload_flag_FC=$reload_flag
12972 reload_cmds_FC=$reload_cmds
12973 no_undefined_flag_FC=
12974 whole_archive_flag_spec_FC=
12975 enable_shared_with_static_runtimes_FC=no
12976
12977 # Source file extension for fc test sources.
12978 ac_ext=${ac_fc_srcext-f}
12979
12980 # Object file extension for compiled fc test sources.
12981 objext=o
12982 objext_FC=$objext
12983
12984 # No sense in running all these tests if we already determined that
12985 # the FC compiler isn't working. Some variables (like enable_shared)
12986 # are currently assumed to apply to all compilers on this platform,
12987 # and will be corrupted by setting them based on a non-working compiler.
12988 if test "$_lt_disable_FC" != yes; then
12989 # Code to be used in simple compile tests
12990 lt_simple_compile_test_code="\
12991 subroutine t
12992 return
12993 end
12994 "
12995
12996 # Code to be used in simple link tests
12997 lt_simple_link_test_code="\
12998 program t
12999 end
13000 "
13001
13002 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13003
13004
13005
13006
13007
13008
13009 # If no C compiler was specified, use CC.
13010 LTCC=${LTCC-"$CC"}
13011
13012 # If no C compiler flags were specified, use CFLAGS.
13013 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13014
13015 # Allow CC to be a program name with arguments.
13016 compiler=$CC
13017
13018
13019 # save warnings/boilerplate of simple test code
13020 ac_outfile=conftest.$ac_objext
13021 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13022 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13023 _lt_compiler_boilerplate=`cat conftest.err`
13024 $RM conftest*
13025
13026 ac_outfile=conftest.$ac_objext
13027 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13028 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13029 _lt_linker_boilerplate=`cat conftest.err`
13030 $RM -r conftest*
13031
13032
13033 # Allow CC to be a program name with arguments.
13034 lt_save_CC="$CC"
13035 lt_save_GCC=$GCC
13036 CC=${FC-"f95"}
13037 compiler=$CC
13038 GCC=$ac_cv_fc_compiler_gnu
13039
13040 compiler_FC=$CC
13041 for cc_temp in $compiler""; do
13042 case $cc_temp in
13043 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13044 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13045 \-*) ;;
13046 *) break;;
13047 esac
13048 done
13049 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13050
13051
13052 if test -n "$compiler"; then
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13054 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13056 $as_echo "$can_build_shared" >&6; }
13057
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13059 $as_echo_n "checking whether to build shared libraries... " >&6; }
13060 test "$can_build_shared" = "no" && enable_shared=no
13061
13062 # On AIX, shared libraries and static libraries use the same namespace, and
13063 # are all built from PIC.
13064 case $host_os in
13065 aix3*)
13066 test "$enable_shared" = yes && enable_static=no
13067 if test -n "$RANLIB"; then
13068 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13069 postinstall_cmds='$RANLIB $lib'
13070 fi
13071 ;;
13072 aix[4-9]*)
13073 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13074 test "$enable_shared" = yes && enable_static=no
13075 fi
13076 ;;
13077 esac
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13079 $as_echo "$enable_shared" >&6; }
13080
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13082 $as_echo_n "checking whether to build static libraries... " >&6; }
13083 # Make sure either enable_shared or enable_static is yes.
13084 test "$enable_shared" = yes || enable_static=yes
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13086 $as_echo "$enable_static" >&6; }
13087
13088 GCC_FC="$ac_cv_fc_compiler_gnu"
13089 LD_FC="$LD"
13090
13091 ## CAVEAT EMPTOR:
13092 ## There is no encapsulation within the following macros, do not change
13093 ## the running order or otherwise move them around unless you know exactly
13094 ## what you are doing...
13095 # Dependencies to place before and after the object being linked:
13096 predep_objects_FC=
13097 postdep_objects_FC=
13098 predeps_FC=
13099 postdeps_FC=
13100 compiler_lib_search_path_FC=
13101
13102 cat > conftest.$ac_ext <<_LT_EOF
13103 subroutine foo
13104 implicit none
13105 integer a
13106 a=0
13107 return
13108 end
13109 _LT_EOF
13110
13111 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13112 (eval $ac_compile) 2>&5
13113 ac_status=$?
13114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13115 test $ac_status = 0; }; then
13116 # Parse the compiler output and extract the necessary
13117 # objects, libraries and library flags.
13118
13119 # Sentinel used to keep track of whether or not we are before
13120 # the conftest object file.
13121 pre_test_object_deps_done=no
13122
13123 for p in `eval "$output_verbose_link_cmd"`; do
13124 case $p in
13125
13126 -L* | -R* | -l*)
13127 # Some compilers place space between "-{L,R}" and the path.
13128 # Remove the space.
13129 if test $p = "-L" ||
13130 test $p = "-R"; then
13131 prev=$p
13132 continue
13133 else
13134 prev=
13135 fi
13136
13137 if test "$pre_test_object_deps_done" = no; then
13138 case $p in
13139 -L* | -R*)
13140 # Internal compiler library paths should come after those
13141 # provided the user. The postdeps already come after the
13142 # user supplied libs so there is no need to process them.
13143 if test -z "$compiler_lib_search_path_FC"; then
13144 compiler_lib_search_path_FC="${prev}${p}"
13145 else
13146 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13147 fi
13148 ;;
13149 # The "-l" case would never come before the object being
13150 # linked, so don't bother handling this case.
13151 esac
13152 else
13153 if test -z "$postdeps_FC"; then
13154 postdeps_FC="${prev}${p}"
13155 else
13156 postdeps_FC="${postdeps_FC} ${prev}${p}"
13157 fi
13158 fi
13159 ;;
13160
13161 *.$objext)
13162 # This assumes that the test object file only shows up
13163 # once in the compiler output.
13164 if test "$p" = "conftest.$objext"; then
13165 pre_test_object_deps_done=yes
13166 continue
13167 fi
13168
13169 if test "$pre_test_object_deps_done" = no; then
13170 if test -z "$predep_objects_FC"; then
13171 predep_objects_FC="$p"
13172 else
13173 predep_objects_FC="$predep_objects_FC $p"
13174 fi
13175 else
13176 if test -z "$postdep_objects_FC"; then
13177 postdep_objects_FC="$p"
13178 else
13179 postdep_objects_FC="$postdep_objects_FC $p"
13180 fi
13181 fi
13182 ;;
13183
13184 *) ;; # Ignore the rest.
13185
13186 esac
13187 done
13188
13189 # Clean up.
13190 rm -f a.out a.exe
13191 else
13192 echo "libtool.m4: error: problem compiling FC test program"
13193 fi
13194
13195 $RM -f confest.$objext
13196
13197 # PORTME: override above test on systems where it is broken
13198
13199
13200 case " $postdeps_FC " in
13201 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13202 esac
13203 compiler_lib_search_dirs_FC=
13204 if test -n "${compiler_lib_search_path_FC}"; then
13205 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13206 fi
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238 lt_prog_compiler_wl_FC=
13239 lt_prog_compiler_pic_FC=
13240 lt_prog_compiler_static_FC=
13241
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13243 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13244
13245 if test "$GCC" = yes; then
13246 lt_prog_compiler_wl_FC='-Wl,'
13247 lt_prog_compiler_static_FC='-static'
13248
13249 case $host_os in
13250 aix*)
13251 # All AIX code is PIC.
13252 if test "$host_cpu" = ia64; then
13253 # AIX 5 now supports IA64 processor
13254 lt_prog_compiler_static_FC='-Bstatic'
13255 fi
13256 lt_prog_compiler_pic_FC='-fPIC'
13257 ;;
13258
13259 amigaos*)
13260 case $host_cpu in
13261 powerpc)
13262 # see comment about AmigaOS4 .so support
13263 lt_prog_compiler_pic_FC='-fPIC'
13264 ;;
13265 m68k)
13266 # FIXME: we need at least 68020 code to build shared libraries, but
13267 # adding the `-m68020' flag to GCC prevents building anything better,
13268 # like `-m68040'.
13269 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13270 ;;
13271 esac
13272 ;;
13273
13274 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13275 # PIC is the default for these OSes.
13276 ;;
13277
13278 mingw* | cygwin* | pw32* | os2* | cegcc*)
13279 # This hack is so that the source file can tell whether it is being
13280 # built for inclusion in a dll (and should export symbols for example).
13281 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13282 # (--disable-auto-import) libraries
13283 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13284 ;;
13285
13286 darwin* | rhapsody*)
13287 # PIC is the default on this platform
13288 # Common symbols not allowed in MH_DYLIB files
13289 lt_prog_compiler_pic_FC='-fno-common'
13290 ;;
13291
13292 haiku*)
13293 # PIC is the default for Haiku.
13294 # The "-static" flag exists, but is broken.
13295 lt_prog_compiler_static_FC=
13296 ;;
13297
13298 hpux*)
13299 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13300 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13301 # sets the default TLS model and affects inlining.
13302 case $host_cpu in
13303 hppa*64*)
13304 # +Z the default
13305 ;;
13306 *)
13307 lt_prog_compiler_pic_FC='-fPIC'
13308 ;;
13309 esac
13310 ;;
13311
13312 interix[3-9]*)
13313 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13314 # Instead, we relocate shared libraries at runtime.
13315 ;;
13316
13317 msdosdjgpp*)
13318 # Just because we use GCC doesn't mean we suddenly get shared libraries
13319 # on systems that don't support them.
13320 lt_prog_compiler_can_build_shared_FC=no
13321 enable_shared=no
13322 ;;
13323
13324 *nto* | *qnx*)
13325 # QNX uses GNU C++, but need to define -shared option too, otherwise
13326 # it will coredump.
13327 lt_prog_compiler_pic_FC='-fPIC -shared'
13328 ;;
13329
13330 sysv4*MP*)
13331 if test -d /usr/nec; then
13332 lt_prog_compiler_pic_FC=-Kconform_pic
13333 fi
13334 ;;
13335
13336 *)
13337 lt_prog_compiler_pic_FC='-fPIC'
13338 ;;
13339 esac
13340
13341 case $cc_basename in
13342 nvcc*) # Cuda Compiler Driver 2.2
13343 lt_prog_compiler_wl_FC='-Xlinker '
13344 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13345 ;;
13346 esac
13347 else
13348 # PORTME Check for flag to pass linker flags through the system compiler.
13349 case $host_os in
13350 aix*)
13351 lt_prog_compiler_wl_FC='-Wl,'
13352 if test "$host_cpu" = ia64; then
13353 # AIX 5 now supports IA64 processor
13354 lt_prog_compiler_static_FC='-Bstatic'
13355 else
13356 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13357 fi
13358 ;;
13359
13360 mingw* | cygwin* | pw32* | os2* | cegcc*)
13361 # This hack is so that the source file can tell whether it is being
13362 # built for inclusion in a dll (and should export symbols for example).
13363 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13364 ;;
13365
13366 hpux9* | hpux10* | hpux11*)
13367 lt_prog_compiler_wl_FC='-Wl,'
13368 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13369 # not for PA HP-UX.
13370 case $host_cpu in
13371 hppa*64*|ia64*)
13372 # +Z the default
13373 ;;
13374 *)
13375 lt_prog_compiler_pic_FC='+Z'
13376 ;;
13377 esac
13378 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13379 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13380 ;;
13381
13382 irix5* | irix6* | nonstopux*)
13383 lt_prog_compiler_wl_FC='-Wl,'
13384 # PIC (with -KPIC) is the default.
13385 lt_prog_compiler_static_FC='-non_shared'
13386 ;;
13387
13388 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13389 case $cc_basename in
13390 # old Intel for x86_64 which still supported -KPIC.
13391 ecc*)
13392 lt_prog_compiler_wl_FC='-Wl,'
13393 lt_prog_compiler_pic_FC='-KPIC'
13394 lt_prog_compiler_static_FC='-static'
13395 ;;
13396 # icc used to be incompatible with GCC.
13397 # ICC 10 doesn't accept -KPIC any more.
13398 icc* | ifort*)
13399 lt_prog_compiler_wl_FC='-Wl,'
13400 lt_prog_compiler_pic_FC='-fPIC'
13401 lt_prog_compiler_static_FC='-static'
13402 ;;
13403 # Lahey Fortran 8.1.
13404 lf95*)
13405 lt_prog_compiler_wl_FC='-Wl,'
13406 lt_prog_compiler_pic_FC='--shared'
13407 lt_prog_compiler_static_FC='--static'
13408 ;;
13409 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13410 # Portland Group compilers (*not* the Pentium gcc compiler,
13411 # which looks to be a dead project)
13412 lt_prog_compiler_wl_FC='-Wl,'
13413 lt_prog_compiler_pic_FC='-fpic'
13414 lt_prog_compiler_static_FC='-Bstatic'
13415 ;;
13416 ccc*)
13417 lt_prog_compiler_wl_FC='-Wl,'
13418 # All Alpha code is PIC.
13419 lt_prog_compiler_static_FC='-non_shared'
13420 ;;
13421 xl* | bgxl* | bgf* | mpixl*)
13422 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13423 lt_prog_compiler_wl_FC='-Wl,'
13424 lt_prog_compiler_pic_FC='-qpic'
13425 lt_prog_compiler_static_FC='-qstaticlink'
13426 ;;
13427 *)
13428 case `$CC -V 2>&1 | sed 5q` in
13429 *Sun\ F* | *Sun*Fortran*)
13430 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13431 lt_prog_compiler_pic_FC='-KPIC'
13432 lt_prog_compiler_static_FC='-Bstatic'
13433 lt_prog_compiler_wl_FC=''
13434 ;;
13435 *Sun\ C*)
13436 # Sun C 5.9
13437 lt_prog_compiler_pic_FC='-KPIC'
13438 lt_prog_compiler_static_FC='-Bstatic'
13439 lt_prog_compiler_wl_FC='-Wl,'
13440 ;;
13441 esac
13442 ;;
13443 esac
13444 ;;
13445
13446 newsos6)
13447 lt_prog_compiler_pic_FC='-KPIC'
13448 lt_prog_compiler_static_FC='-Bstatic'
13449 ;;
13450
13451 *nto* | *qnx*)
13452 # QNX uses GNU C++, but need to define -shared option too, otherwise
13453 # it will coredump.
13454 lt_prog_compiler_pic_FC='-fPIC -shared'
13455 ;;
13456
13457 osf3* | osf4* | osf5*)
13458 lt_prog_compiler_wl_FC='-Wl,'
13459 # All OSF/1 code is PIC.
13460 lt_prog_compiler_static_FC='-non_shared'
13461 ;;
13462
13463 rdos*)
13464 lt_prog_compiler_static_FC='-non_shared'
13465 ;;
13466
13467 solaris*)
13468 lt_prog_compiler_pic_FC='-KPIC'
13469 lt_prog_compiler_static_FC='-Bstatic'
13470 case $cc_basename in
13471 f77* | f90* | f95*)
13472 lt_prog_compiler_wl_FC='-Qoption ld ';;
13473 *)
13474 lt_prog_compiler_wl_FC='-Wl,';;
13475 esac
13476 ;;
13477
13478 sunos4*)
13479 lt_prog_compiler_wl_FC='-Qoption ld '
13480 lt_prog_compiler_pic_FC='-PIC'
13481 lt_prog_compiler_static_FC='-Bstatic'
13482 ;;
13483
13484 sysv4 | sysv4.2uw2* | sysv4.3*)
13485 lt_prog_compiler_wl_FC='-Wl,'
13486 lt_prog_compiler_pic_FC='-KPIC'
13487 lt_prog_compiler_static_FC='-Bstatic'
13488 ;;
13489
13490 sysv4*MP*)
13491 if test -d /usr/nec ;then
13492 lt_prog_compiler_pic_FC='-Kconform_pic'
13493 lt_prog_compiler_static_FC='-Bstatic'
13494 fi
13495 ;;
13496
13497 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13498 lt_prog_compiler_wl_FC='-Wl,'
13499 lt_prog_compiler_pic_FC='-KPIC'
13500 lt_prog_compiler_static_FC='-Bstatic'
13501 ;;
13502
13503 unicos*)
13504 lt_prog_compiler_wl_FC='-Wl,'
13505 lt_prog_compiler_can_build_shared_FC=no
13506 ;;
13507
13508 uts4*)
13509 lt_prog_compiler_pic_FC='-pic'
13510 lt_prog_compiler_static_FC='-Bstatic'
13511 ;;
13512
13513 *)
13514 lt_prog_compiler_can_build_shared_FC=no
13515 ;;
13516 esac
13517 fi
13518
13519 case $host_os in
13520 # For platforms which do not support PIC, -DPIC is meaningless:
13521 *djgpp*)
13522 lt_prog_compiler_pic_FC=
13523 ;;
13524 *)
13525 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13526 ;;
13527 esac
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13529 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13530
13531
13532
13533 #
13534 # Check to make sure the PIC flag actually works.
13535 #
13536 if test -n "$lt_prog_compiler_pic_FC"; then
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13538 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13539 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13540 $as_echo_n "(cached) " >&6
13541 else
13542 lt_cv_prog_compiler_pic_works_FC=no
13543 ac_outfile=conftest.$ac_objext
13544 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13545 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13546 # Insert the option either (1) after the last *FLAGS variable, or
13547 # (2) before a word containing "conftest.", or (3) at the end.
13548 # Note that $ac_compile itself does not contain backslashes and begins
13549 # with a dollar sign (not a hyphen), so the echo should work correctly.
13550 # The option is referenced via a variable to avoid confusing sed.
13551 lt_compile=`echo "$ac_compile" | $SED \
13552 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13554 -e 's:$: $lt_compiler_flag:'`
13555 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13556 (eval "$lt_compile" 2>conftest.err)
13557 ac_status=$?
13558 cat conftest.err >&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 if (exit $ac_status) && test -s "$ac_outfile"; then
13561 # The compiler can only warn and ignore the option if not recognized
13562 # So say no if there are warnings other than the usual output.
13563 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13564 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13565 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13566 lt_cv_prog_compiler_pic_works_FC=yes
13567 fi
13568 fi
13569 $RM conftest*
13570
13571 fi
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13573 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13574
13575 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13576 case $lt_prog_compiler_pic_FC in
13577 "" | " "*) ;;
13578 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13579 esac
13580 else
13581 lt_prog_compiler_pic_FC=
13582 lt_prog_compiler_can_build_shared_FC=no
13583 fi
13584
13585 fi
13586
13587
13588
13589 #
13590 # Check to make sure the static flag actually works.
13591 #
13592 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13594 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13595 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13596 $as_echo_n "(cached) " >&6
13597 else
13598 lt_cv_prog_compiler_static_works_FC=no
13599 save_LDFLAGS="$LDFLAGS"
13600 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13601 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13602 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13603 # The linker can only warn and ignore the option if not recognized
13604 # So say no if there are warnings
13605 if test -s conftest.err; then
13606 # Append any errors to the config.log.
13607 cat conftest.err 1>&5
13608 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13609 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13610 if diff conftest.exp conftest.er2 >/dev/null; then
13611 lt_cv_prog_compiler_static_works_FC=yes
13612 fi
13613 else
13614 lt_cv_prog_compiler_static_works_FC=yes
13615 fi
13616 fi
13617 $RM -r conftest*
13618 LDFLAGS="$save_LDFLAGS"
13619
13620 fi
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13622 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13623
13624 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13625 :
13626 else
13627 lt_prog_compiler_static_FC=
13628 fi
13629
13630
13631
13632
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13634 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13635 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13636 $as_echo_n "(cached) " >&6
13637 else
13638 lt_cv_prog_compiler_c_o_FC=no
13639 $RM -r conftest 2>/dev/null
13640 mkdir conftest
13641 cd conftest
13642 mkdir out
13643 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13644
13645 lt_compiler_flag="-o out/conftest2.$ac_objext"
13646 # Insert the option either (1) after the last *FLAGS variable, or
13647 # (2) before a word containing "conftest.", or (3) at the end.
13648 # Note that $ac_compile itself does not contain backslashes and begins
13649 # with a dollar sign (not a hyphen), so the echo should work correctly.
13650 lt_compile=`echo "$ac_compile" | $SED \
13651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13653 -e 's:$: $lt_compiler_flag:'`
13654 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13655 (eval "$lt_compile" 2>out/conftest.err)
13656 ac_status=$?
13657 cat out/conftest.err >&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13660 then
13661 # The compiler can only warn and ignore the option if not recognized
13662 # So say no if there are warnings
13663 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13664 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13665 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13666 lt_cv_prog_compiler_c_o_FC=yes
13667 fi
13668 fi
13669 chmod u+w . 2>&5
13670 $RM conftest*
13671 # SGI C++ compiler will create directory out/ii_files/ for
13672 # template instantiation
13673 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13674 $RM out/* && rmdir out
13675 cd ..
13676 $RM -r conftest
13677 $RM conftest*
13678
13679 fi
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13681 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13682
13683
13684
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13686 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13687 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13688 $as_echo_n "(cached) " >&6
13689 else
13690 lt_cv_prog_compiler_c_o_FC=no
13691 $RM -r conftest 2>/dev/null
13692 mkdir conftest
13693 cd conftest
13694 mkdir out
13695 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13696
13697 lt_compiler_flag="-o out/conftest2.$ac_objext"
13698 # Insert the option either (1) after the last *FLAGS variable, or
13699 # (2) before a word containing "conftest.", or (3) at the end.
13700 # Note that $ac_compile itself does not contain backslashes and begins
13701 # with a dollar sign (not a hyphen), so the echo should work correctly.
13702 lt_compile=`echo "$ac_compile" | $SED \
13703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13705 -e 's:$: $lt_compiler_flag:'`
13706 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13707 (eval "$lt_compile" 2>out/conftest.err)
13708 ac_status=$?
13709 cat out/conftest.err >&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13712 then
13713 # The compiler can only warn and ignore the option if not recognized
13714 # So say no if there are warnings
13715 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13716 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13717 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13718 lt_cv_prog_compiler_c_o_FC=yes
13719 fi
13720 fi
13721 chmod u+w . 2>&5
13722 $RM conftest*
13723 # SGI C++ compiler will create directory out/ii_files/ for
13724 # template instantiation
13725 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13726 $RM out/* && rmdir out
13727 cd ..
13728 $RM -r conftest
13729 $RM conftest*
13730
13731 fi
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13733 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13734
13735
13736
13737
13738 hard_links="nottested"
13739 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13740 # do not overwrite the value of need_locks provided by the user
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13742 $as_echo_n "checking if we can lock with hard links... " >&6; }
13743 hard_links=yes
13744 $RM conftest*
13745 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13746 touch conftest.a
13747 ln conftest.a conftest.b 2>&5 || hard_links=no
13748 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13750 $as_echo "$hard_links" >&6; }
13751 if test "$hard_links" = no; then
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13753 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13754 need_locks=warn
13755 fi
13756 else
13757 need_locks=no
13758 fi
13759
13760
13761
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13763 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13764
13765 runpath_var=
13766 allow_undefined_flag_FC=
13767 always_export_symbols_FC=no
13768 archive_cmds_FC=
13769 archive_expsym_cmds_FC=
13770 compiler_needs_object_FC=no
13771 enable_shared_with_static_runtimes_FC=no
13772 export_dynamic_flag_spec_FC=
13773 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13774 hardcode_automatic_FC=no
13775 hardcode_direct_FC=no
13776 hardcode_direct_absolute_FC=no
13777 hardcode_libdir_flag_spec_FC=
13778 hardcode_libdir_flag_spec_ld_FC=
13779 hardcode_libdir_separator_FC=
13780 hardcode_minus_L_FC=no
13781 hardcode_shlibpath_var_FC=unsupported
13782 inherit_rpath_FC=no
13783 link_all_deplibs_FC=unknown
13784 module_cmds_FC=
13785 module_expsym_cmds_FC=
13786 old_archive_from_new_cmds_FC=
13787 old_archive_from_expsyms_cmds_FC=
13788 thread_safe_flag_spec_FC=
13789 whole_archive_flag_spec_FC=
13790 # include_expsyms should be a list of space-separated symbols to be *always*
13791 # included in the symbol list
13792 include_expsyms_FC=
13793 # exclude_expsyms can be an extended regexp of symbols to exclude
13794 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13795 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13796 # as well as any symbol that contains `d'.
13797 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13798 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13799 # platforms (ab)use it in PIC code, but their linkers get confused if
13800 # the symbol is explicitly referenced. Since portable code cannot
13801 # rely on this symbol name, it's probably fine to never include it in
13802 # preloaded symbol tables.
13803 # Exclude shared library initialization/finalization symbols.
13804 extract_expsyms_cmds=
13805
13806 case $host_os in
13807 cygwin* | mingw* | pw32* | cegcc*)
13808 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13809 # When not using gcc, we currently assume that we are using
13810 # Microsoft Visual C++.
13811 if test "$GCC" != yes; then
13812 with_gnu_ld=no
13813 fi
13814 ;;
13815 interix*)
13816 # we just hope/assume this is gcc and not c89 (= MSVC++)
13817 with_gnu_ld=yes
13818 ;;
13819 openbsd*)
13820 with_gnu_ld=no
13821 ;;
13822 esac
13823
13824 ld_shlibs_FC=yes
13825
13826 # On some targets, GNU ld is compatible enough with the native linker
13827 # that we're better off using the native interface for both.
13828 lt_use_gnu_ld_interface=no
13829 if test "$with_gnu_ld" = yes; then
13830 case $host_os in
13831 aix*)
13832 # The AIX port of GNU ld has always aspired to compatibility
13833 # with the native linker. However, as the warning in the GNU ld
13834 # block says, versions before 2.19.5* couldn't really create working
13835 # shared libraries, regardless of the interface used.
13836 case `$LD -v 2>&1` in
13837 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13838 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13839 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13840 *)
13841 lt_use_gnu_ld_interface=yes
13842 ;;
13843 esac
13844 ;;
13845 *)
13846 lt_use_gnu_ld_interface=yes
13847 ;;
13848 esac
13849 fi
13850
13851 if test "$lt_use_gnu_ld_interface" = yes; then
13852 # If archive_cmds runs LD, not CC, wlarc should be empty
13853 wlarc='${wl}'
13854
13855 # Set some defaults for GNU ld with shared library support. These
13856 # are reset later if shared libraries are not supported. Putting them
13857 # here allows them to be overridden if necessary.
13858 runpath_var=LD_RUN_PATH
13859 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13860 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13861 # ancient GNU ld didn't support --whole-archive et. al.
13862 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13863 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13864 else
13865 whole_archive_flag_spec_FC=
13866 fi
13867 supports_anon_versioning=no
13868 case `$LD -v 2>&1` in
13869 *GNU\ gold*) supports_anon_versioning=yes ;;
13870 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13871 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13872 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13873 *\ 2.11.*) ;; # other 2.11 versions
13874 *) supports_anon_versioning=yes ;;
13875 esac
13876
13877 # See if GNU ld supports shared libraries.
13878 case $host_os in
13879 aix[3-9]*)
13880 # On AIX/PPC, the GNU linker is very broken
13881 if test "$host_cpu" != ia64; then
13882 ld_shlibs_FC=no
13883 cat <<_LT_EOF 1>&2
13884
13885 *** Warning: the GNU linker, at least up to release 2.19, is reported
13886 *** to be unable to reliably create shared libraries on AIX.
13887 *** Therefore, libtool is disabling shared libraries support. If you
13888 *** really care for shared libraries, you may want to install binutils
13889 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13890 *** You will then need to restart the configuration process.
13891
13892 _LT_EOF
13893 fi
13894 ;;
13895
13896 amigaos*)
13897 case $host_cpu in
13898 powerpc)
13899 # see comment about AmigaOS4 .so support
13900 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13901 archive_expsym_cmds_FC=''
13902 ;;
13903 m68k)
13904 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)'
13905 hardcode_libdir_flag_spec_FC='-L$libdir'
13906 hardcode_minus_L_FC=yes
13907 ;;
13908 esac
13909 ;;
13910
13911 beos*)
13912 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13913 allow_undefined_flag_FC=unsupported
13914 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13915 # support --undefined. This deserves some investigation. FIXME
13916 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13917 else
13918 ld_shlibs_FC=no
13919 fi
13920 ;;
13921
13922 cygwin* | mingw* | pw32* | cegcc*)
13923 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13924 # as there is no search path for DLLs.
13925 hardcode_libdir_flag_spec_FC='-L$libdir'
13926 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13927 allow_undefined_flag_FC=unsupported
13928 always_export_symbols_FC=no
13929 enable_shared_with_static_runtimes_FC=yes
13930 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13931
13932 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13933 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13934 # If the export-symbols file already is a .def file (1st line
13935 # is EXPORTS), use it as is; otherwise, prepend...
13936 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13937 cp $export_symbols $output_objdir/$soname.def;
13938 else
13939 echo EXPORTS > $output_objdir/$soname.def;
13940 cat $export_symbols >> $output_objdir/$soname.def;
13941 fi~
13942 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13943 else
13944 ld_shlibs_FC=no
13945 fi
13946 ;;
13947
13948 haiku*)
13949 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13950 link_all_deplibs_FC=yes
13951 ;;
13952
13953 interix[3-9]*)
13954 hardcode_direct_FC=no
13955 hardcode_shlibpath_var_FC=no
13956 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13957 export_dynamic_flag_spec_FC='${wl}-E'
13958 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13959 # Instead, shared libraries are loaded at an image base (0x10000000 by
13960 # default) and relocated if they conflict, which is a slow very memory
13961 # consuming and fragmenting process. To avoid this, we pick a random,
13962 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13963 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13964 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'
13965 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'
13966 ;;
13967
13968 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13969 tmp_diet=no
13970 if test "$host_os" = linux-dietlibc; then
13971 case $cc_basename in
13972 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13973 esac
13974 fi
13975 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13976 && test "$tmp_diet" = no
13977 then
13978 tmp_addflag=' $pic_flag'
13979 tmp_sharedflag='-shared'
13980 case $cc_basename,$host_cpu in
13981 pgcc*) # Portland Group C compiler
13982 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'
13983 tmp_addflag=' $pic_flag'
13984 ;;
13985 pgf77* | pgf90* | pgf95* | pgfortran*)
13986 # Portland Group f77 and f90 compilers
13987 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'
13988 tmp_addflag=' $pic_flag -Mnomain' ;;
13989 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13990 tmp_addflag=' -i_dynamic' ;;
13991 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13992 tmp_addflag=' -i_dynamic -nofor_main' ;;
13993 ifc* | ifort*) # Intel Fortran compiler
13994 tmp_addflag=' -nofor_main' ;;
13995 lf95*) # Lahey Fortran 8.1
13996 whole_archive_flag_spec_FC=
13997 tmp_sharedflag='--shared' ;;
13998 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13999 tmp_sharedflag='-qmkshrobj'
14000 tmp_addflag= ;;
14001 nvcc*) # Cuda Compiler Driver 2.2
14002 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'
14003 compiler_needs_object_FC=yes
14004 ;;
14005 esac
14006 case `$CC -V 2>&1 | sed 5q` in
14007 *Sun\ C*) # Sun C 5.9
14008 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'
14009 compiler_needs_object_FC=yes
14010 tmp_sharedflag='-G' ;;
14011 *Sun\ F*) # Sun Fortran 8.3
14012 tmp_sharedflag='-G' ;;
14013 esac
14014 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14015
14016 if test "x$supports_anon_versioning" = xyes; then
14017 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14018 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14019 echo "local: *; };" >> $output_objdir/$libname.ver~
14020 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14021 fi
14022
14023 case $cc_basename in
14024 xlf* | bgf* | bgxlf* | mpixlf*)
14025 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14026 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14027 hardcode_libdir_flag_spec_FC=
14028 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14029 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14030 if test "x$supports_anon_versioning" = xyes; then
14031 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14032 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14033 echo "local: *; };" >> $output_objdir/$libname.ver~
14034 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14035 fi
14036 ;;
14037 esac
14038 else
14039 ld_shlibs_FC=no
14040 fi
14041 ;;
14042
14043 netbsd*)
14044 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14045 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14046 wlarc=
14047 else
14048 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14049 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14050 fi
14051 ;;
14052
14053 solaris*)
14054 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14055 ld_shlibs_FC=no
14056 cat <<_LT_EOF 1>&2
14057
14058 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14059 *** create shared libraries on Solaris systems. Therefore, libtool
14060 *** is disabling shared libraries support. We urge you to upgrade GNU
14061 *** binutils to release 2.9.1 or newer. Another option is to modify
14062 *** your PATH or compiler configuration so that the native linker is
14063 *** used, and then restart.
14064
14065 _LT_EOF
14066 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14067 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14068 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14069 else
14070 ld_shlibs_FC=no
14071 fi
14072 ;;
14073
14074 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14075 case `$LD -v 2>&1` in
14076 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14077 ld_shlibs_FC=no
14078 cat <<_LT_EOF 1>&2
14079
14080 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14081 *** reliably create shared libraries on SCO systems. Therefore, libtool
14082 *** is disabling shared libraries support. We urge you to upgrade GNU
14083 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14084 *** your PATH or compiler configuration so that the native linker is
14085 *** used, and then restart.
14086
14087 _LT_EOF
14088 ;;
14089 *)
14090 # For security reasons, it is highly recommended that you always
14091 # use absolute paths for naming shared libraries, and exclude the
14092 # DT_RUNPATH tag from executables and libraries. But doing so
14093 # requires that you compile everything twice, which is a pain.
14094 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14095 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14096 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14097 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14098 else
14099 ld_shlibs_FC=no
14100 fi
14101 ;;
14102 esac
14103 ;;
14104
14105 sunos4*)
14106 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14107 wlarc=
14108 hardcode_direct_FC=yes
14109 hardcode_shlibpath_var_FC=no
14110 ;;
14111
14112 *)
14113 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14114 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14115 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14116 else
14117 ld_shlibs_FC=no
14118 fi
14119 ;;
14120 esac
14121
14122 if test "$ld_shlibs_FC" = no; then
14123 runpath_var=
14124 hardcode_libdir_flag_spec_FC=
14125 export_dynamic_flag_spec_FC=
14126 whole_archive_flag_spec_FC=
14127 fi
14128 else
14129 # PORTME fill in a description of your system's linker (not GNU ld)
14130 case $host_os in
14131 aix3*)
14132 allow_undefined_flag_FC=unsupported
14133 always_export_symbols_FC=yes
14134 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'
14135 # Note: this linker hardcodes the directories in LIBPATH if there
14136 # are no directories specified by -L.
14137 hardcode_minus_L_FC=yes
14138 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14139 # Neither direct hardcoding nor static linking is supported with a
14140 # broken collect2.
14141 hardcode_direct_FC=unsupported
14142 fi
14143 ;;
14144
14145 aix[4-9]*)
14146 if test "$host_cpu" = ia64; then
14147 # On IA64, the linker does run time linking by default, so we don't
14148 # have to do anything special.
14149 aix_use_runtimelinking=no
14150 exp_sym_flag='-Bexport'
14151 no_entry_flag=""
14152 else
14153 # If we're using GNU nm, then we don't want the "-C" option.
14154 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14155 # Also, AIX nm treats weak defined symbols like other global
14156 # defined symbols, whereas GNU nm marks them as "W".
14157 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14158 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'
14159 else
14160 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14161 fi
14162 aix_use_runtimelinking=no
14163
14164 # Test if we are trying to use run time linking or normal
14165 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14166 # need to do runtime linking.
14167 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14168 for ld_flag in $LDFLAGS; do
14169 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14170 aix_use_runtimelinking=yes
14171 break
14172 fi
14173 done
14174 ;;
14175 esac
14176
14177 exp_sym_flag='-bexport'
14178 no_entry_flag='-bnoentry'
14179 fi
14180
14181 # When large executables or shared objects are built, AIX ld can
14182 # have problems creating the table of contents. If linking a library
14183 # or program results in "error TOC overflow" add -mminimal-toc to
14184 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14185 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14186
14187 archive_cmds_FC=''
14188 hardcode_direct_FC=yes
14189 hardcode_direct_absolute_FC=yes
14190 hardcode_libdir_separator_FC=':'
14191 link_all_deplibs_FC=yes
14192 file_list_spec_FC='${wl}-f,'
14193
14194 if test "$GCC" = yes; then
14195 case $host_os in aix4.[012]|aix4.[012].*)
14196 # We only want to do this on AIX 4.2 and lower, the check
14197 # below for broken collect2 doesn't work under 4.3+
14198 collect2name=`${CC} -print-prog-name=collect2`
14199 if test -f "$collect2name" &&
14200 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14201 then
14202 # We have reworked collect2
14203 :
14204 else
14205 # We have old collect2
14206 hardcode_direct_FC=unsupported
14207 # It fails to find uninstalled libraries when the uninstalled
14208 # path is not listed in the libpath. Setting hardcode_minus_L
14209 # to unsupported forces relinking
14210 hardcode_minus_L_FC=yes
14211 hardcode_libdir_flag_spec_FC='-L$libdir'
14212 hardcode_libdir_separator_FC=
14213 fi
14214 ;;
14215 esac
14216 shared_flag='-shared'
14217 if test "$aix_use_runtimelinking" = yes; then
14218 shared_flag="$shared_flag "'${wl}-G'
14219 fi
14220 else
14221 # not using gcc
14222 if test "$host_cpu" = ia64; then
14223 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14224 # chokes on -Wl,-G. The following line is correct:
14225 shared_flag='-G'
14226 else
14227 if test "$aix_use_runtimelinking" = yes; then
14228 shared_flag='${wl}-G'
14229 else
14230 shared_flag='${wl}-bM:SRE'
14231 fi
14232 fi
14233 fi
14234
14235 export_dynamic_flag_spec_FC='${wl}-bexpall'
14236 # It seems that -bexpall does not export symbols beginning with
14237 # underscore (_), so it is better to generate a list of symbols to export.
14238 always_export_symbols_FC=yes
14239 if test "$aix_use_runtimelinking" = yes; then
14240 # Warning - without using the other runtime loading flags (-brtl),
14241 # -berok will link without error, but may produce a broken library.
14242 allow_undefined_flag_FC='-berok'
14243 # Determine the default libpath from the value encoded in an
14244 # empty executable.
14245 if test x$gcc_no_link = xyes; then
14246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14247 fi
14248 cat > conftest.$ac_ext <<_ACEOF
14249 program main
14250
14251 end
14252 _ACEOF
14253 if ac_fn_fc_try_link "$LINENO"; then :
14254
14255 lt_aix_libpath_sed='
14256 /Import File Strings/,/^$/ {
14257 /^0/ {
14258 s/^0 *\(.*\)$/\1/
14259 p
14260 }
14261 }'
14262 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14263 # Check for a 64-bit object if we didn't find anything.
14264 if test -z "$aix_libpath"; then
14265 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14266 fi
14267 fi
14268 rm -f core conftest.err conftest.$ac_objext \
14269 conftest$ac_exeext conftest.$ac_ext
14270 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14271
14272 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14273 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"
14274 else
14275 if test "$host_cpu" = ia64; then
14276 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14277 allow_undefined_flag_FC="-z nodefs"
14278 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"
14279 else
14280 # Determine the default libpath from the value encoded in an
14281 # empty executable.
14282 if test x$gcc_no_link = xyes; then
14283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14284 fi
14285 cat > conftest.$ac_ext <<_ACEOF
14286 program main
14287
14288 end
14289 _ACEOF
14290 if ac_fn_fc_try_link "$LINENO"; then :
14291
14292 lt_aix_libpath_sed='
14293 /Import File Strings/,/^$/ {
14294 /^0/ {
14295 s/^0 *\(.*\)$/\1/
14296 p
14297 }
14298 }'
14299 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14300 # Check for a 64-bit object if we didn't find anything.
14301 if test -z "$aix_libpath"; then
14302 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14303 fi
14304 fi
14305 rm -f core conftest.err conftest.$ac_objext \
14306 conftest$ac_exeext conftest.$ac_ext
14307 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14308
14309 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14310 # Warning - without using the other run time loading flags,
14311 # -berok will link without error, but may produce a broken library.
14312 no_undefined_flag_FC=' ${wl}-bernotok'
14313 allow_undefined_flag_FC=' ${wl}-berok'
14314 if test "$with_gnu_ld" = yes; then
14315 # We only use this code for GNU lds that support --whole-archive.
14316 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14317 else
14318 # Exported symbols can be pulled into shared objects from archives
14319 whole_archive_flag_spec_FC='$convenience'
14320 fi
14321 archive_cmds_need_lc_FC=yes
14322 # This is similar to how AIX traditionally builds its shared libraries.
14323 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'
14324 fi
14325 fi
14326 ;;
14327
14328 amigaos*)
14329 case $host_cpu in
14330 powerpc)
14331 # see comment about AmigaOS4 .so support
14332 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14333 archive_expsym_cmds_FC=''
14334 ;;
14335 m68k)
14336 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)'
14337 hardcode_libdir_flag_spec_FC='-L$libdir'
14338 hardcode_minus_L_FC=yes
14339 ;;
14340 esac
14341 ;;
14342
14343 bsdi[45]*)
14344 export_dynamic_flag_spec_FC=-rdynamic
14345 ;;
14346
14347 cygwin* | mingw* | pw32* | cegcc*)
14348 # When not using gcc, we currently assume that we are using
14349 # Microsoft Visual C++.
14350 # hardcode_libdir_flag_spec is actually meaningless, as there is
14351 # no search path for DLLs.
14352 hardcode_libdir_flag_spec_FC=' '
14353 allow_undefined_flag_FC=unsupported
14354 # Tell ltmain to make .lib files, not .a files.
14355 libext=lib
14356 # Tell ltmain to make .dll files, not .so files.
14357 shrext_cmds=".dll"
14358 # FIXME: Setting linknames here is a bad hack.
14359 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14360 # The linker will automatically build a .lib file if we build a DLL.
14361 old_archive_from_new_cmds_FC='true'
14362 # FIXME: Should let the user specify the lib program.
14363 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14364 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14365 enable_shared_with_static_runtimes_FC=yes
14366 ;;
14367
14368 darwin* | rhapsody*)
14369
14370
14371 archive_cmds_need_lc_FC=no
14372 hardcode_direct_FC=no
14373 hardcode_automatic_FC=yes
14374 hardcode_shlibpath_var_FC=unsupported
14375 if test "$lt_cv_ld_force_load" = "yes"; then
14376 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\"`'
14377 else
14378 whole_archive_flag_spec_FC=''
14379 fi
14380 link_all_deplibs_FC=yes
14381 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14382 case $cc_basename in
14383 ifort*) _lt_dar_can_shared=yes ;;
14384 *) _lt_dar_can_shared=$GCC ;;
14385 esac
14386 if test "$_lt_dar_can_shared" = "yes"; then
14387 output_verbose_link_cmd=func_echo_all
14388 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14389 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14390 archive_expsym_cmds_FC="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14391 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}"
14392
14393 else
14394 ld_shlibs_FC=no
14395 fi
14396
14397 ;;
14398
14399 dgux*)
14400 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14401 hardcode_libdir_flag_spec_FC='-L$libdir'
14402 hardcode_shlibpath_var_FC=no
14403 ;;
14404
14405 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14406 # support. Future versions do this automatically, but an explicit c++rt0.o
14407 # does not break anything, and helps significantly (at the cost of a little
14408 # extra space).
14409 freebsd2.2*)
14410 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14411 hardcode_libdir_flag_spec_FC='-R$libdir'
14412 hardcode_direct_FC=yes
14413 hardcode_shlibpath_var_FC=no
14414 ;;
14415
14416 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14417 freebsd2.*)
14418 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14419 hardcode_direct_FC=yes
14420 hardcode_minus_L_FC=yes
14421 hardcode_shlibpath_var_FC=no
14422 ;;
14423
14424 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14425 freebsd* | dragonfly*)
14426 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14427 hardcode_libdir_flag_spec_FC='-R$libdir'
14428 hardcode_direct_FC=yes
14429 hardcode_shlibpath_var_FC=no
14430 ;;
14431
14432 hpux9*)
14433 if test "$GCC" = yes; then
14434 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'
14435 else
14436 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'
14437 fi
14438 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14439 hardcode_libdir_separator_FC=:
14440 hardcode_direct_FC=yes
14441
14442 # hardcode_minus_L: Not really in the search PATH,
14443 # but as the default location of the library.
14444 hardcode_minus_L_FC=yes
14445 export_dynamic_flag_spec_FC='${wl}-E'
14446 ;;
14447
14448 hpux10*)
14449 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14450 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14451 else
14452 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14453 fi
14454 if test "$with_gnu_ld" = no; then
14455 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14456 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14457 hardcode_libdir_separator_FC=:
14458 hardcode_direct_FC=yes
14459 hardcode_direct_absolute_FC=yes
14460 export_dynamic_flag_spec_FC='${wl}-E'
14461 # hardcode_minus_L: Not really in the search PATH,
14462 # but as the default location of the library.
14463 hardcode_minus_L_FC=yes
14464 fi
14465 ;;
14466
14467 hpux11*)
14468 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14469 case $host_cpu in
14470 hppa*64*)
14471 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14472 ;;
14473 ia64*)
14474 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14475 ;;
14476 *)
14477 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14478 ;;
14479 esac
14480 else
14481 case $host_cpu in
14482 hppa*64*)
14483 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14484 ;;
14485 ia64*)
14486 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14487 ;;
14488 *)
14489 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14490 ;;
14491 esac
14492 fi
14493 if test "$with_gnu_ld" = no; then
14494 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14495 hardcode_libdir_separator_FC=:
14496
14497 case $host_cpu in
14498 hppa*64*|ia64*)
14499 hardcode_direct_FC=no
14500 hardcode_shlibpath_var_FC=no
14501 ;;
14502 *)
14503 hardcode_direct_FC=yes
14504 hardcode_direct_absolute_FC=yes
14505 export_dynamic_flag_spec_FC='${wl}-E'
14506
14507 # hardcode_minus_L: Not really in the search PATH,
14508 # but as the default location of the library.
14509 hardcode_minus_L_FC=yes
14510 ;;
14511 esac
14512 fi
14513 ;;
14514
14515 irix5* | irix6* | nonstopux*)
14516 if test "$GCC" = yes; then
14517 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'
14518 # Try to use the -exported_symbol ld option, if it does not
14519 # work, assume that -exports_file does not work either and
14520 # implicitly export all symbols.
14521 save_LDFLAGS="$LDFLAGS"
14522 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14523 if test x$gcc_no_link = xyes; then
14524 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14525 fi
14526 cat > conftest.$ac_ext <<_ACEOF
14527 int foo(void) {}
14528 _ACEOF
14529 if ac_fn_fc_try_link "$LINENO"; then :
14530 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'
14531
14532 fi
14533 rm -f core conftest.err conftest.$ac_objext \
14534 conftest$ac_exeext conftest.$ac_ext
14535 LDFLAGS="$save_LDFLAGS"
14536 else
14537 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'
14538 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'
14539 fi
14540 archive_cmds_need_lc_FC='no'
14541 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14542 hardcode_libdir_separator_FC=:
14543 inherit_rpath_FC=yes
14544 link_all_deplibs_FC=yes
14545 ;;
14546
14547 netbsd*)
14548 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14549 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14550 else
14551 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14552 fi
14553 hardcode_libdir_flag_spec_FC='-R$libdir'
14554 hardcode_direct_FC=yes
14555 hardcode_shlibpath_var_FC=no
14556 ;;
14557
14558 newsos6)
14559 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14560 hardcode_direct_FC=yes
14561 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14562 hardcode_libdir_separator_FC=:
14563 hardcode_shlibpath_var_FC=no
14564 ;;
14565
14566 *nto* | *qnx*)
14567 ;;
14568
14569 openbsd*)
14570 if test -f /usr/libexec/ld.so; then
14571 hardcode_direct_FC=yes
14572 hardcode_shlibpath_var_FC=no
14573 hardcode_direct_absolute_FC=yes
14574 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14575 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14576 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14577 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14578 export_dynamic_flag_spec_FC='${wl}-E'
14579 else
14580 case $host_os in
14581 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14582 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14583 hardcode_libdir_flag_spec_FC='-R$libdir'
14584 ;;
14585 *)
14586 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14587 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14588 ;;
14589 esac
14590 fi
14591 else
14592 ld_shlibs_FC=no
14593 fi
14594 ;;
14595
14596 os2*)
14597 hardcode_libdir_flag_spec_FC='-L$libdir'
14598 hardcode_minus_L_FC=yes
14599 allow_undefined_flag_FC=unsupported
14600 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'
14601 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14602 ;;
14603
14604 osf3*)
14605 if test "$GCC" = yes; then
14606 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14607 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'
14608 else
14609 allow_undefined_flag_FC=' -expect_unresolved \*'
14610 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'
14611 fi
14612 archive_cmds_need_lc_FC='no'
14613 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14614 hardcode_libdir_separator_FC=:
14615 ;;
14616
14617 osf4* | osf5*) # as osf3* with the addition of -msym flag
14618 if test "$GCC" = yes; then
14619 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14620 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'
14621 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14622 else
14623 allow_undefined_flag_FC=' -expect_unresolved \*'
14624 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'
14625 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~
14626 $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'
14627
14628 # Both c and cxx compiler support -rpath directly
14629 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14630 fi
14631 archive_cmds_need_lc_FC='no'
14632 hardcode_libdir_separator_FC=:
14633 ;;
14634
14635 solaris*)
14636 no_undefined_flag_FC=' -z defs'
14637 if test "$GCC" = yes; then
14638 wlarc='${wl}'
14639 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14640 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14641 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14642 else
14643 case `$CC -V 2>&1` in
14644 *"Compilers 5.0"*)
14645 wlarc=''
14646 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14647 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14648 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14649 ;;
14650 *)
14651 wlarc='${wl}'
14652 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14653 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14654 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14655 ;;
14656 esac
14657 fi
14658 hardcode_libdir_flag_spec_FC='-R$libdir'
14659 hardcode_shlibpath_var_FC=no
14660 case $host_os in
14661 solaris2.[0-5] | solaris2.[0-5].*) ;;
14662 *)
14663 # The compiler driver will combine and reorder linker options,
14664 # but understands `-z linker_flag'. GCC discards it without `$wl',
14665 # but is careful enough not to reorder.
14666 # Supported since Solaris 2.6 (maybe 2.5.1?)
14667 if test "$GCC" = yes; then
14668 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14669 else
14670 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14671 fi
14672 ;;
14673 esac
14674 link_all_deplibs_FC=yes
14675 ;;
14676
14677 sunos4*)
14678 if test "x$host_vendor" = xsequent; then
14679 # Use $CC to link under sequent, because it throws in some extra .o
14680 # files that make .init and .fini sections work.
14681 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14682 else
14683 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14684 fi
14685 hardcode_libdir_flag_spec_FC='-L$libdir'
14686 hardcode_direct_FC=yes
14687 hardcode_minus_L_FC=yes
14688 hardcode_shlibpath_var_FC=no
14689 ;;
14690
14691 sysv4)
14692 case $host_vendor in
14693 sni)
14694 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14695 hardcode_direct_FC=yes # is this really true???
14696 ;;
14697 siemens)
14698 ## LD is ld it makes a PLAMLIB
14699 ## CC just makes a GrossModule.
14700 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14701 reload_cmds_FC='$CC -r -o $output$reload_objs'
14702 hardcode_direct_FC=no
14703 ;;
14704 motorola)
14705 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14706 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14707 ;;
14708 esac
14709 runpath_var='LD_RUN_PATH'
14710 hardcode_shlibpath_var_FC=no
14711 ;;
14712
14713 sysv4.3*)
14714 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14715 hardcode_shlibpath_var_FC=no
14716 export_dynamic_flag_spec_FC='-Bexport'
14717 ;;
14718
14719 sysv4*MP*)
14720 if test -d /usr/nec; then
14721 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14722 hardcode_shlibpath_var_FC=no
14723 runpath_var=LD_RUN_PATH
14724 hardcode_runpath_var=yes
14725 ld_shlibs_FC=yes
14726 fi
14727 ;;
14728
14729 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14730 no_undefined_flag_FC='${wl}-z,text'
14731 archive_cmds_need_lc_FC=no
14732 hardcode_shlibpath_var_FC=no
14733 runpath_var='LD_RUN_PATH'
14734
14735 if test "$GCC" = yes; then
14736 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14737 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14738 else
14739 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14740 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14741 fi
14742 ;;
14743
14744 sysv5* | sco3.2v5* | sco5v6*)
14745 # Note: We can NOT use -z defs as we might desire, because we do not
14746 # link with -lc, and that would cause any symbols used from libc to
14747 # always be unresolved, which means just about no library would
14748 # ever link correctly. If we're not using GNU ld we use -z text
14749 # though, which does catch some bad symbols but isn't as heavy-handed
14750 # as -z defs.
14751 no_undefined_flag_FC='${wl}-z,text'
14752 allow_undefined_flag_FC='${wl}-z,nodefs'
14753 archive_cmds_need_lc_FC=no
14754 hardcode_shlibpath_var_FC=no
14755 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14756 hardcode_libdir_separator_FC=':'
14757 link_all_deplibs_FC=yes
14758 export_dynamic_flag_spec_FC='${wl}-Bexport'
14759 runpath_var='LD_RUN_PATH'
14760
14761 if test "$GCC" = yes; then
14762 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14763 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14764 else
14765 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14766 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14767 fi
14768 ;;
14769
14770 uts4*)
14771 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14772 hardcode_libdir_flag_spec_FC='-L$libdir'
14773 hardcode_shlibpath_var_FC=no
14774 ;;
14775
14776 *)
14777 ld_shlibs_FC=no
14778 ;;
14779 esac
14780
14781 if test x$host_vendor = xsni; then
14782 case $host in
14783 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14784 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14785 ;;
14786 esac
14787 fi
14788 fi
14789
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14791 $as_echo "$ld_shlibs_FC" >&6; }
14792 test "$ld_shlibs_FC" = no && can_build_shared=no
14793
14794 with_gnu_ld_FC=$with_gnu_ld
14795
14796
14797
14798
14799
14800
14801 #
14802 # Do we need to explicitly link libc?
14803 #
14804 case "x$archive_cmds_need_lc_FC" in
14805 x|xyes)
14806 # Assume -lc should be added
14807 archive_cmds_need_lc_FC=yes
14808
14809 if test "$enable_shared" = yes && test "$GCC" = yes; then
14810 case $archive_cmds_FC in
14811 *'~'*)
14812 # FIXME: we may have to deal with multi-command sequences.
14813 ;;
14814 '$CC '*)
14815 # Test whether the compiler implicitly links with -lc since on some
14816 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14817 # to ld, don't add -lc before -lgcc.
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14819 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14820 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14821 $as_echo_n "(cached) " >&6
14822 else
14823 $RM conftest*
14824 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14825
14826 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14827 (eval $ac_compile) 2>&5
14828 ac_status=$?
14829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14830 test $ac_status = 0; } 2>conftest.err; then
14831 soname=conftest
14832 lib=conftest
14833 libobjs=conftest.$ac_objext
14834 deplibs=
14835 wl=$lt_prog_compiler_wl_FC
14836 pic_flag=$lt_prog_compiler_pic_FC
14837 compiler_flags=-v
14838 linker_flags=-v
14839 verstring=
14840 output_objdir=.
14841 libname=conftest
14842 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14843 allow_undefined_flag_FC=
14844 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14845 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14846 ac_status=$?
14847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14848 test $ac_status = 0; }
14849 then
14850 lt_cv_archive_cmds_need_lc_FC=no
14851 else
14852 lt_cv_archive_cmds_need_lc_FC=yes
14853 fi
14854 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14855 else
14856 cat conftest.err 1>&5
14857 fi
14858 $RM conftest*
14859
14860 fi
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14862 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14863 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14864 ;;
14865 esac
14866 fi
14867 ;;
14868 esac
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14934 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14935
14936 library_names_spec=
14937 libname_spec='lib$name'
14938 soname_spec=
14939 shrext_cmds=".so"
14940 postinstall_cmds=
14941 postuninstall_cmds=
14942 finish_cmds=
14943 finish_eval=
14944 shlibpath_var=
14945 shlibpath_overrides_runpath=unknown
14946 version_type=none
14947 dynamic_linker="$host_os ld.so"
14948 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14949 need_lib_prefix=unknown
14950 hardcode_into_libs=no
14951
14952 # when you set need_version to no, make sure it does not cause -set_version
14953 # flags to be left without arguments
14954 need_version=unknown
14955
14956 case $host_os in
14957 aix3*)
14958 version_type=linux
14959 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14960 shlibpath_var=LIBPATH
14961
14962 # AIX 3 has no versioning support, so we append a major version to the name.
14963 soname_spec='${libname}${release}${shared_ext}$major'
14964 ;;
14965
14966 aix[4-9]*)
14967 version_type=linux
14968 need_lib_prefix=no
14969 need_version=no
14970 hardcode_into_libs=yes
14971 if test "$host_cpu" = ia64; then
14972 # AIX 5 supports IA64
14973 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14974 shlibpath_var=LD_LIBRARY_PATH
14975 else
14976 # With GCC up to 2.95.x, collect2 would create an import file
14977 # for dependence libraries. The import file would start with
14978 # the line `#! .'. This would cause the generated library to
14979 # depend on `.', always an invalid library. This was fixed in
14980 # development snapshots of GCC prior to 3.0.
14981 case $host_os in
14982 aix4 | aix4.[01] | aix4.[01].*)
14983 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14984 echo ' yes '
14985 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14986 :
14987 else
14988 can_build_shared=no
14989 fi
14990 ;;
14991 esac
14992 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14993 # soname into executable. Probably we can add versioning support to
14994 # collect2, so additional links can be useful in future.
14995 if test "$aix_use_runtimelinking" = yes; then
14996 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14997 # instead of lib<name>.a to let people know that these are not
14998 # typical AIX shared libraries.
14999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15000 else
15001 # We preserve .a as extension for shared libraries through AIX4.2
15002 # and later when we are not doing run time linking.
15003 library_names_spec='${libname}${release}.a $libname.a'
15004 soname_spec='${libname}${release}${shared_ext}$major'
15005 fi
15006 shlibpath_var=LIBPATH
15007 fi
15008 ;;
15009
15010 amigaos*)
15011 case $host_cpu in
15012 powerpc)
15013 # Since July 2007 AmigaOS4 officially supports .so libraries.
15014 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15016 ;;
15017 m68k)
15018 library_names_spec='$libname.ixlibrary $libname.a'
15019 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15020 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'
15021 ;;
15022 esac
15023 ;;
15024
15025 beos*)
15026 library_names_spec='${libname}${shared_ext}'
15027 dynamic_linker="$host_os ld.so"
15028 shlibpath_var=LIBRARY_PATH
15029 ;;
15030
15031 bsdi[45]*)
15032 version_type=linux
15033 need_version=no
15034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15035 soname_spec='${libname}${release}${shared_ext}$major'
15036 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15037 shlibpath_var=LD_LIBRARY_PATH
15038 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15039 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15040 # the default ld.so.conf also contains /usr/contrib/lib and
15041 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15042 # libtool to hard-code these into programs
15043 ;;
15044
15045 cygwin* | mingw* | pw32* | cegcc*)
15046 version_type=windows
15047 shrext_cmds=".dll"
15048 need_version=no
15049 need_lib_prefix=no
15050
15051 case $GCC,$host_os in
15052 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15053 library_names_spec='$libname.dll.a'
15054 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15055 postinstall_cmds='base_file=`basename \${file}`~
15056 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15057 dldir=$destdir/`dirname \$dlpath`~
15058 test -d \$dldir || mkdir -p \$dldir~
15059 $install_prog $dir/$dlname \$dldir/$dlname~
15060 chmod a+x \$dldir/$dlname~
15061 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15062 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15063 fi'
15064 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15065 dlpath=$dir/\$dldll~
15066 $RM \$dlpath'
15067 shlibpath_overrides_runpath=yes
15068
15069 case $host_os in
15070 cygwin*)
15071 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15072 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15073
15074 ;;
15075 mingw* | cegcc*)
15076 # MinGW DLLs use traditional 'lib' prefix
15077 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15078 ;;
15079 pw32*)
15080 # pw32 DLLs use 'pw' prefix rather than 'lib'
15081 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15082 ;;
15083 esac
15084 ;;
15085
15086 *)
15087 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15088 ;;
15089 esac
15090 dynamic_linker='Win32 ld.exe'
15091 # FIXME: first we should search . and the directory the executable is in
15092 shlibpath_var=PATH
15093 ;;
15094
15095 darwin* | rhapsody*)
15096 dynamic_linker="$host_os dyld"
15097 version_type=darwin
15098 need_lib_prefix=no
15099 need_version=no
15100 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15101 soname_spec='${libname}${release}${major}$shared_ext'
15102 shlibpath_overrides_runpath=yes
15103 shlibpath_var=DYLD_LIBRARY_PATH
15104 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15105
15106 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15107 ;;
15108
15109 dgux*)
15110 version_type=linux
15111 need_lib_prefix=no
15112 need_version=no
15113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15114 soname_spec='${libname}${release}${shared_ext}$major'
15115 shlibpath_var=LD_LIBRARY_PATH
15116 ;;
15117
15118 freebsd* | dragonfly*)
15119 # DragonFly does not have aout. When/if they implement a new
15120 # versioning mechanism, adjust this.
15121 if test -x /usr/bin/objformat; then
15122 objformat=`/usr/bin/objformat`
15123 else
15124 case $host_os in
15125 freebsd[23].*) objformat=aout ;;
15126 *) objformat=elf ;;
15127 esac
15128 fi
15129 version_type=freebsd-$objformat
15130 case $version_type in
15131 freebsd-elf*)
15132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15133 need_version=no
15134 need_lib_prefix=no
15135 ;;
15136 freebsd-*)
15137 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15138 need_version=yes
15139 ;;
15140 esac
15141 shlibpath_var=LD_LIBRARY_PATH
15142 case $host_os in
15143 freebsd2.*)
15144 shlibpath_overrides_runpath=yes
15145 ;;
15146 freebsd3.[01]* | freebsdelf3.[01]*)
15147 shlibpath_overrides_runpath=yes
15148 hardcode_into_libs=yes
15149 ;;
15150 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15151 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15152 shlibpath_overrides_runpath=no
15153 hardcode_into_libs=yes
15154 ;;
15155 *) # from 4.6 on, and DragonFly
15156 shlibpath_overrides_runpath=yes
15157 hardcode_into_libs=yes
15158 ;;
15159 esac
15160 ;;
15161
15162 gnu*)
15163 version_type=linux
15164 need_lib_prefix=no
15165 need_version=no
15166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15167 soname_spec='${libname}${release}${shared_ext}$major'
15168 shlibpath_var=LD_LIBRARY_PATH
15169 hardcode_into_libs=yes
15170 ;;
15171
15172 haiku*)
15173 version_type=linux
15174 need_lib_prefix=no
15175 need_version=no
15176 dynamic_linker="$host_os runtime_loader"
15177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15178 soname_spec='${libname}${release}${shared_ext}$major'
15179 shlibpath_var=LIBRARY_PATH
15180 shlibpath_overrides_runpath=yes
15181 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15182 hardcode_into_libs=yes
15183 ;;
15184
15185 hpux9* | hpux10* | hpux11*)
15186 # Give a soname corresponding to the major version so that dld.sl refuses to
15187 # link against other versions.
15188 version_type=sunos
15189 need_lib_prefix=no
15190 need_version=no
15191 case $host_cpu in
15192 ia64*)
15193 shrext_cmds='.so'
15194 hardcode_into_libs=yes
15195 dynamic_linker="$host_os dld.so"
15196 shlibpath_var=LD_LIBRARY_PATH
15197 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15199 soname_spec='${libname}${release}${shared_ext}$major'
15200 if test "X$HPUX_IA64_MODE" = X32; then
15201 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15202 else
15203 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15204 fi
15205 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15206 ;;
15207 hppa*64*)
15208 shrext_cmds='.sl'
15209 hardcode_into_libs=yes
15210 dynamic_linker="$host_os dld.sl"
15211 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15212 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15214 soname_spec='${libname}${release}${shared_ext}$major'
15215 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15216 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15217 ;;
15218 *)
15219 shrext_cmds='.sl'
15220 dynamic_linker="$host_os dld.sl"
15221 shlibpath_var=SHLIB_PATH
15222 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15224 soname_spec='${libname}${release}${shared_ext}$major'
15225 ;;
15226 esac
15227 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15228 postinstall_cmds='chmod 555 $lib'
15229 # or fails outright, so override atomically:
15230 install_override_mode=555
15231 ;;
15232
15233 interix[3-9]*)
15234 version_type=linux
15235 need_lib_prefix=no
15236 need_version=no
15237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15238 soname_spec='${libname}${release}${shared_ext}$major'
15239 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15240 shlibpath_var=LD_LIBRARY_PATH
15241 shlibpath_overrides_runpath=no
15242 hardcode_into_libs=yes
15243 ;;
15244
15245 irix5* | irix6* | nonstopux*)
15246 case $host_os in
15247 nonstopux*) version_type=nonstopux ;;
15248 *)
15249 if test "$lt_cv_prog_gnu_ld" = yes; then
15250 version_type=linux
15251 else
15252 version_type=irix
15253 fi ;;
15254 esac
15255 need_lib_prefix=no
15256 need_version=no
15257 soname_spec='${libname}${release}${shared_ext}$major'
15258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15259 case $host_os in
15260 irix5* | nonstopux*)
15261 libsuff= shlibsuff=
15262 ;;
15263 *)
15264 case $LD in # libtool.m4 will add one of these switches to LD
15265 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15266 libsuff= shlibsuff= libmagic=32-bit;;
15267 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15268 libsuff=32 shlibsuff=N32 libmagic=N32;;
15269 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15270 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15271 *) libsuff= shlibsuff= libmagic=never-match;;
15272 esac
15273 ;;
15274 esac
15275 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15276 shlibpath_overrides_runpath=no
15277 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15278 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15279 hardcode_into_libs=yes
15280 ;;
15281
15282 # No shared lib support for Linux oldld, aout, or coff.
15283 linux*oldld* | linux*aout* | linux*coff*)
15284 dynamic_linker=no
15285 ;;
15286
15287 # This must be Linux ELF.
15288 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15289 version_type=linux
15290 need_lib_prefix=no
15291 need_version=no
15292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15293 soname_spec='${libname}${release}${shared_ext}$major'
15294 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15295 shlibpath_var=LD_LIBRARY_PATH
15296 shlibpath_overrides_runpath=no
15297
15298 # Some binutils ld are patched to set DT_RUNPATH
15299 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15302 lt_cv_shlibpath_overrides_runpath=no
15303 save_LDFLAGS=$LDFLAGS
15304 save_libdir=$libdir
15305 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15306 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15307 if test x$gcc_no_link = xyes; then
15308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15309 fi
15310 cat > conftest.$ac_ext <<_ACEOF
15311 program main
15312
15313 end
15314 _ACEOF
15315 if ac_fn_fc_try_link "$LINENO"; then :
15316 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15317 lt_cv_shlibpath_overrides_runpath=yes
15318 fi
15319 fi
15320 rm -f core conftest.err conftest.$ac_objext \
15321 conftest$ac_exeext conftest.$ac_ext
15322 LDFLAGS=$save_LDFLAGS
15323 libdir=$save_libdir
15324
15325 fi
15326
15327 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15328
15329 # This implies no fast_install, which is unacceptable.
15330 # Some rework will be needed to allow for fast_install
15331 # before this can be enabled.
15332 hardcode_into_libs=yes
15333
15334 # Append ld.so.conf contents to the search path
15335 if test -f /etc/ld.so.conf; then
15336 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' ' '`
15337 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15338 fi
15339
15340 # We used to test for /lib/ld.so.1 and disable shared libraries on
15341 # powerpc, because MkLinux only supported shared libraries with the
15342 # GNU dynamic linker. Since this was broken with cross compilers,
15343 # most powerpc-linux boxes support dynamic linking these days and
15344 # people can always --disable-shared, the test was removed, and we
15345 # assume the GNU/Linux dynamic linker is in use.
15346 dynamic_linker='GNU/Linux ld.so'
15347 ;;
15348
15349 netbsd*)
15350 version_type=sunos
15351 need_lib_prefix=no
15352 need_version=no
15353 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15355 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15356 dynamic_linker='NetBSD (a.out) ld.so'
15357 else
15358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15359 soname_spec='${libname}${release}${shared_ext}$major'
15360 dynamic_linker='NetBSD ld.elf_so'
15361 fi
15362 shlibpath_var=LD_LIBRARY_PATH
15363 shlibpath_overrides_runpath=yes
15364 hardcode_into_libs=yes
15365 ;;
15366
15367 newsos6)
15368 version_type=linux
15369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15370 shlibpath_var=LD_LIBRARY_PATH
15371 shlibpath_overrides_runpath=yes
15372 ;;
15373
15374 *nto* | *qnx*)
15375 version_type=qnx
15376 need_lib_prefix=no
15377 need_version=no
15378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15379 soname_spec='${libname}${release}${shared_ext}$major'
15380 shlibpath_var=LD_LIBRARY_PATH
15381 shlibpath_overrides_runpath=no
15382 hardcode_into_libs=yes
15383 dynamic_linker='ldqnx.so'
15384 ;;
15385
15386 openbsd*)
15387 version_type=sunos
15388 sys_lib_dlsearch_path_spec="/usr/lib"
15389 need_lib_prefix=no
15390 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15391 case $host_os in
15392 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15393 *) need_version=no ;;
15394 esac
15395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15396 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15397 shlibpath_var=LD_LIBRARY_PATH
15398 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15399 case $host_os in
15400 openbsd2.[89] | openbsd2.[89].*)
15401 shlibpath_overrides_runpath=no
15402 ;;
15403 *)
15404 shlibpath_overrides_runpath=yes
15405 ;;
15406 esac
15407 else
15408 shlibpath_overrides_runpath=yes
15409 fi
15410 ;;
15411
15412 os2*)
15413 libname_spec='$name'
15414 shrext_cmds=".dll"
15415 need_lib_prefix=no
15416 library_names_spec='$libname${shared_ext} $libname.a'
15417 dynamic_linker='OS/2 ld.exe'
15418 shlibpath_var=LIBPATH
15419 ;;
15420
15421 osf3* | osf4* | osf5*)
15422 version_type=osf
15423 need_lib_prefix=no
15424 need_version=no
15425 soname_spec='${libname}${release}${shared_ext}$major'
15426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15427 shlibpath_var=LD_LIBRARY_PATH
15428 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15429 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15430 ;;
15431
15432 rdos*)
15433 dynamic_linker=no
15434 ;;
15435
15436 solaris*)
15437 version_type=linux
15438 need_lib_prefix=no
15439 need_version=no
15440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15441 soname_spec='${libname}${release}${shared_ext}$major'
15442 shlibpath_var=LD_LIBRARY_PATH
15443 shlibpath_overrides_runpath=yes
15444 hardcode_into_libs=yes
15445 # ldd complains unless libraries are executable
15446 postinstall_cmds='chmod +x $lib'
15447 ;;
15448
15449 sunos4*)
15450 version_type=sunos
15451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15452 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15453 shlibpath_var=LD_LIBRARY_PATH
15454 shlibpath_overrides_runpath=yes
15455 if test "$with_gnu_ld" = yes; then
15456 need_lib_prefix=no
15457 fi
15458 need_version=yes
15459 ;;
15460
15461 sysv4 | sysv4.3*)
15462 version_type=linux
15463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15464 soname_spec='${libname}${release}${shared_ext}$major'
15465 shlibpath_var=LD_LIBRARY_PATH
15466 case $host_vendor in
15467 sni)
15468 shlibpath_overrides_runpath=no
15469 need_lib_prefix=no
15470 runpath_var=LD_RUN_PATH
15471 ;;
15472 siemens)
15473 need_lib_prefix=no
15474 ;;
15475 motorola)
15476 need_lib_prefix=no
15477 need_version=no
15478 shlibpath_overrides_runpath=no
15479 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15480 ;;
15481 esac
15482 ;;
15483
15484 sysv4*MP*)
15485 if test -d /usr/nec ;then
15486 version_type=linux
15487 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15488 soname_spec='$libname${shared_ext}.$major'
15489 shlibpath_var=LD_LIBRARY_PATH
15490 fi
15491 ;;
15492
15493 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15494 version_type=freebsd-elf
15495 need_lib_prefix=no
15496 need_version=no
15497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15498 soname_spec='${libname}${release}${shared_ext}$major'
15499 shlibpath_var=LD_LIBRARY_PATH
15500 shlibpath_overrides_runpath=yes
15501 hardcode_into_libs=yes
15502 if test "$with_gnu_ld" = yes; then
15503 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15504 else
15505 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15506 case $host_os in
15507 sco3.2v5*)
15508 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15509 ;;
15510 esac
15511 fi
15512 sys_lib_dlsearch_path_spec='/usr/lib'
15513 ;;
15514
15515 tpf*)
15516 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15517 version_type=linux
15518 need_lib_prefix=no
15519 need_version=no
15520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15521 shlibpath_var=LD_LIBRARY_PATH
15522 shlibpath_overrides_runpath=no
15523 hardcode_into_libs=yes
15524 ;;
15525
15526 uts4*)
15527 version_type=linux
15528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15529 soname_spec='${libname}${release}${shared_ext}$major'
15530 shlibpath_var=LD_LIBRARY_PATH
15531 ;;
15532
15533 *)
15534 dynamic_linker=no
15535 ;;
15536 esac
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15538 $as_echo "$dynamic_linker" >&6; }
15539 test "$dynamic_linker" = no && can_build_shared=no
15540
15541 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15542 if test "$GCC" = yes; then
15543 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15544 fi
15545
15546 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15547 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15548 fi
15549 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15550 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15551 fi
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15591 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15592 hardcode_action_FC=
15593 if test -n "$hardcode_libdir_flag_spec_FC" ||
15594 test -n "$runpath_var_FC" ||
15595 test "X$hardcode_automatic_FC" = "Xyes" ; then
15596
15597 # We can hardcode non-existent directories.
15598 if test "$hardcode_direct_FC" != no &&
15599 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15600 # have to relink, otherwise we might link with an installed library
15601 # when we should be linking with a yet-to-be-installed one
15602 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15603 test "$hardcode_minus_L_FC" != no; then
15604 # Linking always hardcodes the temporary library directory.
15605 hardcode_action_FC=relink
15606 else
15607 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15608 hardcode_action_FC=immediate
15609 fi
15610 else
15611 # We cannot hardcode anything, or else we can only hardcode existing
15612 # directories.
15613 hardcode_action_FC=unsupported
15614 fi
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15616 $as_echo "$hardcode_action_FC" >&6; }
15617
15618 if test "$hardcode_action_FC" = relink ||
15619 test "$inherit_rpath_FC" = yes; then
15620 # Fast installation is not supported
15621 enable_fast_install=no
15622 elif test "$shlibpath_overrides_runpath" = yes ||
15623 test "$enable_shared" = no; then
15624 # Fast installation is not necessary
15625 enable_fast_install=needless
15626 fi
15627
15628
15629
15630
15631
15632
15633
15634 fi # test -n "$compiler"
15635
15636 GCC=$lt_save_GCC
15637 CC="$lt_save_CC"
15638 fi # test "$_lt_disable_FC" != yes
15639
15640 ac_ext=c
15641 ac_cpp='$CPP $CPPFLAGS'
15642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15645
15646
15647
15648 # extra LD Flags which are required for targets
15649 case "${host}" in
15650 *-darwin*)
15651 # Darwin needs -single_module when linking libgfortran
15652 extra_ldflags_libgfortran=-Wl,-single_module
15653 ;;
15654 esac
15655
15656
15657 # We need a working compiler at that point, otherwise give a clear
15658 # error message and bail out.
15659
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15661 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15662 ac_ext=${ac_fc_srcext-f}
15663 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15664 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15665 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15666
15667 cat > conftest.$ac_ext <<_ACEOF
15668
15669 program foo
15670 real, parameter :: bar = sin (12.34 / 2.5)
15671 end program foo
15672 _ACEOF
15673 if ac_fn_fc_try_compile "$LINENO"; then :
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15675 $as_echo "yes" >&6; }
15676 else
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15678 $as_echo "no" >&6; }
15679 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15680
15681 fi
15682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15683 ac_ext=c
15684 ac_cpp='$CPP $CPPFLAGS'
15685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15688
15689
15690
15691 # Check whether --enable-largefile was given.
15692 if test "${enable_largefile+set}" = set; then :
15693 enableval=$enable_largefile;
15694 fi
15695
15696 if test "$enable_largefile" != no; then
15697
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15699 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15700 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15701 $as_echo_n "(cached) " >&6
15702 else
15703 ac_cv_sys_largefile_CC=no
15704 if test "$GCC" != yes; then
15705 ac_save_CC=$CC
15706 while :; do
15707 # IRIX 6.2 and later do not support large files by default,
15708 # so use the C compiler's -n32 option if that helps.
15709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15711 #include <sys/types.h>
15712 /* Check that off_t can represent 2**63 - 1 correctly.
15713 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15714 since some C++ compilers masquerading as C compilers
15715 incorrectly reject 9223372036854775807. */
15716 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15717 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15718 && LARGE_OFF_T % 2147483647 == 1)
15719 ? 1 : -1];
15720 int
15721 main ()
15722 {
15723
15724 ;
15725 return 0;
15726 }
15727 _ACEOF
15728 if ac_fn_c_try_compile "$LINENO"; then :
15729 break
15730 fi
15731 rm -f core conftest.err conftest.$ac_objext
15732 CC="$CC -n32"
15733 if ac_fn_c_try_compile "$LINENO"; then :
15734 ac_cv_sys_largefile_CC=' -n32'; break
15735 fi
15736 rm -f core conftest.err conftest.$ac_objext
15737 break
15738 done
15739 CC=$ac_save_CC
15740 rm -f conftest.$ac_ext
15741 fi
15742 fi
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15744 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15745 if test "$ac_cv_sys_largefile_CC" != no; then
15746 CC=$CC$ac_cv_sys_largefile_CC
15747 fi
15748
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15750 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15751 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15752 $as_echo_n "(cached) " >&6
15753 else
15754 while :; do
15755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15756 /* end confdefs.h. */
15757 #include <sys/types.h>
15758 /* Check that off_t can represent 2**63 - 1 correctly.
15759 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15760 since some C++ compilers masquerading as C compilers
15761 incorrectly reject 9223372036854775807. */
15762 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15763 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15764 && LARGE_OFF_T % 2147483647 == 1)
15765 ? 1 : -1];
15766 int
15767 main ()
15768 {
15769
15770 ;
15771 return 0;
15772 }
15773 _ACEOF
15774 if ac_fn_c_try_compile "$LINENO"; then :
15775 ac_cv_sys_file_offset_bits=no; break
15776 fi
15777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15779 /* end confdefs.h. */
15780 #define _FILE_OFFSET_BITS 64
15781 #include <sys/types.h>
15782 /* Check that off_t can represent 2**63 - 1 correctly.
15783 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15784 since some C++ compilers masquerading as C compilers
15785 incorrectly reject 9223372036854775807. */
15786 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15787 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15788 && LARGE_OFF_T % 2147483647 == 1)
15789 ? 1 : -1];
15790 int
15791 main ()
15792 {
15793
15794 ;
15795 return 0;
15796 }
15797 _ACEOF
15798 if ac_fn_c_try_compile "$LINENO"; then :
15799 ac_cv_sys_file_offset_bits=64; break
15800 fi
15801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15802 ac_cv_sys_file_offset_bits=unknown
15803 break
15804 done
15805 fi
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15807 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15808 case $ac_cv_sys_file_offset_bits in #(
15809 no | unknown) ;;
15810 *)
15811 cat >>confdefs.h <<_ACEOF
15812 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15813 _ACEOF
15814 ;;
15815 esac
15816 rm -rf conftest*
15817 if test $ac_cv_sys_file_offset_bits = unknown; then
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15819 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15820 if test "${ac_cv_sys_large_files+set}" = set; then :
15821 $as_echo_n "(cached) " >&6
15822 else
15823 while :; do
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 #include <sys/types.h>
15827 /* Check that off_t can represent 2**63 - 1 correctly.
15828 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15829 since some C++ compilers masquerading as C compilers
15830 incorrectly reject 9223372036854775807. */
15831 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15832 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15833 && LARGE_OFF_T % 2147483647 == 1)
15834 ? 1 : -1];
15835 int
15836 main ()
15837 {
15838
15839 ;
15840 return 0;
15841 }
15842 _ACEOF
15843 if ac_fn_c_try_compile "$LINENO"; then :
15844 ac_cv_sys_large_files=no; break
15845 fi
15846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15848 /* end confdefs.h. */
15849 #define _LARGE_FILES 1
15850 #include <sys/types.h>
15851 /* Check that off_t can represent 2**63 - 1 correctly.
15852 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15853 since some C++ compilers masquerading as C compilers
15854 incorrectly reject 9223372036854775807. */
15855 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15856 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15857 && LARGE_OFF_T % 2147483647 == 1)
15858 ? 1 : -1];
15859 int
15860 main ()
15861 {
15862
15863 ;
15864 return 0;
15865 }
15866 _ACEOF
15867 if ac_fn_c_try_compile "$LINENO"; then :
15868 ac_cv_sys_large_files=1; break
15869 fi
15870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15871 ac_cv_sys_large_files=unknown
15872 break
15873 done
15874 fi
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15876 $as_echo "$ac_cv_sys_large_files" >&6; }
15877 case $ac_cv_sys_large_files in #(
15878 no | unknown) ;;
15879 *)
15880 cat >>confdefs.h <<_ACEOF
15881 #define _LARGE_FILES $ac_cv_sys_large_files
15882 _ACEOF
15883 ;;
15884 esac
15885 rm -rf conftest*
15886 fi
15887 fi
15888
15889
15890 # Types
15891 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15892 if test "x$ac_cv_type_off_t" = x""yes; then :
15893
15894 else
15895
15896 cat >>confdefs.h <<_ACEOF
15897 #define off_t long int
15898 _ACEOF
15899
15900 fi
15901
15902
15903 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15904 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15905
15906 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15907
15908 else
15909 for ac_type in 'int' 'long int' 'long long int'; do
15910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15911 /* end confdefs.h. */
15912 $ac_includes_default
15913 int
15914 main ()
15915 {
15916 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15917 test_array [0] = 0
15918
15919 ;
15920 return 0;
15921 }
15922 _ACEOF
15923 if ac_fn_c_try_compile "$LINENO"; then :
15924
15925 cat >>confdefs.h <<_ACEOF
15926 #define intptr_t $ac_type
15927 _ACEOF
15928
15929 ac_type=
15930 fi
15931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15932 test -z "$ac_type" && break
15933 done
15934 fi
15935
15936
15937
15938 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15939 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15940
15941 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15942
15943 else
15944 for ac_type in 'unsigned int' 'unsigned long int' \
15945 'unsigned long long int'; do
15946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15947 /* end confdefs.h. */
15948 $ac_includes_default
15949 int
15950 main ()
15951 {
15952 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15953 test_array [0] = 0
15954
15955 ;
15956 return 0;
15957 }
15958 _ACEOF
15959 if ac_fn_c_try_compile "$LINENO"; then :
15960
15961 cat >>confdefs.h <<_ACEOF
15962 #define uintptr_t $ac_type
15963 _ACEOF
15964
15965 ac_type=
15966 fi
15967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15968 test -z "$ac_type" && break
15969 done
15970 fi
15971
15972
15973 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15974 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15975
15976 cat >>confdefs.h <<_ACEOF
15977 #define HAVE_PTRDIFF_T 1
15978 _ACEOF
15979
15980
15981 fi
15982
15983
15984 # check header files (we assume C89 is available, so don't check for that)
15985
15986
15987
15988 for ac_header in $ac_header_list
15989 do :
15990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15991 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15992 "
15993 eval as_val=\$$as_ac_Header
15994 if test "x$as_val" = x""yes; then :
15995 cat >>confdefs.h <<_ACEOF
15996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15997 _ACEOF
15998
15999 fi
16000
16001 done
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16038
16039 acx_cv_header_stdint=stddef.h
16040 acx_cv_header_stdint_kind="(already complete)"
16041 for i in stdint.h $inttype_headers; do
16042 unset ac_cv_type_uintptr_t
16043 unset ac_cv_type_uintmax_t
16044 unset ac_cv_type_int_least32_t
16045 unset ac_cv_type_int_fast32_t
16046 unset ac_cv_type_uint64_t
16047 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16048 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16049 #include <$i>
16050 "
16051 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16052 acx_cv_header_stdint=$i
16053 else
16054 continue
16055 fi
16056
16057 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16058 #include <$i>
16059 "
16060 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16061
16062 else
16063 acx_cv_header_stdint_kind="(mostly complete)"
16064 fi
16065
16066 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16067 #include <$i>
16068 "
16069 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16070
16071 else
16072 acx_cv_header_stdint_kind="(mostly complete)"
16073 fi
16074
16075 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16076 #include <$i>
16077 "
16078 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16079
16080 else
16081 acx_cv_header_stdint_kind="(mostly complete)"
16082 fi
16083
16084 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16085 #include <$i>
16086 "
16087 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16088
16089 else
16090 acx_cv_header_stdint_kind="(lacks uint64_t)"
16091 fi
16092
16093 break
16094 done
16095 if test "$acx_cv_header_stdint" = stddef.h; then
16096 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16097 for i in stdint.h $inttype_headers; do
16098 unset ac_cv_type_uintptr_t
16099 unset ac_cv_type_uint32_t
16100 unset ac_cv_type_uint64_t
16101 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16102 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16103 #include <$i>
16104 "
16105 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16106 acx_cv_header_stdint=$i
16107 else
16108 continue
16109 fi
16110
16111 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16112 #include <$i>
16113 "
16114 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16115
16116 fi
16117
16118 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16119 #include <$i>
16120 "
16121 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16122
16123 fi
16124
16125 break
16126 done
16127 fi
16128 if test "$acx_cv_header_stdint" = stddef.h; then
16129 acx_cv_header_stdint_kind="(u_intXX_t style)"
16130 for i in sys/types.h $inttype_headers; do
16131 unset ac_cv_type_u_int32_t
16132 unset ac_cv_type_u_int64_t
16133 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16134 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16135 #include <$i>
16136 "
16137 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16138 acx_cv_header_stdint=$i
16139 else
16140 continue
16141 fi
16142
16143 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16144 #include <$i>
16145 "
16146 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16147
16148 fi
16149
16150 break
16151 done
16152 fi
16153 if test "$acx_cv_header_stdint" = stddef.h; then
16154 acx_cv_header_stdint_kind="(using manual detection)"
16155 fi
16156
16157 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16158 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16159 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16160 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16161 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16162
16163 # ----------------- Summarize what we found so far
16164
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16166 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16167
16168 case `$as_basename -- gstdint.h ||
16169 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16170 Xgstdint.h : 'X\(//\)$' \| \
16171 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16172 $as_echo X/gstdint.h |
16173 sed '/^.*\/\([^/][^/]*\)\/*$/{
16174 s//\1/
16175 q
16176 }
16177 /^X\/\(\/\/\)$/{
16178 s//\1/
16179 q
16180 }
16181 /^X\/\(\/\).*/{
16182 s//\1/
16183 q
16184 }
16185 s/.*/./; q'` in
16186 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16187 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16188 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16189 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16190 *) ;;
16191 esac
16192
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16194 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16195
16196 # ----------------- done included file, check C basic types --------
16197
16198 # Lacking an uintptr_t? Test size of void *
16199 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16200 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16201 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16202 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16203 # This bug is HP SR number 8606223364.
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16205 $as_echo_n "checking size of void *... " >&6; }
16206 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16207 $as_echo_n "(cached) " >&6
16208 else
16209 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16210
16211 else
16212 if test "$ac_cv_type_void_p" = yes; then
16213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16215 { as_fn_set_status 77
16216 as_fn_error "cannot compute sizeof (void *)
16217 See \`config.log' for more details." "$LINENO" 5; }; }
16218 else
16219 ac_cv_sizeof_void_p=0
16220 fi
16221 fi
16222
16223 fi
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16225 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16226
16227
16228
16229 cat >>confdefs.h <<_ACEOF
16230 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16231 _ACEOF
16232
16233 ;;
16234 esac
16235
16236 # Lacking an uint64_t? Test size of long
16237 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16238 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16239 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16241 # This bug is HP SR number 8606223364.
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16243 $as_echo_n "checking size of long... " >&6; }
16244 if test "${ac_cv_sizeof_long+set}" = set; then :
16245 $as_echo_n "(cached) " >&6
16246 else
16247 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16248
16249 else
16250 if test "$ac_cv_type_long" = yes; then
16251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16253 { as_fn_set_status 77
16254 as_fn_error "cannot compute sizeof (long)
16255 See \`config.log' for more details." "$LINENO" 5; }; }
16256 else
16257 ac_cv_sizeof_long=0
16258 fi
16259 fi
16260
16261 fi
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16263 $as_echo "$ac_cv_sizeof_long" >&6; }
16264
16265
16266
16267 cat >>confdefs.h <<_ACEOF
16268 #define SIZEOF_LONG $ac_cv_sizeof_long
16269 _ACEOF
16270
16271 ;;
16272 esac
16273
16274 if test $acx_cv_header_stdint = stddef.h; then
16275 # Lacking a good header? Test size of everything and deduce all types.
16276 # The cast to long int works around a bug in the HP C Compiler
16277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16279 # This bug is HP SR number 8606223364.
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16281 $as_echo_n "checking size of int... " >&6; }
16282 if test "${ac_cv_sizeof_int+set}" = set; then :
16283 $as_echo_n "(cached) " >&6
16284 else
16285 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16286
16287 else
16288 if test "$ac_cv_type_int" = yes; then
16289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16291 { as_fn_set_status 77
16292 as_fn_error "cannot compute sizeof (int)
16293 See \`config.log' for more details." "$LINENO" 5; }; }
16294 else
16295 ac_cv_sizeof_int=0
16296 fi
16297 fi
16298
16299 fi
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16301 $as_echo "$ac_cv_sizeof_int" >&6; }
16302
16303
16304
16305 cat >>confdefs.h <<_ACEOF
16306 #define SIZEOF_INT $ac_cv_sizeof_int
16307 _ACEOF
16308
16309
16310 # The cast to long int works around a bug in the HP C Compiler
16311 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16312 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16313 # This bug is HP SR number 8606223364.
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16315 $as_echo_n "checking size of short... " >&6; }
16316 if test "${ac_cv_sizeof_short+set}" = set; then :
16317 $as_echo_n "(cached) " >&6
16318 else
16319 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16320
16321 else
16322 if test "$ac_cv_type_short" = yes; then
16323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16325 { as_fn_set_status 77
16326 as_fn_error "cannot compute sizeof (short)
16327 See \`config.log' for more details." "$LINENO" 5; }; }
16328 else
16329 ac_cv_sizeof_short=0
16330 fi
16331 fi
16332
16333 fi
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16335 $as_echo "$ac_cv_sizeof_short" >&6; }
16336
16337
16338
16339 cat >>confdefs.h <<_ACEOF
16340 #define SIZEOF_SHORT $ac_cv_sizeof_short
16341 _ACEOF
16342
16343
16344 # The cast to long int works around a bug in the HP C Compiler
16345 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16346 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16347 # This bug is HP SR number 8606223364.
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16349 $as_echo_n "checking size of char... " >&6; }
16350 if test "${ac_cv_sizeof_char+set}" = set; then :
16351 $as_echo_n "(cached) " >&6
16352 else
16353 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16354
16355 else
16356 if test "$ac_cv_type_char" = yes; then
16357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16359 { as_fn_set_status 77
16360 as_fn_error "cannot compute sizeof (char)
16361 See \`config.log' for more details." "$LINENO" 5; }; }
16362 else
16363 ac_cv_sizeof_char=0
16364 fi
16365 fi
16366
16367 fi
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16369 $as_echo "$ac_cv_sizeof_char" >&6; }
16370
16371
16372
16373 cat >>confdefs.h <<_ACEOF
16374 #define SIZEOF_CHAR $ac_cv_sizeof_char
16375 _ACEOF
16376
16377
16378
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16380 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16381 case "$ac_cv_sizeof_char" in
16382 1) acx_cv_type_int8_t=char ;;
16383 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16384 esac
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16386 $as_echo "$acx_cv_type_int8_t" >&6; }
16387
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16389 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16390 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16391 2:*) acx_cv_type_int16_t=int ;;
16392 *:2) acx_cv_type_int16_t=short ;;
16393 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16394 esac
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16396 $as_echo "$acx_cv_type_int16_t" >&6; }
16397
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16399 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16400 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16401 4:*) acx_cv_type_int32_t=int ;;
16402 *:4) acx_cv_type_int32_t=long ;;
16403 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16404 esac
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16406 $as_echo "$acx_cv_type_int32_t" >&6; }
16407 fi
16408
16409 # These tests are here to make the output prettier
16410
16411 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16412 case "$ac_cv_sizeof_long" in
16413 8) acx_cv_type_int64_t=long ;;
16414 esac
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16416 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16418 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16419 fi
16420
16421 # Now we can use the above types
16422
16423 if test "$ac_cv_type_uintptr_t" != yes; then
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16425 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16426 case $ac_cv_sizeof_void_p in
16427 2) acx_cv_type_intptr_t=int16_t ;;
16428 4) acx_cv_type_intptr_t=int32_t ;;
16429 8) acx_cv_type_intptr_t=int64_t ;;
16430 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16431 esac
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16433 $as_echo "$acx_cv_type_intptr_t" >&6; }
16434 fi
16435
16436 # ----------------- done all checks, emit header -------------
16437 ac_config_commands="$ac_config_commands gstdint.h"
16438
16439
16440
16441
16442 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16443 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16444
16445 cat >>confdefs.h <<_ACEOF
16446 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16447 _ACEOF
16448
16449
16450 fi
16451 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16452 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16453
16454 cat >>confdefs.h <<_ACEOF
16455 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16456 _ACEOF
16457
16458
16459 fi
16460 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16461 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16462
16463 cat >>confdefs.h <<_ACEOF
16464 #define HAVE_STRUCT_STAT_ST_RDEV 1
16465 _ACEOF
16466
16467
16468 fi
16469
16470
16471 case "${host}--x${with_newlib}" in
16472 mips*--xyes)
16473 hardwire_newlib=1;;
16474 esac
16475
16476 # Check for library functions.
16477 if test "${hardwire_newlib:-0}" -eq 1; then
16478 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16479 # may not work correctly, because the compiler may not be able to
16480 # link executables.
16481
16482 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16483
16484
16485 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16486
16487
16488 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16489
16490
16491 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16492
16493
16494 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16495
16496
16497 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16498
16499
16500 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16501
16502
16503 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16504
16505
16506 # At some point, we should differentiate between architectures
16507 # like x86, which have long double versions, and alpha/powerpc/etc.,
16508 # which don't. For the time being, punt.
16509 if test x"long_double_math_on_this_cpu" = x"yes"; then
16510
16511 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16512
16513 fi
16514 else
16515
16516
16517
16518 for ac_func in $ac_func_list
16519 do :
16520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16522 eval as_val=\$$as_ac_var
16523 if test "x$as_val" = x""yes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16526 _ACEOF
16527
16528 fi
16529 done
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630 fi
16631
16632 # Check strerror_r, cannot be above as versions with two and three arguments exist
16633
16634 ac_save_CFLAGS="$CFLAGS"
16635 CFLAGS="-Wimplicit-function-declaration -Werror"
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #define _GNU_SOURCE 1
16639 #include <string.h>
16640 #include <locale.h>
16641 int
16642 main ()
16643 {
16644 char s[128]; strerror_r(5, s, 128);
16645 ;
16646 return 0;
16647 }
16648 _ACEOF
16649 if ac_fn_c_try_compile "$LINENO"; then :
16650
16651 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16652
16653 fi
16654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16655 CFLAGS="$ac_save_CFLAGS"
16656
16657 ac_save_CFLAGS="$CFLAGS"
16658 CFLAGS="-Wimplicit-function-declaration -Werror"
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16661 #define _GNU_SOURCE 1
16662 #include <string.h>
16663 #include <locale.h>
16664 int
16665 main ()
16666 {
16667 char s[128]; strerror_r(5, s);
16668 ;
16669 return 0;
16670 }
16671 _ACEOF
16672 if ac_fn_c_try_compile "$LINENO"; then :
16673
16674 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16675
16676 fi
16677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16678 CFLAGS="$ac_save_CFLAGS"
16679
16680
16681 # Check for C99 (and other IEEE) math functions
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16683 $as_echo_n "checking for sin in -lm... " >&6; }
16684 if test "${ac_cv_lib_m_sin+set}" = set; then :
16685 $as_echo_n "(cached) " >&6
16686 else
16687 ac_check_lib_save_LIBS=$LIBS
16688 LIBS="-lm $LIBS"
16689 if test x$gcc_no_link = xyes; then
16690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16691 fi
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16694
16695 /* Override any GCC internal prototype to avoid an error.
16696 Use char because int might match the return type of a GCC
16697 builtin and then its argument prototype would still apply. */
16698 #ifdef __cplusplus
16699 extern "C"
16700 #endif
16701 char sin ();
16702 int
16703 main ()
16704 {
16705 return sin ();
16706 ;
16707 return 0;
16708 }
16709 _ACEOF
16710 if ac_fn_c_try_link "$LINENO"; then :
16711 ac_cv_lib_m_sin=yes
16712 else
16713 ac_cv_lib_m_sin=no
16714 fi
16715 rm -f core conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16717 LIBS=$ac_check_lib_save_LIBS
16718 fi
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16720 $as_echo "$ac_cv_lib_m_sin" >&6; }
16721 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16722 cat >>confdefs.h <<_ACEOF
16723 #define HAVE_LIBM 1
16724 _ACEOF
16725
16726 LIBS="-lm $LIBS"
16727
16728 fi
16729
16730
16731
16732
16733
16734
16735
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16737 $as_echo_n "checking for acosf... " >&6; }
16738 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16739 $as_echo_n "(cached) " >&6
16740 else
16741 if test x$gcc_no_link = xyes; then
16742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16743 fi
16744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16745 /* end confdefs.h. */
16746
16747 #ifdef HAVE_COMPLEX_H
16748 #include <complex.h>
16749 #endif
16750 #ifdef HAVE_MATH_H
16751 #include <math.h>
16752 #endif
16753
16754 int (*ptr)() = (int (*)())acosf;
16755
16756 int
16757 main ()
16758 {
16759 return 0;
16760 }
16761
16762 _ACEOF
16763 if ac_fn_c_try_link "$LINENO"; then :
16764 gcc_cv_math_func_acosf=yes
16765 else
16766 gcc_cv_math_func_acosf=no
16767 fi
16768 rm -f core conftest.err conftest.$ac_objext \
16769 conftest$ac_exeext conftest.$ac_ext
16770 fi
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16772 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16773 if test $gcc_cv_math_func_acosf = yes; then
16774
16775 cat >>confdefs.h <<_ACEOF
16776 #define HAVE_ACOSF 1
16777 _ACEOF
16778
16779 fi
16780
16781
16782
16783
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16785 $as_echo_n "checking for acos... " >&6; }
16786 if test "${gcc_cv_math_func_acos+set}" = set; then :
16787 $as_echo_n "(cached) " >&6
16788 else
16789 if test x$gcc_no_link = xyes; then
16790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16791 fi
16792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16793 /* end confdefs.h. */
16794
16795 #ifdef HAVE_COMPLEX_H
16796 #include <complex.h>
16797 #endif
16798 #ifdef HAVE_MATH_H
16799 #include <math.h>
16800 #endif
16801
16802 int (*ptr)() = (int (*)())acos;
16803
16804 int
16805 main ()
16806 {
16807 return 0;
16808 }
16809
16810 _ACEOF
16811 if ac_fn_c_try_link "$LINENO"; then :
16812 gcc_cv_math_func_acos=yes
16813 else
16814 gcc_cv_math_func_acos=no
16815 fi
16816 rm -f core conftest.err conftest.$ac_objext \
16817 conftest$ac_exeext conftest.$ac_ext
16818 fi
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16820 $as_echo "$gcc_cv_math_func_acos" >&6; }
16821 if test $gcc_cv_math_func_acos = yes; then
16822
16823 cat >>confdefs.h <<_ACEOF
16824 #define HAVE_ACOS 1
16825 _ACEOF
16826
16827 fi
16828
16829
16830
16831
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16833 $as_echo_n "checking for acosl... " >&6; }
16834 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16835 $as_echo_n "(cached) " >&6
16836 else
16837 if test x$gcc_no_link = xyes; then
16838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16839 fi
16840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16842
16843 #ifdef HAVE_COMPLEX_H
16844 #include <complex.h>
16845 #endif
16846 #ifdef HAVE_MATH_H
16847 #include <math.h>
16848 #endif
16849
16850 int (*ptr)() = (int (*)())acosl;
16851
16852 int
16853 main ()
16854 {
16855 return 0;
16856 }
16857
16858 _ACEOF
16859 if ac_fn_c_try_link "$LINENO"; then :
16860 gcc_cv_math_func_acosl=yes
16861 else
16862 gcc_cv_math_func_acosl=no
16863 fi
16864 rm -f core conftest.err conftest.$ac_objext \
16865 conftest$ac_exeext conftest.$ac_ext
16866 fi
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16868 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16869 if test $gcc_cv_math_func_acosl = yes; then
16870
16871 cat >>confdefs.h <<_ACEOF
16872 #define HAVE_ACOSL 1
16873 _ACEOF
16874
16875 fi
16876
16877
16878
16879
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16881 $as_echo_n "checking for acoshf... " >&6; }
16882 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16883 $as_echo_n "(cached) " >&6
16884 else
16885 if test x$gcc_no_link = xyes; then
16886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16887 fi
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16890
16891 #ifdef HAVE_COMPLEX_H
16892 #include <complex.h>
16893 #endif
16894 #ifdef HAVE_MATH_H
16895 #include <math.h>
16896 #endif
16897
16898 int (*ptr)() = (int (*)())acoshf;
16899
16900 int
16901 main ()
16902 {
16903 return 0;
16904 }
16905
16906 _ACEOF
16907 if ac_fn_c_try_link "$LINENO"; then :
16908 gcc_cv_math_func_acoshf=yes
16909 else
16910 gcc_cv_math_func_acoshf=no
16911 fi
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16914 fi
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16916 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16917 if test $gcc_cv_math_func_acoshf = yes; then
16918
16919 cat >>confdefs.h <<_ACEOF
16920 #define HAVE_ACOSHF 1
16921 _ACEOF
16922
16923 fi
16924
16925
16926
16927
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16929 $as_echo_n "checking for acosh... " >&6; }
16930 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16931 $as_echo_n "(cached) " >&6
16932 else
16933 if test x$gcc_no_link = xyes; then
16934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16935 fi
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938
16939 #ifdef HAVE_COMPLEX_H
16940 #include <complex.h>
16941 #endif
16942 #ifdef HAVE_MATH_H
16943 #include <math.h>
16944 #endif
16945
16946 int (*ptr)() = (int (*)())acosh;
16947
16948 int
16949 main ()
16950 {
16951 return 0;
16952 }
16953
16954 _ACEOF
16955 if ac_fn_c_try_link "$LINENO"; then :
16956 gcc_cv_math_func_acosh=yes
16957 else
16958 gcc_cv_math_func_acosh=no
16959 fi
16960 rm -f core conftest.err conftest.$ac_objext \
16961 conftest$ac_exeext conftest.$ac_ext
16962 fi
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16964 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16965 if test $gcc_cv_math_func_acosh = yes; then
16966
16967 cat >>confdefs.h <<_ACEOF
16968 #define HAVE_ACOSH 1
16969 _ACEOF
16970
16971 fi
16972
16973
16974
16975
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16977 $as_echo_n "checking for acoshl... " >&6; }
16978 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16979 $as_echo_n "(cached) " >&6
16980 else
16981 if test x$gcc_no_link = xyes; then
16982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16983 fi
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986
16987 #ifdef HAVE_COMPLEX_H
16988 #include <complex.h>
16989 #endif
16990 #ifdef HAVE_MATH_H
16991 #include <math.h>
16992 #endif
16993
16994 int (*ptr)() = (int (*)())acoshl;
16995
16996 int
16997 main ()
16998 {
16999 return 0;
17000 }
17001
17002 _ACEOF
17003 if ac_fn_c_try_link "$LINENO"; then :
17004 gcc_cv_math_func_acoshl=yes
17005 else
17006 gcc_cv_math_func_acoshl=no
17007 fi
17008 rm -f core conftest.err conftest.$ac_objext \
17009 conftest$ac_exeext conftest.$ac_ext
17010 fi
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17012 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17013 if test $gcc_cv_math_func_acoshl = yes; then
17014
17015 cat >>confdefs.h <<_ACEOF
17016 #define HAVE_ACOSHL 1
17017 _ACEOF
17018
17019 fi
17020
17021
17022
17023
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17025 $as_echo_n "checking for asinf... " >&6; }
17026 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17027 $as_echo_n "(cached) " >&6
17028 else
17029 if test x$gcc_no_link = xyes; then
17030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17031 fi
17032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17034
17035 #ifdef HAVE_COMPLEX_H
17036 #include <complex.h>
17037 #endif
17038 #ifdef HAVE_MATH_H
17039 #include <math.h>
17040 #endif
17041
17042 int (*ptr)() = (int (*)())asinf;
17043
17044 int
17045 main ()
17046 {
17047 return 0;
17048 }
17049
17050 _ACEOF
17051 if ac_fn_c_try_link "$LINENO"; then :
17052 gcc_cv_math_func_asinf=yes
17053 else
17054 gcc_cv_math_func_asinf=no
17055 fi
17056 rm -f core conftest.err conftest.$ac_objext \
17057 conftest$ac_exeext conftest.$ac_ext
17058 fi
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17060 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17061 if test $gcc_cv_math_func_asinf = yes; then
17062
17063 cat >>confdefs.h <<_ACEOF
17064 #define HAVE_ASINF 1
17065 _ACEOF
17066
17067 fi
17068
17069
17070
17071
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17073 $as_echo_n "checking for asin... " >&6; }
17074 if test "${gcc_cv_math_func_asin+set}" = set; then :
17075 $as_echo_n "(cached) " >&6
17076 else
17077 if test x$gcc_no_link = xyes; then
17078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17079 fi
17080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17082
17083 #ifdef HAVE_COMPLEX_H
17084 #include <complex.h>
17085 #endif
17086 #ifdef HAVE_MATH_H
17087 #include <math.h>
17088 #endif
17089
17090 int (*ptr)() = (int (*)())asin;
17091
17092 int
17093 main ()
17094 {
17095 return 0;
17096 }
17097
17098 _ACEOF
17099 if ac_fn_c_try_link "$LINENO"; then :
17100 gcc_cv_math_func_asin=yes
17101 else
17102 gcc_cv_math_func_asin=no
17103 fi
17104 rm -f core conftest.err conftest.$ac_objext \
17105 conftest$ac_exeext conftest.$ac_ext
17106 fi
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17108 $as_echo "$gcc_cv_math_func_asin" >&6; }
17109 if test $gcc_cv_math_func_asin = yes; then
17110
17111 cat >>confdefs.h <<_ACEOF
17112 #define HAVE_ASIN 1
17113 _ACEOF
17114
17115 fi
17116
17117
17118
17119
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17121 $as_echo_n "checking for asinl... " >&6; }
17122 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 if test x$gcc_no_link = xyes; then
17126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17127 fi
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130
17131 #ifdef HAVE_COMPLEX_H
17132 #include <complex.h>
17133 #endif
17134 #ifdef HAVE_MATH_H
17135 #include <math.h>
17136 #endif
17137
17138 int (*ptr)() = (int (*)())asinl;
17139
17140 int
17141 main ()
17142 {
17143 return 0;
17144 }
17145
17146 _ACEOF
17147 if ac_fn_c_try_link "$LINENO"; then :
17148 gcc_cv_math_func_asinl=yes
17149 else
17150 gcc_cv_math_func_asinl=no
17151 fi
17152 rm -f core conftest.err conftest.$ac_objext \
17153 conftest$ac_exeext conftest.$ac_ext
17154 fi
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17156 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17157 if test $gcc_cv_math_func_asinl = yes; then
17158
17159 cat >>confdefs.h <<_ACEOF
17160 #define HAVE_ASINL 1
17161 _ACEOF
17162
17163 fi
17164
17165
17166
17167
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17169 $as_echo_n "checking for asinhf... " >&6; }
17170 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17171 $as_echo_n "(cached) " >&6
17172 else
17173 if test x$gcc_no_link = xyes; then
17174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17175 fi
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17178
17179 #ifdef HAVE_COMPLEX_H
17180 #include <complex.h>
17181 #endif
17182 #ifdef HAVE_MATH_H
17183 #include <math.h>
17184 #endif
17185
17186 int (*ptr)() = (int (*)())asinhf;
17187
17188 int
17189 main ()
17190 {
17191 return 0;
17192 }
17193
17194 _ACEOF
17195 if ac_fn_c_try_link "$LINENO"; then :
17196 gcc_cv_math_func_asinhf=yes
17197 else
17198 gcc_cv_math_func_asinhf=no
17199 fi
17200 rm -f core conftest.err conftest.$ac_objext \
17201 conftest$ac_exeext conftest.$ac_ext
17202 fi
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17204 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17205 if test $gcc_cv_math_func_asinhf = yes; then
17206
17207 cat >>confdefs.h <<_ACEOF
17208 #define HAVE_ASINHF 1
17209 _ACEOF
17210
17211 fi
17212
17213
17214
17215
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17217 $as_echo_n "checking for asinh... " >&6; }
17218 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17219 $as_echo_n "(cached) " >&6
17220 else
17221 if test x$gcc_no_link = xyes; then
17222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17223 fi
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17226
17227 #ifdef HAVE_COMPLEX_H
17228 #include <complex.h>
17229 #endif
17230 #ifdef HAVE_MATH_H
17231 #include <math.h>
17232 #endif
17233
17234 int (*ptr)() = (int (*)())asinh;
17235
17236 int
17237 main ()
17238 {
17239 return 0;
17240 }
17241
17242 _ACEOF
17243 if ac_fn_c_try_link "$LINENO"; then :
17244 gcc_cv_math_func_asinh=yes
17245 else
17246 gcc_cv_math_func_asinh=no
17247 fi
17248 rm -f core conftest.err conftest.$ac_objext \
17249 conftest$ac_exeext conftest.$ac_ext
17250 fi
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17252 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17253 if test $gcc_cv_math_func_asinh = yes; then
17254
17255 cat >>confdefs.h <<_ACEOF
17256 #define HAVE_ASINH 1
17257 _ACEOF
17258
17259 fi
17260
17261
17262
17263
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17265 $as_echo_n "checking for asinhl... " >&6; }
17266 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17267 $as_echo_n "(cached) " >&6
17268 else
17269 if test x$gcc_no_link = xyes; then
17270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17271 fi
17272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17274
17275 #ifdef HAVE_COMPLEX_H
17276 #include <complex.h>
17277 #endif
17278 #ifdef HAVE_MATH_H
17279 #include <math.h>
17280 #endif
17281
17282 int (*ptr)() = (int (*)())asinhl;
17283
17284 int
17285 main ()
17286 {
17287 return 0;
17288 }
17289
17290 _ACEOF
17291 if ac_fn_c_try_link "$LINENO"; then :
17292 gcc_cv_math_func_asinhl=yes
17293 else
17294 gcc_cv_math_func_asinhl=no
17295 fi
17296 rm -f core conftest.err conftest.$ac_objext \
17297 conftest$ac_exeext conftest.$ac_ext
17298 fi
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17300 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17301 if test $gcc_cv_math_func_asinhl = yes; then
17302
17303 cat >>confdefs.h <<_ACEOF
17304 #define HAVE_ASINHL 1
17305 _ACEOF
17306
17307 fi
17308
17309
17310
17311
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17313 $as_echo_n "checking for atan2f... " >&6; }
17314 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17317 if test x$gcc_no_link = xyes; then
17318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17319 fi
17320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17322
17323 #ifdef HAVE_COMPLEX_H
17324 #include <complex.h>
17325 #endif
17326 #ifdef HAVE_MATH_H
17327 #include <math.h>
17328 #endif
17329
17330 int (*ptr)() = (int (*)())atan2f;
17331
17332 int
17333 main ()
17334 {
17335 return 0;
17336 }
17337
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"; then :
17340 gcc_cv_math_func_atan2f=yes
17341 else
17342 gcc_cv_math_func_atan2f=no
17343 fi
17344 rm -f core conftest.err conftest.$ac_objext \
17345 conftest$ac_exeext conftest.$ac_ext
17346 fi
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17348 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17349 if test $gcc_cv_math_func_atan2f = yes; then
17350
17351 cat >>confdefs.h <<_ACEOF
17352 #define HAVE_ATAN2F 1
17353 _ACEOF
17354
17355 fi
17356
17357
17358
17359
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17361 $as_echo_n "checking for atan2... " >&6; }
17362 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17363 $as_echo_n "(cached) " >&6
17364 else
17365 if test x$gcc_no_link = xyes; then
17366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17367 fi
17368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h. */
17370
17371 #ifdef HAVE_COMPLEX_H
17372 #include <complex.h>
17373 #endif
17374 #ifdef HAVE_MATH_H
17375 #include <math.h>
17376 #endif
17377
17378 int (*ptr)() = (int (*)())atan2;
17379
17380 int
17381 main ()
17382 {
17383 return 0;
17384 }
17385
17386 _ACEOF
17387 if ac_fn_c_try_link "$LINENO"; then :
17388 gcc_cv_math_func_atan2=yes
17389 else
17390 gcc_cv_math_func_atan2=no
17391 fi
17392 rm -f core conftest.err conftest.$ac_objext \
17393 conftest$ac_exeext conftest.$ac_ext
17394 fi
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17396 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17397 if test $gcc_cv_math_func_atan2 = yes; then
17398
17399 cat >>confdefs.h <<_ACEOF
17400 #define HAVE_ATAN2 1
17401 _ACEOF
17402
17403 fi
17404
17405
17406
17407
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17409 $as_echo_n "checking for atan2l... " >&6; }
17410 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 if test x$gcc_no_link = xyes; then
17414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17415 fi
17416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17418
17419 #ifdef HAVE_COMPLEX_H
17420 #include <complex.h>
17421 #endif
17422 #ifdef HAVE_MATH_H
17423 #include <math.h>
17424 #endif
17425
17426 int (*ptr)() = (int (*)())atan2l;
17427
17428 int
17429 main ()
17430 {
17431 return 0;
17432 }
17433
17434 _ACEOF
17435 if ac_fn_c_try_link "$LINENO"; then :
17436 gcc_cv_math_func_atan2l=yes
17437 else
17438 gcc_cv_math_func_atan2l=no
17439 fi
17440 rm -f core conftest.err conftest.$ac_objext \
17441 conftest$ac_exeext conftest.$ac_ext
17442 fi
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17444 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17445 if test $gcc_cv_math_func_atan2l = yes; then
17446
17447 cat >>confdefs.h <<_ACEOF
17448 #define HAVE_ATAN2L 1
17449 _ACEOF
17450
17451 fi
17452
17453
17454
17455
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17457 $as_echo_n "checking for atanf... " >&6; }
17458 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17459 $as_echo_n "(cached) " >&6
17460 else
17461 if test x$gcc_no_link = xyes; then
17462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17463 fi
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17466
17467 #ifdef HAVE_COMPLEX_H
17468 #include <complex.h>
17469 #endif
17470 #ifdef HAVE_MATH_H
17471 #include <math.h>
17472 #endif
17473
17474 int (*ptr)() = (int (*)())atanf;
17475
17476 int
17477 main ()
17478 {
17479 return 0;
17480 }
17481
17482 _ACEOF
17483 if ac_fn_c_try_link "$LINENO"; then :
17484 gcc_cv_math_func_atanf=yes
17485 else
17486 gcc_cv_math_func_atanf=no
17487 fi
17488 rm -f core conftest.err conftest.$ac_objext \
17489 conftest$ac_exeext conftest.$ac_ext
17490 fi
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17492 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17493 if test $gcc_cv_math_func_atanf = yes; then
17494
17495 cat >>confdefs.h <<_ACEOF
17496 #define HAVE_ATANF 1
17497 _ACEOF
17498
17499 fi
17500
17501
17502
17503
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17505 $as_echo_n "checking for atan... " >&6; }
17506 if test "${gcc_cv_math_func_atan+set}" = set; then :
17507 $as_echo_n "(cached) " >&6
17508 else
17509 if test x$gcc_no_link = xyes; then
17510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17511 fi
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17514
17515 #ifdef HAVE_COMPLEX_H
17516 #include <complex.h>
17517 #endif
17518 #ifdef HAVE_MATH_H
17519 #include <math.h>
17520 #endif
17521
17522 int (*ptr)() = (int (*)())atan;
17523
17524 int
17525 main ()
17526 {
17527 return 0;
17528 }
17529
17530 _ACEOF
17531 if ac_fn_c_try_link "$LINENO"; then :
17532 gcc_cv_math_func_atan=yes
17533 else
17534 gcc_cv_math_func_atan=no
17535 fi
17536 rm -f core conftest.err conftest.$ac_objext \
17537 conftest$ac_exeext conftest.$ac_ext
17538 fi
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17540 $as_echo "$gcc_cv_math_func_atan" >&6; }
17541 if test $gcc_cv_math_func_atan = yes; then
17542
17543 cat >>confdefs.h <<_ACEOF
17544 #define HAVE_ATAN 1
17545 _ACEOF
17546
17547 fi
17548
17549
17550
17551
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17553 $as_echo_n "checking for atanl... " >&6; }
17554 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17555 $as_echo_n "(cached) " >&6
17556 else
17557 if test x$gcc_no_link = xyes; then
17558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17559 fi
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17562
17563 #ifdef HAVE_COMPLEX_H
17564 #include <complex.h>
17565 #endif
17566 #ifdef HAVE_MATH_H
17567 #include <math.h>
17568 #endif
17569
17570 int (*ptr)() = (int (*)())atanl;
17571
17572 int
17573 main ()
17574 {
17575 return 0;
17576 }
17577
17578 _ACEOF
17579 if ac_fn_c_try_link "$LINENO"; then :
17580 gcc_cv_math_func_atanl=yes
17581 else
17582 gcc_cv_math_func_atanl=no
17583 fi
17584 rm -f core conftest.err conftest.$ac_objext \
17585 conftest$ac_exeext conftest.$ac_ext
17586 fi
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17588 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17589 if test $gcc_cv_math_func_atanl = yes; then
17590
17591 cat >>confdefs.h <<_ACEOF
17592 #define HAVE_ATANL 1
17593 _ACEOF
17594
17595 fi
17596
17597
17598
17599
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17601 $as_echo_n "checking for atanhf... " >&6; }
17602 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17605 if test x$gcc_no_link = xyes; then
17606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17607 fi
17608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17609 /* end confdefs.h. */
17610
17611 #ifdef HAVE_COMPLEX_H
17612 #include <complex.h>
17613 #endif
17614 #ifdef HAVE_MATH_H
17615 #include <math.h>
17616 #endif
17617
17618 int (*ptr)() = (int (*)())atanhf;
17619
17620 int
17621 main ()
17622 {
17623 return 0;
17624 }
17625
17626 _ACEOF
17627 if ac_fn_c_try_link "$LINENO"; then :
17628 gcc_cv_math_func_atanhf=yes
17629 else
17630 gcc_cv_math_func_atanhf=no
17631 fi
17632 rm -f core conftest.err conftest.$ac_objext \
17633 conftest$ac_exeext conftest.$ac_ext
17634 fi
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17636 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17637 if test $gcc_cv_math_func_atanhf = yes; then
17638
17639 cat >>confdefs.h <<_ACEOF
17640 #define HAVE_ATANHF 1
17641 _ACEOF
17642
17643 fi
17644
17645
17646
17647
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17649 $as_echo_n "checking for atanh... " >&6; }
17650 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17651 $as_echo_n "(cached) " >&6
17652 else
17653 if test x$gcc_no_link = xyes; then
17654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17655 fi
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658
17659 #ifdef HAVE_COMPLEX_H
17660 #include <complex.h>
17661 #endif
17662 #ifdef HAVE_MATH_H
17663 #include <math.h>
17664 #endif
17665
17666 int (*ptr)() = (int (*)())atanh;
17667
17668 int
17669 main ()
17670 {
17671 return 0;
17672 }
17673
17674 _ACEOF
17675 if ac_fn_c_try_link "$LINENO"; then :
17676 gcc_cv_math_func_atanh=yes
17677 else
17678 gcc_cv_math_func_atanh=no
17679 fi
17680 rm -f core conftest.err conftest.$ac_objext \
17681 conftest$ac_exeext conftest.$ac_ext
17682 fi
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17684 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17685 if test $gcc_cv_math_func_atanh = yes; then
17686
17687 cat >>confdefs.h <<_ACEOF
17688 #define HAVE_ATANH 1
17689 _ACEOF
17690
17691 fi
17692
17693
17694
17695
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17697 $as_echo_n "checking for atanhl... " >&6; }
17698 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17699 $as_echo_n "(cached) " >&6
17700 else
17701 if test x$gcc_no_link = xyes; then
17702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17703 fi
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706
17707 #ifdef HAVE_COMPLEX_H
17708 #include <complex.h>
17709 #endif
17710 #ifdef HAVE_MATH_H
17711 #include <math.h>
17712 #endif
17713
17714 int (*ptr)() = (int (*)())atanhl;
17715
17716 int
17717 main ()
17718 {
17719 return 0;
17720 }
17721
17722 _ACEOF
17723 if ac_fn_c_try_link "$LINENO"; then :
17724 gcc_cv_math_func_atanhl=yes
17725 else
17726 gcc_cv_math_func_atanhl=no
17727 fi
17728 rm -f core conftest.err conftest.$ac_objext \
17729 conftest$ac_exeext conftest.$ac_ext
17730 fi
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17732 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17733 if test $gcc_cv_math_func_atanhl = yes; then
17734
17735 cat >>confdefs.h <<_ACEOF
17736 #define HAVE_ATANHL 1
17737 _ACEOF
17738
17739 fi
17740
17741
17742
17743
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17745 $as_echo_n "checking for cargf... " >&6; }
17746 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17747 $as_echo_n "(cached) " >&6
17748 else
17749 if test x$gcc_no_link = xyes; then
17750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17751 fi
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754
17755 #ifdef HAVE_COMPLEX_H
17756 #include <complex.h>
17757 #endif
17758 #ifdef HAVE_MATH_H
17759 #include <math.h>
17760 #endif
17761
17762 int (*ptr)() = (int (*)())cargf;
17763
17764 int
17765 main ()
17766 {
17767 return 0;
17768 }
17769
17770 _ACEOF
17771 if ac_fn_c_try_link "$LINENO"; then :
17772 gcc_cv_math_func_cargf=yes
17773 else
17774 gcc_cv_math_func_cargf=no
17775 fi
17776 rm -f core conftest.err conftest.$ac_objext \
17777 conftest$ac_exeext conftest.$ac_ext
17778 fi
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17780 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17781 if test $gcc_cv_math_func_cargf = yes; then
17782
17783 cat >>confdefs.h <<_ACEOF
17784 #define HAVE_CARGF 1
17785 _ACEOF
17786
17787 fi
17788
17789
17790
17791
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17793 $as_echo_n "checking for carg... " >&6; }
17794 if test "${gcc_cv_math_func_carg+set}" = set; then :
17795 $as_echo_n "(cached) " >&6
17796 else
17797 if test x$gcc_no_link = xyes; then
17798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17799 fi
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17802
17803 #ifdef HAVE_COMPLEX_H
17804 #include <complex.h>
17805 #endif
17806 #ifdef HAVE_MATH_H
17807 #include <math.h>
17808 #endif
17809
17810 int (*ptr)() = (int (*)())carg;
17811
17812 int
17813 main ()
17814 {
17815 return 0;
17816 }
17817
17818 _ACEOF
17819 if ac_fn_c_try_link "$LINENO"; then :
17820 gcc_cv_math_func_carg=yes
17821 else
17822 gcc_cv_math_func_carg=no
17823 fi
17824 rm -f core conftest.err conftest.$ac_objext \
17825 conftest$ac_exeext conftest.$ac_ext
17826 fi
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17828 $as_echo "$gcc_cv_math_func_carg" >&6; }
17829 if test $gcc_cv_math_func_carg = yes; then
17830
17831 cat >>confdefs.h <<_ACEOF
17832 #define HAVE_CARG 1
17833 _ACEOF
17834
17835 fi
17836
17837
17838
17839
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17841 $as_echo_n "checking for cargl... " >&6; }
17842 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17843 $as_echo_n "(cached) " >&6
17844 else
17845 if test x$gcc_no_link = xyes; then
17846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17847 fi
17848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17849 /* end confdefs.h. */
17850
17851 #ifdef HAVE_COMPLEX_H
17852 #include <complex.h>
17853 #endif
17854 #ifdef HAVE_MATH_H
17855 #include <math.h>
17856 #endif
17857
17858 int (*ptr)() = (int (*)())cargl;
17859
17860 int
17861 main ()
17862 {
17863 return 0;
17864 }
17865
17866 _ACEOF
17867 if ac_fn_c_try_link "$LINENO"; then :
17868 gcc_cv_math_func_cargl=yes
17869 else
17870 gcc_cv_math_func_cargl=no
17871 fi
17872 rm -f core conftest.err conftest.$ac_objext \
17873 conftest$ac_exeext conftest.$ac_ext
17874 fi
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17876 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17877 if test $gcc_cv_math_func_cargl = yes; then
17878
17879 cat >>confdefs.h <<_ACEOF
17880 #define HAVE_CARGL 1
17881 _ACEOF
17882
17883 fi
17884
17885
17886
17887
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17889 $as_echo_n "checking for ceilf... " >&6; }
17890 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17891 $as_echo_n "(cached) " >&6
17892 else
17893 if test x$gcc_no_link = xyes; then
17894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17895 fi
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17898
17899 #ifdef HAVE_COMPLEX_H
17900 #include <complex.h>
17901 #endif
17902 #ifdef HAVE_MATH_H
17903 #include <math.h>
17904 #endif
17905
17906 int (*ptr)() = (int (*)())ceilf;
17907
17908 int
17909 main ()
17910 {
17911 return 0;
17912 }
17913
17914 _ACEOF
17915 if ac_fn_c_try_link "$LINENO"; then :
17916 gcc_cv_math_func_ceilf=yes
17917 else
17918 gcc_cv_math_func_ceilf=no
17919 fi
17920 rm -f core conftest.err conftest.$ac_objext \
17921 conftest$ac_exeext conftest.$ac_ext
17922 fi
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17924 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17925 if test $gcc_cv_math_func_ceilf = yes; then
17926
17927 cat >>confdefs.h <<_ACEOF
17928 #define HAVE_CEILF 1
17929 _ACEOF
17930
17931 fi
17932
17933
17934
17935
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17937 $as_echo_n "checking for ceil... " >&6; }
17938 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17939 $as_echo_n "(cached) " >&6
17940 else
17941 if test x$gcc_no_link = xyes; then
17942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17943 fi
17944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17945 /* end confdefs.h. */
17946
17947 #ifdef HAVE_COMPLEX_H
17948 #include <complex.h>
17949 #endif
17950 #ifdef HAVE_MATH_H
17951 #include <math.h>
17952 #endif
17953
17954 int (*ptr)() = (int (*)())ceil;
17955
17956 int
17957 main ()
17958 {
17959 return 0;
17960 }
17961
17962 _ACEOF
17963 if ac_fn_c_try_link "$LINENO"; then :
17964 gcc_cv_math_func_ceil=yes
17965 else
17966 gcc_cv_math_func_ceil=no
17967 fi
17968 rm -f core conftest.err conftest.$ac_objext \
17969 conftest$ac_exeext conftest.$ac_ext
17970 fi
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17972 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17973 if test $gcc_cv_math_func_ceil = yes; then
17974
17975 cat >>confdefs.h <<_ACEOF
17976 #define HAVE_CEIL 1
17977 _ACEOF
17978
17979 fi
17980
17981
17982
17983
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17985 $as_echo_n "checking for ceill... " >&6; }
17986 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17987 $as_echo_n "(cached) " >&6
17988 else
17989 if test x$gcc_no_link = xyes; then
17990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17991 fi
17992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17993 /* end confdefs.h. */
17994
17995 #ifdef HAVE_COMPLEX_H
17996 #include <complex.h>
17997 #endif
17998 #ifdef HAVE_MATH_H
17999 #include <math.h>
18000 #endif
18001
18002 int (*ptr)() = (int (*)())ceill;
18003
18004 int
18005 main ()
18006 {
18007 return 0;
18008 }
18009
18010 _ACEOF
18011 if ac_fn_c_try_link "$LINENO"; then :
18012 gcc_cv_math_func_ceill=yes
18013 else
18014 gcc_cv_math_func_ceill=no
18015 fi
18016 rm -f core conftest.err conftest.$ac_objext \
18017 conftest$ac_exeext conftest.$ac_ext
18018 fi
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18020 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18021 if test $gcc_cv_math_func_ceill = yes; then
18022
18023 cat >>confdefs.h <<_ACEOF
18024 #define HAVE_CEILL 1
18025 _ACEOF
18026
18027 fi
18028
18029
18030
18031
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18033 $as_echo_n "checking for copysignf... " >&6; }
18034 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18035 $as_echo_n "(cached) " >&6
18036 else
18037 if test x$gcc_no_link = xyes; then
18038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18039 fi
18040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h. */
18042
18043 #ifdef HAVE_COMPLEX_H
18044 #include <complex.h>
18045 #endif
18046 #ifdef HAVE_MATH_H
18047 #include <math.h>
18048 #endif
18049
18050 int (*ptr)() = (int (*)())copysignf;
18051
18052 int
18053 main ()
18054 {
18055 return 0;
18056 }
18057
18058 _ACEOF
18059 if ac_fn_c_try_link "$LINENO"; then :
18060 gcc_cv_math_func_copysignf=yes
18061 else
18062 gcc_cv_math_func_copysignf=no
18063 fi
18064 rm -f core conftest.err conftest.$ac_objext \
18065 conftest$ac_exeext conftest.$ac_ext
18066 fi
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18068 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18069 if test $gcc_cv_math_func_copysignf = yes; then
18070
18071 cat >>confdefs.h <<_ACEOF
18072 #define HAVE_COPYSIGNF 1
18073 _ACEOF
18074
18075 fi
18076
18077
18078
18079
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18081 $as_echo_n "checking for copysign... " >&6; }
18082 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18083 $as_echo_n "(cached) " >&6
18084 else
18085 if test x$gcc_no_link = xyes; then
18086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18087 fi
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18090
18091 #ifdef HAVE_COMPLEX_H
18092 #include <complex.h>
18093 #endif
18094 #ifdef HAVE_MATH_H
18095 #include <math.h>
18096 #endif
18097
18098 int (*ptr)() = (int (*)())copysign;
18099
18100 int
18101 main ()
18102 {
18103 return 0;
18104 }
18105
18106 _ACEOF
18107 if ac_fn_c_try_link "$LINENO"; then :
18108 gcc_cv_math_func_copysign=yes
18109 else
18110 gcc_cv_math_func_copysign=no
18111 fi
18112 rm -f core conftest.err conftest.$ac_objext \
18113 conftest$ac_exeext conftest.$ac_ext
18114 fi
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18116 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18117 if test $gcc_cv_math_func_copysign = yes; then
18118
18119 cat >>confdefs.h <<_ACEOF
18120 #define HAVE_COPYSIGN 1
18121 _ACEOF
18122
18123 fi
18124
18125
18126
18127
18128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18129 $as_echo_n "checking for copysignl... " >&6; }
18130 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18131 $as_echo_n "(cached) " >&6
18132 else
18133 if test x$gcc_no_link = xyes; then
18134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18135 fi
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18138
18139 #ifdef HAVE_COMPLEX_H
18140 #include <complex.h>
18141 #endif
18142 #ifdef HAVE_MATH_H
18143 #include <math.h>
18144 #endif
18145
18146 int (*ptr)() = (int (*)())copysignl;
18147
18148 int
18149 main ()
18150 {
18151 return 0;
18152 }
18153
18154 _ACEOF
18155 if ac_fn_c_try_link "$LINENO"; then :
18156 gcc_cv_math_func_copysignl=yes
18157 else
18158 gcc_cv_math_func_copysignl=no
18159 fi
18160 rm -f core conftest.err conftest.$ac_objext \
18161 conftest$ac_exeext conftest.$ac_ext
18162 fi
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18164 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18165 if test $gcc_cv_math_func_copysignl = yes; then
18166
18167 cat >>confdefs.h <<_ACEOF
18168 #define HAVE_COPYSIGNL 1
18169 _ACEOF
18170
18171 fi
18172
18173
18174
18175
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18177 $as_echo_n "checking for cosf... " >&6; }
18178 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18179 $as_echo_n "(cached) " >&6
18180 else
18181 if test x$gcc_no_link = xyes; then
18182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18183 fi
18184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185 /* end confdefs.h. */
18186
18187 #ifdef HAVE_COMPLEX_H
18188 #include <complex.h>
18189 #endif
18190 #ifdef HAVE_MATH_H
18191 #include <math.h>
18192 #endif
18193
18194 int (*ptr)() = (int (*)())cosf;
18195
18196 int
18197 main ()
18198 {
18199 return 0;
18200 }
18201
18202 _ACEOF
18203 if ac_fn_c_try_link "$LINENO"; then :
18204 gcc_cv_math_func_cosf=yes
18205 else
18206 gcc_cv_math_func_cosf=no
18207 fi
18208 rm -f core conftest.err conftest.$ac_objext \
18209 conftest$ac_exeext conftest.$ac_ext
18210 fi
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18212 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18213 if test $gcc_cv_math_func_cosf = yes; then
18214
18215 cat >>confdefs.h <<_ACEOF
18216 #define HAVE_COSF 1
18217 _ACEOF
18218
18219 fi
18220
18221
18222
18223
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18225 $as_echo_n "checking for cos... " >&6; }
18226 if test "${gcc_cv_math_func_cos+set}" = set; then :
18227 $as_echo_n "(cached) " >&6
18228 else
18229 if test x$gcc_no_link = xyes; then
18230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18231 fi
18232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18233 /* end confdefs.h. */
18234
18235 #ifdef HAVE_COMPLEX_H
18236 #include <complex.h>
18237 #endif
18238 #ifdef HAVE_MATH_H
18239 #include <math.h>
18240 #endif
18241
18242 int (*ptr)() = (int (*)())cos;
18243
18244 int
18245 main ()
18246 {
18247 return 0;
18248 }
18249
18250 _ACEOF
18251 if ac_fn_c_try_link "$LINENO"; then :
18252 gcc_cv_math_func_cos=yes
18253 else
18254 gcc_cv_math_func_cos=no
18255 fi
18256 rm -f core conftest.err conftest.$ac_objext \
18257 conftest$ac_exeext conftest.$ac_ext
18258 fi
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18260 $as_echo "$gcc_cv_math_func_cos" >&6; }
18261 if test $gcc_cv_math_func_cos = yes; then
18262
18263 cat >>confdefs.h <<_ACEOF
18264 #define HAVE_COS 1
18265 _ACEOF
18266
18267 fi
18268
18269
18270
18271
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18273 $as_echo_n "checking for cosl... " >&6; }
18274 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18275 $as_echo_n "(cached) " >&6
18276 else
18277 if test x$gcc_no_link = xyes; then
18278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18279 fi
18280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18282
18283 #ifdef HAVE_COMPLEX_H
18284 #include <complex.h>
18285 #endif
18286 #ifdef HAVE_MATH_H
18287 #include <math.h>
18288 #endif
18289
18290 int (*ptr)() = (int (*)())cosl;
18291
18292 int
18293 main ()
18294 {
18295 return 0;
18296 }
18297
18298 _ACEOF
18299 if ac_fn_c_try_link "$LINENO"; then :
18300 gcc_cv_math_func_cosl=yes
18301 else
18302 gcc_cv_math_func_cosl=no
18303 fi
18304 rm -f core conftest.err conftest.$ac_objext \
18305 conftest$ac_exeext conftest.$ac_ext
18306 fi
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18308 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18309 if test $gcc_cv_math_func_cosl = yes; then
18310
18311 cat >>confdefs.h <<_ACEOF
18312 #define HAVE_COSL 1
18313 _ACEOF
18314
18315 fi
18316
18317
18318
18319
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18321 $as_echo_n "checking for ccosf... " >&6; }
18322 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18323 $as_echo_n "(cached) " >&6
18324 else
18325 if test x$gcc_no_link = xyes; then
18326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18327 fi
18328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18329 /* end confdefs.h. */
18330
18331 #ifdef HAVE_COMPLEX_H
18332 #include <complex.h>
18333 #endif
18334 #ifdef HAVE_MATH_H
18335 #include <math.h>
18336 #endif
18337
18338 int (*ptr)() = (int (*)())ccosf;
18339
18340 int
18341 main ()
18342 {
18343 return 0;
18344 }
18345
18346 _ACEOF
18347 if ac_fn_c_try_link "$LINENO"; then :
18348 gcc_cv_math_func_ccosf=yes
18349 else
18350 gcc_cv_math_func_ccosf=no
18351 fi
18352 rm -f core conftest.err conftest.$ac_objext \
18353 conftest$ac_exeext conftest.$ac_ext
18354 fi
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18356 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18357 if test $gcc_cv_math_func_ccosf = yes; then
18358
18359 cat >>confdefs.h <<_ACEOF
18360 #define HAVE_CCOSF 1
18361 _ACEOF
18362
18363 fi
18364
18365
18366
18367
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18369 $as_echo_n "checking for ccos... " >&6; }
18370 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18371 $as_echo_n "(cached) " >&6
18372 else
18373 if test x$gcc_no_link = xyes; then
18374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18375 fi
18376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18378
18379 #ifdef HAVE_COMPLEX_H
18380 #include <complex.h>
18381 #endif
18382 #ifdef HAVE_MATH_H
18383 #include <math.h>
18384 #endif
18385
18386 int (*ptr)() = (int (*)())ccos;
18387
18388 int
18389 main ()
18390 {
18391 return 0;
18392 }
18393
18394 _ACEOF
18395 if ac_fn_c_try_link "$LINENO"; then :
18396 gcc_cv_math_func_ccos=yes
18397 else
18398 gcc_cv_math_func_ccos=no
18399 fi
18400 rm -f core conftest.err conftest.$ac_objext \
18401 conftest$ac_exeext conftest.$ac_ext
18402 fi
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18404 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18405 if test $gcc_cv_math_func_ccos = yes; then
18406
18407 cat >>confdefs.h <<_ACEOF
18408 #define HAVE_CCOS 1
18409 _ACEOF
18410
18411 fi
18412
18413
18414
18415
18416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18417 $as_echo_n "checking for ccosl... " >&6; }
18418 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18419 $as_echo_n "(cached) " >&6
18420 else
18421 if test x$gcc_no_link = xyes; then
18422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18423 fi
18424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18425 /* end confdefs.h. */
18426
18427 #ifdef HAVE_COMPLEX_H
18428 #include <complex.h>
18429 #endif
18430 #ifdef HAVE_MATH_H
18431 #include <math.h>
18432 #endif
18433
18434 int (*ptr)() = (int (*)())ccosl;
18435
18436 int
18437 main ()
18438 {
18439 return 0;
18440 }
18441
18442 _ACEOF
18443 if ac_fn_c_try_link "$LINENO"; then :
18444 gcc_cv_math_func_ccosl=yes
18445 else
18446 gcc_cv_math_func_ccosl=no
18447 fi
18448 rm -f core conftest.err conftest.$ac_objext \
18449 conftest$ac_exeext conftest.$ac_ext
18450 fi
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18452 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18453 if test $gcc_cv_math_func_ccosl = yes; then
18454
18455 cat >>confdefs.h <<_ACEOF
18456 #define HAVE_CCOSL 1
18457 _ACEOF
18458
18459 fi
18460
18461
18462
18463
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18465 $as_echo_n "checking for coshf... " >&6; }
18466 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18467 $as_echo_n "(cached) " >&6
18468 else
18469 if test x$gcc_no_link = xyes; then
18470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18471 fi
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474
18475 #ifdef HAVE_COMPLEX_H
18476 #include <complex.h>
18477 #endif
18478 #ifdef HAVE_MATH_H
18479 #include <math.h>
18480 #endif
18481
18482 int (*ptr)() = (int (*)())coshf;
18483
18484 int
18485 main ()
18486 {
18487 return 0;
18488 }
18489
18490 _ACEOF
18491 if ac_fn_c_try_link "$LINENO"; then :
18492 gcc_cv_math_func_coshf=yes
18493 else
18494 gcc_cv_math_func_coshf=no
18495 fi
18496 rm -f core conftest.err conftest.$ac_objext \
18497 conftest$ac_exeext conftest.$ac_ext
18498 fi
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18500 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18501 if test $gcc_cv_math_func_coshf = yes; then
18502
18503 cat >>confdefs.h <<_ACEOF
18504 #define HAVE_COSHF 1
18505 _ACEOF
18506
18507 fi
18508
18509
18510
18511
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18513 $as_echo_n "checking for cosh... " >&6; }
18514 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18515 $as_echo_n "(cached) " >&6
18516 else
18517 if test x$gcc_no_link = xyes; then
18518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18519 fi
18520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18521 /* end confdefs.h. */
18522
18523 #ifdef HAVE_COMPLEX_H
18524 #include <complex.h>
18525 #endif
18526 #ifdef HAVE_MATH_H
18527 #include <math.h>
18528 #endif
18529
18530 int (*ptr)() = (int (*)())cosh;
18531
18532 int
18533 main ()
18534 {
18535 return 0;
18536 }
18537
18538 _ACEOF
18539 if ac_fn_c_try_link "$LINENO"; then :
18540 gcc_cv_math_func_cosh=yes
18541 else
18542 gcc_cv_math_func_cosh=no
18543 fi
18544 rm -f core conftest.err conftest.$ac_objext \
18545 conftest$ac_exeext conftest.$ac_ext
18546 fi
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18548 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18549 if test $gcc_cv_math_func_cosh = yes; then
18550
18551 cat >>confdefs.h <<_ACEOF
18552 #define HAVE_COSH 1
18553 _ACEOF
18554
18555 fi
18556
18557
18558
18559
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18561 $as_echo_n "checking for coshl... " >&6; }
18562 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18563 $as_echo_n "(cached) " >&6
18564 else
18565 if test x$gcc_no_link = xyes; then
18566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18567 fi
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570
18571 #ifdef HAVE_COMPLEX_H
18572 #include <complex.h>
18573 #endif
18574 #ifdef HAVE_MATH_H
18575 #include <math.h>
18576 #endif
18577
18578 int (*ptr)() = (int (*)())coshl;
18579
18580 int
18581 main ()
18582 {
18583 return 0;
18584 }
18585
18586 _ACEOF
18587 if ac_fn_c_try_link "$LINENO"; then :
18588 gcc_cv_math_func_coshl=yes
18589 else
18590 gcc_cv_math_func_coshl=no
18591 fi
18592 rm -f core conftest.err conftest.$ac_objext \
18593 conftest$ac_exeext conftest.$ac_ext
18594 fi
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18596 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18597 if test $gcc_cv_math_func_coshl = yes; then
18598
18599 cat >>confdefs.h <<_ACEOF
18600 #define HAVE_COSHL 1
18601 _ACEOF
18602
18603 fi
18604
18605
18606
18607
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18609 $as_echo_n "checking for ccoshf... " >&6; }
18610 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18611 $as_echo_n "(cached) " >&6
18612 else
18613 if test x$gcc_no_link = xyes; then
18614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18615 fi
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18618
18619 #ifdef HAVE_COMPLEX_H
18620 #include <complex.h>
18621 #endif
18622 #ifdef HAVE_MATH_H
18623 #include <math.h>
18624 #endif
18625
18626 int (*ptr)() = (int (*)())ccoshf;
18627
18628 int
18629 main ()
18630 {
18631 return 0;
18632 }
18633
18634 _ACEOF
18635 if ac_fn_c_try_link "$LINENO"; then :
18636 gcc_cv_math_func_ccoshf=yes
18637 else
18638 gcc_cv_math_func_ccoshf=no
18639 fi
18640 rm -f core conftest.err conftest.$ac_objext \
18641 conftest$ac_exeext conftest.$ac_ext
18642 fi
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18644 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18645 if test $gcc_cv_math_func_ccoshf = yes; then
18646
18647 cat >>confdefs.h <<_ACEOF
18648 #define HAVE_CCOSHF 1
18649 _ACEOF
18650
18651 fi
18652
18653
18654
18655
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18657 $as_echo_n "checking for ccosh... " >&6; }
18658 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18659 $as_echo_n "(cached) " >&6
18660 else
18661 if test x$gcc_no_link = xyes; then
18662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18663 fi
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666
18667 #ifdef HAVE_COMPLEX_H
18668 #include <complex.h>
18669 #endif
18670 #ifdef HAVE_MATH_H
18671 #include <math.h>
18672 #endif
18673
18674 int (*ptr)() = (int (*)())ccosh;
18675
18676 int
18677 main ()
18678 {
18679 return 0;
18680 }
18681
18682 _ACEOF
18683 if ac_fn_c_try_link "$LINENO"; then :
18684 gcc_cv_math_func_ccosh=yes
18685 else
18686 gcc_cv_math_func_ccosh=no
18687 fi
18688 rm -f core conftest.err conftest.$ac_objext \
18689 conftest$ac_exeext conftest.$ac_ext
18690 fi
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18692 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18693 if test $gcc_cv_math_func_ccosh = yes; then
18694
18695 cat >>confdefs.h <<_ACEOF
18696 #define HAVE_CCOSH 1
18697 _ACEOF
18698
18699 fi
18700
18701
18702
18703
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18705 $as_echo_n "checking for ccoshl... " >&6; }
18706 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18707 $as_echo_n "(cached) " >&6
18708 else
18709 if test x$gcc_no_link = xyes; then
18710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18711 fi
18712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18713 /* end confdefs.h. */
18714
18715 #ifdef HAVE_COMPLEX_H
18716 #include <complex.h>
18717 #endif
18718 #ifdef HAVE_MATH_H
18719 #include <math.h>
18720 #endif
18721
18722 int (*ptr)() = (int (*)())ccoshl;
18723
18724 int
18725 main ()
18726 {
18727 return 0;
18728 }
18729
18730 _ACEOF
18731 if ac_fn_c_try_link "$LINENO"; then :
18732 gcc_cv_math_func_ccoshl=yes
18733 else
18734 gcc_cv_math_func_ccoshl=no
18735 fi
18736 rm -f core conftest.err conftest.$ac_objext \
18737 conftest$ac_exeext conftest.$ac_ext
18738 fi
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18740 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18741 if test $gcc_cv_math_func_ccoshl = yes; then
18742
18743 cat >>confdefs.h <<_ACEOF
18744 #define HAVE_CCOSHL 1
18745 _ACEOF
18746
18747 fi
18748
18749
18750
18751
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18753 $as_echo_n "checking for expf... " >&6; }
18754 if test "${gcc_cv_math_func_expf+set}" = set; then :
18755 $as_echo_n "(cached) " >&6
18756 else
18757 if test x$gcc_no_link = xyes; then
18758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18759 fi
18760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h. */
18762
18763 #ifdef HAVE_COMPLEX_H
18764 #include <complex.h>
18765 #endif
18766 #ifdef HAVE_MATH_H
18767 #include <math.h>
18768 #endif
18769
18770 int (*ptr)() = (int (*)())expf;
18771
18772 int
18773 main ()
18774 {
18775 return 0;
18776 }
18777
18778 _ACEOF
18779 if ac_fn_c_try_link "$LINENO"; then :
18780 gcc_cv_math_func_expf=yes
18781 else
18782 gcc_cv_math_func_expf=no
18783 fi
18784 rm -f core conftest.err conftest.$ac_objext \
18785 conftest$ac_exeext conftest.$ac_ext
18786 fi
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18788 $as_echo "$gcc_cv_math_func_expf" >&6; }
18789 if test $gcc_cv_math_func_expf = yes; then
18790
18791 cat >>confdefs.h <<_ACEOF
18792 #define HAVE_EXPF 1
18793 _ACEOF
18794
18795 fi
18796
18797
18798
18799
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18801 $as_echo_n "checking for exp... " >&6; }
18802 if test "${gcc_cv_math_func_exp+set}" = set; then :
18803 $as_echo_n "(cached) " >&6
18804 else
18805 if test x$gcc_no_link = xyes; then
18806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18807 fi
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810
18811 #ifdef HAVE_COMPLEX_H
18812 #include <complex.h>
18813 #endif
18814 #ifdef HAVE_MATH_H
18815 #include <math.h>
18816 #endif
18817
18818 int (*ptr)() = (int (*)())exp;
18819
18820 int
18821 main ()
18822 {
18823 return 0;
18824 }
18825
18826 _ACEOF
18827 if ac_fn_c_try_link "$LINENO"; then :
18828 gcc_cv_math_func_exp=yes
18829 else
18830 gcc_cv_math_func_exp=no
18831 fi
18832 rm -f core conftest.err conftest.$ac_objext \
18833 conftest$ac_exeext conftest.$ac_ext
18834 fi
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18836 $as_echo "$gcc_cv_math_func_exp" >&6; }
18837 if test $gcc_cv_math_func_exp = yes; then
18838
18839 cat >>confdefs.h <<_ACEOF
18840 #define HAVE_EXP 1
18841 _ACEOF
18842
18843 fi
18844
18845
18846
18847
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18849 $as_echo_n "checking for expl... " >&6; }
18850 if test "${gcc_cv_math_func_expl+set}" = set; then :
18851 $as_echo_n "(cached) " >&6
18852 else
18853 if test x$gcc_no_link = xyes; then
18854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18855 fi
18856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18858
18859 #ifdef HAVE_COMPLEX_H
18860 #include <complex.h>
18861 #endif
18862 #ifdef HAVE_MATH_H
18863 #include <math.h>
18864 #endif
18865
18866 int (*ptr)() = (int (*)())expl;
18867
18868 int
18869 main ()
18870 {
18871 return 0;
18872 }
18873
18874 _ACEOF
18875 if ac_fn_c_try_link "$LINENO"; then :
18876 gcc_cv_math_func_expl=yes
18877 else
18878 gcc_cv_math_func_expl=no
18879 fi
18880 rm -f core conftest.err conftest.$ac_objext \
18881 conftest$ac_exeext conftest.$ac_ext
18882 fi
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18884 $as_echo "$gcc_cv_math_func_expl" >&6; }
18885 if test $gcc_cv_math_func_expl = yes; then
18886
18887 cat >>confdefs.h <<_ACEOF
18888 #define HAVE_EXPL 1
18889 _ACEOF
18890
18891 fi
18892
18893
18894
18895
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18897 $as_echo_n "checking for cexpf... " >&6; }
18898 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18899 $as_echo_n "(cached) " >&6
18900 else
18901 if test x$gcc_no_link = xyes; then
18902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18903 fi
18904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18905 /* end confdefs.h. */
18906
18907 #ifdef HAVE_COMPLEX_H
18908 #include <complex.h>
18909 #endif
18910 #ifdef HAVE_MATH_H
18911 #include <math.h>
18912 #endif
18913
18914 int (*ptr)() = (int (*)())cexpf;
18915
18916 int
18917 main ()
18918 {
18919 return 0;
18920 }
18921
18922 _ACEOF
18923 if ac_fn_c_try_link "$LINENO"; then :
18924 gcc_cv_math_func_cexpf=yes
18925 else
18926 gcc_cv_math_func_cexpf=no
18927 fi
18928 rm -f core conftest.err conftest.$ac_objext \
18929 conftest$ac_exeext conftest.$ac_ext
18930 fi
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18932 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18933 if test $gcc_cv_math_func_cexpf = yes; then
18934
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_CEXPF 1
18937 _ACEOF
18938
18939 fi
18940
18941
18942
18943
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18945 $as_echo_n "checking for cexp... " >&6; }
18946 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18947 $as_echo_n "(cached) " >&6
18948 else
18949 if test x$gcc_no_link = xyes; then
18950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18951 fi
18952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18953 /* end confdefs.h. */
18954
18955 #ifdef HAVE_COMPLEX_H
18956 #include <complex.h>
18957 #endif
18958 #ifdef HAVE_MATH_H
18959 #include <math.h>
18960 #endif
18961
18962 int (*ptr)() = (int (*)())cexp;
18963
18964 int
18965 main ()
18966 {
18967 return 0;
18968 }
18969
18970 _ACEOF
18971 if ac_fn_c_try_link "$LINENO"; then :
18972 gcc_cv_math_func_cexp=yes
18973 else
18974 gcc_cv_math_func_cexp=no
18975 fi
18976 rm -f core conftest.err conftest.$ac_objext \
18977 conftest$ac_exeext conftest.$ac_ext
18978 fi
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18980 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18981 if test $gcc_cv_math_func_cexp = yes; then
18982
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_CEXP 1
18985 _ACEOF
18986
18987 fi
18988
18989
18990
18991
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18993 $as_echo_n "checking for cexpl... " >&6; }
18994 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18995 $as_echo_n "(cached) " >&6
18996 else
18997 if test x$gcc_no_link = xyes; then
18998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18999 fi
19000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19002
19003 #ifdef HAVE_COMPLEX_H
19004 #include <complex.h>
19005 #endif
19006 #ifdef HAVE_MATH_H
19007 #include <math.h>
19008 #endif
19009
19010 int (*ptr)() = (int (*)())cexpl;
19011
19012 int
19013 main ()
19014 {
19015 return 0;
19016 }
19017
19018 _ACEOF
19019 if ac_fn_c_try_link "$LINENO"; then :
19020 gcc_cv_math_func_cexpl=yes
19021 else
19022 gcc_cv_math_func_cexpl=no
19023 fi
19024 rm -f core conftest.err conftest.$ac_objext \
19025 conftest$ac_exeext conftest.$ac_ext
19026 fi
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19028 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19029 if test $gcc_cv_math_func_cexpl = yes; then
19030
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_CEXPL 1
19033 _ACEOF
19034
19035 fi
19036
19037
19038
19039
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19041 $as_echo_n "checking for fabsf... " >&6; }
19042 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19043 $as_echo_n "(cached) " >&6
19044 else
19045 if test x$gcc_no_link = xyes; then
19046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19047 fi
19048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19049 /* end confdefs.h. */
19050
19051 #ifdef HAVE_COMPLEX_H
19052 #include <complex.h>
19053 #endif
19054 #ifdef HAVE_MATH_H
19055 #include <math.h>
19056 #endif
19057
19058 int (*ptr)() = (int (*)())fabsf;
19059
19060 int
19061 main ()
19062 {
19063 return 0;
19064 }
19065
19066 _ACEOF
19067 if ac_fn_c_try_link "$LINENO"; then :
19068 gcc_cv_math_func_fabsf=yes
19069 else
19070 gcc_cv_math_func_fabsf=no
19071 fi
19072 rm -f core conftest.err conftest.$ac_objext \
19073 conftest$ac_exeext conftest.$ac_ext
19074 fi
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19076 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19077 if test $gcc_cv_math_func_fabsf = yes; then
19078
19079 cat >>confdefs.h <<_ACEOF
19080 #define HAVE_FABSF 1
19081 _ACEOF
19082
19083 fi
19084
19085
19086
19087
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19089 $as_echo_n "checking for fabs... " >&6; }
19090 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19091 $as_echo_n "(cached) " >&6
19092 else
19093 if test x$gcc_no_link = xyes; then
19094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19095 fi
19096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19097 /* end confdefs.h. */
19098
19099 #ifdef HAVE_COMPLEX_H
19100 #include <complex.h>
19101 #endif
19102 #ifdef HAVE_MATH_H
19103 #include <math.h>
19104 #endif
19105
19106 int (*ptr)() = (int (*)())fabs;
19107
19108 int
19109 main ()
19110 {
19111 return 0;
19112 }
19113
19114 _ACEOF
19115 if ac_fn_c_try_link "$LINENO"; then :
19116 gcc_cv_math_func_fabs=yes
19117 else
19118 gcc_cv_math_func_fabs=no
19119 fi
19120 rm -f core conftest.err conftest.$ac_objext \
19121 conftest$ac_exeext conftest.$ac_ext
19122 fi
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19124 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19125 if test $gcc_cv_math_func_fabs = yes; then
19126
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_FABS 1
19129 _ACEOF
19130
19131 fi
19132
19133
19134
19135
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19137 $as_echo_n "checking for fabsl... " >&6; }
19138 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19139 $as_echo_n "(cached) " >&6
19140 else
19141 if test x$gcc_no_link = xyes; then
19142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19143 fi
19144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19145 /* end confdefs.h. */
19146
19147 #ifdef HAVE_COMPLEX_H
19148 #include <complex.h>
19149 #endif
19150 #ifdef HAVE_MATH_H
19151 #include <math.h>
19152 #endif
19153
19154 int (*ptr)() = (int (*)())fabsl;
19155
19156 int
19157 main ()
19158 {
19159 return 0;
19160 }
19161
19162 _ACEOF
19163 if ac_fn_c_try_link "$LINENO"; then :
19164 gcc_cv_math_func_fabsl=yes
19165 else
19166 gcc_cv_math_func_fabsl=no
19167 fi
19168 rm -f core conftest.err conftest.$ac_objext \
19169 conftest$ac_exeext conftest.$ac_ext
19170 fi
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19172 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19173 if test $gcc_cv_math_func_fabsl = yes; then
19174
19175 cat >>confdefs.h <<_ACEOF
19176 #define HAVE_FABSL 1
19177 _ACEOF
19178
19179 fi
19180
19181
19182
19183
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19185 $as_echo_n "checking for cabsf... " >&6; }
19186 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19187 $as_echo_n "(cached) " >&6
19188 else
19189 if test x$gcc_no_link = xyes; then
19190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19191 fi
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19194
19195 #ifdef HAVE_COMPLEX_H
19196 #include <complex.h>
19197 #endif
19198 #ifdef HAVE_MATH_H
19199 #include <math.h>
19200 #endif
19201
19202 int (*ptr)() = (int (*)())cabsf;
19203
19204 int
19205 main ()
19206 {
19207 return 0;
19208 }
19209
19210 _ACEOF
19211 if ac_fn_c_try_link "$LINENO"; then :
19212 gcc_cv_math_func_cabsf=yes
19213 else
19214 gcc_cv_math_func_cabsf=no
19215 fi
19216 rm -f core conftest.err conftest.$ac_objext \
19217 conftest$ac_exeext conftest.$ac_ext
19218 fi
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19220 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19221 if test $gcc_cv_math_func_cabsf = yes; then
19222
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_CABSF 1
19225 _ACEOF
19226
19227 fi
19228
19229
19230
19231
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19233 $as_echo_n "checking for cabs... " >&6; }
19234 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19235 $as_echo_n "(cached) " >&6
19236 else
19237 if test x$gcc_no_link = xyes; then
19238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19239 fi
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h. */
19242
19243 #ifdef HAVE_COMPLEX_H
19244 #include <complex.h>
19245 #endif
19246 #ifdef HAVE_MATH_H
19247 #include <math.h>
19248 #endif
19249
19250 int (*ptr)() = (int (*)())cabs;
19251
19252 int
19253 main ()
19254 {
19255 return 0;
19256 }
19257
19258 _ACEOF
19259 if ac_fn_c_try_link "$LINENO"; then :
19260 gcc_cv_math_func_cabs=yes
19261 else
19262 gcc_cv_math_func_cabs=no
19263 fi
19264 rm -f core conftest.err conftest.$ac_objext \
19265 conftest$ac_exeext conftest.$ac_ext
19266 fi
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19268 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19269 if test $gcc_cv_math_func_cabs = yes; then
19270
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_CABS 1
19273 _ACEOF
19274
19275 fi
19276
19277
19278
19279
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19281 $as_echo_n "checking for cabsl... " >&6; }
19282 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19283 $as_echo_n "(cached) " >&6
19284 else
19285 if test x$gcc_no_link = xyes; then
19286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19287 fi
19288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h. */
19290
19291 #ifdef HAVE_COMPLEX_H
19292 #include <complex.h>
19293 #endif
19294 #ifdef HAVE_MATH_H
19295 #include <math.h>
19296 #endif
19297
19298 int (*ptr)() = (int (*)())cabsl;
19299
19300 int
19301 main ()
19302 {
19303 return 0;
19304 }
19305
19306 _ACEOF
19307 if ac_fn_c_try_link "$LINENO"; then :
19308 gcc_cv_math_func_cabsl=yes
19309 else
19310 gcc_cv_math_func_cabsl=no
19311 fi
19312 rm -f core conftest.err conftest.$ac_objext \
19313 conftest$ac_exeext conftest.$ac_ext
19314 fi
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19316 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19317 if test $gcc_cv_math_func_cabsl = yes; then
19318
19319 cat >>confdefs.h <<_ACEOF
19320 #define HAVE_CABSL 1
19321 _ACEOF
19322
19323 fi
19324
19325
19326
19327
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19329 $as_echo_n "checking for floorf... " >&6; }
19330 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19331 $as_echo_n "(cached) " >&6
19332 else
19333 if test x$gcc_no_link = xyes; then
19334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19335 fi
19336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19337 /* end confdefs.h. */
19338
19339 #ifdef HAVE_COMPLEX_H
19340 #include <complex.h>
19341 #endif
19342 #ifdef HAVE_MATH_H
19343 #include <math.h>
19344 #endif
19345
19346 int (*ptr)() = (int (*)())floorf;
19347
19348 int
19349 main ()
19350 {
19351 return 0;
19352 }
19353
19354 _ACEOF
19355 if ac_fn_c_try_link "$LINENO"; then :
19356 gcc_cv_math_func_floorf=yes
19357 else
19358 gcc_cv_math_func_floorf=no
19359 fi
19360 rm -f core conftest.err conftest.$ac_objext \
19361 conftest$ac_exeext conftest.$ac_ext
19362 fi
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19364 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19365 if test $gcc_cv_math_func_floorf = yes; then
19366
19367 cat >>confdefs.h <<_ACEOF
19368 #define HAVE_FLOORF 1
19369 _ACEOF
19370
19371 fi
19372
19373
19374
19375
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19377 $as_echo_n "checking for floor... " >&6; }
19378 if test "${gcc_cv_math_func_floor+set}" = set; then :
19379 $as_echo_n "(cached) " >&6
19380 else
19381 if test x$gcc_no_link = xyes; then
19382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19383 fi
19384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19386
19387 #ifdef HAVE_COMPLEX_H
19388 #include <complex.h>
19389 #endif
19390 #ifdef HAVE_MATH_H
19391 #include <math.h>
19392 #endif
19393
19394 int (*ptr)() = (int (*)())floor;
19395
19396 int
19397 main ()
19398 {
19399 return 0;
19400 }
19401
19402 _ACEOF
19403 if ac_fn_c_try_link "$LINENO"; then :
19404 gcc_cv_math_func_floor=yes
19405 else
19406 gcc_cv_math_func_floor=no
19407 fi
19408 rm -f core conftest.err conftest.$ac_objext \
19409 conftest$ac_exeext conftest.$ac_ext
19410 fi
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19412 $as_echo "$gcc_cv_math_func_floor" >&6; }
19413 if test $gcc_cv_math_func_floor = yes; then
19414
19415 cat >>confdefs.h <<_ACEOF
19416 #define HAVE_FLOOR 1
19417 _ACEOF
19418
19419 fi
19420
19421
19422
19423
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19425 $as_echo_n "checking for floorl... " >&6; }
19426 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19427 $as_echo_n "(cached) " >&6
19428 else
19429 if test x$gcc_no_link = xyes; then
19430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19431 fi
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434
19435 #ifdef HAVE_COMPLEX_H
19436 #include <complex.h>
19437 #endif
19438 #ifdef HAVE_MATH_H
19439 #include <math.h>
19440 #endif
19441
19442 int (*ptr)() = (int (*)())floorl;
19443
19444 int
19445 main ()
19446 {
19447 return 0;
19448 }
19449
19450 _ACEOF
19451 if ac_fn_c_try_link "$LINENO"; then :
19452 gcc_cv_math_func_floorl=yes
19453 else
19454 gcc_cv_math_func_floorl=no
19455 fi
19456 rm -f core conftest.err conftest.$ac_objext \
19457 conftest$ac_exeext conftest.$ac_ext
19458 fi
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19460 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19461 if test $gcc_cv_math_func_floorl = yes; then
19462
19463 cat >>confdefs.h <<_ACEOF
19464 #define HAVE_FLOORL 1
19465 _ACEOF
19466
19467 fi
19468
19469
19470
19471
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19473 $as_echo_n "checking for fmodf... " >&6; }
19474 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19475 $as_echo_n "(cached) " >&6
19476 else
19477 if test x$gcc_no_link = xyes; then
19478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19479 fi
19480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19481 /* end confdefs.h. */
19482
19483 #ifdef HAVE_COMPLEX_H
19484 #include <complex.h>
19485 #endif
19486 #ifdef HAVE_MATH_H
19487 #include <math.h>
19488 #endif
19489
19490 int (*ptr)() = (int (*)())fmodf;
19491
19492 int
19493 main ()
19494 {
19495 return 0;
19496 }
19497
19498 _ACEOF
19499 if ac_fn_c_try_link "$LINENO"; then :
19500 gcc_cv_math_func_fmodf=yes
19501 else
19502 gcc_cv_math_func_fmodf=no
19503 fi
19504 rm -f core conftest.err conftest.$ac_objext \
19505 conftest$ac_exeext conftest.$ac_ext
19506 fi
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19508 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19509 if test $gcc_cv_math_func_fmodf = yes; then
19510
19511 cat >>confdefs.h <<_ACEOF
19512 #define HAVE_FMODF 1
19513 _ACEOF
19514
19515 fi
19516
19517
19518
19519
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19521 $as_echo_n "checking for fmod... " >&6; }
19522 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19523 $as_echo_n "(cached) " >&6
19524 else
19525 if test x$gcc_no_link = xyes; then
19526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19527 fi
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530
19531 #ifdef HAVE_COMPLEX_H
19532 #include <complex.h>
19533 #endif
19534 #ifdef HAVE_MATH_H
19535 #include <math.h>
19536 #endif
19537
19538 int (*ptr)() = (int (*)())fmod;
19539
19540 int
19541 main ()
19542 {
19543 return 0;
19544 }
19545
19546 _ACEOF
19547 if ac_fn_c_try_link "$LINENO"; then :
19548 gcc_cv_math_func_fmod=yes
19549 else
19550 gcc_cv_math_func_fmod=no
19551 fi
19552 rm -f core conftest.err conftest.$ac_objext \
19553 conftest$ac_exeext conftest.$ac_ext
19554 fi
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19556 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19557 if test $gcc_cv_math_func_fmod = yes; then
19558
19559 cat >>confdefs.h <<_ACEOF
19560 #define HAVE_FMOD 1
19561 _ACEOF
19562
19563 fi
19564
19565
19566
19567
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19569 $as_echo_n "checking for fmodl... " >&6; }
19570 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 if test x$gcc_no_link = xyes; then
19574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19575 fi
19576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19577 /* end confdefs.h. */
19578
19579 #ifdef HAVE_COMPLEX_H
19580 #include <complex.h>
19581 #endif
19582 #ifdef HAVE_MATH_H
19583 #include <math.h>
19584 #endif
19585
19586 int (*ptr)() = (int (*)())fmodl;
19587
19588 int
19589 main ()
19590 {
19591 return 0;
19592 }
19593
19594 _ACEOF
19595 if ac_fn_c_try_link "$LINENO"; then :
19596 gcc_cv_math_func_fmodl=yes
19597 else
19598 gcc_cv_math_func_fmodl=no
19599 fi
19600 rm -f core conftest.err conftest.$ac_objext \
19601 conftest$ac_exeext conftest.$ac_ext
19602 fi
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19604 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19605 if test $gcc_cv_math_func_fmodl = yes; then
19606
19607 cat >>confdefs.h <<_ACEOF
19608 #define HAVE_FMODL 1
19609 _ACEOF
19610
19611 fi
19612
19613
19614
19615
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19617 $as_echo_n "checking for frexpf... " >&6; }
19618 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19619 $as_echo_n "(cached) " >&6
19620 else
19621 if test x$gcc_no_link = xyes; then
19622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19623 fi
19624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19626
19627 #ifdef HAVE_COMPLEX_H
19628 #include <complex.h>
19629 #endif
19630 #ifdef HAVE_MATH_H
19631 #include <math.h>
19632 #endif
19633
19634 int (*ptr)() = (int (*)())frexpf;
19635
19636 int
19637 main ()
19638 {
19639 return 0;
19640 }
19641
19642 _ACEOF
19643 if ac_fn_c_try_link "$LINENO"; then :
19644 gcc_cv_math_func_frexpf=yes
19645 else
19646 gcc_cv_math_func_frexpf=no
19647 fi
19648 rm -f core conftest.err conftest.$ac_objext \
19649 conftest$ac_exeext conftest.$ac_ext
19650 fi
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19652 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19653 if test $gcc_cv_math_func_frexpf = yes; then
19654
19655 cat >>confdefs.h <<_ACEOF
19656 #define HAVE_FREXPF 1
19657 _ACEOF
19658
19659 fi
19660
19661
19662
19663
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19665 $as_echo_n "checking for frexp... " >&6; }
19666 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19667 $as_echo_n "(cached) " >&6
19668 else
19669 if test x$gcc_no_link = xyes; then
19670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19671 fi
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19674
19675 #ifdef HAVE_COMPLEX_H
19676 #include <complex.h>
19677 #endif
19678 #ifdef HAVE_MATH_H
19679 #include <math.h>
19680 #endif
19681
19682 int (*ptr)() = (int (*)())frexp;
19683
19684 int
19685 main ()
19686 {
19687 return 0;
19688 }
19689
19690 _ACEOF
19691 if ac_fn_c_try_link "$LINENO"; then :
19692 gcc_cv_math_func_frexp=yes
19693 else
19694 gcc_cv_math_func_frexp=no
19695 fi
19696 rm -f core conftest.err conftest.$ac_objext \
19697 conftest$ac_exeext conftest.$ac_ext
19698 fi
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19700 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19701 if test $gcc_cv_math_func_frexp = yes; then
19702
19703 cat >>confdefs.h <<_ACEOF
19704 #define HAVE_FREXP 1
19705 _ACEOF
19706
19707 fi
19708
19709
19710
19711
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19713 $as_echo_n "checking for frexpl... " >&6; }
19714 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19715 $as_echo_n "(cached) " >&6
19716 else
19717 if test x$gcc_no_link = xyes; then
19718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19719 fi
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19722
19723 #ifdef HAVE_COMPLEX_H
19724 #include <complex.h>
19725 #endif
19726 #ifdef HAVE_MATH_H
19727 #include <math.h>
19728 #endif
19729
19730 int (*ptr)() = (int (*)())frexpl;
19731
19732 int
19733 main ()
19734 {
19735 return 0;
19736 }
19737
19738 _ACEOF
19739 if ac_fn_c_try_link "$LINENO"; then :
19740 gcc_cv_math_func_frexpl=yes
19741 else
19742 gcc_cv_math_func_frexpl=no
19743 fi
19744 rm -f core conftest.err conftest.$ac_objext \
19745 conftest$ac_exeext conftest.$ac_ext
19746 fi
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19748 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19749 if test $gcc_cv_math_func_frexpl = yes; then
19750
19751 cat >>confdefs.h <<_ACEOF
19752 #define HAVE_FREXPL 1
19753 _ACEOF
19754
19755 fi
19756
19757
19758
19759
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19761 $as_echo_n "checking for hypotf... " >&6; }
19762 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19763 $as_echo_n "(cached) " >&6
19764 else
19765 if test x$gcc_no_link = xyes; then
19766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19767 fi
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19770
19771 #ifdef HAVE_COMPLEX_H
19772 #include <complex.h>
19773 #endif
19774 #ifdef HAVE_MATH_H
19775 #include <math.h>
19776 #endif
19777
19778 int (*ptr)() = (int (*)())hypotf;
19779
19780 int
19781 main ()
19782 {
19783 return 0;
19784 }
19785
19786 _ACEOF
19787 if ac_fn_c_try_link "$LINENO"; then :
19788 gcc_cv_math_func_hypotf=yes
19789 else
19790 gcc_cv_math_func_hypotf=no
19791 fi
19792 rm -f core conftest.err conftest.$ac_objext \
19793 conftest$ac_exeext conftest.$ac_ext
19794 fi
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19796 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19797 if test $gcc_cv_math_func_hypotf = yes; then
19798
19799 cat >>confdefs.h <<_ACEOF
19800 #define HAVE_HYPOTF 1
19801 _ACEOF
19802
19803 fi
19804
19805
19806
19807
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19809 $as_echo_n "checking for hypot... " >&6; }
19810 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19811 $as_echo_n "(cached) " >&6
19812 else
19813 if test x$gcc_no_link = xyes; then
19814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19815 fi
19816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19817 /* end confdefs.h. */
19818
19819 #ifdef HAVE_COMPLEX_H
19820 #include <complex.h>
19821 #endif
19822 #ifdef HAVE_MATH_H
19823 #include <math.h>
19824 #endif
19825
19826 int (*ptr)() = (int (*)())hypot;
19827
19828 int
19829 main ()
19830 {
19831 return 0;
19832 }
19833
19834 _ACEOF
19835 if ac_fn_c_try_link "$LINENO"; then :
19836 gcc_cv_math_func_hypot=yes
19837 else
19838 gcc_cv_math_func_hypot=no
19839 fi
19840 rm -f core conftest.err conftest.$ac_objext \
19841 conftest$ac_exeext conftest.$ac_ext
19842 fi
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19844 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19845 if test $gcc_cv_math_func_hypot = yes; then
19846
19847 cat >>confdefs.h <<_ACEOF
19848 #define HAVE_HYPOT 1
19849 _ACEOF
19850
19851 fi
19852
19853
19854
19855
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19857 $as_echo_n "checking for hypotl... " >&6; }
19858 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19859 $as_echo_n "(cached) " >&6
19860 else
19861 if test x$gcc_no_link = xyes; then
19862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19863 fi
19864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19865 /* end confdefs.h. */
19866
19867 #ifdef HAVE_COMPLEX_H
19868 #include <complex.h>
19869 #endif
19870 #ifdef HAVE_MATH_H
19871 #include <math.h>
19872 #endif
19873
19874 int (*ptr)() = (int (*)())hypotl;
19875
19876 int
19877 main ()
19878 {
19879 return 0;
19880 }
19881
19882 _ACEOF
19883 if ac_fn_c_try_link "$LINENO"; then :
19884 gcc_cv_math_func_hypotl=yes
19885 else
19886 gcc_cv_math_func_hypotl=no
19887 fi
19888 rm -f core conftest.err conftest.$ac_objext \
19889 conftest$ac_exeext conftest.$ac_ext
19890 fi
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19892 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19893 if test $gcc_cv_math_func_hypotl = yes; then
19894
19895 cat >>confdefs.h <<_ACEOF
19896 #define HAVE_HYPOTL 1
19897 _ACEOF
19898
19899 fi
19900
19901
19902
19903
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19905 $as_echo_n "checking for ldexpf... " >&6; }
19906 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19907 $as_echo_n "(cached) " >&6
19908 else
19909 if test x$gcc_no_link = xyes; then
19910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19911 fi
19912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19913 /* end confdefs.h. */
19914
19915 #ifdef HAVE_COMPLEX_H
19916 #include <complex.h>
19917 #endif
19918 #ifdef HAVE_MATH_H
19919 #include <math.h>
19920 #endif
19921
19922 int (*ptr)() = (int (*)())ldexpf;
19923
19924 int
19925 main ()
19926 {
19927 return 0;
19928 }
19929
19930 _ACEOF
19931 if ac_fn_c_try_link "$LINENO"; then :
19932 gcc_cv_math_func_ldexpf=yes
19933 else
19934 gcc_cv_math_func_ldexpf=no
19935 fi
19936 rm -f core conftest.err conftest.$ac_objext \
19937 conftest$ac_exeext conftest.$ac_ext
19938 fi
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19940 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19941 if test $gcc_cv_math_func_ldexpf = yes; then
19942
19943 cat >>confdefs.h <<_ACEOF
19944 #define HAVE_LDEXPF 1
19945 _ACEOF
19946
19947 fi
19948
19949
19950
19951
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19953 $as_echo_n "checking for ldexp... " >&6; }
19954 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19955 $as_echo_n "(cached) " >&6
19956 else
19957 if test x$gcc_no_link = xyes; then
19958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19959 fi
19960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19961 /* end confdefs.h. */
19962
19963 #ifdef HAVE_COMPLEX_H
19964 #include <complex.h>
19965 #endif
19966 #ifdef HAVE_MATH_H
19967 #include <math.h>
19968 #endif
19969
19970 int (*ptr)() = (int (*)())ldexp;
19971
19972 int
19973 main ()
19974 {
19975 return 0;
19976 }
19977
19978 _ACEOF
19979 if ac_fn_c_try_link "$LINENO"; then :
19980 gcc_cv_math_func_ldexp=yes
19981 else
19982 gcc_cv_math_func_ldexp=no
19983 fi
19984 rm -f core conftest.err conftest.$ac_objext \
19985 conftest$ac_exeext conftest.$ac_ext
19986 fi
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19988 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19989 if test $gcc_cv_math_func_ldexp = yes; then
19990
19991 cat >>confdefs.h <<_ACEOF
19992 #define HAVE_LDEXP 1
19993 _ACEOF
19994
19995 fi
19996
19997
19998
19999
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20001 $as_echo_n "checking for ldexpl... " >&6; }
20002 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
20003 $as_echo_n "(cached) " >&6
20004 else
20005 if test x$gcc_no_link = xyes; then
20006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20007 fi
20008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20009 /* end confdefs.h. */
20010
20011 #ifdef HAVE_COMPLEX_H
20012 #include <complex.h>
20013 #endif
20014 #ifdef HAVE_MATH_H
20015 #include <math.h>
20016 #endif
20017
20018 int (*ptr)() = (int (*)())ldexpl;
20019
20020 int
20021 main ()
20022 {
20023 return 0;
20024 }
20025
20026 _ACEOF
20027 if ac_fn_c_try_link "$LINENO"; then :
20028 gcc_cv_math_func_ldexpl=yes
20029 else
20030 gcc_cv_math_func_ldexpl=no
20031 fi
20032 rm -f core conftest.err conftest.$ac_objext \
20033 conftest$ac_exeext conftest.$ac_ext
20034 fi
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20036 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20037 if test $gcc_cv_math_func_ldexpl = yes; then
20038
20039 cat >>confdefs.h <<_ACEOF
20040 #define HAVE_LDEXPL 1
20041 _ACEOF
20042
20043 fi
20044
20045
20046
20047
20048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20049 $as_echo_n "checking for logf... " >&6; }
20050 if test "${gcc_cv_math_func_logf+set}" = set; then :
20051 $as_echo_n "(cached) " >&6
20052 else
20053 if test x$gcc_no_link = xyes; then
20054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20055 fi
20056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h. */
20058
20059 #ifdef HAVE_COMPLEX_H
20060 #include <complex.h>
20061 #endif
20062 #ifdef HAVE_MATH_H
20063 #include <math.h>
20064 #endif
20065
20066 int (*ptr)() = (int (*)())logf;
20067
20068 int
20069 main ()
20070 {
20071 return 0;
20072 }
20073
20074 _ACEOF
20075 if ac_fn_c_try_link "$LINENO"; then :
20076 gcc_cv_math_func_logf=yes
20077 else
20078 gcc_cv_math_func_logf=no
20079 fi
20080 rm -f core conftest.err conftest.$ac_objext \
20081 conftest$ac_exeext conftest.$ac_ext
20082 fi
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20084 $as_echo "$gcc_cv_math_func_logf" >&6; }
20085 if test $gcc_cv_math_func_logf = yes; then
20086
20087 cat >>confdefs.h <<_ACEOF
20088 #define HAVE_LOGF 1
20089 _ACEOF
20090
20091 fi
20092
20093
20094
20095
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20097 $as_echo_n "checking for log... " >&6; }
20098 if test "${gcc_cv_math_func_log+set}" = set; then :
20099 $as_echo_n "(cached) " >&6
20100 else
20101 if test x$gcc_no_link = xyes; then
20102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20103 fi
20104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20105 /* end confdefs.h. */
20106
20107 #ifdef HAVE_COMPLEX_H
20108 #include <complex.h>
20109 #endif
20110 #ifdef HAVE_MATH_H
20111 #include <math.h>
20112 #endif
20113
20114 int (*ptr)() = (int (*)())log;
20115
20116 int
20117 main ()
20118 {
20119 return 0;
20120 }
20121
20122 _ACEOF
20123 if ac_fn_c_try_link "$LINENO"; then :
20124 gcc_cv_math_func_log=yes
20125 else
20126 gcc_cv_math_func_log=no
20127 fi
20128 rm -f core conftest.err conftest.$ac_objext \
20129 conftest$ac_exeext conftest.$ac_ext
20130 fi
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20132 $as_echo "$gcc_cv_math_func_log" >&6; }
20133 if test $gcc_cv_math_func_log = yes; then
20134
20135 cat >>confdefs.h <<_ACEOF
20136 #define HAVE_LOG 1
20137 _ACEOF
20138
20139 fi
20140
20141
20142
20143
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20145 $as_echo_n "checking for logl... " >&6; }
20146 if test "${gcc_cv_math_func_logl+set}" = set; then :
20147 $as_echo_n "(cached) " >&6
20148 else
20149 if test x$gcc_no_link = xyes; then
20150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20151 fi
20152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20153 /* end confdefs.h. */
20154
20155 #ifdef HAVE_COMPLEX_H
20156 #include <complex.h>
20157 #endif
20158 #ifdef HAVE_MATH_H
20159 #include <math.h>
20160 #endif
20161
20162 int (*ptr)() = (int (*)())logl;
20163
20164 int
20165 main ()
20166 {
20167 return 0;
20168 }
20169
20170 _ACEOF
20171 if ac_fn_c_try_link "$LINENO"; then :
20172 gcc_cv_math_func_logl=yes
20173 else
20174 gcc_cv_math_func_logl=no
20175 fi
20176 rm -f core conftest.err conftest.$ac_objext \
20177 conftest$ac_exeext conftest.$ac_ext
20178 fi
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20180 $as_echo "$gcc_cv_math_func_logl" >&6; }
20181 if test $gcc_cv_math_func_logl = yes; then
20182
20183 cat >>confdefs.h <<_ACEOF
20184 #define HAVE_LOGL 1
20185 _ACEOF
20186
20187 fi
20188
20189
20190
20191
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20193 $as_echo_n "checking for clogf... " >&6; }
20194 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20195 $as_echo_n "(cached) " >&6
20196 else
20197 if test x$gcc_no_link = xyes; then
20198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20199 fi
20200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20201 /* end confdefs.h. */
20202
20203 #ifdef HAVE_COMPLEX_H
20204 #include <complex.h>
20205 #endif
20206 #ifdef HAVE_MATH_H
20207 #include <math.h>
20208 #endif
20209
20210 int (*ptr)() = (int (*)())clogf;
20211
20212 int
20213 main ()
20214 {
20215 return 0;
20216 }
20217
20218 _ACEOF
20219 if ac_fn_c_try_link "$LINENO"; then :
20220 gcc_cv_math_func_clogf=yes
20221 else
20222 gcc_cv_math_func_clogf=no
20223 fi
20224 rm -f core conftest.err conftest.$ac_objext \
20225 conftest$ac_exeext conftest.$ac_ext
20226 fi
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20228 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20229 if test $gcc_cv_math_func_clogf = yes; then
20230
20231 cat >>confdefs.h <<_ACEOF
20232 #define HAVE_CLOGF 1
20233 _ACEOF
20234
20235 fi
20236
20237
20238
20239
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20241 $as_echo_n "checking for clog... " >&6; }
20242 if test "${gcc_cv_math_func_clog+set}" = set; then :
20243 $as_echo_n "(cached) " >&6
20244 else
20245 if test x$gcc_no_link = xyes; then
20246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20247 fi
20248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20249 /* end confdefs.h. */
20250
20251 #ifdef HAVE_COMPLEX_H
20252 #include <complex.h>
20253 #endif
20254 #ifdef HAVE_MATH_H
20255 #include <math.h>
20256 #endif
20257
20258 int (*ptr)() = (int (*)())clog;
20259
20260 int
20261 main ()
20262 {
20263 return 0;
20264 }
20265
20266 _ACEOF
20267 if ac_fn_c_try_link "$LINENO"; then :
20268 gcc_cv_math_func_clog=yes
20269 else
20270 gcc_cv_math_func_clog=no
20271 fi
20272 rm -f core conftest.err conftest.$ac_objext \
20273 conftest$ac_exeext conftest.$ac_ext
20274 fi
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20276 $as_echo "$gcc_cv_math_func_clog" >&6; }
20277 if test $gcc_cv_math_func_clog = yes; then
20278
20279 cat >>confdefs.h <<_ACEOF
20280 #define HAVE_CLOG 1
20281 _ACEOF
20282
20283 fi
20284
20285
20286
20287
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20289 $as_echo_n "checking for clogl... " >&6; }
20290 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20291 $as_echo_n "(cached) " >&6
20292 else
20293 if test x$gcc_no_link = xyes; then
20294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20295 fi
20296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20297 /* end confdefs.h. */
20298
20299 #ifdef HAVE_COMPLEX_H
20300 #include <complex.h>
20301 #endif
20302 #ifdef HAVE_MATH_H
20303 #include <math.h>
20304 #endif
20305
20306 int (*ptr)() = (int (*)())clogl;
20307
20308 int
20309 main ()
20310 {
20311 return 0;
20312 }
20313
20314 _ACEOF
20315 if ac_fn_c_try_link "$LINENO"; then :
20316 gcc_cv_math_func_clogl=yes
20317 else
20318 gcc_cv_math_func_clogl=no
20319 fi
20320 rm -f core conftest.err conftest.$ac_objext \
20321 conftest$ac_exeext conftest.$ac_ext
20322 fi
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20324 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20325 if test $gcc_cv_math_func_clogl = yes; then
20326
20327 cat >>confdefs.h <<_ACEOF
20328 #define HAVE_CLOGL 1
20329 _ACEOF
20330
20331 fi
20332
20333
20334
20335
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20337 $as_echo_n "checking for log10f... " >&6; }
20338 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20339 $as_echo_n "(cached) " >&6
20340 else
20341 if test x$gcc_no_link = xyes; then
20342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20343 fi
20344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20345 /* end confdefs.h. */
20346
20347 #ifdef HAVE_COMPLEX_H
20348 #include <complex.h>
20349 #endif
20350 #ifdef HAVE_MATH_H
20351 #include <math.h>
20352 #endif
20353
20354 int (*ptr)() = (int (*)())log10f;
20355
20356 int
20357 main ()
20358 {
20359 return 0;
20360 }
20361
20362 _ACEOF
20363 if ac_fn_c_try_link "$LINENO"; then :
20364 gcc_cv_math_func_log10f=yes
20365 else
20366 gcc_cv_math_func_log10f=no
20367 fi
20368 rm -f core conftest.err conftest.$ac_objext \
20369 conftest$ac_exeext conftest.$ac_ext
20370 fi
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20372 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20373 if test $gcc_cv_math_func_log10f = yes; then
20374
20375 cat >>confdefs.h <<_ACEOF
20376 #define HAVE_LOG10F 1
20377 _ACEOF
20378
20379 fi
20380
20381
20382
20383
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20385 $as_echo_n "checking for log10... " >&6; }
20386 if test "${gcc_cv_math_func_log10+set}" = set; then :
20387 $as_echo_n "(cached) " >&6
20388 else
20389 if test x$gcc_no_link = xyes; then
20390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20391 fi
20392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20393 /* end confdefs.h. */
20394
20395 #ifdef HAVE_COMPLEX_H
20396 #include <complex.h>
20397 #endif
20398 #ifdef HAVE_MATH_H
20399 #include <math.h>
20400 #endif
20401
20402 int (*ptr)() = (int (*)())log10;
20403
20404 int
20405 main ()
20406 {
20407 return 0;
20408 }
20409
20410 _ACEOF
20411 if ac_fn_c_try_link "$LINENO"; then :
20412 gcc_cv_math_func_log10=yes
20413 else
20414 gcc_cv_math_func_log10=no
20415 fi
20416 rm -f core conftest.err conftest.$ac_objext \
20417 conftest$ac_exeext conftest.$ac_ext
20418 fi
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20420 $as_echo "$gcc_cv_math_func_log10" >&6; }
20421 if test $gcc_cv_math_func_log10 = yes; then
20422
20423 cat >>confdefs.h <<_ACEOF
20424 #define HAVE_LOG10 1
20425 _ACEOF
20426
20427 fi
20428
20429
20430
20431
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20433 $as_echo_n "checking for log10l... " >&6; }
20434 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20435 $as_echo_n "(cached) " >&6
20436 else
20437 if test x$gcc_no_link = xyes; then
20438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20439 fi
20440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h. */
20442
20443 #ifdef HAVE_COMPLEX_H
20444 #include <complex.h>
20445 #endif
20446 #ifdef HAVE_MATH_H
20447 #include <math.h>
20448 #endif
20449
20450 int (*ptr)() = (int (*)())log10l;
20451
20452 int
20453 main ()
20454 {
20455 return 0;
20456 }
20457
20458 _ACEOF
20459 if ac_fn_c_try_link "$LINENO"; then :
20460 gcc_cv_math_func_log10l=yes
20461 else
20462 gcc_cv_math_func_log10l=no
20463 fi
20464 rm -f core conftest.err conftest.$ac_objext \
20465 conftest$ac_exeext conftest.$ac_ext
20466 fi
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20468 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20469 if test $gcc_cv_math_func_log10l = yes; then
20470
20471 cat >>confdefs.h <<_ACEOF
20472 #define HAVE_LOG10L 1
20473 _ACEOF
20474
20475 fi
20476
20477
20478
20479
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20481 $as_echo_n "checking for clog10f... " >&6; }
20482 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20483 $as_echo_n "(cached) " >&6
20484 else
20485 if test x$gcc_no_link = xyes; then
20486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20487 fi
20488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20489 /* end confdefs.h. */
20490
20491 #ifdef HAVE_COMPLEX_H
20492 #include <complex.h>
20493 #endif
20494 #ifdef HAVE_MATH_H
20495 #include <math.h>
20496 #endif
20497
20498 int (*ptr)() = (int (*)())clog10f;
20499
20500 int
20501 main ()
20502 {
20503 return 0;
20504 }
20505
20506 _ACEOF
20507 if ac_fn_c_try_link "$LINENO"; then :
20508 gcc_cv_math_func_clog10f=yes
20509 else
20510 gcc_cv_math_func_clog10f=no
20511 fi
20512 rm -f core conftest.err conftest.$ac_objext \
20513 conftest$ac_exeext conftest.$ac_ext
20514 fi
20515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20516 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20517 if test $gcc_cv_math_func_clog10f = yes; then
20518
20519 cat >>confdefs.h <<_ACEOF
20520 #define HAVE_CLOG10F 1
20521 _ACEOF
20522
20523 fi
20524
20525
20526
20527
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20529 $as_echo_n "checking for clog10... " >&6; }
20530 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20531 $as_echo_n "(cached) " >&6
20532 else
20533 if test x$gcc_no_link = xyes; then
20534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20535 fi
20536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20537 /* end confdefs.h. */
20538
20539 #ifdef HAVE_COMPLEX_H
20540 #include <complex.h>
20541 #endif
20542 #ifdef HAVE_MATH_H
20543 #include <math.h>
20544 #endif
20545
20546 int (*ptr)() = (int (*)())clog10;
20547
20548 int
20549 main ()
20550 {
20551 return 0;
20552 }
20553
20554 _ACEOF
20555 if ac_fn_c_try_link "$LINENO"; then :
20556 gcc_cv_math_func_clog10=yes
20557 else
20558 gcc_cv_math_func_clog10=no
20559 fi
20560 rm -f core conftest.err conftest.$ac_objext \
20561 conftest$ac_exeext conftest.$ac_ext
20562 fi
20563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20564 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20565 if test $gcc_cv_math_func_clog10 = yes; then
20566
20567 cat >>confdefs.h <<_ACEOF
20568 #define HAVE_CLOG10 1
20569 _ACEOF
20570
20571 fi
20572
20573
20574
20575
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20577 $as_echo_n "checking for clog10l... " >&6; }
20578 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20579 $as_echo_n "(cached) " >&6
20580 else
20581 if test x$gcc_no_link = xyes; then
20582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20583 fi
20584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20585 /* end confdefs.h. */
20586
20587 #ifdef HAVE_COMPLEX_H
20588 #include <complex.h>
20589 #endif
20590 #ifdef HAVE_MATH_H
20591 #include <math.h>
20592 #endif
20593
20594 int (*ptr)() = (int (*)())clog10l;
20595
20596 int
20597 main ()
20598 {
20599 return 0;
20600 }
20601
20602 _ACEOF
20603 if ac_fn_c_try_link "$LINENO"; then :
20604 gcc_cv_math_func_clog10l=yes
20605 else
20606 gcc_cv_math_func_clog10l=no
20607 fi
20608 rm -f core conftest.err conftest.$ac_objext \
20609 conftest$ac_exeext conftest.$ac_ext
20610 fi
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20612 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20613 if test $gcc_cv_math_func_clog10l = yes; then
20614
20615 cat >>confdefs.h <<_ACEOF
20616 #define HAVE_CLOG10L 1
20617 _ACEOF
20618
20619 fi
20620
20621
20622
20623
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20625 $as_echo_n "checking for nextafterf... " >&6; }
20626 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20627 $as_echo_n "(cached) " >&6
20628 else
20629 if test x$gcc_no_link = xyes; then
20630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20631 fi
20632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20633 /* end confdefs.h. */
20634
20635 #ifdef HAVE_COMPLEX_H
20636 #include <complex.h>
20637 #endif
20638 #ifdef HAVE_MATH_H
20639 #include <math.h>
20640 #endif
20641
20642 int (*ptr)() = (int (*)())nextafterf;
20643
20644 int
20645 main ()
20646 {
20647 return 0;
20648 }
20649
20650 _ACEOF
20651 if ac_fn_c_try_link "$LINENO"; then :
20652 gcc_cv_math_func_nextafterf=yes
20653 else
20654 gcc_cv_math_func_nextafterf=no
20655 fi
20656 rm -f core conftest.err conftest.$ac_objext \
20657 conftest$ac_exeext conftest.$ac_ext
20658 fi
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20660 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20661 if test $gcc_cv_math_func_nextafterf = yes; then
20662
20663 cat >>confdefs.h <<_ACEOF
20664 #define HAVE_NEXTAFTERF 1
20665 _ACEOF
20666
20667 fi
20668
20669
20670
20671
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20673 $as_echo_n "checking for nextafter... " >&6; }
20674 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20675 $as_echo_n "(cached) " >&6
20676 else
20677 if test x$gcc_no_link = xyes; then
20678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20679 fi
20680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20681 /* end confdefs.h. */
20682
20683 #ifdef HAVE_COMPLEX_H
20684 #include <complex.h>
20685 #endif
20686 #ifdef HAVE_MATH_H
20687 #include <math.h>
20688 #endif
20689
20690 int (*ptr)() = (int (*)())nextafter;
20691
20692 int
20693 main ()
20694 {
20695 return 0;
20696 }
20697
20698 _ACEOF
20699 if ac_fn_c_try_link "$LINENO"; then :
20700 gcc_cv_math_func_nextafter=yes
20701 else
20702 gcc_cv_math_func_nextafter=no
20703 fi
20704 rm -f core conftest.err conftest.$ac_objext \
20705 conftest$ac_exeext conftest.$ac_ext
20706 fi
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20708 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20709 if test $gcc_cv_math_func_nextafter = yes; then
20710
20711 cat >>confdefs.h <<_ACEOF
20712 #define HAVE_NEXTAFTER 1
20713 _ACEOF
20714
20715 fi
20716
20717
20718
20719
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20721 $as_echo_n "checking for nextafterl... " >&6; }
20722 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20723 $as_echo_n "(cached) " >&6
20724 else
20725 if test x$gcc_no_link = xyes; then
20726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20727 fi
20728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20729 /* end confdefs.h. */
20730
20731 #ifdef HAVE_COMPLEX_H
20732 #include <complex.h>
20733 #endif
20734 #ifdef HAVE_MATH_H
20735 #include <math.h>
20736 #endif
20737
20738 int (*ptr)() = (int (*)())nextafterl;
20739
20740 int
20741 main ()
20742 {
20743 return 0;
20744 }
20745
20746 _ACEOF
20747 if ac_fn_c_try_link "$LINENO"; then :
20748 gcc_cv_math_func_nextafterl=yes
20749 else
20750 gcc_cv_math_func_nextafterl=no
20751 fi
20752 rm -f core conftest.err conftest.$ac_objext \
20753 conftest$ac_exeext conftest.$ac_ext
20754 fi
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20756 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20757 if test $gcc_cv_math_func_nextafterl = yes; then
20758
20759 cat >>confdefs.h <<_ACEOF
20760 #define HAVE_NEXTAFTERL 1
20761 _ACEOF
20762
20763 fi
20764
20765
20766
20767
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20769 $as_echo_n "checking for powf... " >&6; }
20770 if test "${gcc_cv_math_func_powf+set}" = set; then :
20771 $as_echo_n "(cached) " >&6
20772 else
20773 if test x$gcc_no_link = xyes; then
20774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20775 fi
20776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20777 /* end confdefs.h. */
20778
20779 #ifdef HAVE_COMPLEX_H
20780 #include <complex.h>
20781 #endif
20782 #ifdef HAVE_MATH_H
20783 #include <math.h>
20784 #endif
20785
20786 int (*ptr)() = (int (*)())powf;
20787
20788 int
20789 main ()
20790 {
20791 return 0;
20792 }
20793
20794 _ACEOF
20795 if ac_fn_c_try_link "$LINENO"; then :
20796 gcc_cv_math_func_powf=yes
20797 else
20798 gcc_cv_math_func_powf=no
20799 fi
20800 rm -f core conftest.err conftest.$ac_objext \
20801 conftest$ac_exeext conftest.$ac_ext
20802 fi
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20804 $as_echo "$gcc_cv_math_func_powf" >&6; }
20805 if test $gcc_cv_math_func_powf = yes; then
20806
20807 cat >>confdefs.h <<_ACEOF
20808 #define HAVE_POWF 1
20809 _ACEOF
20810
20811 fi
20812
20813
20814
20815
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20817 $as_echo_n "checking for pow... " >&6; }
20818 if test "${gcc_cv_math_func_pow+set}" = set; then :
20819 $as_echo_n "(cached) " >&6
20820 else
20821 if test x$gcc_no_link = xyes; then
20822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20823 fi
20824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20825 /* end confdefs.h. */
20826
20827 #ifdef HAVE_COMPLEX_H
20828 #include <complex.h>
20829 #endif
20830 #ifdef HAVE_MATH_H
20831 #include <math.h>
20832 #endif
20833
20834 int (*ptr)() = (int (*)())pow;
20835
20836 int
20837 main ()
20838 {
20839 return 0;
20840 }
20841
20842 _ACEOF
20843 if ac_fn_c_try_link "$LINENO"; then :
20844 gcc_cv_math_func_pow=yes
20845 else
20846 gcc_cv_math_func_pow=no
20847 fi
20848 rm -f core conftest.err conftest.$ac_objext \
20849 conftest$ac_exeext conftest.$ac_ext
20850 fi
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20852 $as_echo "$gcc_cv_math_func_pow" >&6; }
20853 if test $gcc_cv_math_func_pow = yes; then
20854
20855 cat >>confdefs.h <<_ACEOF
20856 #define HAVE_POW 1
20857 _ACEOF
20858
20859 fi
20860
20861
20862
20863
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20865 $as_echo_n "checking for cpowf... " >&6; }
20866 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20867 $as_echo_n "(cached) " >&6
20868 else
20869 if test x$gcc_no_link = xyes; then
20870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20871 fi
20872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20874
20875 #ifdef HAVE_COMPLEX_H
20876 #include <complex.h>
20877 #endif
20878 #ifdef HAVE_MATH_H
20879 #include <math.h>
20880 #endif
20881
20882 int (*ptr)() = (int (*)())cpowf;
20883
20884 int
20885 main ()
20886 {
20887 return 0;
20888 }
20889
20890 _ACEOF
20891 if ac_fn_c_try_link "$LINENO"; then :
20892 gcc_cv_math_func_cpowf=yes
20893 else
20894 gcc_cv_math_func_cpowf=no
20895 fi
20896 rm -f core conftest.err conftest.$ac_objext \
20897 conftest$ac_exeext conftest.$ac_ext
20898 fi
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20900 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20901 if test $gcc_cv_math_func_cpowf = yes; then
20902
20903 cat >>confdefs.h <<_ACEOF
20904 #define HAVE_CPOWF 1
20905 _ACEOF
20906
20907 fi
20908
20909
20910
20911
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20913 $as_echo_n "checking for cpow... " >&6; }
20914 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20915 $as_echo_n "(cached) " >&6
20916 else
20917 if test x$gcc_no_link = xyes; then
20918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20919 fi
20920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20921 /* end confdefs.h. */
20922
20923 #ifdef HAVE_COMPLEX_H
20924 #include <complex.h>
20925 #endif
20926 #ifdef HAVE_MATH_H
20927 #include <math.h>
20928 #endif
20929
20930 int (*ptr)() = (int (*)())cpow;
20931
20932 int
20933 main ()
20934 {
20935 return 0;
20936 }
20937
20938 _ACEOF
20939 if ac_fn_c_try_link "$LINENO"; then :
20940 gcc_cv_math_func_cpow=yes
20941 else
20942 gcc_cv_math_func_cpow=no
20943 fi
20944 rm -f core conftest.err conftest.$ac_objext \
20945 conftest$ac_exeext conftest.$ac_ext
20946 fi
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20948 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20949 if test $gcc_cv_math_func_cpow = yes; then
20950
20951 cat >>confdefs.h <<_ACEOF
20952 #define HAVE_CPOW 1
20953 _ACEOF
20954
20955 fi
20956
20957
20958
20959
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20961 $as_echo_n "checking for cpowl... " >&6; }
20962 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20963 $as_echo_n "(cached) " >&6
20964 else
20965 if test x$gcc_no_link = xyes; then
20966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20967 fi
20968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20970
20971 #ifdef HAVE_COMPLEX_H
20972 #include <complex.h>
20973 #endif
20974 #ifdef HAVE_MATH_H
20975 #include <math.h>
20976 #endif
20977
20978 int (*ptr)() = (int (*)())cpowl;
20979
20980 int
20981 main ()
20982 {
20983 return 0;
20984 }
20985
20986 _ACEOF
20987 if ac_fn_c_try_link "$LINENO"; then :
20988 gcc_cv_math_func_cpowl=yes
20989 else
20990 gcc_cv_math_func_cpowl=no
20991 fi
20992 rm -f core conftest.err conftest.$ac_objext \
20993 conftest$ac_exeext conftest.$ac_ext
20994 fi
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
20996 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
20997 if test $gcc_cv_math_func_cpowl = yes; then
20998
20999 cat >>confdefs.h <<_ACEOF
21000 #define HAVE_CPOWL 1
21001 _ACEOF
21002
21003 fi
21004
21005
21006
21007
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21009 $as_echo_n "checking for roundf... " >&6; }
21010 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21011 $as_echo_n "(cached) " >&6
21012 else
21013 if test x$gcc_no_link = xyes; then
21014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21015 fi
21016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h. */
21018
21019 #ifdef HAVE_COMPLEX_H
21020 #include <complex.h>
21021 #endif
21022 #ifdef HAVE_MATH_H
21023 #include <math.h>
21024 #endif
21025
21026 int (*ptr)() = (int (*)())roundf;
21027
21028 int
21029 main ()
21030 {
21031 return 0;
21032 }
21033
21034 _ACEOF
21035 if ac_fn_c_try_link "$LINENO"; then :
21036 gcc_cv_math_func_roundf=yes
21037 else
21038 gcc_cv_math_func_roundf=no
21039 fi
21040 rm -f core conftest.err conftest.$ac_objext \
21041 conftest$ac_exeext conftest.$ac_ext
21042 fi
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21044 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21045 if test $gcc_cv_math_func_roundf = yes; then
21046
21047 cat >>confdefs.h <<_ACEOF
21048 #define HAVE_ROUNDF 1
21049 _ACEOF
21050
21051 fi
21052
21053
21054
21055
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21057 $as_echo_n "checking for round... " >&6; }
21058 if test "${gcc_cv_math_func_round+set}" = set; then :
21059 $as_echo_n "(cached) " >&6
21060 else
21061 if test x$gcc_no_link = xyes; then
21062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21063 fi
21064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21065 /* end confdefs.h. */
21066
21067 #ifdef HAVE_COMPLEX_H
21068 #include <complex.h>
21069 #endif
21070 #ifdef HAVE_MATH_H
21071 #include <math.h>
21072 #endif
21073
21074 int (*ptr)() = (int (*)())round;
21075
21076 int
21077 main ()
21078 {
21079 return 0;
21080 }
21081
21082 _ACEOF
21083 if ac_fn_c_try_link "$LINENO"; then :
21084 gcc_cv_math_func_round=yes
21085 else
21086 gcc_cv_math_func_round=no
21087 fi
21088 rm -f core conftest.err conftest.$ac_objext \
21089 conftest$ac_exeext conftest.$ac_ext
21090 fi
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21092 $as_echo "$gcc_cv_math_func_round" >&6; }
21093 if test $gcc_cv_math_func_round = yes; then
21094
21095 cat >>confdefs.h <<_ACEOF
21096 #define HAVE_ROUND 1
21097 _ACEOF
21098
21099 fi
21100
21101
21102
21103
21104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21105 $as_echo_n "checking for roundl... " >&6; }
21106 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21107 $as_echo_n "(cached) " >&6
21108 else
21109 if test x$gcc_no_link = xyes; then
21110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21111 fi
21112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21113 /* end confdefs.h. */
21114
21115 #ifdef HAVE_COMPLEX_H
21116 #include <complex.h>
21117 #endif
21118 #ifdef HAVE_MATH_H
21119 #include <math.h>
21120 #endif
21121
21122 int (*ptr)() = (int (*)())roundl;
21123
21124 int
21125 main ()
21126 {
21127 return 0;
21128 }
21129
21130 _ACEOF
21131 if ac_fn_c_try_link "$LINENO"; then :
21132 gcc_cv_math_func_roundl=yes
21133 else
21134 gcc_cv_math_func_roundl=no
21135 fi
21136 rm -f core conftest.err conftest.$ac_objext \
21137 conftest$ac_exeext conftest.$ac_ext
21138 fi
21139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21140 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21141 if test $gcc_cv_math_func_roundl = yes; then
21142
21143 cat >>confdefs.h <<_ACEOF
21144 #define HAVE_ROUNDL 1
21145 _ACEOF
21146
21147 fi
21148
21149
21150
21151
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21153 $as_echo_n "checking for lroundf... " >&6; }
21154 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21155 $as_echo_n "(cached) " >&6
21156 else
21157 if test x$gcc_no_link = xyes; then
21158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21159 fi
21160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21161 /* end confdefs.h. */
21162
21163 #ifdef HAVE_COMPLEX_H
21164 #include <complex.h>
21165 #endif
21166 #ifdef HAVE_MATH_H
21167 #include <math.h>
21168 #endif
21169
21170 int (*ptr)() = (int (*)())lroundf;
21171
21172 int
21173 main ()
21174 {
21175 return 0;
21176 }
21177
21178 _ACEOF
21179 if ac_fn_c_try_link "$LINENO"; then :
21180 gcc_cv_math_func_lroundf=yes
21181 else
21182 gcc_cv_math_func_lroundf=no
21183 fi
21184 rm -f core conftest.err conftest.$ac_objext \
21185 conftest$ac_exeext conftest.$ac_ext
21186 fi
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21188 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21189 if test $gcc_cv_math_func_lroundf = yes; then
21190
21191 cat >>confdefs.h <<_ACEOF
21192 #define HAVE_LROUNDF 1
21193 _ACEOF
21194
21195 fi
21196
21197
21198
21199
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21201 $as_echo_n "checking for lround... " >&6; }
21202 if test "${gcc_cv_math_func_lround+set}" = set; then :
21203 $as_echo_n "(cached) " >&6
21204 else
21205 if test x$gcc_no_link = xyes; then
21206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21207 fi
21208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21209 /* end confdefs.h. */
21210
21211 #ifdef HAVE_COMPLEX_H
21212 #include <complex.h>
21213 #endif
21214 #ifdef HAVE_MATH_H
21215 #include <math.h>
21216 #endif
21217
21218 int (*ptr)() = (int (*)())lround;
21219
21220 int
21221 main ()
21222 {
21223 return 0;
21224 }
21225
21226 _ACEOF
21227 if ac_fn_c_try_link "$LINENO"; then :
21228 gcc_cv_math_func_lround=yes
21229 else
21230 gcc_cv_math_func_lround=no
21231 fi
21232 rm -f core conftest.err conftest.$ac_objext \
21233 conftest$ac_exeext conftest.$ac_ext
21234 fi
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21236 $as_echo "$gcc_cv_math_func_lround" >&6; }
21237 if test $gcc_cv_math_func_lround = yes; then
21238
21239 cat >>confdefs.h <<_ACEOF
21240 #define HAVE_LROUND 1
21241 _ACEOF
21242
21243 fi
21244
21245
21246
21247
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21249 $as_echo_n "checking for lroundl... " >&6; }
21250 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21251 $as_echo_n "(cached) " >&6
21252 else
21253 if test x$gcc_no_link = xyes; then
21254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21255 fi
21256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21257 /* end confdefs.h. */
21258
21259 #ifdef HAVE_COMPLEX_H
21260 #include <complex.h>
21261 #endif
21262 #ifdef HAVE_MATH_H
21263 #include <math.h>
21264 #endif
21265
21266 int (*ptr)() = (int (*)())lroundl;
21267
21268 int
21269 main ()
21270 {
21271 return 0;
21272 }
21273
21274 _ACEOF
21275 if ac_fn_c_try_link "$LINENO"; then :
21276 gcc_cv_math_func_lroundl=yes
21277 else
21278 gcc_cv_math_func_lroundl=no
21279 fi
21280 rm -f core conftest.err conftest.$ac_objext \
21281 conftest$ac_exeext conftest.$ac_ext
21282 fi
21283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21284 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21285 if test $gcc_cv_math_func_lroundl = yes; then
21286
21287 cat >>confdefs.h <<_ACEOF
21288 #define HAVE_LROUNDL 1
21289 _ACEOF
21290
21291 fi
21292
21293
21294
21295
21296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21297 $as_echo_n "checking for llroundf... " >&6; }
21298 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21299 $as_echo_n "(cached) " >&6
21300 else
21301 if test x$gcc_no_link = xyes; then
21302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21303 fi
21304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21305 /* end confdefs.h. */
21306
21307 #ifdef HAVE_COMPLEX_H
21308 #include <complex.h>
21309 #endif
21310 #ifdef HAVE_MATH_H
21311 #include <math.h>
21312 #endif
21313
21314 int (*ptr)() = (int (*)())llroundf;
21315
21316 int
21317 main ()
21318 {
21319 return 0;
21320 }
21321
21322 _ACEOF
21323 if ac_fn_c_try_link "$LINENO"; then :
21324 gcc_cv_math_func_llroundf=yes
21325 else
21326 gcc_cv_math_func_llroundf=no
21327 fi
21328 rm -f core conftest.err conftest.$ac_objext \
21329 conftest$ac_exeext conftest.$ac_ext
21330 fi
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21332 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21333 if test $gcc_cv_math_func_llroundf = yes; then
21334
21335 cat >>confdefs.h <<_ACEOF
21336 #define HAVE_LLROUNDF 1
21337 _ACEOF
21338
21339 fi
21340
21341
21342
21343
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21345 $as_echo_n "checking for llround... " >&6; }
21346 if test "${gcc_cv_math_func_llround+set}" = set; then :
21347 $as_echo_n "(cached) " >&6
21348 else
21349 if test x$gcc_no_link = xyes; then
21350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21351 fi
21352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21354
21355 #ifdef HAVE_COMPLEX_H
21356 #include <complex.h>
21357 #endif
21358 #ifdef HAVE_MATH_H
21359 #include <math.h>
21360 #endif
21361
21362 int (*ptr)() = (int (*)())llround;
21363
21364 int
21365 main ()
21366 {
21367 return 0;
21368 }
21369
21370 _ACEOF
21371 if ac_fn_c_try_link "$LINENO"; then :
21372 gcc_cv_math_func_llround=yes
21373 else
21374 gcc_cv_math_func_llround=no
21375 fi
21376 rm -f core conftest.err conftest.$ac_objext \
21377 conftest$ac_exeext conftest.$ac_ext
21378 fi
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21380 $as_echo "$gcc_cv_math_func_llround" >&6; }
21381 if test $gcc_cv_math_func_llround = yes; then
21382
21383 cat >>confdefs.h <<_ACEOF
21384 #define HAVE_LLROUND 1
21385 _ACEOF
21386
21387 fi
21388
21389
21390
21391
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21393 $as_echo_n "checking for llroundl... " >&6; }
21394 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21395 $as_echo_n "(cached) " >&6
21396 else
21397 if test x$gcc_no_link = xyes; then
21398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21399 fi
21400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21401 /* end confdefs.h. */
21402
21403 #ifdef HAVE_COMPLEX_H
21404 #include <complex.h>
21405 #endif
21406 #ifdef HAVE_MATH_H
21407 #include <math.h>
21408 #endif
21409
21410 int (*ptr)() = (int (*)())llroundl;
21411
21412 int
21413 main ()
21414 {
21415 return 0;
21416 }
21417
21418 _ACEOF
21419 if ac_fn_c_try_link "$LINENO"; then :
21420 gcc_cv_math_func_llroundl=yes
21421 else
21422 gcc_cv_math_func_llroundl=no
21423 fi
21424 rm -f core conftest.err conftest.$ac_objext \
21425 conftest$ac_exeext conftest.$ac_ext
21426 fi
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21428 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21429 if test $gcc_cv_math_func_llroundl = yes; then
21430
21431 cat >>confdefs.h <<_ACEOF
21432 #define HAVE_LLROUNDL 1
21433 _ACEOF
21434
21435 fi
21436
21437
21438
21439
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21441 $as_echo_n "checking for scalbnf... " >&6; }
21442 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21443 $as_echo_n "(cached) " >&6
21444 else
21445 if test x$gcc_no_link = xyes; then
21446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21447 fi
21448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21449 /* end confdefs.h. */
21450
21451 #ifdef HAVE_COMPLEX_H
21452 #include <complex.h>
21453 #endif
21454 #ifdef HAVE_MATH_H
21455 #include <math.h>
21456 #endif
21457
21458 int (*ptr)() = (int (*)())scalbnf;
21459
21460 int
21461 main ()
21462 {
21463 return 0;
21464 }
21465
21466 _ACEOF
21467 if ac_fn_c_try_link "$LINENO"; then :
21468 gcc_cv_math_func_scalbnf=yes
21469 else
21470 gcc_cv_math_func_scalbnf=no
21471 fi
21472 rm -f core conftest.err conftest.$ac_objext \
21473 conftest$ac_exeext conftest.$ac_ext
21474 fi
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21476 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21477 if test $gcc_cv_math_func_scalbnf = yes; then
21478
21479 cat >>confdefs.h <<_ACEOF
21480 #define HAVE_SCALBNF 1
21481 _ACEOF
21482
21483 fi
21484
21485
21486
21487
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21489 $as_echo_n "checking for scalbn... " >&6; }
21490 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21491 $as_echo_n "(cached) " >&6
21492 else
21493 if test x$gcc_no_link = xyes; then
21494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21495 fi
21496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h. */
21498
21499 #ifdef HAVE_COMPLEX_H
21500 #include <complex.h>
21501 #endif
21502 #ifdef HAVE_MATH_H
21503 #include <math.h>
21504 #endif
21505
21506 int (*ptr)() = (int (*)())scalbn;
21507
21508 int
21509 main ()
21510 {
21511 return 0;
21512 }
21513
21514 _ACEOF
21515 if ac_fn_c_try_link "$LINENO"; then :
21516 gcc_cv_math_func_scalbn=yes
21517 else
21518 gcc_cv_math_func_scalbn=no
21519 fi
21520 rm -f core conftest.err conftest.$ac_objext \
21521 conftest$ac_exeext conftest.$ac_ext
21522 fi
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21524 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21525 if test $gcc_cv_math_func_scalbn = yes; then
21526
21527 cat >>confdefs.h <<_ACEOF
21528 #define HAVE_SCALBN 1
21529 _ACEOF
21530
21531 fi
21532
21533
21534
21535
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21537 $as_echo_n "checking for scalbnl... " >&6; }
21538 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21539 $as_echo_n "(cached) " >&6
21540 else
21541 if test x$gcc_no_link = xyes; then
21542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21543 fi
21544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21545 /* end confdefs.h. */
21546
21547 #ifdef HAVE_COMPLEX_H
21548 #include <complex.h>
21549 #endif
21550 #ifdef HAVE_MATH_H
21551 #include <math.h>
21552 #endif
21553
21554 int (*ptr)() = (int (*)())scalbnl;
21555
21556 int
21557 main ()
21558 {
21559 return 0;
21560 }
21561
21562 _ACEOF
21563 if ac_fn_c_try_link "$LINENO"; then :
21564 gcc_cv_math_func_scalbnl=yes
21565 else
21566 gcc_cv_math_func_scalbnl=no
21567 fi
21568 rm -f core conftest.err conftest.$ac_objext \
21569 conftest$ac_exeext conftest.$ac_ext
21570 fi
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21572 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21573 if test $gcc_cv_math_func_scalbnl = yes; then
21574
21575 cat >>confdefs.h <<_ACEOF
21576 #define HAVE_SCALBNL 1
21577 _ACEOF
21578
21579 fi
21580
21581
21582
21583
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21585 $as_echo_n "checking for sinf... " >&6; }
21586 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21589 if test x$gcc_no_link = xyes; then
21590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21591 fi
21592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21593 /* end confdefs.h. */
21594
21595 #ifdef HAVE_COMPLEX_H
21596 #include <complex.h>
21597 #endif
21598 #ifdef HAVE_MATH_H
21599 #include <math.h>
21600 #endif
21601
21602 int (*ptr)() = (int (*)())sinf;
21603
21604 int
21605 main ()
21606 {
21607 return 0;
21608 }
21609
21610 _ACEOF
21611 if ac_fn_c_try_link "$LINENO"; then :
21612 gcc_cv_math_func_sinf=yes
21613 else
21614 gcc_cv_math_func_sinf=no
21615 fi
21616 rm -f core conftest.err conftest.$ac_objext \
21617 conftest$ac_exeext conftest.$ac_ext
21618 fi
21619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21620 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21621 if test $gcc_cv_math_func_sinf = yes; then
21622
21623 cat >>confdefs.h <<_ACEOF
21624 #define HAVE_SINF 1
21625 _ACEOF
21626
21627 fi
21628
21629
21630
21631
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21633 $as_echo_n "checking for sin... " >&6; }
21634 if test "${gcc_cv_math_func_sin+set}" = set; then :
21635 $as_echo_n "(cached) " >&6
21636 else
21637 if test x$gcc_no_link = xyes; then
21638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21639 fi
21640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21641 /* end confdefs.h. */
21642
21643 #ifdef HAVE_COMPLEX_H
21644 #include <complex.h>
21645 #endif
21646 #ifdef HAVE_MATH_H
21647 #include <math.h>
21648 #endif
21649
21650 int (*ptr)() = (int (*)())sin;
21651
21652 int
21653 main ()
21654 {
21655 return 0;
21656 }
21657
21658 _ACEOF
21659 if ac_fn_c_try_link "$LINENO"; then :
21660 gcc_cv_math_func_sin=yes
21661 else
21662 gcc_cv_math_func_sin=no
21663 fi
21664 rm -f core conftest.err conftest.$ac_objext \
21665 conftest$ac_exeext conftest.$ac_ext
21666 fi
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21668 $as_echo "$gcc_cv_math_func_sin" >&6; }
21669 if test $gcc_cv_math_func_sin = yes; then
21670
21671 cat >>confdefs.h <<_ACEOF
21672 #define HAVE_SIN 1
21673 _ACEOF
21674
21675 fi
21676
21677
21678
21679
21680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21681 $as_echo_n "checking for sinl... " >&6; }
21682 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21683 $as_echo_n "(cached) " >&6
21684 else
21685 if test x$gcc_no_link = xyes; then
21686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21687 fi
21688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h. */
21690
21691 #ifdef HAVE_COMPLEX_H
21692 #include <complex.h>
21693 #endif
21694 #ifdef HAVE_MATH_H
21695 #include <math.h>
21696 #endif
21697
21698 int (*ptr)() = (int (*)())sinl;
21699
21700 int
21701 main ()
21702 {
21703 return 0;
21704 }
21705
21706 _ACEOF
21707 if ac_fn_c_try_link "$LINENO"; then :
21708 gcc_cv_math_func_sinl=yes
21709 else
21710 gcc_cv_math_func_sinl=no
21711 fi
21712 rm -f core conftest.err conftest.$ac_objext \
21713 conftest$ac_exeext conftest.$ac_ext
21714 fi
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21716 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21717 if test $gcc_cv_math_func_sinl = yes; then
21718
21719 cat >>confdefs.h <<_ACEOF
21720 #define HAVE_SINL 1
21721 _ACEOF
21722
21723 fi
21724
21725
21726
21727
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21729 $as_echo_n "checking for csinf... " >&6; }
21730 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21731 $as_echo_n "(cached) " >&6
21732 else
21733 if test x$gcc_no_link = xyes; then
21734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21735 fi
21736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21737 /* end confdefs.h. */
21738
21739 #ifdef HAVE_COMPLEX_H
21740 #include <complex.h>
21741 #endif
21742 #ifdef HAVE_MATH_H
21743 #include <math.h>
21744 #endif
21745
21746 int (*ptr)() = (int (*)())csinf;
21747
21748 int
21749 main ()
21750 {
21751 return 0;
21752 }
21753
21754 _ACEOF
21755 if ac_fn_c_try_link "$LINENO"; then :
21756 gcc_cv_math_func_csinf=yes
21757 else
21758 gcc_cv_math_func_csinf=no
21759 fi
21760 rm -f core conftest.err conftest.$ac_objext \
21761 conftest$ac_exeext conftest.$ac_ext
21762 fi
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21764 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21765 if test $gcc_cv_math_func_csinf = yes; then
21766
21767 cat >>confdefs.h <<_ACEOF
21768 #define HAVE_CSINF 1
21769 _ACEOF
21770
21771 fi
21772
21773
21774
21775
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21777 $as_echo_n "checking for csin... " >&6; }
21778 if test "${gcc_cv_math_func_csin+set}" = set; then :
21779 $as_echo_n "(cached) " >&6
21780 else
21781 if test x$gcc_no_link = xyes; then
21782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21783 fi
21784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21785 /* end confdefs.h. */
21786
21787 #ifdef HAVE_COMPLEX_H
21788 #include <complex.h>
21789 #endif
21790 #ifdef HAVE_MATH_H
21791 #include <math.h>
21792 #endif
21793
21794 int (*ptr)() = (int (*)())csin;
21795
21796 int
21797 main ()
21798 {
21799 return 0;
21800 }
21801
21802 _ACEOF
21803 if ac_fn_c_try_link "$LINENO"; then :
21804 gcc_cv_math_func_csin=yes
21805 else
21806 gcc_cv_math_func_csin=no
21807 fi
21808 rm -f core conftest.err conftest.$ac_objext \
21809 conftest$ac_exeext conftest.$ac_ext
21810 fi
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21812 $as_echo "$gcc_cv_math_func_csin" >&6; }
21813 if test $gcc_cv_math_func_csin = yes; then
21814
21815 cat >>confdefs.h <<_ACEOF
21816 #define HAVE_CSIN 1
21817 _ACEOF
21818
21819 fi
21820
21821
21822
21823
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21825 $as_echo_n "checking for csinl... " >&6; }
21826 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21827 $as_echo_n "(cached) " >&6
21828 else
21829 if test x$gcc_no_link = xyes; then
21830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21831 fi
21832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h. */
21834
21835 #ifdef HAVE_COMPLEX_H
21836 #include <complex.h>
21837 #endif
21838 #ifdef HAVE_MATH_H
21839 #include <math.h>
21840 #endif
21841
21842 int (*ptr)() = (int (*)())csinl;
21843
21844 int
21845 main ()
21846 {
21847 return 0;
21848 }
21849
21850 _ACEOF
21851 if ac_fn_c_try_link "$LINENO"; then :
21852 gcc_cv_math_func_csinl=yes
21853 else
21854 gcc_cv_math_func_csinl=no
21855 fi
21856 rm -f core conftest.err conftest.$ac_objext \
21857 conftest$ac_exeext conftest.$ac_ext
21858 fi
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21860 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21861 if test $gcc_cv_math_func_csinl = yes; then
21862
21863 cat >>confdefs.h <<_ACEOF
21864 #define HAVE_CSINL 1
21865 _ACEOF
21866
21867 fi
21868
21869
21870
21871
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21873 $as_echo_n "checking for sinhf... " >&6; }
21874 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21875 $as_echo_n "(cached) " >&6
21876 else
21877 if test x$gcc_no_link = xyes; then
21878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21879 fi
21880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21881 /* end confdefs.h. */
21882
21883 #ifdef HAVE_COMPLEX_H
21884 #include <complex.h>
21885 #endif
21886 #ifdef HAVE_MATH_H
21887 #include <math.h>
21888 #endif
21889
21890 int (*ptr)() = (int (*)())sinhf;
21891
21892 int
21893 main ()
21894 {
21895 return 0;
21896 }
21897
21898 _ACEOF
21899 if ac_fn_c_try_link "$LINENO"; then :
21900 gcc_cv_math_func_sinhf=yes
21901 else
21902 gcc_cv_math_func_sinhf=no
21903 fi
21904 rm -f core conftest.err conftest.$ac_objext \
21905 conftest$ac_exeext conftest.$ac_ext
21906 fi
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21908 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21909 if test $gcc_cv_math_func_sinhf = yes; then
21910
21911 cat >>confdefs.h <<_ACEOF
21912 #define HAVE_SINHF 1
21913 _ACEOF
21914
21915 fi
21916
21917
21918
21919
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21921 $as_echo_n "checking for sinh... " >&6; }
21922 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21923 $as_echo_n "(cached) " >&6
21924 else
21925 if test x$gcc_no_link = xyes; then
21926 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21927 fi
21928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21929 /* end confdefs.h. */
21930
21931 #ifdef HAVE_COMPLEX_H
21932 #include <complex.h>
21933 #endif
21934 #ifdef HAVE_MATH_H
21935 #include <math.h>
21936 #endif
21937
21938 int (*ptr)() = (int (*)())sinh;
21939
21940 int
21941 main ()
21942 {
21943 return 0;
21944 }
21945
21946 _ACEOF
21947 if ac_fn_c_try_link "$LINENO"; then :
21948 gcc_cv_math_func_sinh=yes
21949 else
21950 gcc_cv_math_func_sinh=no
21951 fi
21952 rm -f core conftest.err conftest.$ac_objext \
21953 conftest$ac_exeext conftest.$ac_ext
21954 fi
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21956 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21957 if test $gcc_cv_math_func_sinh = yes; then
21958
21959 cat >>confdefs.h <<_ACEOF
21960 #define HAVE_SINH 1
21961 _ACEOF
21962
21963 fi
21964
21965
21966
21967
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21969 $as_echo_n "checking for sinhl... " >&6; }
21970 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21971 $as_echo_n "(cached) " >&6
21972 else
21973 if test x$gcc_no_link = xyes; then
21974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21975 fi
21976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21977 /* end confdefs.h. */
21978
21979 #ifdef HAVE_COMPLEX_H
21980 #include <complex.h>
21981 #endif
21982 #ifdef HAVE_MATH_H
21983 #include <math.h>
21984 #endif
21985
21986 int (*ptr)() = (int (*)())sinhl;
21987
21988 int
21989 main ()
21990 {
21991 return 0;
21992 }
21993
21994 _ACEOF
21995 if ac_fn_c_try_link "$LINENO"; then :
21996 gcc_cv_math_func_sinhl=yes
21997 else
21998 gcc_cv_math_func_sinhl=no
21999 fi
22000 rm -f core conftest.err conftest.$ac_objext \
22001 conftest$ac_exeext conftest.$ac_ext
22002 fi
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22004 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22005 if test $gcc_cv_math_func_sinhl = yes; then
22006
22007 cat >>confdefs.h <<_ACEOF
22008 #define HAVE_SINHL 1
22009 _ACEOF
22010
22011 fi
22012
22013
22014
22015
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22017 $as_echo_n "checking for csinhf... " >&6; }
22018 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22019 $as_echo_n "(cached) " >&6
22020 else
22021 if test x$gcc_no_link = xyes; then
22022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22023 fi
22024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22025 /* end confdefs.h. */
22026
22027 #ifdef HAVE_COMPLEX_H
22028 #include <complex.h>
22029 #endif
22030 #ifdef HAVE_MATH_H
22031 #include <math.h>
22032 #endif
22033
22034 int (*ptr)() = (int (*)())csinhf;
22035
22036 int
22037 main ()
22038 {
22039 return 0;
22040 }
22041
22042 _ACEOF
22043 if ac_fn_c_try_link "$LINENO"; then :
22044 gcc_cv_math_func_csinhf=yes
22045 else
22046 gcc_cv_math_func_csinhf=no
22047 fi
22048 rm -f core conftest.err conftest.$ac_objext \
22049 conftest$ac_exeext conftest.$ac_ext
22050 fi
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22052 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22053 if test $gcc_cv_math_func_csinhf = yes; then
22054
22055 cat >>confdefs.h <<_ACEOF
22056 #define HAVE_CSINHF 1
22057 _ACEOF
22058
22059 fi
22060
22061
22062
22063
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22065 $as_echo_n "checking for csinh... " >&6; }
22066 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22067 $as_echo_n "(cached) " >&6
22068 else
22069 if test x$gcc_no_link = xyes; then
22070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22071 fi
22072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22073 /* end confdefs.h. */
22074
22075 #ifdef HAVE_COMPLEX_H
22076 #include <complex.h>
22077 #endif
22078 #ifdef HAVE_MATH_H
22079 #include <math.h>
22080 #endif
22081
22082 int (*ptr)() = (int (*)())csinh;
22083
22084 int
22085 main ()
22086 {
22087 return 0;
22088 }
22089
22090 _ACEOF
22091 if ac_fn_c_try_link "$LINENO"; then :
22092 gcc_cv_math_func_csinh=yes
22093 else
22094 gcc_cv_math_func_csinh=no
22095 fi
22096 rm -f core conftest.err conftest.$ac_objext \
22097 conftest$ac_exeext conftest.$ac_ext
22098 fi
22099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22100 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22101 if test $gcc_cv_math_func_csinh = yes; then
22102
22103 cat >>confdefs.h <<_ACEOF
22104 #define HAVE_CSINH 1
22105 _ACEOF
22106
22107 fi
22108
22109
22110
22111
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22113 $as_echo_n "checking for csinhl... " >&6; }
22114 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22115 $as_echo_n "(cached) " >&6
22116 else
22117 if test x$gcc_no_link = xyes; then
22118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22119 fi
22120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22121 /* end confdefs.h. */
22122
22123 #ifdef HAVE_COMPLEX_H
22124 #include <complex.h>
22125 #endif
22126 #ifdef HAVE_MATH_H
22127 #include <math.h>
22128 #endif
22129
22130 int (*ptr)() = (int (*)())csinhl;
22131
22132 int
22133 main ()
22134 {
22135 return 0;
22136 }
22137
22138 _ACEOF
22139 if ac_fn_c_try_link "$LINENO"; then :
22140 gcc_cv_math_func_csinhl=yes
22141 else
22142 gcc_cv_math_func_csinhl=no
22143 fi
22144 rm -f core conftest.err conftest.$ac_objext \
22145 conftest$ac_exeext conftest.$ac_ext
22146 fi
22147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22148 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22149 if test $gcc_cv_math_func_csinhl = yes; then
22150
22151 cat >>confdefs.h <<_ACEOF
22152 #define HAVE_CSINHL 1
22153 _ACEOF
22154
22155 fi
22156
22157
22158
22159
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22161 $as_echo_n "checking for sqrtf... " >&6; }
22162 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22163 $as_echo_n "(cached) " >&6
22164 else
22165 if test x$gcc_no_link = xyes; then
22166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22167 fi
22168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22169 /* end confdefs.h. */
22170
22171 #ifdef HAVE_COMPLEX_H
22172 #include <complex.h>
22173 #endif
22174 #ifdef HAVE_MATH_H
22175 #include <math.h>
22176 #endif
22177
22178 int (*ptr)() = (int (*)())sqrtf;
22179
22180 int
22181 main ()
22182 {
22183 return 0;
22184 }
22185
22186 _ACEOF
22187 if ac_fn_c_try_link "$LINENO"; then :
22188 gcc_cv_math_func_sqrtf=yes
22189 else
22190 gcc_cv_math_func_sqrtf=no
22191 fi
22192 rm -f core conftest.err conftest.$ac_objext \
22193 conftest$ac_exeext conftest.$ac_ext
22194 fi
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22196 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22197 if test $gcc_cv_math_func_sqrtf = yes; then
22198
22199 cat >>confdefs.h <<_ACEOF
22200 #define HAVE_SQRTF 1
22201 _ACEOF
22202
22203 fi
22204
22205
22206
22207
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22209 $as_echo_n "checking for sqrt... " >&6; }
22210 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22211 $as_echo_n "(cached) " >&6
22212 else
22213 if test x$gcc_no_link = xyes; then
22214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22215 fi
22216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22217 /* end confdefs.h. */
22218
22219 #ifdef HAVE_COMPLEX_H
22220 #include <complex.h>
22221 #endif
22222 #ifdef HAVE_MATH_H
22223 #include <math.h>
22224 #endif
22225
22226 int (*ptr)() = (int (*)())sqrt;
22227
22228 int
22229 main ()
22230 {
22231 return 0;
22232 }
22233
22234 _ACEOF
22235 if ac_fn_c_try_link "$LINENO"; then :
22236 gcc_cv_math_func_sqrt=yes
22237 else
22238 gcc_cv_math_func_sqrt=no
22239 fi
22240 rm -f core conftest.err conftest.$ac_objext \
22241 conftest$ac_exeext conftest.$ac_ext
22242 fi
22243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22244 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22245 if test $gcc_cv_math_func_sqrt = yes; then
22246
22247 cat >>confdefs.h <<_ACEOF
22248 #define HAVE_SQRT 1
22249 _ACEOF
22250
22251 fi
22252
22253
22254
22255
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22257 $as_echo_n "checking for sqrtl... " >&6; }
22258 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22259 $as_echo_n "(cached) " >&6
22260 else
22261 if test x$gcc_no_link = xyes; then
22262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22263 fi
22264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22266
22267 #ifdef HAVE_COMPLEX_H
22268 #include <complex.h>
22269 #endif
22270 #ifdef HAVE_MATH_H
22271 #include <math.h>
22272 #endif
22273
22274 int (*ptr)() = (int (*)())sqrtl;
22275
22276 int
22277 main ()
22278 {
22279 return 0;
22280 }
22281
22282 _ACEOF
22283 if ac_fn_c_try_link "$LINENO"; then :
22284 gcc_cv_math_func_sqrtl=yes
22285 else
22286 gcc_cv_math_func_sqrtl=no
22287 fi
22288 rm -f core conftest.err conftest.$ac_objext \
22289 conftest$ac_exeext conftest.$ac_ext
22290 fi
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22292 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22293 if test $gcc_cv_math_func_sqrtl = yes; then
22294
22295 cat >>confdefs.h <<_ACEOF
22296 #define HAVE_SQRTL 1
22297 _ACEOF
22298
22299 fi
22300
22301
22302
22303
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22305 $as_echo_n "checking for csqrtf... " >&6; }
22306 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22307 $as_echo_n "(cached) " >&6
22308 else
22309 if test x$gcc_no_link = xyes; then
22310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22311 fi
22312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22313 /* end confdefs.h. */
22314
22315 #ifdef HAVE_COMPLEX_H
22316 #include <complex.h>
22317 #endif
22318 #ifdef HAVE_MATH_H
22319 #include <math.h>
22320 #endif
22321
22322 int (*ptr)() = (int (*)())csqrtf;
22323
22324 int
22325 main ()
22326 {
22327 return 0;
22328 }
22329
22330 _ACEOF
22331 if ac_fn_c_try_link "$LINENO"; then :
22332 gcc_cv_math_func_csqrtf=yes
22333 else
22334 gcc_cv_math_func_csqrtf=no
22335 fi
22336 rm -f core conftest.err conftest.$ac_objext \
22337 conftest$ac_exeext conftest.$ac_ext
22338 fi
22339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22340 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22341 if test $gcc_cv_math_func_csqrtf = yes; then
22342
22343 cat >>confdefs.h <<_ACEOF
22344 #define HAVE_CSQRTF 1
22345 _ACEOF
22346
22347 fi
22348
22349
22350
22351
22352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22353 $as_echo_n "checking for csqrt... " >&6; }
22354 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22355 $as_echo_n "(cached) " >&6
22356 else
22357 if test x$gcc_no_link = xyes; then
22358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22359 fi
22360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22361 /* end confdefs.h. */
22362
22363 #ifdef HAVE_COMPLEX_H
22364 #include <complex.h>
22365 #endif
22366 #ifdef HAVE_MATH_H
22367 #include <math.h>
22368 #endif
22369
22370 int (*ptr)() = (int (*)())csqrt;
22371
22372 int
22373 main ()
22374 {
22375 return 0;
22376 }
22377
22378 _ACEOF
22379 if ac_fn_c_try_link "$LINENO"; then :
22380 gcc_cv_math_func_csqrt=yes
22381 else
22382 gcc_cv_math_func_csqrt=no
22383 fi
22384 rm -f core conftest.err conftest.$ac_objext \
22385 conftest$ac_exeext conftest.$ac_ext
22386 fi
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22388 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22389 if test $gcc_cv_math_func_csqrt = yes; then
22390
22391 cat >>confdefs.h <<_ACEOF
22392 #define HAVE_CSQRT 1
22393 _ACEOF
22394
22395 fi
22396
22397
22398
22399
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22401 $as_echo_n "checking for csqrtl... " >&6; }
22402 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22403 $as_echo_n "(cached) " >&6
22404 else
22405 if test x$gcc_no_link = xyes; then
22406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22407 fi
22408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h. */
22410
22411 #ifdef HAVE_COMPLEX_H
22412 #include <complex.h>
22413 #endif
22414 #ifdef HAVE_MATH_H
22415 #include <math.h>
22416 #endif
22417
22418 int (*ptr)() = (int (*)())csqrtl;
22419
22420 int
22421 main ()
22422 {
22423 return 0;
22424 }
22425
22426 _ACEOF
22427 if ac_fn_c_try_link "$LINENO"; then :
22428 gcc_cv_math_func_csqrtl=yes
22429 else
22430 gcc_cv_math_func_csqrtl=no
22431 fi
22432 rm -f core conftest.err conftest.$ac_objext \
22433 conftest$ac_exeext conftest.$ac_ext
22434 fi
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22436 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22437 if test $gcc_cv_math_func_csqrtl = yes; then
22438
22439 cat >>confdefs.h <<_ACEOF
22440 #define HAVE_CSQRTL 1
22441 _ACEOF
22442
22443 fi
22444
22445
22446
22447
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22449 $as_echo_n "checking for tanf... " >&6; }
22450 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22451 $as_echo_n "(cached) " >&6
22452 else
22453 if test x$gcc_no_link = xyes; then
22454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22455 fi
22456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22457 /* end confdefs.h. */
22458
22459 #ifdef HAVE_COMPLEX_H
22460 #include <complex.h>
22461 #endif
22462 #ifdef HAVE_MATH_H
22463 #include <math.h>
22464 #endif
22465
22466 int (*ptr)() = (int (*)())tanf;
22467
22468 int
22469 main ()
22470 {
22471 return 0;
22472 }
22473
22474 _ACEOF
22475 if ac_fn_c_try_link "$LINENO"; then :
22476 gcc_cv_math_func_tanf=yes
22477 else
22478 gcc_cv_math_func_tanf=no
22479 fi
22480 rm -f core conftest.err conftest.$ac_objext \
22481 conftest$ac_exeext conftest.$ac_ext
22482 fi
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22484 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22485 if test $gcc_cv_math_func_tanf = yes; then
22486
22487 cat >>confdefs.h <<_ACEOF
22488 #define HAVE_TANF 1
22489 _ACEOF
22490
22491 fi
22492
22493
22494
22495
22496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22497 $as_echo_n "checking for tan... " >&6; }
22498 if test "${gcc_cv_math_func_tan+set}" = set; then :
22499 $as_echo_n "(cached) " >&6
22500 else
22501 if test x$gcc_no_link = xyes; then
22502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22503 fi
22504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22505 /* end confdefs.h. */
22506
22507 #ifdef HAVE_COMPLEX_H
22508 #include <complex.h>
22509 #endif
22510 #ifdef HAVE_MATH_H
22511 #include <math.h>
22512 #endif
22513
22514 int (*ptr)() = (int (*)())tan;
22515
22516 int
22517 main ()
22518 {
22519 return 0;
22520 }
22521
22522 _ACEOF
22523 if ac_fn_c_try_link "$LINENO"; then :
22524 gcc_cv_math_func_tan=yes
22525 else
22526 gcc_cv_math_func_tan=no
22527 fi
22528 rm -f core conftest.err conftest.$ac_objext \
22529 conftest$ac_exeext conftest.$ac_ext
22530 fi
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22532 $as_echo "$gcc_cv_math_func_tan" >&6; }
22533 if test $gcc_cv_math_func_tan = yes; then
22534
22535 cat >>confdefs.h <<_ACEOF
22536 #define HAVE_TAN 1
22537 _ACEOF
22538
22539 fi
22540
22541
22542
22543
22544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22545 $as_echo_n "checking for tanl... " >&6; }
22546 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22547 $as_echo_n "(cached) " >&6
22548 else
22549 if test x$gcc_no_link = xyes; then
22550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22551 fi
22552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22553 /* end confdefs.h. */
22554
22555 #ifdef HAVE_COMPLEX_H
22556 #include <complex.h>
22557 #endif
22558 #ifdef HAVE_MATH_H
22559 #include <math.h>
22560 #endif
22561
22562 int (*ptr)() = (int (*)())tanl;
22563
22564 int
22565 main ()
22566 {
22567 return 0;
22568 }
22569
22570 _ACEOF
22571 if ac_fn_c_try_link "$LINENO"; then :
22572 gcc_cv_math_func_tanl=yes
22573 else
22574 gcc_cv_math_func_tanl=no
22575 fi
22576 rm -f core conftest.err conftest.$ac_objext \
22577 conftest$ac_exeext conftest.$ac_ext
22578 fi
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22580 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22581 if test $gcc_cv_math_func_tanl = yes; then
22582
22583 cat >>confdefs.h <<_ACEOF
22584 #define HAVE_TANL 1
22585 _ACEOF
22586
22587 fi
22588
22589
22590
22591
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22593 $as_echo_n "checking for ctanf... " >&6; }
22594 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22595 $as_echo_n "(cached) " >&6
22596 else
22597 if test x$gcc_no_link = xyes; then
22598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22599 fi
22600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22601 /* end confdefs.h. */
22602
22603 #ifdef HAVE_COMPLEX_H
22604 #include <complex.h>
22605 #endif
22606 #ifdef HAVE_MATH_H
22607 #include <math.h>
22608 #endif
22609
22610 int (*ptr)() = (int (*)())ctanf;
22611
22612 int
22613 main ()
22614 {
22615 return 0;
22616 }
22617
22618 _ACEOF
22619 if ac_fn_c_try_link "$LINENO"; then :
22620 gcc_cv_math_func_ctanf=yes
22621 else
22622 gcc_cv_math_func_ctanf=no
22623 fi
22624 rm -f core conftest.err conftest.$ac_objext \
22625 conftest$ac_exeext conftest.$ac_ext
22626 fi
22627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22628 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22629 if test $gcc_cv_math_func_ctanf = yes; then
22630
22631 cat >>confdefs.h <<_ACEOF
22632 #define HAVE_CTANF 1
22633 _ACEOF
22634
22635 fi
22636
22637
22638
22639
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22641 $as_echo_n "checking for ctan... " >&6; }
22642 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22643 $as_echo_n "(cached) " >&6
22644 else
22645 if test x$gcc_no_link = xyes; then
22646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22647 fi
22648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22649 /* end confdefs.h. */
22650
22651 #ifdef HAVE_COMPLEX_H
22652 #include <complex.h>
22653 #endif
22654 #ifdef HAVE_MATH_H
22655 #include <math.h>
22656 #endif
22657
22658 int (*ptr)() = (int (*)())ctan;
22659
22660 int
22661 main ()
22662 {
22663 return 0;
22664 }
22665
22666 _ACEOF
22667 if ac_fn_c_try_link "$LINENO"; then :
22668 gcc_cv_math_func_ctan=yes
22669 else
22670 gcc_cv_math_func_ctan=no
22671 fi
22672 rm -f core conftest.err conftest.$ac_objext \
22673 conftest$ac_exeext conftest.$ac_ext
22674 fi
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22676 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22677 if test $gcc_cv_math_func_ctan = yes; then
22678
22679 cat >>confdefs.h <<_ACEOF
22680 #define HAVE_CTAN 1
22681 _ACEOF
22682
22683 fi
22684
22685
22686
22687
22688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22689 $as_echo_n "checking for ctanl... " >&6; }
22690 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22691 $as_echo_n "(cached) " >&6
22692 else
22693 if test x$gcc_no_link = xyes; then
22694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22695 fi
22696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22697 /* end confdefs.h. */
22698
22699 #ifdef HAVE_COMPLEX_H
22700 #include <complex.h>
22701 #endif
22702 #ifdef HAVE_MATH_H
22703 #include <math.h>
22704 #endif
22705
22706 int (*ptr)() = (int (*)())ctanl;
22707
22708 int
22709 main ()
22710 {
22711 return 0;
22712 }
22713
22714 _ACEOF
22715 if ac_fn_c_try_link "$LINENO"; then :
22716 gcc_cv_math_func_ctanl=yes
22717 else
22718 gcc_cv_math_func_ctanl=no
22719 fi
22720 rm -f core conftest.err conftest.$ac_objext \
22721 conftest$ac_exeext conftest.$ac_ext
22722 fi
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22724 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22725 if test $gcc_cv_math_func_ctanl = yes; then
22726
22727 cat >>confdefs.h <<_ACEOF
22728 #define HAVE_CTANL 1
22729 _ACEOF
22730
22731 fi
22732
22733
22734
22735
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22737 $as_echo_n "checking for tanhf... " >&6; }
22738 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22739 $as_echo_n "(cached) " >&6
22740 else
22741 if test x$gcc_no_link = xyes; then
22742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22743 fi
22744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22745 /* end confdefs.h. */
22746
22747 #ifdef HAVE_COMPLEX_H
22748 #include <complex.h>
22749 #endif
22750 #ifdef HAVE_MATH_H
22751 #include <math.h>
22752 #endif
22753
22754 int (*ptr)() = (int (*)())tanhf;
22755
22756 int
22757 main ()
22758 {
22759 return 0;
22760 }
22761
22762 _ACEOF
22763 if ac_fn_c_try_link "$LINENO"; then :
22764 gcc_cv_math_func_tanhf=yes
22765 else
22766 gcc_cv_math_func_tanhf=no
22767 fi
22768 rm -f core conftest.err conftest.$ac_objext \
22769 conftest$ac_exeext conftest.$ac_ext
22770 fi
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22772 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22773 if test $gcc_cv_math_func_tanhf = yes; then
22774
22775 cat >>confdefs.h <<_ACEOF
22776 #define HAVE_TANHF 1
22777 _ACEOF
22778
22779 fi
22780
22781
22782
22783
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22785 $as_echo_n "checking for tanh... " >&6; }
22786 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22787 $as_echo_n "(cached) " >&6
22788 else
22789 if test x$gcc_no_link = xyes; then
22790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22791 fi
22792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22793 /* end confdefs.h. */
22794
22795 #ifdef HAVE_COMPLEX_H
22796 #include <complex.h>
22797 #endif
22798 #ifdef HAVE_MATH_H
22799 #include <math.h>
22800 #endif
22801
22802 int (*ptr)() = (int (*)())tanh;
22803
22804 int
22805 main ()
22806 {
22807 return 0;
22808 }
22809
22810 _ACEOF
22811 if ac_fn_c_try_link "$LINENO"; then :
22812 gcc_cv_math_func_tanh=yes
22813 else
22814 gcc_cv_math_func_tanh=no
22815 fi
22816 rm -f core conftest.err conftest.$ac_objext \
22817 conftest$ac_exeext conftest.$ac_ext
22818 fi
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22820 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22821 if test $gcc_cv_math_func_tanh = yes; then
22822
22823 cat >>confdefs.h <<_ACEOF
22824 #define HAVE_TANH 1
22825 _ACEOF
22826
22827 fi
22828
22829
22830
22831
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22833 $as_echo_n "checking for tanhl... " >&6; }
22834 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22835 $as_echo_n "(cached) " >&6
22836 else
22837 if test x$gcc_no_link = xyes; then
22838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22839 fi
22840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22841 /* end confdefs.h. */
22842
22843 #ifdef HAVE_COMPLEX_H
22844 #include <complex.h>
22845 #endif
22846 #ifdef HAVE_MATH_H
22847 #include <math.h>
22848 #endif
22849
22850 int (*ptr)() = (int (*)())tanhl;
22851
22852 int
22853 main ()
22854 {
22855 return 0;
22856 }
22857
22858 _ACEOF
22859 if ac_fn_c_try_link "$LINENO"; then :
22860 gcc_cv_math_func_tanhl=yes
22861 else
22862 gcc_cv_math_func_tanhl=no
22863 fi
22864 rm -f core conftest.err conftest.$ac_objext \
22865 conftest$ac_exeext conftest.$ac_ext
22866 fi
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22868 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22869 if test $gcc_cv_math_func_tanhl = yes; then
22870
22871 cat >>confdefs.h <<_ACEOF
22872 #define HAVE_TANHL 1
22873 _ACEOF
22874
22875 fi
22876
22877
22878
22879
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22881 $as_echo_n "checking for ctanhf... " >&6; }
22882 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22883 $as_echo_n "(cached) " >&6
22884 else
22885 if test x$gcc_no_link = xyes; then
22886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22887 fi
22888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22889 /* end confdefs.h. */
22890
22891 #ifdef HAVE_COMPLEX_H
22892 #include <complex.h>
22893 #endif
22894 #ifdef HAVE_MATH_H
22895 #include <math.h>
22896 #endif
22897
22898 int (*ptr)() = (int (*)())ctanhf;
22899
22900 int
22901 main ()
22902 {
22903 return 0;
22904 }
22905
22906 _ACEOF
22907 if ac_fn_c_try_link "$LINENO"; then :
22908 gcc_cv_math_func_ctanhf=yes
22909 else
22910 gcc_cv_math_func_ctanhf=no
22911 fi
22912 rm -f core conftest.err conftest.$ac_objext \
22913 conftest$ac_exeext conftest.$ac_ext
22914 fi
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22916 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22917 if test $gcc_cv_math_func_ctanhf = yes; then
22918
22919 cat >>confdefs.h <<_ACEOF
22920 #define HAVE_CTANHF 1
22921 _ACEOF
22922
22923 fi
22924
22925
22926
22927
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22929 $as_echo_n "checking for ctanh... " >&6; }
22930 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22931 $as_echo_n "(cached) " >&6
22932 else
22933 if test x$gcc_no_link = xyes; then
22934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22935 fi
22936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22937 /* end confdefs.h. */
22938
22939 #ifdef HAVE_COMPLEX_H
22940 #include <complex.h>
22941 #endif
22942 #ifdef HAVE_MATH_H
22943 #include <math.h>
22944 #endif
22945
22946 int (*ptr)() = (int (*)())ctanh;
22947
22948 int
22949 main ()
22950 {
22951 return 0;
22952 }
22953
22954 _ACEOF
22955 if ac_fn_c_try_link "$LINENO"; then :
22956 gcc_cv_math_func_ctanh=yes
22957 else
22958 gcc_cv_math_func_ctanh=no
22959 fi
22960 rm -f core conftest.err conftest.$ac_objext \
22961 conftest$ac_exeext conftest.$ac_ext
22962 fi
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22964 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22965 if test $gcc_cv_math_func_ctanh = yes; then
22966
22967 cat >>confdefs.h <<_ACEOF
22968 #define HAVE_CTANH 1
22969 _ACEOF
22970
22971 fi
22972
22973
22974
22975
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
22977 $as_echo_n "checking for ctanhl... " >&6; }
22978 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
22979 $as_echo_n "(cached) " >&6
22980 else
22981 if test x$gcc_no_link = xyes; then
22982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22983 fi
22984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22985 /* end confdefs.h. */
22986
22987 #ifdef HAVE_COMPLEX_H
22988 #include <complex.h>
22989 #endif
22990 #ifdef HAVE_MATH_H
22991 #include <math.h>
22992 #endif
22993
22994 int (*ptr)() = (int (*)())ctanhl;
22995
22996 int
22997 main ()
22998 {
22999 return 0;
23000 }
23001
23002 _ACEOF
23003 if ac_fn_c_try_link "$LINENO"; then :
23004 gcc_cv_math_func_ctanhl=yes
23005 else
23006 gcc_cv_math_func_ctanhl=no
23007 fi
23008 rm -f core conftest.err conftest.$ac_objext \
23009 conftest$ac_exeext conftest.$ac_ext
23010 fi
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23012 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23013 if test $gcc_cv_math_func_ctanhl = yes; then
23014
23015 cat >>confdefs.h <<_ACEOF
23016 #define HAVE_CTANHL 1
23017 _ACEOF
23018
23019 fi
23020
23021
23022
23023
23024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23025 $as_echo_n "checking for truncf... " >&6; }
23026 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23027 $as_echo_n "(cached) " >&6
23028 else
23029 if test x$gcc_no_link = xyes; then
23030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23031 fi
23032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23033 /* end confdefs.h. */
23034
23035 #ifdef HAVE_COMPLEX_H
23036 #include <complex.h>
23037 #endif
23038 #ifdef HAVE_MATH_H
23039 #include <math.h>
23040 #endif
23041
23042 int (*ptr)() = (int (*)())truncf;
23043
23044 int
23045 main ()
23046 {
23047 return 0;
23048 }
23049
23050 _ACEOF
23051 if ac_fn_c_try_link "$LINENO"; then :
23052 gcc_cv_math_func_truncf=yes
23053 else
23054 gcc_cv_math_func_truncf=no
23055 fi
23056 rm -f core conftest.err conftest.$ac_objext \
23057 conftest$ac_exeext conftest.$ac_ext
23058 fi
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23060 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23061 if test $gcc_cv_math_func_truncf = yes; then
23062
23063 cat >>confdefs.h <<_ACEOF
23064 #define HAVE_TRUNCF 1
23065 _ACEOF
23066
23067 fi
23068
23069
23070
23071
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23073 $as_echo_n "checking for trunc... " >&6; }
23074 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23075 $as_echo_n "(cached) " >&6
23076 else
23077 if test x$gcc_no_link = xyes; then
23078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23079 fi
23080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23081 /* end confdefs.h. */
23082
23083 #ifdef HAVE_COMPLEX_H
23084 #include <complex.h>
23085 #endif
23086 #ifdef HAVE_MATH_H
23087 #include <math.h>
23088 #endif
23089
23090 int (*ptr)() = (int (*)())trunc;
23091
23092 int
23093 main ()
23094 {
23095 return 0;
23096 }
23097
23098 _ACEOF
23099 if ac_fn_c_try_link "$LINENO"; then :
23100 gcc_cv_math_func_trunc=yes
23101 else
23102 gcc_cv_math_func_trunc=no
23103 fi
23104 rm -f core conftest.err conftest.$ac_objext \
23105 conftest$ac_exeext conftest.$ac_ext
23106 fi
23107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23108 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23109 if test $gcc_cv_math_func_trunc = yes; then
23110
23111 cat >>confdefs.h <<_ACEOF
23112 #define HAVE_TRUNC 1
23113 _ACEOF
23114
23115 fi
23116
23117
23118
23119
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23121 $as_echo_n "checking for truncl... " >&6; }
23122 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23123 $as_echo_n "(cached) " >&6
23124 else
23125 if test x$gcc_no_link = xyes; then
23126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23127 fi
23128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23129 /* end confdefs.h. */
23130
23131 #ifdef HAVE_COMPLEX_H
23132 #include <complex.h>
23133 #endif
23134 #ifdef HAVE_MATH_H
23135 #include <math.h>
23136 #endif
23137
23138 int (*ptr)() = (int (*)())truncl;
23139
23140 int
23141 main ()
23142 {
23143 return 0;
23144 }
23145
23146 _ACEOF
23147 if ac_fn_c_try_link "$LINENO"; then :
23148 gcc_cv_math_func_truncl=yes
23149 else
23150 gcc_cv_math_func_truncl=no
23151 fi
23152 rm -f core conftest.err conftest.$ac_objext \
23153 conftest$ac_exeext conftest.$ac_ext
23154 fi
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23156 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23157 if test $gcc_cv_math_func_truncl = yes; then
23158
23159 cat >>confdefs.h <<_ACEOF
23160 #define HAVE_TRUNCL 1
23161 _ACEOF
23162
23163 fi
23164
23165
23166
23167
23168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23169 $as_echo_n "checking for erff... " >&6; }
23170 if test "${gcc_cv_math_func_erff+set}" = set; then :
23171 $as_echo_n "(cached) " >&6
23172 else
23173 if test x$gcc_no_link = xyes; then
23174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23175 fi
23176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23177 /* end confdefs.h. */
23178
23179 #ifdef HAVE_COMPLEX_H
23180 #include <complex.h>
23181 #endif
23182 #ifdef HAVE_MATH_H
23183 #include <math.h>
23184 #endif
23185
23186 int (*ptr)() = (int (*)())erff;
23187
23188 int
23189 main ()
23190 {
23191 return 0;
23192 }
23193
23194 _ACEOF
23195 if ac_fn_c_try_link "$LINENO"; then :
23196 gcc_cv_math_func_erff=yes
23197 else
23198 gcc_cv_math_func_erff=no
23199 fi
23200 rm -f core conftest.err conftest.$ac_objext \
23201 conftest$ac_exeext conftest.$ac_ext
23202 fi
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23204 $as_echo "$gcc_cv_math_func_erff" >&6; }
23205 if test $gcc_cv_math_func_erff = yes; then
23206
23207 cat >>confdefs.h <<_ACEOF
23208 #define HAVE_ERFF 1
23209 _ACEOF
23210
23211 fi
23212
23213
23214
23215
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23217 $as_echo_n "checking for erf... " >&6; }
23218 if test "${gcc_cv_math_func_erf+set}" = set; then :
23219 $as_echo_n "(cached) " >&6
23220 else
23221 if test x$gcc_no_link = xyes; then
23222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23223 fi
23224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23225 /* end confdefs.h. */
23226
23227 #ifdef HAVE_COMPLEX_H
23228 #include <complex.h>
23229 #endif
23230 #ifdef HAVE_MATH_H
23231 #include <math.h>
23232 #endif
23233
23234 int (*ptr)() = (int (*)())erf;
23235
23236 int
23237 main ()
23238 {
23239 return 0;
23240 }
23241
23242 _ACEOF
23243 if ac_fn_c_try_link "$LINENO"; then :
23244 gcc_cv_math_func_erf=yes
23245 else
23246 gcc_cv_math_func_erf=no
23247 fi
23248 rm -f core conftest.err conftest.$ac_objext \
23249 conftest$ac_exeext conftest.$ac_ext
23250 fi
23251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23252 $as_echo "$gcc_cv_math_func_erf" >&6; }
23253 if test $gcc_cv_math_func_erf = yes; then
23254
23255 cat >>confdefs.h <<_ACEOF
23256 #define HAVE_ERF 1
23257 _ACEOF
23258
23259 fi
23260
23261
23262
23263
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23265 $as_echo_n "checking for erfcf... " >&6; }
23266 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23267 $as_echo_n "(cached) " >&6
23268 else
23269 if test x$gcc_no_link = xyes; then
23270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23271 fi
23272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23273 /* end confdefs.h. */
23274
23275 #ifdef HAVE_COMPLEX_H
23276 #include <complex.h>
23277 #endif
23278 #ifdef HAVE_MATH_H
23279 #include <math.h>
23280 #endif
23281
23282 int (*ptr)() = (int (*)())erfcf;
23283
23284 int
23285 main ()
23286 {
23287 return 0;
23288 }
23289
23290 _ACEOF
23291 if ac_fn_c_try_link "$LINENO"; then :
23292 gcc_cv_math_func_erfcf=yes
23293 else
23294 gcc_cv_math_func_erfcf=no
23295 fi
23296 rm -f core conftest.err conftest.$ac_objext \
23297 conftest$ac_exeext conftest.$ac_ext
23298 fi
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23300 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23301 if test $gcc_cv_math_func_erfcf = yes; then
23302
23303 cat >>confdefs.h <<_ACEOF
23304 #define HAVE_ERFCF 1
23305 _ACEOF
23306
23307 fi
23308
23309
23310
23311
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23313 $as_echo_n "checking for erfc... " >&6; }
23314 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23315 $as_echo_n "(cached) " >&6
23316 else
23317 if test x$gcc_no_link = xyes; then
23318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23319 fi
23320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23321 /* end confdefs.h. */
23322
23323 #ifdef HAVE_COMPLEX_H
23324 #include <complex.h>
23325 #endif
23326 #ifdef HAVE_MATH_H
23327 #include <math.h>
23328 #endif
23329
23330 int (*ptr)() = (int (*)())erfc;
23331
23332 int
23333 main ()
23334 {
23335 return 0;
23336 }
23337
23338 _ACEOF
23339 if ac_fn_c_try_link "$LINENO"; then :
23340 gcc_cv_math_func_erfc=yes
23341 else
23342 gcc_cv_math_func_erfc=no
23343 fi
23344 rm -f core conftest.err conftest.$ac_objext \
23345 conftest$ac_exeext conftest.$ac_ext
23346 fi
23347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23348 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23349 if test $gcc_cv_math_func_erfc = yes; then
23350
23351 cat >>confdefs.h <<_ACEOF
23352 #define HAVE_ERFC 1
23353 _ACEOF
23354
23355 fi
23356
23357
23358
23359
23360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23361 $as_echo_n "checking for erfcl... " >&6; }
23362 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23363 $as_echo_n "(cached) " >&6
23364 else
23365 if test x$gcc_no_link = xyes; then
23366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23367 fi
23368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23369 /* end confdefs.h. */
23370
23371 #ifdef HAVE_COMPLEX_H
23372 #include <complex.h>
23373 #endif
23374 #ifdef HAVE_MATH_H
23375 #include <math.h>
23376 #endif
23377
23378 int (*ptr)() = (int (*)())erfcl;
23379
23380 int
23381 main ()
23382 {
23383 return 0;
23384 }
23385
23386 _ACEOF
23387 if ac_fn_c_try_link "$LINENO"; then :
23388 gcc_cv_math_func_erfcl=yes
23389 else
23390 gcc_cv_math_func_erfcl=no
23391 fi
23392 rm -f core conftest.err conftest.$ac_objext \
23393 conftest$ac_exeext conftest.$ac_ext
23394 fi
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23396 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23397 if test $gcc_cv_math_func_erfcl = yes; then
23398
23399 cat >>confdefs.h <<_ACEOF
23400 #define HAVE_ERFCL 1
23401 _ACEOF
23402
23403 fi
23404
23405
23406
23407
23408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23409 $as_echo_n "checking for j0f... " >&6; }
23410 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23411 $as_echo_n "(cached) " >&6
23412 else
23413 if test x$gcc_no_link = xyes; then
23414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23415 fi
23416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23417 /* end confdefs.h. */
23418
23419 #ifdef HAVE_COMPLEX_H
23420 #include <complex.h>
23421 #endif
23422 #ifdef HAVE_MATH_H
23423 #include <math.h>
23424 #endif
23425
23426 int (*ptr)() = (int (*)())j0f;
23427
23428 int
23429 main ()
23430 {
23431 return 0;
23432 }
23433
23434 _ACEOF
23435 if ac_fn_c_try_link "$LINENO"; then :
23436 gcc_cv_math_func_j0f=yes
23437 else
23438 gcc_cv_math_func_j0f=no
23439 fi
23440 rm -f core conftest.err conftest.$ac_objext \
23441 conftest$ac_exeext conftest.$ac_ext
23442 fi
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23444 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23445 if test $gcc_cv_math_func_j0f = yes; then
23446
23447 cat >>confdefs.h <<_ACEOF
23448 #define HAVE_J0F 1
23449 _ACEOF
23450
23451 fi
23452
23453
23454
23455
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23457 $as_echo_n "checking for j0... " >&6; }
23458 if test "${gcc_cv_math_func_j0+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23460 else
23461 if test x$gcc_no_link = xyes; then
23462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23463 fi
23464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23465 /* end confdefs.h. */
23466
23467 #ifdef HAVE_COMPLEX_H
23468 #include <complex.h>
23469 #endif
23470 #ifdef HAVE_MATH_H
23471 #include <math.h>
23472 #endif
23473
23474 int (*ptr)() = (int (*)())j0;
23475
23476 int
23477 main ()
23478 {
23479 return 0;
23480 }
23481
23482 _ACEOF
23483 if ac_fn_c_try_link "$LINENO"; then :
23484 gcc_cv_math_func_j0=yes
23485 else
23486 gcc_cv_math_func_j0=no
23487 fi
23488 rm -f core conftest.err conftest.$ac_objext \
23489 conftest$ac_exeext conftest.$ac_ext
23490 fi
23491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23492 $as_echo "$gcc_cv_math_func_j0" >&6; }
23493 if test $gcc_cv_math_func_j0 = yes; then
23494
23495 cat >>confdefs.h <<_ACEOF
23496 #define HAVE_J0 1
23497 _ACEOF
23498
23499 fi
23500
23501
23502
23503
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23505 $as_echo_n "checking for j1f... " >&6; }
23506 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23507 $as_echo_n "(cached) " >&6
23508 else
23509 if test x$gcc_no_link = xyes; then
23510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23511 fi
23512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23513 /* end confdefs.h. */
23514
23515 #ifdef HAVE_COMPLEX_H
23516 #include <complex.h>
23517 #endif
23518 #ifdef HAVE_MATH_H
23519 #include <math.h>
23520 #endif
23521
23522 int (*ptr)() = (int (*)())j1f;
23523
23524 int
23525 main ()
23526 {
23527 return 0;
23528 }
23529
23530 _ACEOF
23531 if ac_fn_c_try_link "$LINENO"; then :
23532 gcc_cv_math_func_j1f=yes
23533 else
23534 gcc_cv_math_func_j1f=no
23535 fi
23536 rm -f core conftest.err conftest.$ac_objext \
23537 conftest$ac_exeext conftest.$ac_ext
23538 fi
23539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23540 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23541 if test $gcc_cv_math_func_j1f = yes; then
23542
23543 cat >>confdefs.h <<_ACEOF
23544 #define HAVE_J1F 1
23545 _ACEOF
23546
23547 fi
23548
23549
23550
23551
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23553 $as_echo_n "checking for j1... " >&6; }
23554 if test "${gcc_cv_math_func_j1+set}" = set; then :
23555 $as_echo_n "(cached) " >&6
23556 else
23557 if test x$gcc_no_link = xyes; then
23558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23559 fi
23560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23561 /* end confdefs.h. */
23562
23563 #ifdef HAVE_COMPLEX_H
23564 #include <complex.h>
23565 #endif
23566 #ifdef HAVE_MATH_H
23567 #include <math.h>
23568 #endif
23569
23570 int (*ptr)() = (int (*)())j1;
23571
23572 int
23573 main ()
23574 {
23575 return 0;
23576 }
23577
23578 _ACEOF
23579 if ac_fn_c_try_link "$LINENO"; then :
23580 gcc_cv_math_func_j1=yes
23581 else
23582 gcc_cv_math_func_j1=no
23583 fi
23584 rm -f core conftest.err conftest.$ac_objext \
23585 conftest$ac_exeext conftest.$ac_ext
23586 fi
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23588 $as_echo "$gcc_cv_math_func_j1" >&6; }
23589 if test $gcc_cv_math_func_j1 = yes; then
23590
23591 cat >>confdefs.h <<_ACEOF
23592 #define HAVE_J1 1
23593 _ACEOF
23594
23595 fi
23596
23597
23598
23599
23600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23601 $as_echo_n "checking for jnf... " >&6; }
23602 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23603 $as_echo_n "(cached) " >&6
23604 else
23605 if test x$gcc_no_link = xyes; then
23606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23607 fi
23608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23609 /* end confdefs.h. */
23610
23611 #ifdef HAVE_COMPLEX_H
23612 #include <complex.h>
23613 #endif
23614 #ifdef HAVE_MATH_H
23615 #include <math.h>
23616 #endif
23617
23618 int (*ptr)() = (int (*)())jnf;
23619
23620 int
23621 main ()
23622 {
23623 return 0;
23624 }
23625
23626 _ACEOF
23627 if ac_fn_c_try_link "$LINENO"; then :
23628 gcc_cv_math_func_jnf=yes
23629 else
23630 gcc_cv_math_func_jnf=no
23631 fi
23632 rm -f core conftest.err conftest.$ac_objext \
23633 conftest$ac_exeext conftest.$ac_ext
23634 fi
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23636 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23637 if test $gcc_cv_math_func_jnf = yes; then
23638
23639 cat >>confdefs.h <<_ACEOF
23640 #define HAVE_JNF 1
23641 _ACEOF
23642
23643 fi
23644
23645
23646
23647
23648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23649 $as_echo_n "checking for jn... " >&6; }
23650 if test "${gcc_cv_math_func_jn+set}" = set; then :
23651 $as_echo_n "(cached) " >&6
23652 else
23653 if test x$gcc_no_link = xyes; then
23654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23655 fi
23656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h. */
23658
23659 #ifdef HAVE_COMPLEX_H
23660 #include <complex.h>
23661 #endif
23662 #ifdef HAVE_MATH_H
23663 #include <math.h>
23664 #endif
23665
23666 int (*ptr)() = (int (*)())jn;
23667
23668 int
23669 main ()
23670 {
23671 return 0;
23672 }
23673
23674 _ACEOF
23675 if ac_fn_c_try_link "$LINENO"; then :
23676 gcc_cv_math_func_jn=yes
23677 else
23678 gcc_cv_math_func_jn=no
23679 fi
23680 rm -f core conftest.err conftest.$ac_objext \
23681 conftest$ac_exeext conftest.$ac_ext
23682 fi
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23684 $as_echo "$gcc_cv_math_func_jn" >&6; }
23685 if test $gcc_cv_math_func_jn = yes; then
23686
23687 cat >>confdefs.h <<_ACEOF
23688 #define HAVE_JN 1
23689 _ACEOF
23690
23691 fi
23692
23693
23694
23695
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23697 $as_echo_n "checking for jnl... " >&6; }
23698 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23699 $as_echo_n "(cached) " >&6
23700 else
23701 if test x$gcc_no_link = xyes; then
23702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23703 fi
23704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23705 /* end confdefs.h. */
23706
23707 #ifdef HAVE_COMPLEX_H
23708 #include <complex.h>
23709 #endif
23710 #ifdef HAVE_MATH_H
23711 #include <math.h>
23712 #endif
23713
23714 int (*ptr)() = (int (*)())jnl;
23715
23716 int
23717 main ()
23718 {
23719 return 0;
23720 }
23721
23722 _ACEOF
23723 if ac_fn_c_try_link "$LINENO"; then :
23724 gcc_cv_math_func_jnl=yes
23725 else
23726 gcc_cv_math_func_jnl=no
23727 fi
23728 rm -f core conftest.err conftest.$ac_objext \
23729 conftest$ac_exeext conftest.$ac_ext
23730 fi
23731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23732 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23733 if test $gcc_cv_math_func_jnl = yes; then
23734
23735 cat >>confdefs.h <<_ACEOF
23736 #define HAVE_JNL 1
23737 _ACEOF
23738
23739 fi
23740
23741
23742
23743
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23745 $as_echo_n "checking for y0f... " >&6; }
23746 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23747 $as_echo_n "(cached) " >&6
23748 else
23749 if test x$gcc_no_link = xyes; then
23750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23751 fi
23752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23753 /* end confdefs.h. */
23754
23755 #ifdef HAVE_COMPLEX_H
23756 #include <complex.h>
23757 #endif
23758 #ifdef HAVE_MATH_H
23759 #include <math.h>
23760 #endif
23761
23762 int (*ptr)() = (int (*)())y0f;
23763
23764 int
23765 main ()
23766 {
23767 return 0;
23768 }
23769
23770 _ACEOF
23771 if ac_fn_c_try_link "$LINENO"; then :
23772 gcc_cv_math_func_y0f=yes
23773 else
23774 gcc_cv_math_func_y0f=no
23775 fi
23776 rm -f core conftest.err conftest.$ac_objext \
23777 conftest$ac_exeext conftest.$ac_ext
23778 fi
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23780 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23781 if test $gcc_cv_math_func_y0f = yes; then
23782
23783 cat >>confdefs.h <<_ACEOF
23784 #define HAVE_Y0F 1
23785 _ACEOF
23786
23787 fi
23788
23789
23790
23791
23792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23793 $as_echo_n "checking for y0... " >&6; }
23794 if test "${gcc_cv_math_func_y0+set}" = set; then :
23795 $as_echo_n "(cached) " >&6
23796 else
23797 if test x$gcc_no_link = xyes; then
23798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23799 fi
23800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23801 /* end confdefs.h. */
23802
23803 #ifdef HAVE_COMPLEX_H
23804 #include <complex.h>
23805 #endif
23806 #ifdef HAVE_MATH_H
23807 #include <math.h>
23808 #endif
23809
23810 int (*ptr)() = (int (*)())y0;
23811
23812 int
23813 main ()
23814 {
23815 return 0;
23816 }
23817
23818 _ACEOF
23819 if ac_fn_c_try_link "$LINENO"; then :
23820 gcc_cv_math_func_y0=yes
23821 else
23822 gcc_cv_math_func_y0=no
23823 fi
23824 rm -f core conftest.err conftest.$ac_objext \
23825 conftest$ac_exeext conftest.$ac_ext
23826 fi
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23828 $as_echo "$gcc_cv_math_func_y0" >&6; }
23829 if test $gcc_cv_math_func_y0 = yes; then
23830
23831 cat >>confdefs.h <<_ACEOF
23832 #define HAVE_Y0 1
23833 _ACEOF
23834
23835 fi
23836
23837
23838
23839
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
23841 $as_echo_n "checking for y1f... " >&6; }
23842 if test "${gcc_cv_math_func_y1f+set}" = set; then :
23843 $as_echo_n "(cached) " >&6
23844 else
23845 if test x$gcc_no_link = xyes; then
23846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23847 fi
23848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23849 /* end confdefs.h. */
23850
23851 #ifdef HAVE_COMPLEX_H
23852 #include <complex.h>
23853 #endif
23854 #ifdef HAVE_MATH_H
23855 #include <math.h>
23856 #endif
23857
23858 int (*ptr)() = (int (*)())y1f;
23859
23860 int
23861 main ()
23862 {
23863 return 0;
23864 }
23865
23866 _ACEOF
23867 if ac_fn_c_try_link "$LINENO"; then :
23868 gcc_cv_math_func_y1f=yes
23869 else
23870 gcc_cv_math_func_y1f=no
23871 fi
23872 rm -f core conftest.err conftest.$ac_objext \
23873 conftest$ac_exeext conftest.$ac_ext
23874 fi
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
23876 $as_echo "$gcc_cv_math_func_y1f" >&6; }
23877 if test $gcc_cv_math_func_y1f = yes; then
23878
23879 cat >>confdefs.h <<_ACEOF
23880 #define HAVE_Y1F 1
23881 _ACEOF
23882
23883 fi
23884
23885
23886
23887
23888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
23889 $as_echo_n "checking for y1... " >&6; }
23890 if test "${gcc_cv_math_func_y1+set}" = set; then :
23891 $as_echo_n "(cached) " >&6
23892 else
23893 if test x$gcc_no_link = xyes; then
23894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23895 fi
23896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23897 /* end confdefs.h. */
23898
23899 #ifdef HAVE_COMPLEX_H
23900 #include <complex.h>
23901 #endif
23902 #ifdef HAVE_MATH_H
23903 #include <math.h>
23904 #endif
23905
23906 int (*ptr)() = (int (*)())y1;
23907
23908 int
23909 main ()
23910 {
23911 return 0;
23912 }
23913
23914 _ACEOF
23915 if ac_fn_c_try_link "$LINENO"; then :
23916 gcc_cv_math_func_y1=yes
23917 else
23918 gcc_cv_math_func_y1=no
23919 fi
23920 rm -f core conftest.err conftest.$ac_objext \
23921 conftest$ac_exeext conftest.$ac_ext
23922 fi
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
23924 $as_echo "$gcc_cv_math_func_y1" >&6; }
23925 if test $gcc_cv_math_func_y1 = yes; then
23926
23927 cat >>confdefs.h <<_ACEOF
23928 #define HAVE_Y1 1
23929 _ACEOF
23930
23931 fi
23932
23933
23934
23935
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
23937 $as_echo_n "checking for ynf... " >&6; }
23938 if test "${gcc_cv_math_func_ynf+set}" = set; then :
23939 $as_echo_n "(cached) " >&6
23940 else
23941 if test x$gcc_no_link = xyes; then
23942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23943 fi
23944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23945 /* end confdefs.h. */
23946
23947 #ifdef HAVE_COMPLEX_H
23948 #include <complex.h>
23949 #endif
23950 #ifdef HAVE_MATH_H
23951 #include <math.h>
23952 #endif
23953
23954 int (*ptr)() = (int (*)())ynf;
23955
23956 int
23957 main ()
23958 {
23959 return 0;
23960 }
23961
23962 _ACEOF
23963 if ac_fn_c_try_link "$LINENO"; then :
23964 gcc_cv_math_func_ynf=yes
23965 else
23966 gcc_cv_math_func_ynf=no
23967 fi
23968 rm -f core conftest.err conftest.$ac_objext \
23969 conftest$ac_exeext conftest.$ac_ext
23970 fi
23971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
23972 $as_echo "$gcc_cv_math_func_ynf" >&6; }
23973 if test $gcc_cv_math_func_ynf = yes; then
23974
23975 cat >>confdefs.h <<_ACEOF
23976 #define HAVE_YNF 1
23977 _ACEOF
23978
23979 fi
23980
23981
23982
23983
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
23985 $as_echo_n "checking for yn... " >&6; }
23986 if test "${gcc_cv_math_func_yn+set}" = set; then :
23987 $as_echo_n "(cached) " >&6
23988 else
23989 if test x$gcc_no_link = xyes; then
23990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23991 fi
23992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23993 /* end confdefs.h. */
23994
23995 #ifdef HAVE_COMPLEX_H
23996 #include <complex.h>
23997 #endif
23998 #ifdef HAVE_MATH_H
23999 #include <math.h>
24000 #endif
24001
24002 int (*ptr)() = (int (*)())yn;
24003
24004 int
24005 main ()
24006 {
24007 return 0;
24008 }
24009
24010 _ACEOF
24011 if ac_fn_c_try_link "$LINENO"; then :
24012 gcc_cv_math_func_yn=yes
24013 else
24014 gcc_cv_math_func_yn=no
24015 fi
24016 rm -f core conftest.err conftest.$ac_objext \
24017 conftest$ac_exeext conftest.$ac_ext
24018 fi
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24020 $as_echo "$gcc_cv_math_func_yn" >&6; }
24021 if test $gcc_cv_math_func_yn = yes; then
24022
24023 cat >>confdefs.h <<_ACEOF
24024 #define HAVE_YN 1
24025 _ACEOF
24026
24027 fi
24028
24029
24030
24031
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24033 $as_echo_n "checking for ynl... " >&6; }
24034 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24035 $as_echo_n "(cached) " >&6
24036 else
24037 if test x$gcc_no_link = xyes; then
24038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24039 fi
24040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24041 /* end confdefs.h. */
24042
24043 #ifdef HAVE_COMPLEX_H
24044 #include <complex.h>
24045 #endif
24046 #ifdef HAVE_MATH_H
24047 #include <math.h>
24048 #endif
24049
24050 int (*ptr)() = (int (*)())ynl;
24051
24052 int
24053 main ()
24054 {
24055 return 0;
24056 }
24057
24058 _ACEOF
24059 if ac_fn_c_try_link "$LINENO"; then :
24060 gcc_cv_math_func_ynl=yes
24061 else
24062 gcc_cv_math_func_ynl=no
24063 fi
24064 rm -f core conftest.err conftest.$ac_objext \
24065 conftest$ac_exeext conftest.$ac_ext
24066 fi
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24068 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24069 if test $gcc_cv_math_func_ynl = yes; then
24070
24071 cat >>confdefs.h <<_ACEOF
24072 #define HAVE_YNL 1
24073 _ACEOF
24074
24075 fi
24076
24077
24078
24079
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24081 $as_echo_n "checking for tgamma... " >&6; }
24082 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24083 $as_echo_n "(cached) " >&6
24084 else
24085 if test x$gcc_no_link = xyes; then
24086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24087 fi
24088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24089 /* end confdefs.h. */
24090
24091 #ifdef HAVE_COMPLEX_H
24092 #include <complex.h>
24093 #endif
24094 #ifdef HAVE_MATH_H
24095 #include <math.h>
24096 #endif
24097
24098 int (*ptr)() = (int (*)())tgamma;
24099
24100 int
24101 main ()
24102 {
24103 return 0;
24104 }
24105
24106 _ACEOF
24107 if ac_fn_c_try_link "$LINENO"; then :
24108 gcc_cv_math_func_tgamma=yes
24109 else
24110 gcc_cv_math_func_tgamma=no
24111 fi
24112 rm -f core conftest.err conftest.$ac_objext \
24113 conftest$ac_exeext conftest.$ac_ext
24114 fi
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24116 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24117 if test $gcc_cv_math_func_tgamma = yes; then
24118
24119 cat >>confdefs.h <<_ACEOF
24120 #define HAVE_TGAMMA 1
24121 _ACEOF
24122
24123 fi
24124
24125
24126
24127
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24129 $as_echo_n "checking for tgammaf... " >&6; }
24130 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24131 $as_echo_n "(cached) " >&6
24132 else
24133 if test x$gcc_no_link = xyes; then
24134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24135 fi
24136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24137 /* end confdefs.h. */
24138
24139 #ifdef HAVE_COMPLEX_H
24140 #include <complex.h>
24141 #endif
24142 #ifdef HAVE_MATH_H
24143 #include <math.h>
24144 #endif
24145
24146 int (*ptr)() = (int (*)())tgammaf;
24147
24148 int
24149 main ()
24150 {
24151 return 0;
24152 }
24153
24154 _ACEOF
24155 if ac_fn_c_try_link "$LINENO"; then :
24156 gcc_cv_math_func_tgammaf=yes
24157 else
24158 gcc_cv_math_func_tgammaf=no
24159 fi
24160 rm -f core conftest.err conftest.$ac_objext \
24161 conftest$ac_exeext conftest.$ac_ext
24162 fi
24163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24164 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24165 if test $gcc_cv_math_func_tgammaf = yes; then
24166
24167 cat >>confdefs.h <<_ACEOF
24168 #define HAVE_TGAMMAF 1
24169 _ACEOF
24170
24171 fi
24172
24173
24174
24175
24176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24177 $as_echo_n "checking for lgamma... " >&6; }
24178 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24179 $as_echo_n "(cached) " >&6
24180 else
24181 if test x$gcc_no_link = xyes; then
24182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24183 fi
24184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24185 /* end confdefs.h. */
24186
24187 #ifdef HAVE_COMPLEX_H
24188 #include <complex.h>
24189 #endif
24190 #ifdef HAVE_MATH_H
24191 #include <math.h>
24192 #endif
24193
24194 int (*ptr)() = (int (*)())lgamma;
24195
24196 int
24197 main ()
24198 {
24199 return 0;
24200 }
24201
24202 _ACEOF
24203 if ac_fn_c_try_link "$LINENO"; then :
24204 gcc_cv_math_func_lgamma=yes
24205 else
24206 gcc_cv_math_func_lgamma=no
24207 fi
24208 rm -f core conftest.err conftest.$ac_objext \
24209 conftest$ac_exeext conftest.$ac_ext
24210 fi
24211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24212 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24213 if test $gcc_cv_math_func_lgamma = yes; then
24214
24215 cat >>confdefs.h <<_ACEOF
24216 #define HAVE_LGAMMA 1
24217 _ACEOF
24218
24219 fi
24220
24221
24222
24223
24224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24225 $as_echo_n "checking for lgammaf... " >&6; }
24226 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24227 $as_echo_n "(cached) " >&6
24228 else
24229 if test x$gcc_no_link = xyes; then
24230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24231 fi
24232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24233 /* end confdefs.h. */
24234
24235 #ifdef HAVE_COMPLEX_H
24236 #include <complex.h>
24237 #endif
24238 #ifdef HAVE_MATH_H
24239 #include <math.h>
24240 #endif
24241
24242 int (*ptr)() = (int (*)())lgammaf;
24243
24244 int
24245 main ()
24246 {
24247 return 0;
24248 }
24249
24250 _ACEOF
24251 if ac_fn_c_try_link "$LINENO"; then :
24252 gcc_cv_math_func_lgammaf=yes
24253 else
24254 gcc_cv_math_func_lgammaf=no
24255 fi
24256 rm -f core conftest.err conftest.$ac_objext \
24257 conftest$ac_exeext conftest.$ac_ext
24258 fi
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24260 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24261 if test $gcc_cv_math_func_lgammaf = yes; then
24262
24263 cat >>confdefs.h <<_ACEOF
24264 #define HAVE_LGAMMAF 1
24265 _ACEOF
24266
24267 fi
24268
24269
24270 # Check for GFORTRAN_C99_1.1 funcs
24271
24272
24273
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24275 $as_echo_n "checking for cacos... " >&6; }
24276 if test "${gcc_cv_math_func_cacos+set}" = set; 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 (*)())cacos;
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_cacos=yes
24303 else
24304 gcc_cv_math_func_cacos=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_cacos" >&5
24310 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24311 if test $gcc_cv_math_func_cacos = yes; then
24312
24313 cat >>confdefs.h <<_ACEOF
24314 #define HAVE_CACOS 1
24315 _ACEOF
24316
24317 fi
24318
24319
24320
24321
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24323 $as_echo_n "checking for cacosf... " >&6; }
24324 if test "${gcc_cv_math_func_cacosf+set}" = set; 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 (*)())cacosf;
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_cacosf=yes
24351 else
24352 gcc_cv_math_func_cacosf=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_cacosf" >&5
24358 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24359 if test $gcc_cv_math_func_cacosf = yes; then
24360
24361 cat >>confdefs.h <<_ACEOF
24362 #define HAVE_CACOSF 1
24363 _ACEOF
24364
24365 fi
24366
24367
24368
24369
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24371 $as_echo_n "checking for cacosh... " >&6; }
24372 if test "${gcc_cv_math_func_cacosh+set}" = set; 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 (*)())cacosh;
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_cacosh=yes
24399 else
24400 gcc_cv_math_func_cacosh=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_cacosh" >&5
24406 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24407 if test $gcc_cv_math_func_cacosh = yes; then
24408
24409 cat >>confdefs.h <<_ACEOF
24410 #define HAVE_CACOSH 1
24411 _ACEOF
24412
24413 fi
24414
24415
24416
24417
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24419 $as_echo_n "checking for cacoshf... " >&6; }
24420 if test "${gcc_cv_math_func_cacoshf+set}" = set; 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 (*)())cacoshf;
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_cacoshf=yes
24447 else
24448 gcc_cv_math_func_cacoshf=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_cacoshf" >&5
24454 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24455 if test $gcc_cv_math_func_cacoshf = yes; then
24456
24457 cat >>confdefs.h <<_ACEOF
24458 #define HAVE_CACOSHF 1
24459 _ACEOF
24460
24461 fi
24462
24463
24464
24465
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24467 $as_echo_n "checking for cacoshl... " >&6; }
24468 if test "${gcc_cv_math_func_cacoshl+set}" = set; 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 (*)())cacoshl;
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_cacoshl=yes
24495 else
24496 gcc_cv_math_func_cacoshl=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_cacoshl" >&5
24502 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24503 if test $gcc_cv_math_func_cacoshl = yes; then
24504
24505 cat >>confdefs.h <<_ACEOF
24506 #define HAVE_CACOSHL 1
24507 _ACEOF
24508
24509 fi
24510
24511
24512
24513
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24515 $as_echo_n "checking for cacosl... " >&6; }
24516 if test "${gcc_cv_math_func_cacosl+set}" = set; 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 (*)())cacosl;
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_cacosl=yes
24543 else
24544 gcc_cv_math_func_cacosl=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_cacosl" >&5
24550 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24551 if test $gcc_cv_math_func_cacosl = yes; then
24552
24553 cat >>confdefs.h <<_ACEOF
24554 #define HAVE_CACOSL 1
24555 _ACEOF
24556
24557 fi
24558
24559
24560
24561
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24563 $as_echo_n "checking for casin... " >&6; }
24564 if test "${gcc_cv_math_func_casin+set}" = set; 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 (*)())casin;
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_casin=yes
24591 else
24592 gcc_cv_math_func_casin=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_casin" >&5
24598 $as_echo "$gcc_cv_math_func_casin" >&6; }
24599 if test $gcc_cv_math_func_casin = yes; then
24600
24601 cat >>confdefs.h <<_ACEOF
24602 #define HAVE_CASIN 1
24603 _ACEOF
24604
24605 fi
24606
24607
24608
24609
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24611 $as_echo_n "checking for casinf... " >&6; }
24612 if test "${gcc_cv_math_func_casinf+set}" = set; 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 (*)())casinf;
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_casinf=yes
24639 else
24640 gcc_cv_math_func_casinf=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_casinf" >&5
24646 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24647 if test $gcc_cv_math_func_casinf = yes; then
24648
24649 cat >>confdefs.h <<_ACEOF
24650 #define HAVE_CASINF 1
24651 _ACEOF
24652
24653 fi
24654
24655
24656
24657
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24659 $as_echo_n "checking for casinh... " >&6; }
24660 if test "${gcc_cv_math_func_casinh+set}" = set; 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 (*)())casinh;
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_casinh=yes
24687 else
24688 gcc_cv_math_func_casinh=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_casinh" >&5
24694 $as_echo "$gcc_cv_math_func_casinh" >&6; }
24695 if test $gcc_cv_math_func_casinh = yes; then
24696
24697 cat >>confdefs.h <<_ACEOF
24698 #define HAVE_CASINH 1
24699 _ACEOF
24700
24701 fi
24702
24703
24704
24705
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
24707 $as_echo_n "checking for casinhf... " >&6; }
24708 if test "${gcc_cv_math_func_casinhf+set}" = set; 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 (*)())casinhf;
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_casinhf=yes
24735 else
24736 gcc_cv_math_func_casinhf=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_casinhf" >&5
24742 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
24743 if test $gcc_cv_math_func_casinhf = yes; then
24744
24745 cat >>confdefs.h <<_ACEOF
24746 #define HAVE_CASINHF 1
24747 _ACEOF
24748
24749 fi
24750
24751
24752
24753
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
24755 $as_echo_n "checking for casinhl... " >&6; }
24756 if test "${gcc_cv_math_func_casinhl+set}" = set; 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 (*)())casinhl;
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_casinhl=yes
24783 else
24784 gcc_cv_math_func_casinhl=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_casinhl" >&5
24790 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
24791 if test $gcc_cv_math_func_casinhl = yes; then
24792
24793 cat >>confdefs.h <<_ACEOF
24794 #define HAVE_CASINHL 1
24795 _ACEOF
24796
24797 fi
24798
24799
24800
24801
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
24803 $as_echo_n "checking for casinl... " >&6; }
24804 if test "${gcc_cv_math_func_casinl+set}" = set; 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 (*)())casinl;
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_casinl=yes
24831 else
24832 gcc_cv_math_func_casinl=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_casinl" >&5
24838 $as_echo "$gcc_cv_math_func_casinl" >&6; }
24839 if test $gcc_cv_math_func_casinl = yes; then
24840
24841 cat >>confdefs.h <<_ACEOF
24842 #define HAVE_CASINL 1
24843 _ACEOF
24844
24845 fi
24846
24847
24848
24849
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
24851 $as_echo_n "checking for catan... " >&6; }
24852 if test "${gcc_cv_math_func_catan+set}" = set; 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 (*)())catan;
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_catan=yes
24879 else
24880 gcc_cv_math_func_catan=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_catan" >&5
24886 $as_echo "$gcc_cv_math_func_catan" >&6; }
24887 if test $gcc_cv_math_func_catan = yes; then
24888
24889 cat >>confdefs.h <<_ACEOF
24890 #define HAVE_CATAN 1
24891 _ACEOF
24892
24893 fi
24894
24895
24896
24897
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
24899 $as_echo_n "checking for catanf... " >&6; }
24900 if test "${gcc_cv_math_func_catanf+set}" = set; 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 (*)())catanf;
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_catanf=yes
24927 else
24928 gcc_cv_math_func_catanf=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_catanf" >&5
24934 $as_echo "$gcc_cv_math_func_catanf" >&6; }
24935 if test $gcc_cv_math_func_catanf = yes; then
24936
24937 cat >>confdefs.h <<_ACEOF
24938 #define HAVE_CATANF 1
24939 _ACEOF
24940
24941 fi
24942
24943
24944
24945
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
24947 $as_echo_n "checking for catanh... " >&6; }
24948 if test "${gcc_cv_math_func_catanh+set}" = set; 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 (*)())catanh;
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_catanh=yes
24975 else
24976 gcc_cv_math_func_catanh=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_catanh" >&5
24982 $as_echo "$gcc_cv_math_func_catanh" >&6; }
24983 if test $gcc_cv_math_func_catanh = yes; then
24984
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE_CATANH 1
24987 _ACEOF
24988
24989 fi
24990
24991
24992
24993
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
24995 $as_echo_n "checking for catanhf... " >&6; }
24996 if test "${gcc_cv_math_func_catanhf+set}" = set; 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 (*)())catanhf;
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_catanhf=yes
25023 else
25024 gcc_cv_math_func_catanhf=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_catanhf" >&5
25030 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25031 if test $gcc_cv_math_func_catanhf = yes; then
25032
25033 cat >>confdefs.h <<_ACEOF
25034 #define HAVE_CATANHF 1
25035 _ACEOF
25036
25037 fi
25038
25039
25040
25041
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25043 $as_echo_n "checking for catanhl... " >&6; }
25044 if test "${gcc_cv_math_func_catanhl+set}" = set; 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 (*)())catanhl;
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_catanhl=yes
25071 else
25072 gcc_cv_math_func_catanhl=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_catanhl" >&5
25078 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25079 if test $gcc_cv_math_func_catanhl = yes; then
25080
25081 cat >>confdefs.h <<_ACEOF
25082 #define HAVE_CATANHL 1
25083 _ACEOF
25084
25085 fi
25086
25087
25088
25089
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25091 $as_echo_n "checking for catanl... " >&6; }
25092 if test "${gcc_cv_math_func_catanl+set}" = set; 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 (*)())catanl;
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_catanl=yes
25119 else
25120 gcc_cv_math_func_catanl=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_catanl" >&5
25126 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25127 if test $gcc_cv_math_func_catanl = yes; then
25128
25129 cat >>confdefs.h <<_ACEOF
25130 #define HAVE_CATANL 1
25131 _ACEOF
25132
25133 fi
25134
25135
25136 # On AIX, clog is present in libm as __clog
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25138 $as_echo_n "checking for __clog in -lm... " >&6; }
25139 if test "${ac_cv_lib_m___clog+set}" = set; then :
25140 $as_echo_n "(cached) " >&6
25141 else
25142 ac_check_lib_save_LIBS=$LIBS
25143 LIBS="-lm $LIBS"
25144 if test x$gcc_no_link = xyes; then
25145 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25146 fi
25147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25148 /* end confdefs.h. */
25149
25150 /* Override any GCC internal prototype to avoid an error.
25151 Use char because int might match the return type of a GCC
25152 builtin and then its argument prototype would still apply. */
25153 #ifdef __cplusplus
25154 extern "C"
25155 #endif
25156 char __clog ();
25157 int
25158 main ()
25159 {
25160 return __clog ();
25161 ;
25162 return 0;
25163 }
25164 _ACEOF
25165 if ac_fn_c_try_link "$LINENO"; then :
25166 ac_cv_lib_m___clog=yes
25167 else
25168 ac_cv_lib_m___clog=no
25169 fi
25170 rm -f core conftest.err conftest.$ac_objext \
25171 conftest$ac_exeext conftest.$ac_ext
25172 LIBS=$ac_check_lib_save_LIBS
25173 fi
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25175 $as_echo "$ac_cv_lib_m___clog" >&6; }
25176 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25177
25178 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25179
25180 fi
25181
25182
25183 # Check whether the system has a working stat()
25184
25185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25186 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25187 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25188 $as_echo_n "(cached) " >&6
25189 else
25190
25191 if test "$cross_compiling" = yes; then :
25192
25193 case "${target}" in
25194 *mingw*) libgfor_cv_have_working_stat=no ;;
25195 *) libgfor_cv_have_working_stat=yes;;
25196 esac
25197 else
25198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25199 /* end confdefs.h. */
25200
25201 #include <stdio.h>
25202 #include <sys/types.h>
25203 #include <sys/stat.h>
25204 #include <unistd.h>
25205
25206 int main ()
25207 {
25208 FILE *f, *g;
25209 struct stat st1, st2;
25210
25211 f = fopen ("foo", "w");
25212 g = fopen ("bar", "w");
25213 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25214 return 1;
25215 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25216 return 1;
25217 fclose(f);
25218 fclose(g);
25219 return 0;
25220 }
25221 _ACEOF
25222 if ac_fn_c_try_run "$LINENO"; then :
25223 libgfor_cv_have_working_stat=yes
25224 else
25225 libgfor_cv_have_working_stat=no
25226 fi
25227 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25228 conftest.$ac_objext conftest.beam conftest.$ac_ext
25229 fi
25230
25231 fi
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25233 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25234 if test x"$libgfor_cv_have_working_stat" = xyes; then
25235
25236 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25237
25238 fi
25239
25240 # Check whether __mingw_snprintf() is present
25241
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25243 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25244 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25245 $as_echo_n "(cached) " >&6
25246 else
25247
25248 if test x$gcc_no_link = xyes; then
25249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25250 fi
25251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25252 /* end confdefs.h. */
25253
25254 #include <stdio.h>
25255 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25256
25257 int
25258 main ()
25259 {
25260
25261 __mingw_snprintf (NULL, 0, "%d\n", 1);
25262
25263 ;
25264 return 0;
25265 }
25266 _ACEOF
25267 if ac_fn_c_try_link "$LINENO"; then :
25268 eval "libgfor_cv_have_mingw_snprintf=yes"
25269 else
25270 eval "libgfor_cv_have_mingw_snprintf=no"
25271 fi
25272 rm -f core conftest.err conftest.$ac_objext \
25273 conftest$ac_exeext conftest.$ac_ext
25274
25275 fi
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25277 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25278 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25279
25280 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25281
25282 fi
25283
25284
25285 # Check whether libquadmath should be used
25286 # Check whether --enable-libquadmath-support was given.
25287 if test "${enable_libquadmath_support+set}" = set; then :
25288 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25289 else
25290 ENABLE_LIBQUADMATH_SUPPORT=yes
25291 fi
25292
25293 enable_libquadmath_support=
25294 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25295 enable_libquadmath_support=no
25296 fi
25297
25298 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25299
25300 LIBQUADSPEC=
25301
25302 if test "x$enable_libquadmath_support" != xno; then
25303
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25305 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25306 if test "${libgfor_cv_have_float128+set}" = set; then :
25307 $as_echo_n "(cached) " >&6
25308 else
25309
25310 if test x$gcc_no_link = xyes; then
25311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25312 /* end confdefs.h. */
25313
25314 typedef _Complex float __attribute__((mode(TC))) __complex128;
25315
25316 __float128 foo (__float128 x)
25317 {
25318
25319 __complex128 z1, z2;
25320
25321 z1 = x;
25322 z2 = x / 7.Q;
25323 z2 /= z1;
25324
25325 return (__float128) z2;
25326 }
25327
25328 __float128 bar (__float128 x)
25329 {
25330 return x * __builtin_huge_valq ();
25331 }
25332
25333 int
25334 main ()
25335 {
25336
25337 foo (1.2Q);
25338 bar (1.2Q);
25339
25340 ;
25341 return 0;
25342 }
25343 _ACEOF
25344 if ac_fn_c_try_compile "$LINENO"; then :
25345
25346 libgfor_cv_have_float128=yes
25347
25348 else
25349
25350 libgfor_cv_have_float128=no
25351
25352 fi
25353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25354 else
25355 if test x$gcc_no_link = xyes; then
25356 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25357 fi
25358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25359 /* end confdefs.h. */
25360
25361 typedef _Complex float __attribute__((mode(TC))) __complex128;
25362
25363 __float128 foo (__float128 x)
25364 {
25365
25366 __complex128 z1, z2;
25367
25368 z1 = x;
25369 z2 = x / 7.Q;
25370 z2 /= z1;
25371
25372 return (__float128) z2;
25373 }
25374
25375 __float128 bar (__float128 x)
25376 {
25377 return x * __builtin_huge_valq ();
25378 }
25379
25380 int
25381 main ()
25382 {
25383
25384 foo (1.2Q);
25385 bar (1.2Q);
25386
25387 ;
25388 return 0;
25389 }
25390 _ACEOF
25391 if ac_fn_c_try_link "$LINENO"; then :
25392
25393 libgfor_cv_have_float128=yes
25394
25395 else
25396
25397 libgfor_cv_have_float128=no
25398
25399 fi
25400 rm -f core conftest.err conftest.$ac_objext \
25401 conftest$ac_exeext conftest.$ac_ext
25402 fi
25403 fi
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25405 $as_echo "$libgfor_cv_have_float128" >&6; }
25406
25407 if test "x$libgfor_cv_have_float128" = xyes; then
25408
25409 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25410
25411
25412 ac_xsave_c_werror_flag=$ac_c_werror_flag
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25414 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25415 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25416 $as_echo_n "(cached) " >&6
25417 else
25418
25419 # Test for native Solaris options first.
25420 # No whitespace after -z to pass it through -Wl.
25421 libgfor_cv_as_needed_option="-zignore"
25422 libgfor_cv_no_as_needed_option="-zrecord"
25423 save_LDFLAGS="$LDFLAGS"
25424 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25425 libgfor_cv_have_as_needed=no
25426
25427 ac_c_werror_flag=yes
25428 if test x$gcc_no_link = xyes; then
25429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25430 fi
25431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25432 /* end confdefs.h. */
25433
25434 int
25435 main ()
25436 {
25437
25438 ;
25439 return 0;
25440 }
25441 _ACEOF
25442 if ac_fn_c_try_link "$LINENO"; then :
25443 libgfor_cv_have_as_needed=yes
25444 else
25445 libgfor_cv_have_as_needed=no
25446 fi
25447 rm -f core conftest.err conftest.$ac_objext \
25448 conftest$ac_exeext conftest.$ac_ext
25449 LDFLAGS="$save_LDFLAGS"
25450 if test "x$libgfor_cv_have_as_needed" = xno; then
25451 libgfor_cv_as_needed_option="--as-needed"
25452 libgfor_cv_no_as_needed_option="--no-as-needed"
25453 save_LDFLAGS="$LDFLAGS"
25454 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25455 libgfor_cv_have_as_needed=no
25456
25457 ac_c_werror_flag=yes
25458 if test x$gcc_no_link = xyes; then
25459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25460 fi
25461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25462 /* end confdefs.h. */
25463
25464 int
25465 main ()
25466 {
25467
25468 ;
25469 return 0;
25470 }
25471 _ACEOF
25472 if ac_fn_c_try_link "$LINENO"; then :
25473 libgfor_cv_have_as_needed=yes
25474 else
25475 libgfor_cv_have_as_needed=no
25476 fi
25477 rm -f core conftest.err conftest.$ac_objext \
25478 conftest$ac_exeext conftest.$ac_ext
25479 LDFLAGS="$save_LDFLAGS"
25480 fi
25481 ac_c_werror_flag=$ac_xsave_c_werror_flag
25482
25483 fi
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25485 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25486
25487 if test "x$libgfor_cv_have_as_needed" = xyes; then
25488 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25489 else
25490 LIBQUADSPEC="-lquadmath"
25491 fi
25492 if test -f ../libquadmath/libquadmath.la; then
25493 LIBQUADLIB=../libquadmath/libquadmath.la
25494 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25495 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25496 else
25497 LIBQUADLIB="-lquadmath"
25498 LIBQUADLIB_DEP=
25499 LIBQUADINCLUDE=
25500 fi
25501 fi
25502 else
25503 # for --disable-quadmath
25504 LIBQUADLIB=
25505 LIBQUADLIB_DEP=
25506 LIBQUADINCLUDE=
25507 fi
25508
25509
25510
25511
25512
25513
25514 if test "x$libgfor_cv_have_float128" = xyes; then
25515 LIBGFOR_BUILD_QUAD_TRUE=
25516 LIBGFOR_BUILD_QUAD_FALSE='#'
25517 else
25518 LIBGFOR_BUILD_QUAD_TRUE='#'
25519 LIBGFOR_BUILD_QUAD_FALSE=
25520 fi
25521
25522
25523
25524 # Check for GNU libc feenableexcept
25525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25526 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25527 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25528 $as_echo_n "(cached) " >&6
25529 else
25530 ac_check_lib_save_LIBS=$LIBS
25531 LIBS="-lm $LIBS"
25532 if test x$gcc_no_link = xyes; then
25533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25534 fi
25535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25536 /* end confdefs.h. */
25537
25538 /* Override any GCC internal prototype to avoid an error.
25539 Use char because int might match the return type of a GCC
25540 builtin and then its argument prototype would still apply. */
25541 #ifdef __cplusplus
25542 extern "C"
25543 #endif
25544 char feenableexcept ();
25545 int
25546 main ()
25547 {
25548 return feenableexcept ();
25549 ;
25550 return 0;
25551 }
25552 _ACEOF
25553 if ac_fn_c_try_link "$LINENO"; then :
25554 ac_cv_lib_m_feenableexcept=yes
25555 else
25556 ac_cv_lib_m_feenableexcept=no
25557 fi
25558 rm -f core conftest.err conftest.$ac_objext \
25559 conftest$ac_exeext conftest.$ac_ext
25560 LIBS=$ac_check_lib_save_LIBS
25561 fi
25562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25563 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25564 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25565 have_feenableexcept=yes
25566 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25567
25568 fi
25569
25570
25571 # At least for glibc, clock_gettime is in librt. But don't
25572 # pull that in if it still doesn't give us the function we want. This
25573 # test is copied from libgomp, and modified to not link in -lrt as
25574 # libgfortran calls clock_gettime via a weak reference if it's found
25575 # in librt.
25576 if test "$ac_cv_func_clock_gettime" = no; then
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25578 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25579 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25580 $as_echo_n "(cached) " >&6
25581 else
25582 ac_check_lib_save_LIBS=$LIBS
25583 LIBS="-lrt $LIBS"
25584 if test x$gcc_no_link = xyes; then
25585 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25586 fi
25587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25588 /* end confdefs.h. */
25589
25590 /* Override any GCC internal prototype to avoid an error.
25591 Use char because int might match the return type of a GCC
25592 builtin and then its argument prototype would still apply. */
25593 #ifdef __cplusplus
25594 extern "C"
25595 #endif
25596 char clock_gettime ();
25597 int
25598 main ()
25599 {
25600 return clock_gettime ();
25601 ;
25602 return 0;
25603 }
25604 _ACEOF
25605 if ac_fn_c_try_link "$LINENO"; then :
25606 ac_cv_lib_rt_clock_gettime=yes
25607 else
25608 ac_cv_lib_rt_clock_gettime=no
25609 fi
25610 rm -f core conftest.err conftest.$ac_objext \
25611 conftest$ac_exeext conftest.$ac_ext
25612 LIBS=$ac_check_lib_save_LIBS
25613 fi
25614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25615 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25616 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25617
25618 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25619
25620 fi
25621
25622 fi
25623
25624 # Check for SysV fpsetmask
25625
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25627 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25628 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25629 $as_echo_n "(cached) " >&6
25630 else
25631
25632 if test x$gcc_no_link = xyes; then
25633 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25634 fi
25635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25636 /* end confdefs.h. */
25637
25638 #if HAVE_FLOATINGPOINT_H
25639 # include <floatingpoint.h>
25640 #endif /* HAVE_FLOATINGPOINT_H */
25641 #if HAVE_IEEEFP_H
25642 # include <ieeefp.h>
25643 #endif /* HAVE_IEEEFP_H */
25644 int
25645 main ()
25646 {
25647 fpsetmask(0);
25648 ;
25649 return 0;
25650 }
25651 _ACEOF
25652 if ac_fn_c_try_link "$LINENO"; then :
25653 eval "libgfor_cv_have_fpsetmask=yes"
25654 else
25655 eval "libgfor_cv_have_fpsetmask=no"
25656 fi
25657 rm -f core conftest.err conftest.$ac_objext \
25658 conftest$ac_exeext conftest.$ac_ext
25659
25660 fi
25661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25662 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25663 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25664 have_fpsetmask=yes
25665
25666 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25667
25668 fi
25669
25670 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
25671 #ifdef HAVE_IEEEFP_H
25672 #include <ieeefp.h>
25673 #endif
25674 #include <math.h>
25675
25676 "
25677 if test "x$ac_cv_type_fp_except" = x""yes; then :
25678
25679 cat >>confdefs.h <<_ACEOF
25680 #define HAVE_FP_EXCEPT 1
25681 _ACEOF
25682
25683
25684 fi
25685 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
25686 #ifdef HAVE_IEEEFP_H
25687 #include <ieeefp.h>
25688 #endif
25689 #include <math.h>
25690
25691 "
25692 if test "x$ac_cv_type_fp_except_t" = x""yes; then :
25693
25694 cat >>confdefs.h <<_ACEOF
25695 #define HAVE_FP_EXCEPT_T 1
25696 _ACEOF
25697
25698
25699 fi
25700
25701 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
25702 #ifdef HAVE_IEEEFP_H
25703 #include <ieeefp.h>
25704 #endif
25705 #include <math.h>
25706
25707 "
25708 if test "x$ac_cv_type_fp_rnd" = x""yes; then :
25709
25710 cat >>confdefs.h <<_ACEOF
25711 #define HAVE_FP_RND 1
25712 _ACEOF
25713
25714
25715 fi
25716 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
25717 #ifdef HAVE_IEEEFP_H
25718 #include <ieeefp.h>
25719 #endif
25720 #include <math.h>
25721
25722 "
25723 if test "x$ac_cv_type_fp_rnd_t" = x""yes; then :
25724
25725 cat >>confdefs.h <<_ACEOF
25726 #define HAVE_FP_RND_T 1
25727 _ACEOF
25728
25729
25730 fi
25731
25732
25733 # Check whether we have fpsetsticky or fpresetsticky
25734 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
25735 if test "x$ac_cv_func_fpsetsticky" = x""yes; then :
25736 have_fpsetsticky=yes
25737 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
25738
25739 fi
25740
25741 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
25742 if test "x$ac_cv_func_fpresetsticky" = x""yes; then :
25743 have_fpresetsticky=yes
25744 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
25745
25746 fi
25747
25748
25749 # Check for AIX fp_trap and fp_enable
25750 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25751 if test "x$ac_cv_func_fp_trap" = x""yes; then :
25752 have_fp_trap=yes
25753 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25754
25755 fi
25756
25757 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25758 if test "x$ac_cv_func_fp_enable" = x""yes; then :
25759 have_fp_enable=yes
25760 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25761
25762 fi
25763
25764
25765 # Runs configure.host to set up necessary host-dependent shell variables.
25766 # We then display a message about it, and propagate them through the
25767 # build chain.
25768 . ${srcdir}/configure.host
25769 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25770 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25771 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
25772 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
25773 FPU_HOST_HEADER=config/${fpu_host}.h
25774
25775
25776 # Whether we will build the IEEE modules
25777 if test x${ieee_support} = xyes; then
25778 IEEE_SUPPORT_TRUE=
25779 IEEE_SUPPORT_FALSE='#'
25780 else
25781 IEEE_SUPPORT_TRUE='#'
25782 IEEE_SUPPORT_FALSE=
25783 fi
25784
25785
25786
25787 # Some targets require additional compiler options for IEEE compatibility.
25788 IEEE_FLAGS="${ieee_flags}"
25789
25790
25791
25792 # Check for POSIX getpwuid_r
25793 #
25794 # There are two versions of getpwuid_r, the POSIX one with 5
25795 # arguments, and another one with 4 arguments used by at least HP-UX
25796 # 10.2.
25797 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25799 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25800 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25801 $as_echo_n "(cached) " >&6
25802 else
25803
25804 if test x$gcc_no_link = xyes; then
25805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25806 fi
25807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25808 /* end confdefs.h. */
25809
25810 #include <stdio.h>
25811 #include <sys/types.h>
25812 #include <pwd.h>
25813 int
25814 main ()
25815 {
25816
25817 getpwuid_r(0, NULL, NULL, 0, NULL);
25818
25819 ;
25820 return 0;
25821 }
25822 _ACEOF
25823 if ac_fn_c_try_link "$LINENO"; then :
25824 libgfor_cv_posix_getpwuid_r="yes"
25825 else
25826 libgfor_cv_posix_getpwuid_r="no"
25827 fi
25828 rm -f core conftest.err conftest.$ac_objext \
25829 conftest$ac_exeext conftest.$ac_ext
25830 fi
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
25832 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
25833 fi
25834 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
25835
25836 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
25837
25838 fi
25839
25840
25841 # Check out attribute support.
25842
25843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
25844 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
25845 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
25846 $as_echo_n "(cached) " >&6
25847 else
25848
25849 save_CFLAGS="$CFLAGS"
25850 CFLAGS="$CFLAGS -Werror"
25851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25852 /* end confdefs.h. */
25853 void __attribute__((visibility("hidden"))) foo(void) { }
25854 int
25855 main ()
25856 {
25857
25858 ;
25859 return 0;
25860 }
25861 _ACEOF
25862 if ac_fn_c_try_compile "$LINENO"; then :
25863 libgfor_cv_have_attribute_visibility=yes
25864 else
25865 libgfor_cv_have_attribute_visibility=no
25866 fi
25867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25868 CFLAGS="$save_CFLAGS"
25869 fi
25870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
25871 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
25872 if test $libgfor_cv_have_attribute_visibility = yes; then
25873
25874 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
25875
25876 fi
25877
25878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
25879 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
25880 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
25881 $as_echo_n "(cached) " >&6
25882 else
25883
25884 if test x$gcc_no_link = xyes; then
25885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25886 fi
25887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25888 /* end confdefs.h. */
25889
25890 void foo(void) { }
25891 extern void bar(void) __attribute__((alias("foo")));
25892 int
25893 main ()
25894 {
25895 bar();
25896 ;
25897 return 0;
25898 }
25899 _ACEOF
25900 if ac_fn_c_try_link "$LINENO"; then :
25901 libgfor_cv_have_attribute_alias=yes
25902 else
25903 libgfor_cv_have_attribute_alias=no
25904 fi
25905 rm -f core conftest.err conftest.$ac_objext \
25906 conftest$ac_exeext conftest.$ac_ext
25907 fi
25908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
25909 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
25910 if test $libgfor_cv_have_attribute_alias = yes; then
25911
25912 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
25913
25914 fi
25915
25916 # Check out sync builtins support.
25917
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
25919 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
25920 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
25921 $as_echo_n "(cached) " >&6
25922 else
25923
25924 if test x$gcc_no_link = xyes; then
25925 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25926 fi
25927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25928 /* end confdefs.h. */
25929 int foovar = 0;
25930 int
25931 main ()
25932 {
25933
25934 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
25935 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
25936 ;
25937 return 0;
25938 }
25939 _ACEOF
25940 if ac_fn_c_try_link "$LINENO"; then :
25941 libgfor_cv_have_sync_fetch_and_add=yes
25942 else
25943 libgfor_cv_have_sync_fetch_and_add=no
25944 fi
25945 rm -f core conftest.err conftest.$ac_objext \
25946 conftest$ac_exeext conftest.$ac_ext
25947 fi
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
25949 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
25950 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
25951
25952 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
25953
25954 fi
25955
25956 # Check out #pragma weak.
25957
25958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
25959 $as_echo_n "checking whether pragma weak works... " >&6; }
25960 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
25961 $as_echo_n "(cached) " >&6
25962 else
25963
25964 gfor_save_CFLAGS="$CFLAGS"
25965 CFLAGS="$CFLAGS -Wunknown-pragmas"
25966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25967 /* end confdefs.h. */
25968
25969 void foo (void);
25970 #pragma weak foo
25971
25972 int
25973 main ()
25974 {
25975 if (foo) foo ();
25976 ;
25977 return 0;
25978 }
25979 _ACEOF
25980 if ac_fn_c_try_compile "$LINENO"; then :
25981 libgfor_cv_have_pragma_weak=yes
25982 else
25983 libgfor_cv_have_pragma_weak=no
25984 fi
25985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25986 fi
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
25988 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
25989 if test $libgfor_cv_have_pragma_weak = yes; then
25990
25991 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
25992
25993 fi
25994 case "$host" in
25995 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
25996
25997 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
25998
25999 ;;
26000 esac
26001
26002 # Check out weakref support.
26003
26004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26005 $as_echo_n "checking whether the target supports weakref... " >&6; }
26006 if test "${libgfor_cv_have_weakref+set}" = set; then :
26007 $as_echo_n "(cached) " >&6
26008 else
26009
26010 save_CFLAGS="$CFLAGS"
26011 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
26012 if test x$gcc_no_link = xyes; then
26013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26014 fi
26015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26016 /* end confdefs.h. */
26017
26018 static int mytoto (int) __attribute__((__weakref__("toto")));
26019
26020 int
26021 main ()
26022 {
26023 return (mytoto != 0);
26024 ;
26025 return 0;
26026 }
26027 _ACEOF
26028 if ac_fn_c_try_link "$LINENO"; then :
26029 libgfor_cv_have_weakref=yes
26030 else
26031 libgfor_cv_have_weakref=no
26032 fi
26033 rm -f core conftest.err conftest.$ac_objext \
26034 conftest$ac_exeext conftest.$ac_ext
26035 CFLAGS="$save_CFLAGS"
26036 fi
26037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26038 $as_echo "$libgfor_cv_have_weakref" >&6; }
26039 if test $libgfor_cv_have_weakref = yes; then
26040
26041 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26042
26043 fi
26044
26045 # Various other checks on target
26046
26047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26048 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26049 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26050 $as_echo_n "(cached) " >&6
26051 else
26052
26053 if test "$cross_compiling" = yes; then :
26054
26055 case "${target}" in
26056 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26057 *) libgfor_cv_have_unlink_open_file=yes;;
26058 esac
26059 else
26060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26061 /* end confdefs.h. */
26062
26063 #include <errno.h>
26064 #include <fcntl.h>
26065 #include <unistd.h>
26066 #include <sys/stat.h>
26067
26068 int main ()
26069 {
26070 int fd;
26071
26072 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26073 if (fd <= 0)
26074 return 0;
26075 if (unlink ("testfile") == -1)
26076 return 1;
26077 write (fd, "This is a test\n", 15);
26078 close (fd);
26079
26080 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26081 return 0;
26082 else
26083 return 1;
26084 }
26085 _ACEOF
26086 if ac_fn_c_try_run "$LINENO"; then :
26087 libgfor_cv_have_unlink_open_file=yes
26088 else
26089 libgfor_cv_have_unlink_open_file=no
26090 fi
26091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26092 conftest.$ac_objext conftest.beam conftest.$ac_ext
26093 fi
26094
26095 fi
26096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26097 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26098 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26099
26100 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26101
26102 fi
26103
26104 # Check whether line terminator is LF or CRLF
26105
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26107 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26108 if test "${libgfor_cv_have_crlf+set}" = set; then :
26109 $as_echo_n "(cached) " >&6
26110 else
26111
26112 if test "$cross_compiling" = yes; then :
26113
26114 case "${target}" in
26115 *mingw*) libgfor_cv_have_crlf=yes ;;
26116 *) libgfor_cv_have_crlf=no;;
26117 esac
26118 else
26119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26120 /* end confdefs.h. */
26121
26122 /* This test program should exit with status 0 if system uses a CRLF as
26123 line terminator, and status 1 otherwise.
26124 Since it is used to check for mingw systems, and should return 0 in any
26125 other case, in case of a failure we will not use CRLF. */
26126 #include <sys/stat.h>
26127 #include <stdlib.h>
26128 #include <fcntl.h>
26129 #include <stdio.h>
26130
26131 int main ()
26132 {
26133 #ifndef O_BINARY
26134 exit(1);
26135 #else
26136 int fd, bytes;
26137 char buff[5];
26138
26139 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26140 if (fd < 0)
26141 exit(1);
26142 if (write (fd, "\n", 1) < 0)
26143 perror ("write");
26144
26145 close (fd);
26146
26147 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26148 exit(1);
26149 bytes = read (fd, buff, 5);
26150 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26151 exit(0);
26152 else
26153 exit(1);
26154 #endif
26155 }
26156 _ACEOF
26157 if ac_fn_c_try_run "$LINENO"; then :
26158 libgfor_cv_have_crlf=yes
26159 else
26160 libgfor_cv_have_crlf=no
26161 fi
26162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26163 conftest.$ac_objext conftest.beam conftest.$ac_ext
26164 fi
26165
26166 fi
26167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26168 $as_echo "$libgfor_cv_have_crlf" >&6; }
26169 if test x"$libgfor_cv_have_crlf" = xyes; then
26170
26171 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26172
26173 fi
26174
26175 cat >confcache <<\_ACEOF
26176 # This file is a shell script that caches the results of configure
26177 # tests run on this system so they can be shared between configure
26178 # scripts and configure runs, see configure's option --config-cache.
26179 # It is not useful on other systems. If it contains results you don't
26180 # want to keep, you may remove or edit it.
26181 #
26182 # config.status only pays attention to the cache file if you give it
26183 # the --recheck option to rerun configure.
26184 #
26185 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26186 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26187 # following values.
26188
26189 _ACEOF
26190
26191 # The following way of writing the cache mishandles newlines in values,
26192 # but we know of no workaround that is simple, portable, and efficient.
26193 # So, we kill variables containing newlines.
26194 # Ultrix sh set writes to stderr and can't be redirected directly,
26195 # and sets the high bit in the cache file unless we assign to the vars.
26196 (
26197 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26198 eval ac_val=\$$ac_var
26199 case $ac_val in #(
26200 *${as_nl}*)
26201 case $ac_var in #(
26202 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26203 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26204 esac
26205 case $ac_var in #(
26206 _ | IFS | as_nl) ;; #(
26207 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26208 *) { eval $ac_var=; unset $ac_var;} ;;
26209 esac ;;
26210 esac
26211 done
26212
26213 (set) 2>&1 |
26214 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26215 *${as_nl}ac_space=\ *)
26216 # `set' does not quote correctly, so add quotes: double-quote
26217 # substitution turns \\\\ into \\, and sed turns \\ into \.
26218 sed -n \
26219 "s/'/'\\\\''/g;
26220 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26221 ;; #(
26222 *)
26223 # `set' quotes correctly as required by POSIX, so do not add quotes.
26224 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26225 ;;
26226 esac |
26227 sort
26228 ) |
26229 sed '
26230 /^ac_cv_env_/b end
26231 t clear
26232 :clear
26233 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26234 t end
26235 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26236 :end' >>confcache
26237 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26238 if test -w "$cache_file"; then
26239 test "x$cache_file" != "x/dev/null" &&
26240 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26241 $as_echo "$as_me: updating cache $cache_file" >&6;}
26242 cat confcache >$cache_file
26243 else
26244 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26245 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26246 fi
26247 fi
26248 rm -f confcache
26249
26250 if test ${multilib} = yes; then
26251 multilib_arg="--enable-multilib"
26252 else
26253 multilib_arg=
26254 fi
26255
26256 # Write our Makefile and spec file.
26257 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26258
26259 cat >confcache <<\_ACEOF
26260 # This file is a shell script that caches the results of configure
26261 # tests run on this system so they can be shared between configure
26262 # scripts and configure runs, see configure's option --config-cache.
26263 # It is not useful on other systems. If it contains results you don't
26264 # want to keep, you may remove or edit it.
26265 #
26266 # config.status only pays attention to the cache file if you give it
26267 # the --recheck option to rerun configure.
26268 #
26269 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26270 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26271 # following values.
26272
26273 _ACEOF
26274
26275 # The following way of writing the cache mishandles newlines in values,
26276 # but we know of no workaround that is simple, portable, and efficient.
26277 # So, we kill variables containing newlines.
26278 # Ultrix sh set writes to stderr and can't be redirected directly,
26279 # and sets the high bit in the cache file unless we assign to the vars.
26280 (
26281 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26282 eval ac_val=\$$ac_var
26283 case $ac_val in #(
26284 *${as_nl}*)
26285 case $ac_var in #(
26286 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26287 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26288 esac
26289 case $ac_var in #(
26290 _ | IFS | as_nl) ;; #(
26291 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26292 *) { eval $ac_var=; unset $ac_var;} ;;
26293 esac ;;
26294 esac
26295 done
26296
26297 (set) 2>&1 |
26298 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26299 *${as_nl}ac_space=\ *)
26300 # `set' does not quote correctly, so add quotes: double-quote
26301 # substitution turns \\\\ into \\, and sed turns \\ into \.
26302 sed -n \
26303 "s/'/'\\\\''/g;
26304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26305 ;; #(
26306 *)
26307 # `set' quotes correctly as required by POSIX, so do not add quotes.
26308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26309 ;;
26310 esac |
26311 sort
26312 ) |
26313 sed '
26314 /^ac_cv_env_/b end
26315 t clear
26316 :clear
26317 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26318 t end
26319 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26320 :end' >>confcache
26321 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26322 if test -w "$cache_file"; then
26323 test "x$cache_file" != "x/dev/null" &&
26324 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26325 $as_echo "$as_me: updating cache $cache_file" >&6;}
26326 cat confcache >$cache_file
26327 else
26328 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26329 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26330 fi
26331 fi
26332 rm -f confcache
26333
26334 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26335 # Let make expand exec_prefix.
26336 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26337
26338 DEFS=-DHAVE_CONFIG_H
26339
26340 ac_libobjs=
26341 ac_ltlibobjs=
26342 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26343 # 1. Remove the extension, and $U if already installed.
26344 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26345 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26346 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26347 # will be set to the directory where LIBOBJS objects are built.
26348 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26349 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26350 done
26351 LIBOBJS=$ac_libobjs
26352
26353 LTLIBOBJS=$ac_ltlibobjs
26354
26355
26356 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26357 as_fn_error "conditional \"onestep\" was never defined.
26358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26359 fi
26360 if test -n "$EXEEXT"; then
26361 am__EXEEXT_TRUE=
26362 am__EXEEXT_FALSE='#'
26363 else
26364 am__EXEEXT_TRUE='#'
26365 am__EXEEXT_FALSE=
26366 fi
26367
26368 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26369 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26371 fi
26372 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26373 as_fn_error "conditional \"AMDEP\" was never defined.
26374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26375 fi
26376 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26377 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26379 fi
26380 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26381 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26383 fi
26384 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26385 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26387 fi
26388 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26389 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26391 fi
26392 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26393 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26395 fi
26396 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
26397 as_fn_error "conditional \"LIBGFOR_MINIMAL\" was never defined.
26398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26399 fi
26400 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26401 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26403 fi
26404 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26405 as_fn_error "conditional \"IEEE_SUPPORT\" was never defined.
26406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26407 fi
26408
26409 : ${CONFIG_STATUS=./config.status}
26410 ac_write_fail=0
26411 ac_clean_files_save=$ac_clean_files
26412 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26414 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26415 as_write_fail=0
26416 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26417 #! $SHELL
26418 # Generated by $as_me.
26419 # Run this file to recreate the current configuration.
26420 # Compiler output produced by configure, useful for debugging
26421 # configure, is in config.log if it exists.
26422
26423 debug=false
26424 ac_cs_recheck=false
26425 ac_cs_silent=false
26426
26427 SHELL=\${CONFIG_SHELL-$SHELL}
26428 export SHELL
26429 _ASEOF
26430 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26431 ## -------------------- ##
26432 ## M4sh Initialization. ##
26433 ## -------------------- ##
26434
26435 # Be more Bourne compatible
26436 DUALCASE=1; export DUALCASE # for MKS sh
26437 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26438 emulate sh
26439 NULLCMD=:
26440 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26441 # is contrary to our usage. Disable this feature.
26442 alias -g '${1+"$@"}'='"$@"'
26443 setopt NO_GLOB_SUBST
26444 else
26445 case `(set -o) 2>/dev/null` in #(
26446 *posix*) :
26447 set -o posix ;; #(
26448 *) :
26449 ;;
26450 esac
26451 fi
26452
26453
26454 as_nl='
26455 '
26456 export as_nl
26457 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26458 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26459 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26460 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26461 # Prefer a ksh shell builtin over an external printf program on Solaris,
26462 # but without wasting forks for bash or zsh.
26463 if test -z "$BASH_VERSION$ZSH_VERSION" \
26464 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26465 as_echo='print -r --'
26466 as_echo_n='print -rn --'
26467 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26468 as_echo='printf %s\n'
26469 as_echo_n='printf %s'
26470 else
26471 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26472 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26473 as_echo_n='/usr/ucb/echo -n'
26474 else
26475 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26476 as_echo_n_body='eval
26477 arg=$1;
26478 case $arg in #(
26479 *"$as_nl"*)
26480 expr "X$arg" : "X\\(.*\\)$as_nl";
26481 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26482 esac;
26483 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26484 '
26485 export as_echo_n_body
26486 as_echo_n='sh -c $as_echo_n_body as_echo'
26487 fi
26488 export as_echo_body
26489 as_echo='sh -c $as_echo_body as_echo'
26490 fi
26491
26492 # The user is always right.
26493 if test "${PATH_SEPARATOR+set}" != set; then
26494 PATH_SEPARATOR=:
26495 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26496 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26497 PATH_SEPARATOR=';'
26498 }
26499 fi
26500
26501
26502 # IFS
26503 # We need space, tab and new line, in precisely that order. Quoting is
26504 # there to prevent editors from complaining about space-tab.
26505 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26506 # splitting by setting IFS to empty value.)
26507 IFS=" "" $as_nl"
26508
26509 # Find who we are. Look in the path if we contain no directory separator.
26510 case $0 in #((
26511 *[\\/]* ) as_myself=$0 ;;
26512 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26513 for as_dir in $PATH
26514 do
26515 IFS=$as_save_IFS
26516 test -z "$as_dir" && as_dir=.
26517 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26518 done
26519 IFS=$as_save_IFS
26520
26521 ;;
26522 esac
26523 # We did not find ourselves, most probably we were run as `sh COMMAND'
26524 # in which case we are not to be found in the path.
26525 if test "x$as_myself" = x; then
26526 as_myself=$0
26527 fi
26528 if test ! -f "$as_myself"; then
26529 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26530 exit 1
26531 fi
26532
26533 # Unset variables that we do not need and which cause bugs (e.g. in
26534 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26535 # suppresses any "Segmentation fault" message there. '((' could
26536 # trigger a bug in pdksh 5.2.14.
26537 for as_var in BASH_ENV ENV MAIL MAILPATH
26538 do eval test x\${$as_var+set} = xset \
26539 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26540 done
26541 PS1='$ '
26542 PS2='> '
26543 PS4='+ '
26544
26545 # NLS nuisances.
26546 LC_ALL=C
26547 export LC_ALL
26548 LANGUAGE=C
26549 export LANGUAGE
26550
26551 # CDPATH.
26552 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26553
26554
26555 # as_fn_error ERROR [LINENO LOG_FD]
26556 # ---------------------------------
26557 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26558 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26559 # script with status $?, using 1 if that was 0.
26560 as_fn_error ()
26561 {
26562 as_status=$?; test $as_status -eq 0 && as_status=1
26563 if test "$3"; then
26564 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26565 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26566 fi
26567 $as_echo "$as_me: error: $1" >&2
26568 as_fn_exit $as_status
26569 } # as_fn_error
26570
26571
26572 # as_fn_set_status STATUS
26573 # -----------------------
26574 # Set $? to STATUS, without forking.
26575 as_fn_set_status ()
26576 {
26577 return $1
26578 } # as_fn_set_status
26579
26580 # as_fn_exit STATUS
26581 # -----------------
26582 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26583 as_fn_exit ()
26584 {
26585 set +e
26586 as_fn_set_status $1
26587 exit $1
26588 } # as_fn_exit
26589
26590 # as_fn_unset VAR
26591 # ---------------
26592 # Portably unset VAR.
26593 as_fn_unset ()
26594 {
26595 { eval $1=; unset $1;}
26596 }
26597 as_unset=as_fn_unset
26598 # as_fn_append VAR VALUE
26599 # ----------------------
26600 # Append the text in VALUE to the end of the definition contained in VAR. Take
26601 # advantage of any shell optimizations that allow amortized linear growth over
26602 # repeated appends, instead of the typical quadratic growth present in naive
26603 # implementations.
26604 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26605 eval 'as_fn_append ()
26606 {
26607 eval $1+=\$2
26608 }'
26609 else
26610 as_fn_append ()
26611 {
26612 eval $1=\$$1\$2
26613 }
26614 fi # as_fn_append
26615
26616 # as_fn_arith ARG...
26617 # ------------------
26618 # Perform arithmetic evaluation on the ARGs, and store the result in the
26619 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26620 # must be portable across $(()) and expr.
26621 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26622 eval 'as_fn_arith ()
26623 {
26624 as_val=$(( $* ))
26625 }'
26626 else
26627 as_fn_arith ()
26628 {
26629 as_val=`expr "$@" || test $? -eq 1`
26630 }
26631 fi # as_fn_arith
26632
26633
26634 if expr a : '\(a\)' >/dev/null 2>&1 &&
26635 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26636 as_expr=expr
26637 else
26638 as_expr=false
26639 fi
26640
26641 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26642 as_basename=basename
26643 else
26644 as_basename=false
26645 fi
26646
26647 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26648 as_dirname=dirname
26649 else
26650 as_dirname=false
26651 fi
26652
26653 as_me=`$as_basename -- "$0" ||
26654 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26655 X"$0" : 'X\(//\)$' \| \
26656 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26657 $as_echo X/"$0" |
26658 sed '/^.*\/\([^/][^/]*\)\/*$/{
26659 s//\1/
26660 q
26661 }
26662 /^X\/\(\/\/\)$/{
26663 s//\1/
26664 q
26665 }
26666 /^X\/\(\/\).*/{
26667 s//\1/
26668 q
26669 }
26670 s/.*/./; q'`
26671
26672 # Avoid depending upon Character Ranges.
26673 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26674 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26675 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26676 as_cr_digits='0123456789'
26677 as_cr_alnum=$as_cr_Letters$as_cr_digits
26678
26679 ECHO_C= ECHO_N= ECHO_T=
26680 case `echo -n x` in #(((((
26681 -n*)
26682 case `echo 'xy\c'` in
26683 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26684 xy) ECHO_C='\c';;
26685 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26686 ECHO_T=' ';;
26687 esac;;
26688 *)
26689 ECHO_N='-n';;
26690 esac
26691
26692 rm -f conf$$ conf$$.exe conf$$.file
26693 if test -d conf$$.dir; then
26694 rm -f conf$$.dir/conf$$.file
26695 else
26696 rm -f conf$$.dir
26697 mkdir conf$$.dir 2>/dev/null
26698 fi
26699 if (echo >conf$$.file) 2>/dev/null; then
26700 if ln -s conf$$.file conf$$ 2>/dev/null; then
26701 as_ln_s='ln -s'
26702 # ... but there are two gotchas:
26703 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26704 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26705 # In both cases, we have to default to `cp -p'.
26706 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26707 as_ln_s='cp -p'
26708 elif ln conf$$.file conf$$ 2>/dev/null; then
26709 as_ln_s=ln
26710 else
26711 as_ln_s='cp -p'
26712 fi
26713 else
26714 as_ln_s='cp -p'
26715 fi
26716 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26717 rmdir conf$$.dir 2>/dev/null
26718
26719
26720 # as_fn_mkdir_p
26721 # -------------
26722 # Create "$as_dir" as a directory, including parents if necessary.
26723 as_fn_mkdir_p ()
26724 {
26725
26726 case $as_dir in #(
26727 -*) as_dir=./$as_dir;;
26728 esac
26729 test -d "$as_dir" || eval $as_mkdir_p || {
26730 as_dirs=
26731 while :; do
26732 case $as_dir in #(
26733 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26734 *) as_qdir=$as_dir;;
26735 esac
26736 as_dirs="'$as_qdir' $as_dirs"
26737 as_dir=`$as_dirname -- "$as_dir" ||
26738 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26739 X"$as_dir" : 'X\(//\)[^/]' \| \
26740 X"$as_dir" : 'X\(//\)$' \| \
26741 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26742 $as_echo X"$as_dir" |
26743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26744 s//\1/
26745 q
26746 }
26747 /^X\(\/\/\)[^/].*/{
26748 s//\1/
26749 q
26750 }
26751 /^X\(\/\/\)$/{
26752 s//\1/
26753 q
26754 }
26755 /^X\(\/\).*/{
26756 s//\1/
26757 q
26758 }
26759 s/.*/./; q'`
26760 test -d "$as_dir" && break
26761 done
26762 test -z "$as_dirs" || eval "mkdir $as_dirs"
26763 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
26764
26765
26766 } # as_fn_mkdir_p
26767 if mkdir -p . 2>/dev/null; then
26768 as_mkdir_p='mkdir -p "$as_dir"'
26769 else
26770 test -d ./-p && rmdir ./-p
26771 as_mkdir_p=false
26772 fi
26773
26774 if test -x / >/dev/null 2>&1; then
26775 as_test_x='test -x'
26776 else
26777 if ls -dL / >/dev/null 2>&1; then
26778 as_ls_L_option=L
26779 else
26780 as_ls_L_option=
26781 fi
26782 as_test_x='
26783 eval sh -c '\''
26784 if test -d "$1"; then
26785 test -d "$1/.";
26786 else
26787 case $1 in #(
26788 -*)set "./$1";;
26789 esac;
26790 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26791 ???[sx]*):;;*)false;;esac;fi
26792 '\'' sh
26793 '
26794 fi
26795 as_executable_p=$as_test_x
26796
26797 # Sed expression to map a string onto a valid CPP name.
26798 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26799
26800 # Sed expression to map a string onto a valid variable name.
26801 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26802
26803
26804 exec 6>&1
26805 ## ----------------------------------- ##
26806 ## Main body of $CONFIG_STATUS script. ##
26807 ## ----------------------------------- ##
26808 _ASEOF
26809 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26810
26811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26812 # Save the log message, to keep $0 and so on meaningful, and to
26813 # report actual input values of CONFIG_FILES etc. instead of their
26814 # values after options handling.
26815 ac_log="
26816 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
26817 generated by GNU Autoconf 2.64. Invocation command line was
26818
26819 CONFIG_FILES = $CONFIG_FILES
26820 CONFIG_HEADERS = $CONFIG_HEADERS
26821 CONFIG_LINKS = $CONFIG_LINKS
26822 CONFIG_COMMANDS = $CONFIG_COMMANDS
26823 $ $0 $@
26824
26825 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26826 "
26827
26828 _ACEOF
26829
26830 case $ac_config_files in *"
26831 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26832 esac
26833
26834 case $ac_config_headers in *"
26835 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26836 esac
26837
26838
26839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26840 # Files that config.status was made for.
26841 config_files="$ac_config_files"
26842 config_headers="$ac_config_headers"
26843 config_commands="$ac_config_commands"
26844
26845 _ACEOF
26846
26847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26848 ac_cs_usage="\
26849 \`$as_me' instantiates files and other configuration actions
26850 from templates according to the current configuration. Unless the files
26851 and actions are specified as TAGs, all are instantiated by default.
26852
26853 Usage: $0 [OPTION]... [TAG]...
26854
26855 -h, --help print this help, then exit
26856 -V, --version print version number and configuration settings, then exit
26857 -q, --quiet, --silent
26858 do not print progress messages
26859 -d, --debug don't remove temporary files
26860 --recheck update $as_me by reconfiguring in the same conditions
26861 --file=FILE[:TEMPLATE]
26862 instantiate the configuration file FILE
26863 --header=FILE[:TEMPLATE]
26864 instantiate the configuration header FILE
26865
26866 Configuration files:
26867 $config_files
26868
26869 Configuration headers:
26870 $config_headers
26871
26872 Configuration commands:
26873 $config_commands
26874
26875 Report bugs to the package provider.
26876 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
26877 General help using GNU software: <http://www.gnu.org/gethelp/>."
26878
26879 _ACEOF
26880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26881 ac_cs_version="\\
26882 GNU Fortran Runtime Library config.status 0.3
26883 configured by $0, generated by GNU Autoconf 2.64,
26884 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26885
26886 Copyright (C) 2009 Free Software Foundation, Inc.
26887 This config.status script is free software; the Free Software Foundation
26888 gives unlimited permission to copy, distribute and modify it."
26889
26890 ac_pwd='$ac_pwd'
26891 srcdir='$srcdir'
26892 INSTALL='$INSTALL'
26893 MKDIR_P='$MKDIR_P'
26894 AWK='$AWK'
26895 test -n "\$AWK" || AWK=awk
26896 _ACEOF
26897
26898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26899 # The default lists apply if the user does not specify any file.
26900 ac_need_defaults=:
26901 while test $# != 0
26902 do
26903 case $1 in
26904 --*=*)
26905 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26906 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26907 ac_shift=:
26908 ;;
26909 *)
26910 ac_option=$1
26911 ac_optarg=$2
26912 ac_shift=shift
26913 ;;
26914 esac
26915
26916 case $ac_option in
26917 # Handling of the options.
26918 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26919 ac_cs_recheck=: ;;
26920 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26921 $as_echo "$ac_cs_version"; exit ;;
26922 --debug | --debu | --deb | --de | --d | -d )
26923 debug=: ;;
26924 --file | --fil | --fi | --f )
26925 $ac_shift
26926 case $ac_optarg in
26927 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26928 esac
26929 as_fn_append CONFIG_FILES " '$ac_optarg'"
26930 ac_need_defaults=false;;
26931 --header | --heade | --head | --hea )
26932 $ac_shift
26933 case $ac_optarg in
26934 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26935 esac
26936 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26937 ac_need_defaults=false;;
26938 --he | --h)
26939 # Conflict between --help and --header
26940 as_fn_error "ambiguous option: \`$1'
26941 Try \`$0 --help' for more information.";;
26942 --help | --hel | -h )
26943 $as_echo "$ac_cs_usage"; exit ;;
26944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26945 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26946 ac_cs_silent=: ;;
26947
26948 # This is an error.
26949 -*) as_fn_error "unrecognized option: \`$1'
26950 Try \`$0 --help' for more information." ;;
26951
26952 *) as_fn_append ac_config_targets " $1"
26953 ac_need_defaults=false ;;
26954
26955 esac
26956 shift
26957 done
26958
26959 ac_configure_extra_args=
26960
26961 if $ac_cs_silent; then
26962 exec 6>/dev/null
26963 ac_configure_extra_args="$ac_configure_extra_args --silent"
26964 fi
26965
26966 _ACEOF
26967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26968 if \$ac_cs_recheck; then
26969 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26970 shift
26971 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26972 CONFIG_SHELL='$SHELL'
26973 export CONFIG_SHELL
26974 exec "\$@"
26975 fi
26976
26977 _ACEOF
26978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26979 exec 5>>config.log
26980 {
26981 echo
26982 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26983 ## Running $as_me. ##
26984 _ASBOX
26985 $as_echo "$ac_log"
26986 } >&5
26987
26988 _ACEOF
26989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26990 #
26991 # INIT-COMMANDS
26992 #
26993
26994 srcdir="$srcdir"
26995 host="$host"
26996 target="$target"
26997 with_multisubdir="$with_multisubdir"
26998 with_multisrctop="$with_multisrctop"
26999 with_target_subdir="$with_target_subdir"
27000 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27001 multi_basedir="$multi_basedir"
27002 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27003 CC="$CC"
27004 CXX="$CXX"
27005 GFORTRAN="$GFORTRAN"
27006 GCJ="$GCJ"
27007 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27008
27009
27010 # The HP-UX ksh and POSIX shell print the target directory to stdout
27011 # if CDPATH is set.
27012 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27013
27014 sed_quote_subst='$sed_quote_subst'
27015 double_quote_subst='$double_quote_subst'
27016 delay_variable_subst='$delay_variable_subst'
27017 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27018 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27019 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27020 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27021 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27022 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27023 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27024 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27025 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27026 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27027 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27028 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27029 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27030 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27031 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27032 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27033 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27034 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27035 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27036 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27037 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27038 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27039 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27040 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27041 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27042 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27043 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27044 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27045 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27046 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27047 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27048 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27049 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27050 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27051 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27052 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27053 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27054 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27055 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27056 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27057 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27058 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27059 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27060 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27061 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27062 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27063 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27064 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27065 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"`'
27066 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27067 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27068 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27069 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27070 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27071 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27072 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27073 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27074 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27075 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27076 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27077 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27078 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27079 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27080 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27081 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27082 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27083 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27084 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27085 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27086 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27087 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27088 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27089 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27090 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27091 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27092 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27093 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27094 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27095 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27096 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27097 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27098 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27099 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27100 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27101 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27102 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27103 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27104 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27105 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27106 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27107 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27108 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27109 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27110 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27111 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27112 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27113 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27114 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27115 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27116 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27117 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27118 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27119 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27120 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27121 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27122 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27123 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27124 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27125 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27126 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27127 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27128 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27129 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27130 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27131 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27132 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27133 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27134 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27135 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27136 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27137 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27138 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27139 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27140 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27141 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27142 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27143 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27144 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27145 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27146 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27147 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27148 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27149 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27150 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27151 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27152 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27153 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27154 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27155 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27156 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27157 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27158 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27159 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27160 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27161 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27162 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27163 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27164 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27165 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27166 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27167 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27168 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27169 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27170 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27171 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27172 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27173 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27174 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27175 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27176 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27177 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27178 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27179 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27180 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27181 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27182 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27183 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27184 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27185 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27186 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27187 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27188 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27189 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27190 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27191 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27192
27193 LTCC='$LTCC'
27194 LTCFLAGS='$LTCFLAGS'
27195 compiler='$compiler_DEFAULT'
27196
27197 # A function that is used when there is no print builtin or printf.
27198 func_fallback_echo ()
27199 {
27200 eval 'cat <<_LTECHO_EOF
27201 \$1
27202 _LTECHO_EOF'
27203 }
27204
27205 # Quote evaled strings.
27206 for var in SHELL \
27207 ECHO \
27208 SED \
27209 GREP \
27210 EGREP \
27211 FGREP \
27212 LD \
27213 NM \
27214 LN_S \
27215 lt_SP2NL \
27216 lt_NL2SP \
27217 reload_flag \
27218 OBJDUMP \
27219 deplibs_check_method \
27220 file_magic_cmd \
27221 AR \
27222 AR_FLAGS \
27223 STRIP \
27224 RANLIB \
27225 CC \
27226 CFLAGS \
27227 compiler \
27228 lt_cv_sys_global_symbol_pipe \
27229 lt_cv_sys_global_symbol_to_cdecl \
27230 lt_cv_sys_global_symbol_to_c_name_address \
27231 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27232 lt_prog_compiler_no_builtin_flag \
27233 lt_prog_compiler_wl \
27234 lt_prog_compiler_pic \
27235 lt_prog_compiler_static \
27236 lt_cv_prog_compiler_c_o \
27237 need_locks \
27238 DSYMUTIL \
27239 NMEDIT \
27240 LIPO \
27241 OTOOL \
27242 OTOOL64 \
27243 shrext_cmds \
27244 export_dynamic_flag_spec \
27245 whole_archive_flag_spec \
27246 compiler_needs_object \
27247 with_gnu_ld \
27248 allow_undefined_flag \
27249 no_undefined_flag \
27250 hardcode_libdir_flag_spec \
27251 hardcode_libdir_flag_spec_ld \
27252 hardcode_libdir_separator \
27253 fix_srcfile_path \
27254 exclude_expsyms \
27255 include_expsyms \
27256 file_list_spec \
27257 variables_saved_for_relink \
27258 libname_spec \
27259 library_names_spec \
27260 soname_spec \
27261 install_override_mode \
27262 finish_eval \
27263 old_striplib \
27264 striplib \
27265 compiler_lib_search_dirs \
27266 predep_objects \
27267 postdep_objects \
27268 predeps \
27269 postdeps \
27270 compiler_lib_search_path \
27271 LD_FC \
27272 reload_flag_FC \
27273 compiler_FC \
27274 lt_prog_compiler_no_builtin_flag_FC \
27275 lt_prog_compiler_wl_FC \
27276 lt_prog_compiler_pic_FC \
27277 lt_prog_compiler_static_FC \
27278 lt_cv_prog_compiler_c_o_FC \
27279 export_dynamic_flag_spec_FC \
27280 whole_archive_flag_spec_FC \
27281 compiler_needs_object_FC \
27282 with_gnu_ld_FC \
27283 allow_undefined_flag_FC \
27284 no_undefined_flag_FC \
27285 hardcode_libdir_flag_spec_FC \
27286 hardcode_libdir_flag_spec_ld_FC \
27287 hardcode_libdir_separator_FC \
27288 fix_srcfile_path_FC \
27289 exclude_expsyms_FC \
27290 include_expsyms_FC \
27291 file_list_spec_FC \
27292 compiler_lib_search_dirs_FC \
27293 predep_objects_FC \
27294 postdep_objects_FC \
27295 predeps_FC \
27296 postdeps_FC \
27297 compiler_lib_search_path_FC; do
27298 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27299 *[\\\\\\\`\\"\\\$]*)
27300 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27301 ;;
27302 *)
27303 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27304 ;;
27305 esac
27306 done
27307
27308 # Double-quote double-evaled strings.
27309 for var in reload_cmds \
27310 old_postinstall_cmds \
27311 old_postuninstall_cmds \
27312 old_archive_cmds \
27313 extract_expsyms_cmds \
27314 old_archive_from_new_cmds \
27315 old_archive_from_expsyms_cmds \
27316 archive_cmds \
27317 archive_expsym_cmds \
27318 module_cmds \
27319 module_expsym_cmds \
27320 export_symbols_cmds \
27321 prelink_cmds \
27322 postinstall_cmds \
27323 postuninstall_cmds \
27324 finish_cmds \
27325 sys_lib_search_path_spec \
27326 sys_lib_dlsearch_path_spec \
27327 reload_cmds_FC \
27328 old_archive_cmds_FC \
27329 old_archive_from_new_cmds_FC \
27330 old_archive_from_expsyms_cmds_FC \
27331 archive_cmds_FC \
27332 archive_expsym_cmds_FC \
27333 module_cmds_FC \
27334 module_expsym_cmds_FC \
27335 export_symbols_cmds_FC \
27336 prelink_cmds_FC; do
27337 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27338 *[\\\\\\\`\\"\\\$]*)
27339 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27340 ;;
27341 *)
27342 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27343 ;;
27344 esac
27345 done
27346
27347 ac_aux_dir='$ac_aux_dir'
27348 xsi_shell='$xsi_shell'
27349 lt_shell_append='$lt_shell_append'
27350
27351 # See if we are running on zsh, and set the options which allow our
27352 # commands through without removal of \ escapes INIT.
27353 if test -n "\${ZSH_VERSION+set}" ; then
27354 setopt NO_GLOB_SUBST
27355 fi
27356
27357
27358 PACKAGE='$PACKAGE'
27359 VERSION='$VERSION'
27360 TIMESTAMP='$TIMESTAMP'
27361 RM='$RM'
27362 ofile='$ofile'
27363
27364
27365
27366
27367
27368
27369 GCC="$GCC"
27370 CC="$CC"
27371 acx_cv_header_stdint="$acx_cv_header_stdint"
27372 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27373 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27374 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27375 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27376 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27377 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27378 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27379 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27380 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27381 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27382 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27383 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27384 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27385
27386
27387 _ACEOF
27388
27389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27390
27391 # Handling of arguments.
27392 for ac_config_target in $ac_config_targets
27393 do
27394 case $ac_config_target in
27395 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27396 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27397 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27398 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27399 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27400 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27401 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27402
27403 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27404 esac
27405 done
27406
27407
27408 # If the user did not use the arguments to specify the items to instantiate,
27409 # then the envvar interface is used. Set only those that are not.
27410 # We use the long form for the default assignment because of an extremely
27411 # bizarre bug on SunOS 4.1.3.
27412 if $ac_need_defaults; then
27413 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27414 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27415 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27416 fi
27417
27418 # Have a temporary directory for convenience. Make it in the build tree
27419 # simply because there is no reason against having it here, and in addition,
27420 # creating and moving files from /tmp can sometimes cause problems.
27421 # Hook for its removal unless debugging.
27422 # Note that there is a small window in which the directory will not be cleaned:
27423 # after its creation but before its name has been assigned to `$tmp'.
27424 $debug ||
27425 {
27426 tmp=
27427 trap 'exit_status=$?
27428 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27429 ' 0
27430 trap 'as_fn_exit 1' 1 2 13 15
27431 }
27432 # Create a (secure) tmp directory for tmp files.
27433
27434 {
27435 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27436 test -n "$tmp" && test -d "$tmp"
27437 } ||
27438 {
27439 tmp=./conf$$-$RANDOM
27440 (umask 077 && mkdir "$tmp")
27441 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27442
27443 # Set up the scripts for CONFIG_FILES section.
27444 # No need to generate them if there are no CONFIG_FILES.
27445 # This happens for instance with `./config.status config.h'.
27446 if test -n "$CONFIG_FILES"; then
27447
27448
27449 ac_cr=`echo X | tr X '\015'`
27450 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27451 # But we know of no other shell where ac_cr would be empty at this
27452 # point, so we can use a bashism as a fallback.
27453 if test "x$ac_cr" = x; then
27454 eval ac_cr=\$\'\\r\'
27455 fi
27456 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27457 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27458 ac_cs_awk_cr='\r'
27459 else
27460 ac_cs_awk_cr=$ac_cr
27461 fi
27462
27463 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27464 _ACEOF
27465
27466
27467 {
27468 echo "cat >conf$$subs.awk <<_ACEOF" &&
27469 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27470 echo "_ACEOF"
27471 } >conf$$subs.sh ||
27472 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27473 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27474 ac_delim='%!_!# '
27475 for ac_last_try in false false false false false :; do
27476 . ./conf$$subs.sh ||
27477 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27478
27479 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27480 if test $ac_delim_n = $ac_delim_num; then
27481 break
27482 elif $ac_last_try; then
27483 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27484 else
27485 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27486 fi
27487 done
27488 rm -f conf$$subs.sh
27489
27490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27491 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27492 _ACEOF
27493 sed -n '
27494 h
27495 s/^/S["/; s/!.*/"]=/
27496 p
27497 g
27498 s/^[^!]*!//
27499 :repl
27500 t repl
27501 s/'"$ac_delim"'$//
27502 t delim
27503 :nl
27504 h
27505 s/\(.\{148\}\).*/\1/
27506 t more1
27507 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27508 p
27509 n
27510 b repl
27511 :more1
27512 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27513 p
27514 g
27515 s/.\{148\}//
27516 t nl
27517 :delim
27518 h
27519 s/\(.\{148\}\).*/\1/
27520 t more2
27521 s/["\\]/\\&/g; s/^/"/; s/$/"/
27522 p
27523 b
27524 :more2
27525 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27526 p
27527 g
27528 s/.\{148\}//
27529 t delim
27530 ' <conf$$subs.awk | sed '
27531 /^[^""]/{
27532 N
27533 s/\n//
27534 }
27535 ' >>$CONFIG_STATUS || ac_write_fail=1
27536 rm -f conf$$subs.awk
27537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27538 _ACAWK
27539 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27540 for (key in S) S_is_set[key] = 1
27541 FS = "\a"
27542
27543 }
27544 {
27545 line = $ 0
27546 nfields = split(line, field, "@")
27547 substed = 0
27548 len = length(field[1])
27549 for (i = 2; i < nfields; i++) {
27550 key = field[i]
27551 keylen = length(key)
27552 if (S_is_set[key]) {
27553 value = S[key]
27554 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27555 len += length(value) + length(field[++i])
27556 substed = 1
27557 } else
27558 len += 1 + keylen
27559 }
27560
27561 print line
27562 }
27563
27564 _ACAWK
27565 _ACEOF
27566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27567 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27568 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27569 else
27570 cat
27571 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27572 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27573 _ACEOF
27574
27575 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27576 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27577 # trailing colons and then remove the whole line if VPATH becomes empty
27578 # (actually we leave an empty line to preserve line numbers).
27579 if test "x$srcdir" = x.; then
27580 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27581 s/:*\$(srcdir):*/:/
27582 s/:*\${srcdir}:*/:/
27583 s/:*@srcdir@:*/:/
27584 s/^\([^=]*=[ ]*\):*/\1/
27585 s/:*$//
27586 s/^[^=]*=[ ]*$//
27587 }'
27588 fi
27589
27590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27591 fi # test -n "$CONFIG_FILES"
27592
27593 # Set up the scripts for CONFIG_HEADERS section.
27594 # No need to generate them if there are no CONFIG_HEADERS.
27595 # This happens for instance with `./config.status Makefile'.
27596 if test -n "$CONFIG_HEADERS"; then
27597 cat >"$tmp/defines.awk" <<\_ACAWK ||
27598 BEGIN {
27599 _ACEOF
27600
27601 # Transform confdefs.h into an awk script `defines.awk', embedded as
27602 # here-document in config.status, that substitutes the proper values into
27603 # config.h.in to produce config.h.
27604
27605 # Create a delimiter string that does not exist in confdefs.h, to ease
27606 # handling of long lines.
27607 ac_delim='%!_!# '
27608 for ac_last_try in false false :; do
27609 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27610 if test -z "$ac_t"; then
27611 break
27612 elif $ac_last_try; then
27613 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27614 else
27615 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27616 fi
27617 done
27618
27619 # For the awk script, D is an array of macro values keyed by name,
27620 # likewise P contains macro parameters if any. Preserve backslash
27621 # newline sequences.
27622
27623 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27624 sed -n '
27625 s/.\{148\}/&'"$ac_delim"'/g
27626 t rset
27627 :rset
27628 s/^[ ]*#[ ]*define[ ][ ]*/ /
27629 t def
27630 d
27631 :def
27632 s/\\$//
27633 t bsnl
27634 s/["\\]/\\&/g
27635 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27636 D["\1"]=" \3"/p
27637 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27638 d
27639 :bsnl
27640 s/["\\]/\\&/g
27641 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27642 D["\1"]=" \3\\\\\\n"\\/p
27643 t cont
27644 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27645 t cont
27646 d
27647 :cont
27648 n
27649 s/.\{148\}/&'"$ac_delim"'/g
27650 t clear
27651 :clear
27652 s/\\$//
27653 t bsnlc
27654 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27655 d
27656 :bsnlc
27657 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27658 b cont
27659 ' <confdefs.h | sed '
27660 s/'"$ac_delim"'/"\\\
27661 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27662
27663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27664 for (key in D) D_is_set[key] = 1
27665 FS = "\a"
27666 }
27667 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27668 line = \$ 0
27669 split(line, arg, " ")
27670 if (arg[1] == "#") {
27671 defundef = arg[2]
27672 mac1 = arg[3]
27673 } else {
27674 defundef = substr(arg[1], 2)
27675 mac1 = arg[2]
27676 }
27677 split(mac1, mac2, "(") #)
27678 macro = mac2[1]
27679 prefix = substr(line, 1, index(line, defundef) - 1)
27680 if (D_is_set[macro]) {
27681 # Preserve the white space surrounding the "#".
27682 print prefix "define", macro P[macro] D[macro]
27683 next
27684 } else {
27685 # Replace #undef with comments. This is necessary, for example,
27686 # in the case of _POSIX_SOURCE, which is predefined and required
27687 # on some systems where configure will not decide to define it.
27688 if (defundef == "undef") {
27689 print "/*", prefix defundef, macro, "*/"
27690 next
27691 }
27692 }
27693 }
27694 { print }
27695 _ACAWK
27696 _ACEOF
27697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27698 as_fn_error "could not setup config headers machinery" "$LINENO" 5
27699 fi # test -n "$CONFIG_HEADERS"
27700
27701
27702 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27703 shift
27704 for ac_tag
27705 do
27706 case $ac_tag in
27707 :[FHLC]) ac_mode=$ac_tag; continue;;
27708 esac
27709 case $ac_mode$ac_tag in
27710 :[FHL]*:*);;
27711 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27712 :[FH]-) ac_tag=-:-;;
27713 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27714 esac
27715 ac_save_IFS=$IFS
27716 IFS=:
27717 set x $ac_tag
27718 IFS=$ac_save_IFS
27719 shift
27720 ac_file=$1
27721 shift
27722
27723 case $ac_mode in
27724 :L) ac_source=$1;;
27725 :[FH])
27726 ac_file_inputs=
27727 for ac_f
27728 do
27729 case $ac_f in
27730 -) ac_f="$tmp/stdin";;
27731 *) # Look for the file first in the build tree, then in the source tree
27732 # (if the path is not absolute). The absolute path cannot be DOS-style,
27733 # because $ac_f cannot contain `:'.
27734 test -f "$ac_f" ||
27735 case $ac_f in
27736 [\\/$]*) false;;
27737 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27738 esac ||
27739 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27740 esac
27741 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27742 as_fn_append ac_file_inputs " '$ac_f'"
27743 done
27744
27745 # Let's still pretend it is `configure' which instantiates (i.e., don't
27746 # use $as_me), people would be surprised to read:
27747 # /* config.h. Generated by config.status. */
27748 configure_input='Generated from '`
27749 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27750 `' by configure.'
27751 if test x"$ac_file" != x-; then
27752 configure_input="$ac_file. $configure_input"
27753 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27754 $as_echo "$as_me: creating $ac_file" >&6;}
27755 fi
27756 # Neutralize special characters interpreted by sed in replacement strings.
27757 case $configure_input in #(
27758 *\&* | *\|* | *\\* )
27759 ac_sed_conf_input=`$as_echo "$configure_input" |
27760 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27761 *) ac_sed_conf_input=$configure_input;;
27762 esac
27763
27764 case $ac_tag in
27765 *:-:* | *:-) cat >"$tmp/stdin" \
27766 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27767 esac
27768 ;;
27769 esac
27770
27771 ac_dir=`$as_dirname -- "$ac_file" ||
27772 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27773 X"$ac_file" : 'X\(//\)[^/]' \| \
27774 X"$ac_file" : 'X\(//\)$' \| \
27775 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27776 $as_echo X"$ac_file" |
27777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27778 s//\1/
27779 q
27780 }
27781 /^X\(\/\/\)[^/].*/{
27782 s//\1/
27783 q
27784 }
27785 /^X\(\/\/\)$/{
27786 s//\1/
27787 q
27788 }
27789 /^X\(\/\).*/{
27790 s//\1/
27791 q
27792 }
27793 s/.*/./; q'`
27794 as_dir="$ac_dir"; as_fn_mkdir_p
27795 ac_builddir=.
27796
27797 case "$ac_dir" in
27798 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27799 *)
27800 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27801 # A ".." for each directory in $ac_dir_suffix.
27802 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27803 case $ac_top_builddir_sub in
27804 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27805 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27806 esac ;;
27807 esac
27808 ac_abs_top_builddir=$ac_pwd
27809 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27810 # for backward compatibility:
27811 ac_top_builddir=$ac_top_build_prefix
27812
27813 case $srcdir in
27814 .) # We are building in place.
27815 ac_srcdir=.
27816 ac_top_srcdir=$ac_top_builddir_sub
27817 ac_abs_top_srcdir=$ac_pwd ;;
27818 [\\/]* | ?:[\\/]* ) # Absolute name.
27819 ac_srcdir=$srcdir$ac_dir_suffix;
27820 ac_top_srcdir=$srcdir
27821 ac_abs_top_srcdir=$srcdir ;;
27822 *) # Relative name.
27823 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27824 ac_top_srcdir=$ac_top_build_prefix$srcdir
27825 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27826 esac
27827 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27828
27829
27830 case $ac_mode in
27831 :F)
27832 #
27833 # CONFIG_FILE
27834 #
27835
27836 case $INSTALL in
27837 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27838 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27839 esac
27840 ac_MKDIR_P=$MKDIR_P
27841 case $MKDIR_P in
27842 [\\/$]* | ?:[\\/]* ) ;;
27843 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27844 esac
27845 _ACEOF
27846
27847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27848 # If the template does not know about datarootdir, expand it.
27849 # FIXME: This hack should be removed a few years after 2.60.
27850 ac_datarootdir_hack=; ac_datarootdir_seen=
27851 ac_sed_dataroot='
27852 /datarootdir/ {
27853 p
27854 q
27855 }
27856 /@datadir@/p
27857 /@docdir@/p
27858 /@infodir@/p
27859 /@localedir@/p
27860 /@mandir@/p'
27861 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27862 *datarootdir*) ac_datarootdir_seen=yes;;
27863 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27865 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27866 _ACEOF
27867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27868 ac_datarootdir_hack='
27869 s&@datadir@&$datadir&g
27870 s&@docdir@&$docdir&g
27871 s&@infodir@&$infodir&g
27872 s&@localedir@&$localedir&g
27873 s&@mandir@&$mandir&g
27874 s&\\\${datarootdir}&$datarootdir&g' ;;
27875 esac
27876 _ACEOF
27877
27878 # Neutralize VPATH when `$srcdir' = `.'.
27879 # Shell code in configure.ac might set extrasub.
27880 # FIXME: do we really want to maintain this feature?
27881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27882 ac_sed_extra="$ac_vpsub
27883 $extrasub
27884 _ACEOF
27885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27886 :t
27887 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27888 s|@configure_input@|$ac_sed_conf_input|;t t
27889 s&@top_builddir@&$ac_top_builddir_sub&;t t
27890 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27891 s&@srcdir@&$ac_srcdir&;t t
27892 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27893 s&@top_srcdir@&$ac_top_srcdir&;t t
27894 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27895 s&@builddir@&$ac_builddir&;t t
27896 s&@abs_builddir@&$ac_abs_builddir&;t t
27897 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27898 s&@INSTALL@&$ac_INSTALL&;t t
27899 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27900 $ac_datarootdir_hack
27901 "
27902 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
27903 || as_fn_error "could not create $ac_file" "$LINENO" 5
27904
27905 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27906 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27907 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27909 which seems to be undefined. Please make sure it is defined." >&5
27910 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27911 which seems to be undefined. Please make sure it is defined." >&2;}
27912
27913 rm -f "$tmp/stdin"
27914 case $ac_file in
27915 -) cat "$tmp/out" && rm -f "$tmp/out";;
27916 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27917 esac \
27918 || as_fn_error "could not create $ac_file" "$LINENO" 5
27919 ;;
27920 :H)
27921 #
27922 # CONFIG_HEADER
27923 #
27924 if test x"$ac_file" != x-; then
27925 {
27926 $as_echo "/* $configure_input */" \
27927 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27928 } >"$tmp/config.h" \
27929 || as_fn_error "could not create $ac_file" "$LINENO" 5
27930 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27931 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27932 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27933 else
27934 rm -f "$ac_file"
27935 mv "$tmp/config.h" "$ac_file" \
27936 || as_fn_error "could not create $ac_file" "$LINENO" 5
27937 fi
27938 else
27939 $as_echo "/* $configure_input */" \
27940 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27941 || as_fn_error "could not create -" "$LINENO" 5
27942 fi
27943 # Compute "$ac_file"'s index in $config_headers.
27944 _am_arg="$ac_file"
27945 _am_stamp_count=1
27946 for _am_header in $config_headers :; do
27947 case $_am_header in
27948 $_am_arg | $_am_arg:* )
27949 break ;;
27950 * )
27951 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27952 esac
27953 done
27954 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27955 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27956 X"$_am_arg" : 'X\(//\)[^/]' \| \
27957 X"$_am_arg" : 'X\(//\)$' \| \
27958 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27959 $as_echo X"$_am_arg" |
27960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27961 s//\1/
27962 q
27963 }
27964 /^X\(\/\/\)[^/].*/{
27965 s//\1/
27966 q
27967 }
27968 /^X\(\/\/\)$/{
27969 s//\1/
27970 q
27971 }
27972 /^X\(\/\).*/{
27973 s//\1/
27974 q
27975 }
27976 s/.*/./; q'`/stamp-h$_am_stamp_count
27977 ;;
27978
27979 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27980 $as_echo "$as_me: executing $ac_file commands" >&6;}
27981 ;;
27982 esac
27983
27984
27985 case $ac_file$ac_mode in
27986 "default-1":C)
27987 # Only add multilib support code if we just rebuilt the top-level
27988 # Makefile.
27989 case " $CONFIG_FILES " in
27990 *" Makefile "*)
27991 ac_file=Makefile . ${multi_basedir}/config-ml.in
27992 ;;
27993 esac ;;
27994 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27995 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27996 # are listed without --file. Let's play safe and only enable the eval
27997 # if we detect the quoting.
27998 case $CONFIG_FILES in
27999 *\'*) eval set x "$CONFIG_FILES" ;;
28000 *) set x $CONFIG_FILES ;;
28001 esac
28002 shift
28003 for mf
28004 do
28005 # Strip MF so we end up with the name of the file.
28006 mf=`echo "$mf" | sed -e 's/:.*$//'`
28007 # Check whether this is an Automake generated Makefile or not.
28008 # We used to match only the files named `Makefile.in', but
28009 # some people rename them; so instead we look at the file content.
28010 # Grep'ing the first line is not enough: some people post-process
28011 # each Makefile.in and add a new line on top of each file to say so.
28012 # Grep'ing the whole file is not good either: AIX grep has a line
28013 # limit of 2048, but all sed's we know have understand at least 4000.
28014 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28015 dirpart=`$as_dirname -- "$mf" ||
28016 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28017 X"$mf" : 'X\(//\)[^/]' \| \
28018 X"$mf" : 'X\(//\)$' \| \
28019 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28020 $as_echo X"$mf" |
28021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28022 s//\1/
28023 q
28024 }
28025 /^X\(\/\/\)[^/].*/{
28026 s//\1/
28027 q
28028 }
28029 /^X\(\/\/\)$/{
28030 s//\1/
28031 q
28032 }
28033 /^X\(\/\).*/{
28034 s//\1/
28035 q
28036 }
28037 s/.*/./; q'`
28038 else
28039 continue
28040 fi
28041 # Extract the definition of DEPDIR, am__include, and am__quote
28042 # from the Makefile without running `make'.
28043 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28044 test -z "$DEPDIR" && continue
28045 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28046 test -z "am__include" && continue
28047 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28048 # When using ansi2knr, U may be empty or an underscore; expand it
28049 U=`sed -n 's/^U = //p' < "$mf"`
28050 # Find all dependency output files, they are included files with
28051 # $(DEPDIR) in their names. We invoke sed twice because it is the
28052 # simplest approach to changing $(DEPDIR) to its actual value in the
28053 # expansion.
28054 for file in `sed -n "
28055 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28056 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28057 # Make sure the directory exists.
28058 test -f "$dirpart/$file" && continue
28059 fdir=`$as_dirname -- "$file" ||
28060 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28061 X"$file" : 'X\(//\)[^/]' \| \
28062 X"$file" : 'X\(//\)$' \| \
28063 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28064 $as_echo X"$file" |
28065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28066 s//\1/
28067 q
28068 }
28069 /^X\(\/\/\)[^/].*/{
28070 s//\1/
28071 q
28072 }
28073 /^X\(\/\/\)$/{
28074 s//\1/
28075 q
28076 }
28077 /^X\(\/\).*/{
28078 s//\1/
28079 q
28080 }
28081 s/.*/./; q'`
28082 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28083 # echo "creating $dirpart/$file"
28084 echo '# dummy' > "$dirpart/$file"
28085 done
28086 done
28087 }
28088 ;;
28089 "libtool":C)
28090
28091 # See if we are running on zsh, and set the options which allow our
28092 # commands through without removal of \ escapes.
28093 if test -n "${ZSH_VERSION+set}" ; then
28094 setopt NO_GLOB_SUBST
28095 fi
28096
28097 cfgfile="${ofile}T"
28098 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28099 $RM "$cfgfile"
28100
28101 cat <<_LT_EOF >> "$cfgfile"
28102 #! $SHELL
28103
28104 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28105 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28106 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28107 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28108 #
28109 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28110 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28111 # Written by Gordon Matzigkeit, 1996
28112 #
28113 # This file is part of GNU Libtool.
28114 #
28115 # GNU Libtool is free software; you can redistribute it and/or
28116 # modify it under the terms of the GNU General Public License as
28117 # published by the Free Software Foundation; either version 2 of
28118 # the License, or (at your option) any later version.
28119 #
28120 # As a special exception to the GNU General Public License,
28121 # if you distribute this file as part of a program or library that
28122 # is built using GNU Libtool, you may include this file under the
28123 # same distribution terms that you use for the rest of that program.
28124 #
28125 # GNU Libtool is distributed in the hope that it will be useful,
28126 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28127 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28128 # GNU General Public License for more details.
28129 #
28130 # You should have received a copy of the GNU General Public License
28131 # along with GNU Libtool; see the file COPYING. If not, a copy
28132 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28133 # obtained by writing to the Free Software Foundation, Inc.,
28134 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28135
28136
28137 # The names of the tagged configurations supported by this script.
28138 available_tags="FC "
28139
28140 # ### BEGIN LIBTOOL CONFIG
28141
28142 # Which release of libtool.m4 was used?
28143 macro_version=$macro_version
28144 macro_revision=$macro_revision
28145
28146 # Whether or not to build shared libraries.
28147 build_libtool_libs=$enable_shared
28148
28149 # Whether or not to build static libraries.
28150 build_old_libs=$enable_static
28151
28152 # What type of objects to build.
28153 pic_mode=$pic_mode
28154
28155 # Whether or not to optimize for fast installation.
28156 fast_install=$enable_fast_install
28157
28158 # Shell to use when invoking shell scripts.
28159 SHELL=$lt_SHELL
28160
28161 # An echo program that protects backslashes.
28162 ECHO=$lt_ECHO
28163
28164 # The host system.
28165 host_alias=$host_alias
28166 host=$host
28167 host_os=$host_os
28168
28169 # The build system.
28170 build_alias=$build_alias
28171 build=$build
28172 build_os=$build_os
28173
28174 # A sed program that does not truncate output.
28175 SED=$lt_SED
28176
28177 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28178 Xsed="\$SED -e 1s/^X//"
28179
28180 # A grep program that handles long lines.
28181 GREP=$lt_GREP
28182
28183 # An ERE matcher.
28184 EGREP=$lt_EGREP
28185
28186 # A literal string matcher.
28187 FGREP=$lt_FGREP
28188
28189 # A BSD- or MS-compatible name lister.
28190 NM=$lt_NM
28191
28192 # Whether we need soft or hard links.
28193 LN_S=$lt_LN_S
28194
28195 # What is the maximum length of a command?
28196 max_cmd_len=$max_cmd_len
28197
28198 # Object file suffix (normally "o").
28199 objext=$ac_objext
28200
28201 # Executable file suffix (normally "").
28202 exeext=$exeext
28203
28204 # whether the shell understands "unset".
28205 lt_unset=$lt_unset
28206
28207 # turn spaces into newlines.
28208 SP2NL=$lt_lt_SP2NL
28209
28210 # turn newlines into spaces.
28211 NL2SP=$lt_lt_NL2SP
28212
28213 # An object symbol dumper.
28214 OBJDUMP=$lt_OBJDUMP
28215
28216 # Method to check whether dependent libraries are shared objects.
28217 deplibs_check_method=$lt_deplibs_check_method
28218
28219 # Command to use when deplibs_check_method == "file_magic".
28220 file_magic_cmd=$lt_file_magic_cmd
28221
28222 # The archiver.
28223 AR=$lt_AR
28224 AR_FLAGS=$lt_AR_FLAGS
28225
28226 # A symbol stripping program.
28227 STRIP=$lt_STRIP
28228
28229 # Commands used to install an old-style archive.
28230 RANLIB=$lt_RANLIB
28231 old_postinstall_cmds=$lt_old_postinstall_cmds
28232 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28233
28234 # Whether to use a lock for old archive extraction.
28235 lock_old_archive_extraction=$lock_old_archive_extraction
28236
28237 # A C compiler.
28238 LTCC=$lt_CC
28239
28240 # LTCC compiler flags.
28241 LTCFLAGS=$lt_CFLAGS
28242
28243 # Take the output of nm and produce a listing of raw symbols and C names.
28244 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28245
28246 # Transform the output of nm in a proper C declaration.
28247 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28248
28249 # Transform the output of nm in a C name address pair.
28250 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28251
28252 # Transform the output of nm in a C name address pair when lib prefix is needed.
28253 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28254
28255 # The name of the directory that contains temporary libtool files.
28256 objdir=$objdir
28257
28258 # Used to examine libraries when file_magic_cmd begins with "file".
28259 MAGIC_CMD=$MAGIC_CMD
28260
28261 # Must we lock files when doing compilation?
28262 need_locks=$lt_need_locks
28263
28264 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28265 DSYMUTIL=$lt_DSYMUTIL
28266
28267 # Tool to change global to local symbols on Mac OS X.
28268 NMEDIT=$lt_NMEDIT
28269
28270 # Tool to manipulate fat objects and archives on Mac OS X.
28271 LIPO=$lt_LIPO
28272
28273 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28274 OTOOL=$lt_OTOOL
28275
28276 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28277 OTOOL64=$lt_OTOOL64
28278
28279 # Old archive suffix (normally "a").
28280 libext=$libext
28281
28282 # Shared library suffix (normally ".so").
28283 shrext_cmds=$lt_shrext_cmds
28284
28285 # The commands to extract the exported symbol list from a shared archive.
28286 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28287
28288 # Variables whose values should be saved in libtool wrapper scripts and
28289 # restored at link time.
28290 variables_saved_for_relink=$lt_variables_saved_for_relink
28291
28292 # Do we need the "lib" prefix for modules?
28293 need_lib_prefix=$need_lib_prefix
28294
28295 # Do we need a version for libraries?
28296 need_version=$need_version
28297
28298 # Library versioning type.
28299 version_type=$version_type
28300
28301 # Shared library runtime path variable.
28302 runpath_var=$runpath_var
28303
28304 # Shared library path variable.
28305 shlibpath_var=$shlibpath_var
28306
28307 # Is shlibpath searched before the hard-coded library search path?
28308 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28309
28310 # Format of library name prefix.
28311 libname_spec=$lt_libname_spec
28312
28313 # List of archive names. First name is the real one, the rest are links.
28314 # The last name is the one that the linker finds with -lNAME
28315 library_names_spec=$lt_library_names_spec
28316
28317 # The coded name of the library, if different from the real name.
28318 soname_spec=$lt_soname_spec
28319
28320 # Permission mode override for installation of shared libraries.
28321 install_override_mode=$lt_install_override_mode
28322
28323 # Command to use after installation of a shared archive.
28324 postinstall_cmds=$lt_postinstall_cmds
28325
28326 # Command to use after uninstallation of a shared archive.
28327 postuninstall_cmds=$lt_postuninstall_cmds
28328
28329 # Commands used to finish a libtool library installation in a directory.
28330 finish_cmds=$lt_finish_cmds
28331
28332 # As "finish_cmds", except a single script fragment to be evaled but
28333 # not shown.
28334 finish_eval=$lt_finish_eval
28335
28336 # Whether we should hardcode library paths into libraries.
28337 hardcode_into_libs=$hardcode_into_libs
28338
28339 # Compile-time system search path for libraries.
28340 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28341
28342 # Run-time system search path for libraries.
28343 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28344
28345 # Whether dlopen is supported.
28346 dlopen_support=$enable_dlopen
28347
28348 # Whether dlopen of programs is supported.
28349 dlopen_self=$enable_dlopen_self
28350
28351 # Whether dlopen of statically linked programs is supported.
28352 dlopen_self_static=$enable_dlopen_self_static
28353
28354 # Commands to strip libraries.
28355 old_striplib=$lt_old_striplib
28356 striplib=$lt_striplib
28357
28358
28359 # The linker used to build libraries.
28360 LD=$lt_LD
28361
28362 # How to create reloadable object files.
28363 reload_flag=$lt_reload_flag
28364 reload_cmds=$lt_reload_cmds
28365
28366 # Commands used to build an old-style archive.
28367 old_archive_cmds=$lt_old_archive_cmds
28368
28369 # A language specific compiler.
28370 CC=$lt_compiler
28371
28372 # Is the compiler the GNU compiler?
28373 with_gcc=$GCC
28374
28375 # Compiler flag to turn off builtin functions.
28376 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28377
28378 # How to pass a linker flag through the compiler.
28379 wl=$lt_lt_prog_compiler_wl
28380
28381 # Additional compiler flags for building library objects.
28382 pic_flag=$lt_lt_prog_compiler_pic
28383
28384 # Compiler flag to prevent dynamic linking.
28385 link_static_flag=$lt_lt_prog_compiler_static
28386
28387 # Does compiler simultaneously support -c and -o options?
28388 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28389
28390 # Whether or not to add -lc for building shared libraries.
28391 build_libtool_need_lc=$archive_cmds_need_lc
28392
28393 # Whether or not to disallow shared libs when runtime libs are static.
28394 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28395
28396 # Compiler flag to allow reflexive dlopens.
28397 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28398
28399 # Compiler flag to generate shared objects directly from archives.
28400 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28401
28402 # Whether the compiler copes with passing no objects directly.
28403 compiler_needs_object=$lt_compiler_needs_object
28404
28405 # Create an old-style archive from a shared archive.
28406 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28407
28408 # Create a temporary old-style archive to link instead of a shared archive.
28409 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28410
28411 # Commands used to build a shared archive.
28412 archive_cmds=$lt_archive_cmds
28413 archive_expsym_cmds=$lt_archive_expsym_cmds
28414
28415 # Commands used to build a loadable module if different from building
28416 # a shared archive.
28417 module_cmds=$lt_module_cmds
28418 module_expsym_cmds=$lt_module_expsym_cmds
28419
28420 # Whether we are building with GNU ld or not.
28421 with_gnu_ld=$lt_with_gnu_ld
28422
28423 # Flag that allows shared libraries with undefined symbols to be built.
28424 allow_undefined_flag=$lt_allow_undefined_flag
28425
28426 # Flag that enforces no undefined symbols.
28427 no_undefined_flag=$lt_no_undefined_flag
28428
28429 # Flag to hardcode \$libdir into a binary during linking.
28430 # This must work even if \$libdir does not exist
28431 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28432
28433 # If ld is used when linking, flag to hardcode \$libdir into a binary
28434 # during linking. This must work even if \$libdir does not exist.
28435 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28436
28437 # Whether we need a single "-rpath" flag with a separated argument.
28438 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28439
28440 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28441 # DIR into the resulting binary.
28442 hardcode_direct=$hardcode_direct
28443
28444 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28445 # DIR into the resulting binary and the resulting library dependency is
28446 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28447 # library is relocated.
28448 hardcode_direct_absolute=$hardcode_direct_absolute
28449
28450 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28451 # into the resulting binary.
28452 hardcode_minus_L=$hardcode_minus_L
28453
28454 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28455 # into the resulting binary.
28456 hardcode_shlibpath_var=$hardcode_shlibpath_var
28457
28458 # Set to "yes" if building a shared library automatically hardcodes DIR
28459 # into the library and all subsequent libraries and executables linked
28460 # against it.
28461 hardcode_automatic=$hardcode_automatic
28462
28463 # Set to yes if linker adds runtime paths of dependent libraries
28464 # to runtime path list.
28465 inherit_rpath=$inherit_rpath
28466
28467 # Whether libtool must link a program against all its dependency libraries.
28468 link_all_deplibs=$link_all_deplibs
28469
28470 # Fix the shell variable \$srcfile for the compiler.
28471 fix_srcfile_path=$lt_fix_srcfile_path
28472
28473 # Set to "yes" if exported symbols are required.
28474 always_export_symbols=$always_export_symbols
28475
28476 # The commands to list exported symbols.
28477 export_symbols_cmds=$lt_export_symbols_cmds
28478
28479 # Symbols that should not be listed in the preloaded symbols.
28480 exclude_expsyms=$lt_exclude_expsyms
28481
28482 # Symbols that must always be exported.
28483 include_expsyms=$lt_include_expsyms
28484
28485 # Commands necessary for linking programs (against libraries) with templates.
28486 prelink_cmds=$lt_prelink_cmds
28487
28488 # Specify filename containing input files.
28489 file_list_spec=$lt_file_list_spec
28490
28491 # How to hardcode a shared library path into an executable.
28492 hardcode_action=$hardcode_action
28493
28494 # The directories searched by this compiler when creating a shared library.
28495 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28496
28497 # Dependencies to place before and after the objects being linked to
28498 # create a shared library.
28499 predep_objects=$lt_predep_objects
28500 postdep_objects=$lt_postdep_objects
28501 predeps=$lt_predeps
28502 postdeps=$lt_postdeps
28503
28504 # The library search path used internally by the compiler when linking
28505 # a shared library.
28506 compiler_lib_search_path=$lt_compiler_lib_search_path
28507
28508 # ### END LIBTOOL CONFIG
28509
28510 _LT_EOF
28511
28512 case $host_os in
28513 aix3*)
28514 cat <<\_LT_EOF >> "$cfgfile"
28515 # AIX sometimes has problems with the GCC collect2 program. For some
28516 # reason, if we set the COLLECT_NAMES environment variable, the problems
28517 # vanish in a puff of smoke.
28518 if test "X${COLLECT_NAMES+set}" != Xset; then
28519 COLLECT_NAMES=
28520 export COLLECT_NAMES
28521 fi
28522 _LT_EOF
28523 ;;
28524 esac
28525
28526
28527 ltmain="$ac_aux_dir/ltmain.sh"
28528
28529
28530 # We use sed instead of cat because bash on DJGPP gets confused if
28531 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28532 # text mode, it properly converts lines to CR/LF. This bash problem
28533 # is reportedly fixed, but why not run on old versions too?
28534 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28535 || (rm -f "$cfgfile"; exit 1)
28536
28537 case $xsi_shell in
28538 yes)
28539 cat << \_LT_EOF >> "$cfgfile"
28540
28541 # func_dirname file append nondir_replacement
28542 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28543 # otherwise set result to NONDIR_REPLACEMENT.
28544 func_dirname ()
28545 {
28546 case ${1} in
28547 */*) func_dirname_result="${1%/*}${2}" ;;
28548 * ) func_dirname_result="${3}" ;;
28549 esac
28550 }
28551
28552 # func_basename file
28553 func_basename ()
28554 {
28555 func_basename_result="${1##*/}"
28556 }
28557
28558 # func_dirname_and_basename file append nondir_replacement
28559 # perform func_basename and func_dirname in a single function
28560 # call:
28561 # dirname: Compute the dirname of FILE. If nonempty,
28562 # add APPEND to the result, otherwise set result
28563 # to NONDIR_REPLACEMENT.
28564 # value returned in "$func_dirname_result"
28565 # basename: Compute filename of FILE.
28566 # value retuned in "$func_basename_result"
28567 # Implementation must be kept synchronized with func_dirname
28568 # and func_basename. For efficiency, we do not delegate to
28569 # those functions but instead duplicate the functionality here.
28570 func_dirname_and_basename ()
28571 {
28572 case ${1} in
28573 */*) func_dirname_result="${1%/*}${2}" ;;
28574 * ) func_dirname_result="${3}" ;;
28575 esac
28576 func_basename_result="${1##*/}"
28577 }
28578
28579 # func_stripname prefix suffix name
28580 # strip PREFIX and SUFFIX off of NAME.
28581 # PREFIX and SUFFIX must not contain globbing or regex special
28582 # characters, hashes, percent signs, but SUFFIX may contain a leading
28583 # dot (in which case that matches only a dot).
28584 func_stripname ()
28585 {
28586 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28587 # positional parameters, so assign one to ordinary parameter first.
28588 func_stripname_result=${3}
28589 func_stripname_result=${func_stripname_result#"${1}"}
28590 func_stripname_result=${func_stripname_result%"${2}"}
28591 }
28592
28593 # func_opt_split
28594 func_opt_split ()
28595 {
28596 func_opt_split_opt=${1%%=*}
28597 func_opt_split_arg=${1#*=}
28598 }
28599
28600 # func_lo2o object
28601 func_lo2o ()
28602 {
28603 case ${1} in
28604 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28605 *) func_lo2o_result=${1} ;;
28606 esac
28607 }
28608
28609 # func_xform libobj-or-source
28610 func_xform ()
28611 {
28612 func_xform_result=${1%.*}.lo
28613 }
28614
28615 # func_arith arithmetic-term...
28616 func_arith ()
28617 {
28618 func_arith_result=$(( $* ))
28619 }
28620
28621 # func_len string
28622 # STRING may not start with a hyphen.
28623 func_len ()
28624 {
28625 func_len_result=${#1}
28626 }
28627
28628 _LT_EOF
28629 ;;
28630 *) # Bourne compatible functions.
28631 cat << \_LT_EOF >> "$cfgfile"
28632
28633 # func_dirname file append nondir_replacement
28634 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28635 # otherwise set result to NONDIR_REPLACEMENT.
28636 func_dirname ()
28637 {
28638 # Extract subdirectory from the argument.
28639 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28640 if test "X$func_dirname_result" = "X${1}"; then
28641 func_dirname_result="${3}"
28642 else
28643 func_dirname_result="$func_dirname_result${2}"
28644 fi
28645 }
28646
28647 # func_basename file
28648 func_basename ()
28649 {
28650 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28651 }
28652
28653
28654 # func_stripname prefix suffix name
28655 # strip PREFIX and SUFFIX off of NAME.
28656 # PREFIX and SUFFIX must not contain globbing or regex special
28657 # characters, hashes, percent signs, but SUFFIX may contain a leading
28658 # dot (in which case that matches only a dot).
28659 # func_strip_suffix prefix name
28660 func_stripname ()
28661 {
28662 case ${2} in
28663 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28664 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28665 esac
28666 }
28667
28668 # sed scripts:
28669 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28670 my_sed_long_arg='1s/^-[^=]*=//'
28671
28672 # func_opt_split
28673 func_opt_split ()
28674 {
28675 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28676 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28677 }
28678
28679 # func_lo2o object
28680 func_lo2o ()
28681 {
28682 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28683 }
28684
28685 # func_xform libobj-or-source
28686 func_xform ()
28687 {
28688 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28689 }
28690
28691 # func_arith arithmetic-term...
28692 func_arith ()
28693 {
28694 func_arith_result=`expr "$@"`
28695 }
28696
28697 # func_len string
28698 # STRING may not start with a hyphen.
28699 func_len ()
28700 {
28701 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28702 }
28703
28704 _LT_EOF
28705 esac
28706
28707 case $lt_shell_append in
28708 yes)
28709 cat << \_LT_EOF >> "$cfgfile"
28710
28711 # func_append var value
28712 # Append VALUE to the end of shell variable VAR.
28713 func_append ()
28714 {
28715 eval "$1+=\$2"
28716 }
28717 _LT_EOF
28718 ;;
28719 *)
28720 cat << \_LT_EOF >> "$cfgfile"
28721
28722 # func_append var value
28723 # Append VALUE to the end of shell variable VAR.
28724 func_append ()
28725 {
28726 eval "$1=\$$1\$2"
28727 }
28728
28729 _LT_EOF
28730 ;;
28731 esac
28732
28733
28734 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28735 || (rm -f "$cfgfile"; exit 1)
28736
28737 mv -f "$cfgfile" "$ofile" ||
28738 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28739 chmod +x "$ofile"
28740
28741
28742 cat <<_LT_EOF >> "$ofile"
28743
28744 # ### BEGIN LIBTOOL TAG CONFIG: FC
28745
28746 # The linker used to build libraries.
28747 LD=$lt_LD_FC
28748
28749 # How to create reloadable object files.
28750 reload_flag=$lt_reload_flag_FC
28751 reload_cmds=$lt_reload_cmds_FC
28752
28753 # Commands used to build an old-style archive.
28754 old_archive_cmds=$lt_old_archive_cmds_FC
28755
28756 # A language specific compiler.
28757 CC=$lt_compiler_FC
28758
28759 # Is the compiler the GNU compiler?
28760 with_gcc=$GCC_FC
28761
28762 # Compiler flag to turn off builtin functions.
28763 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28764
28765 # How to pass a linker flag through the compiler.
28766 wl=$lt_lt_prog_compiler_wl_FC
28767
28768 # Additional compiler flags for building library objects.
28769 pic_flag=$lt_lt_prog_compiler_pic_FC
28770
28771 # Compiler flag to prevent dynamic linking.
28772 link_static_flag=$lt_lt_prog_compiler_static_FC
28773
28774 # Does compiler simultaneously support -c and -o options?
28775 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28776
28777 # Whether or not to add -lc for building shared libraries.
28778 build_libtool_need_lc=$archive_cmds_need_lc_FC
28779
28780 # Whether or not to disallow shared libs when runtime libs are static.
28781 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28782
28783 # Compiler flag to allow reflexive dlopens.
28784 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
28785
28786 # Compiler flag to generate shared objects directly from archives.
28787 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
28788
28789 # Whether the compiler copes with passing no objects directly.
28790 compiler_needs_object=$lt_compiler_needs_object_FC
28791
28792 # Create an old-style archive from a shared archive.
28793 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
28794
28795 # Create a temporary old-style archive to link instead of a shared archive.
28796 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
28797
28798 # Commands used to build a shared archive.
28799 archive_cmds=$lt_archive_cmds_FC
28800 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
28801
28802 # Commands used to build a loadable module if different from building
28803 # a shared archive.
28804 module_cmds=$lt_module_cmds_FC
28805 module_expsym_cmds=$lt_module_expsym_cmds_FC
28806
28807 # Whether we are building with GNU ld or not.
28808 with_gnu_ld=$lt_with_gnu_ld_FC
28809
28810 # Flag that allows shared libraries with undefined symbols to be built.
28811 allow_undefined_flag=$lt_allow_undefined_flag_FC
28812
28813 # Flag that enforces no undefined symbols.
28814 no_undefined_flag=$lt_no_undefined_flag_FC
28815
28816 # Flag to hardcode \$libdir into a binary during linking.
28817 # This must work even if \$libdir does not exist
28818 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
28819
28820 # If ld is used when linking, flag to hardcode \$libdir into a binary
28821 # during linking. This must work even if \$libdir does not exist.
28822 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
28823
28824 # Whether we need a single "-rpath" flag with a separated argument.
28825 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
28826
28827 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28828 # DIR into the resulting binary.
28829 hardcode_direct=$hardcode_direct_FC
28830
28831 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28832 # DIR into the resulting binary and the resulting library dependency is
28833 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28834 # library is relocated.
28835 hardcode_direct_absolute=$hardcode_direct_absolute_FC
28836
28837 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28838 # into the resulting binary.
28839 hardcode_minus_L=$hardcode_minus_L_FC
28840
28841 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28842 # into the resulting binary.
28843 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
28844
28845 # Set to "yes" if building a shared library automatically hardcodes DIR
28846 # into the library and all subsequent libraries and executables linked
28847 # against it.
28848 hardcode_automatic=$hardcode_automatic_FC
28849
28850 # Set to yes if linker adds runtime paths of dependent libraries
28851 # to runtime path list.
28852 inherit_rpath=$inherit_rpath_FC
28853
28854 # Whether libtool must link a program against all its dependency libraries.
28855 link_all_deplibs=$link_all_deplibs_FC
28856
28857 # Fix the shell variable \$srcfile for the compiler.
28858 fix_srcfile_path=$lt_fix_srcfile_path_FC
28859
28860 # Set to "yes" if exported symbols are required.
28861 always_export_symbols=$always_export_symbols_FC
28862
28863 # The commands to list exported symbols.
28864 export_symbols_cmds=$lt_export_symbols_cmds_FC
28865
28866 # Symbols that should not be listed in the preloaded symbols.
28867 exclude_expsyms=$lt_exclude_expsyms_FC
28868
28869 # Symbols that must always be exported.
28870 include_expsyms=$lt_include_expsyms_FC
28871
28872 # Commands necessary for linking programs (against libraries) with templates.
28873 prelink_cmds=$lt_prelink_cmds_FC
28874
28875 # Specify filename containing input files.
28876 file_list_spec=$lt_file_list_spec_FC
28877
28878 # How to hardcode a shared library path into an executable.
28879 hardcode_action=$hardcode_action_FC
28880
28881 # The directories searched by this compiler when creating a shared library.
28882 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
28883
28884 # Dependencies to place before and after the objects being linked to
28885 # create a shared library.
28886 predep_objects=$lt_predep_objects_FC
28887 postdep_objects=$lt_postdep_objects_FC
28888 predeps=$lt_predeps_FC
28889 postdeps=$lt_postdeps_FC
28890
28891 # The library search path used internally by the compiler when linking
28892 # a shared library.
28893 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
28894
28895 # ### END LIBTOOL TAG CONFIG: FC
28896 _LT_EOF
28897
28898 ;;
28899 "gstdint.h":C)
28900 if test "$GCC" = yes; then
28901 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
28902 else
28903 echo "/* generated for $CC */" > tmp-stdint.h
28904 fi
28905
28906 sed 's/^ *//' >> tmp-stdint.h <<EOF
28907
28908 #ifndef GCC_GENERATED_STDINT_H
28909 #define GCC_GENERATED_STDINT_H 1
28910
28911 #include <sys/types.h>
28912 EOF
28913
28914 if test "$acx_cv_header_stdint" != stdint.h; then
28915 echo "#include <stddef.h>" >> tmp-stdint.h
28916 fi
28917 if test "$acx_cv_header_stdint" != stddef.h; then
28918 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
28919 fi
28920
28921 sed 's/^ *//' >> tmp-stdint.h <<EOF
28922 /* glibc uses these symbols as guards to prevent redefinitions. */
28923 #ifdef __int8_t_defined
28924 #define _INT8_T
28925 #define _INT16_T
28926 #define _INT32_T
28927 #endif
28928 #ifdef __uint32_t_defined
28929 #define _UINT32_T
28930 #endif
28931
28932 EOF
28933
28934 # ----------------- done header, emit basic int types -------------
28935 if test "$acx_cv_header_stdint" = stddef.h; then
28936 sed 's/^ *//' >> tmp-stdint.h <<EOF
28937
28938 #ifndef _UINT8_T
28939 #define _UINT8_T
28940 #ifndef __uint8_t_defined
28941 #define __uint8_t_defined
28942 #ifndef uint8_t
28943 typedef unsigned $acx_cv_type_int8_t uint8_t;
28944 #endif
28945 #endif
28946 #endif
28947
28948 #ifndef _UINT16_T
28949 #define _UINT16_T
28950 #ifndef __uint16_t_defined
28951 #define __uint16_t_defined
28952 #ifndef uint16_t
28953 typedef unsigned $acx_cv_type_int16_t uint16_t;
28954 #endif
28955 #endif
28956 #endif
28957
28958 #ifndef _UINT32_T
28959 #define _UINT32_T
28960 #ifndef __uint32_t_defined
28961 #define __uint32_t_defined
28962 #ifndef uint32_t
28963 typedef unsigned $acx_cv_type_int32_t uint32_t;
28964 #endif
28965 #endif
28966 #endif
28967
28968 #ifndef _INT8_T
28969 #define _INT8_T
28970 #ifndef __int8_t_defined
28971 #define __int8_t_defined
28972 #ifndef int8_t
28973 typedef $acx_cv_type_int8_t int8_t;
28974 #endif
28975 #endif
28976 #endif
28977
28978 #ifndef _INT16_T
28979 #define _INT16_T
28980 #ifndef __int16_t_defined
28981 #define __int16_t_defined
28982 #ifndef int16_t
28983 typedef $acx_cv_type_int16_t int16_t;
28984 #endif
28985 #endif
28986 #endif
28987
28988 #ifndef _INT32_T
28989 #define _INT32_T
28990 #ifndef __int32_t_defined
28991 #define __int32_t_defined
28992 #ifndef int32_t
28993 typedef $acx_cv_type_int32_t int32_t;
28994 #endif
28995 #endif
28996 #endif
28997 EOF
28998 elif test "$ac_cv_type_u_int32_t" = yes; then
28999 sed 's/^ *//' >> tmp-stdint.h <<EOF
29000
29001 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29002 #ifndef _INT8_T
29003 #define _INT8_T
29004 #endif
29005 #ifndef _INT16_T
29006 #define _INT16_T
29007 #endif
29008 #ifndef _INT32_T
29009 #define _INT32_T
29010 #endif
29011
29012 #ifndef _UINT8_T
29013 #define _UINT8_T
29014 #ifndef __uint8_t_defined
29015 #define __uint8_t_defined
29016 #ifndef uint8_t
29017 typedef u_int8_t uint8_t;
29018 #endif
29019 #endif
29020 #endif
29021
29022 #ifndef _UINT16_T
29023 #define _UINT16_T
29024 #ifndef __uint16_t_defined
29025 #define __uint16_t_defined
29026 #ifndef uint16_t
29027 typedef u_int16_t uint16_t;
29028 #endif
29029 #endif
29030 #endif
29031
29032 #ifndef _UINT32_T
29033 #define _UINT32_T
29034 #ifndef __uint32_t_defined
29035 #define __uint32_t_defined
29036 #ifndef uint32_t
29037 typedef u_int32_t uint32_t;
29038 #endif
29039 #endif
29040 #endif
29041 EOF
29042 else
29043 sed 's/^ *//' >> tmp-stdint.h <<EOF
29044
29045 /* Some systems have guard macros to prevent redefinitions, define them. */
29046 #ifndef _INT8_T
29047 #define _INT8_T
29048 #endif
29049 #ifndef _INT16_T
29050 #define _INT16_T
29051 #endif
29052 #ifndef _INT32_T
29053 #define _INT32_T
29054 #endif
29055 #ifndef _UINT8_T
29056 #define _UINT8_T
29057 #endif
29058 #ifndef _UINT16_T
29059 #define _UINT16_T
29060 #endif
29061 #ifndef _UINT32_T
29062 #define _UINT32_T
29063 #endif
29064 EOF
29065 fi
29066
29067 # ------------- done basic int types, emit int64_t types ------------
29068 if test "$ac_cv_type_uint64_t" = yes; then
29069 sed 's/^ *//' >> tmp-stdint.h <<EOF
29070
29071 /* system headers have good uint64_t and int64_t */
29072 #ifndef _INT64_T
29073 #define _INT64_T
29074 #endif
29075 #ifndef _UINT64_T
29076 #define _UINT64_T
29077 #endif
29078 EOF
29079 elif test "$ac_cv_type_u_int64_t" = yes; then
29080 sed 's/^ *//' >> tmp-stdint.h <<EOF
29081
29082 /* system headers have an u_int64_t (and int64_t) */
29083 #ifndef _INT64_T
29084 #define _INT64_T
29085 #endif
29086 #ifndef _UINT64_T
29087 #define _UINT64_T
29088 #ifndef __uint64_t_defined
29089 #define __uint64_t_defined
29090 #ifndef uint64_t
29091 typedef u_int64_t uint64_t;
29092 #endif
29093 #endif
29094 #endif
29095 EOF
29096 elif test -n "$acx_cv_type_int64_t"; then
29097 sed 's/^ *//' >> tmp-stdint.h <<EOF
29098
29099 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29100 #ifndef _INT64_T
29101 #define _INT64_T
29102 #ifndef int64_t
29103 typedef $acx_cv_type_int64_t int64_t;
29104 #endif
29105 #endif
29106 #ifndef _UINT64_T
29107 #define _UINT64_T
29108 #ifndef __uint64_t_defined
29109 #define __uint64_t_defined
29110 #ifndef uint64_t
29111 typedef unsigned $acx_cv_type_int64_t uint64_t;
29112 #endif
29113 #endif
29114 #endif
29115 EOF
29116 else
29117 sed 's/^ *//' >> tmp-stdint.h <<EOF
29118
29119 /* some common heuristics for int64_t, using compiler-specific tests */
29120 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29121 #ifndef _INT64_T
29122 #define _INT64_T
29123 #ifndef __int64_t_defined
29124 #ifndef int64_t
29125 typedef long long int64_t;
29126 #endif
29127 #endif
29128 #endif
29129 #ifndef _UINT64_T
29130 #define _UINT64_T
29131 #ifndef uint64_t
29132 typedef unsigned long long uint64_t;
29133 #endif
29134 #endif
29135
29136 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29137 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29138 does not implement __extension__. But that compiler doesn't define
29139 __GNUC_MINOR__. */
29140 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29141 # define __extension__
29142 # endif
29143
29144 # ifndef _INT64_T
29145 # define _INT64_T
29146 # ifndef int64_t
29147 __extension__ typedef long long int64_t;
29148 # endif
29149 # endif
29150 # ifndef _UINT64_T
29151 # define _UINT64_T
29152 # ifndef uint64_t
29153 __extension__ typedef unsigned long long uint64_t;
29154 # endif
29155 # endif
29156
29157 #elif !defined __STRICT_ANSI__
29158 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29159
29160 # ifndef _INT64_T
29161 # define _INT64_T
29162 # ifndef int64_t
29163 typedef __int64 int64_t;
29164 # endif
29165 # endif
29166 # ifndef _UINT64_T
29167 # define _UINT64_T
29168 # ifndef uint64_t
29169 typedef unsigned __int64 uint64_t;
29170 # endif
29171 # endif
29172 # endif /* compiler */
29173
29174 #endif /* ANSI version */
29175 EOF
29176 fi
29177
29178 # ------------- done int64_t types, emit intptr types ------------
29179 if test "$ac_cv_type_uintptr_t" != yes; then
29180 sed 's/^ *//' >> tmp-stdint.h <<EOF
29181
29182 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29183 #ifndef __uintptr_t_defined
29184 #ifndef uintptr_t
29185 typedef u$acx_cv_type_intptr_t uintptr_t;
29186 #endif
29187 #endif
29188 #ifndef __intptr_t_defined
29189 #ifndef intptr_t
29190 typedef $acx_cv_type_intptr_t intptr_t;
29191 #endif
29192 #endif
29193 EOF
29194 fi
29195
29196 # ------------- done intptr types, emit int_least types ------------
29197 if test "$ac_cv_type_int_least32_t" != yes; then
29198 sed 's/^ *//' >> tmp-stdint.h <<EOF
29199
29200 /* Define int_least types */
29201 typedef int8_t int_least8_t;
29202 typedef int16_t int_least16_t;
29203 typedef int32_t int_least32_t;
29204 #ifdef _INT64_T
29205 typedef int64_t int_least64_t;
29206 #endif
29207
29208 typedef uint8_t uint_least8_t;
29209 typedef uint16_t uint_least16_t;
29210 typedef uint32_t uint_least32_t;
29211 #ifdef _UINT64_T
29212 typedef uint64_t uint_least64_t;
29213 #endif
29214 EOF
29215 fi
29216
29217 # ------------- done intptr types, emit int_fast types ------------
29218 if test "$ac_cv_type_int_fast32_t" != yes; then
29219 sed 's/^ *//' >> tmp-stdint.h <<EOF
29220
29221 /* Define int_fast types. short is often slow */
29222 typedef int8_t int_fast8_t;
29223 typedef int int_fast16_t;
29224 typedef int32_t int_fast32_t;
29225 #ifdef _INT64_T
29226 typedef int64_t int_fast64_t;
29227 #endif
29228
29229 typedef uint8_t uint_fast8_t;
29230 typedef unsigned int uint_fast16_t;
29231 typedef uint32_t uint_fast32_t;
29232 #ifdef _UINT64_T
29233 typedef uint64_t uint_fast64_t;
29234 #endif
29235 EOF
29236 fi
29237
29238 if test "$ac_cv_type_uintmax_t" != yes; then
29239 sed 's/^ *//' >> tmp-stdint.h <<EOF
29240
29241 /* Define intmax based on what we found */
29242 #ifndef intmax_t
29243 #ifdef _INT64_T
29244 typedef int64_t intmax_t;
29245 #else
29246 typedef long intmax_t;
29247 #endif
29248 #endif
29249 #ifndef uintmax_t
29250 #ifdef _UINT64_T
29251 typedef uint64_t uintmax_t;
29252 #else
29253 typedef unsigned long uintmax_t;
29254 #endif
29255 #endif
29256 EOF
29257 fi
29258
29259 sed 's/^ *//' >> tmp-stdint.h <<EOF
29260
29261 #endif /* GCC_GENERATED_STDINT_H */
29262 EOF
29263
29264 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29265 rm -f tmp-stdint.h
29266 else
29267 mv -f tmp-stdint.h gstdint.h
29268 fi
29269
29270 ;;
29271
29272 esac
29273 done # for ac_tag
29274
29275
29276 as_fn_exit 0
29277 _ACEOF
29278 ac_clean_files=$ac_clean_files_save
29279
29280 test $ac_write_fail = 0 ||
29281 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29282
29283
29284 # configure is writing to config.log, and then calls config.status.
29285 # config.status does its own redirection, appending to config.log.
29286 # Unfortunately, on DOS this fails, as config.log is still kept open
29287 # by configure, so config.status won't be able to write to it; its
29288 # output is simply discarded. So we exec the FD to /dev/null,
29289 # effectively closing config.log, so it can be properly (re)opened and
29290 # appended to by config.status. When coming back to configure, we
29291 # need to make the FD available again.
29292 if test "$no_create" != yes; then
29293 ac_cs_success=:
29294 ac_config_status_args=
29295 test "$silent" = yes &&
29296 ac_config_status_args="$ac_config_status_args --quiet"
29297 exec 5>/dev/null
29298 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29299 exec 5>>config.log
29300 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29301 # would make configure fail if this is the last instruction.
29302 $ac_cs_success || as_fn_exit $?
29303 fi
29304 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29306 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29307 fi
29308