PR rtl-optimization/81308
[official-gcc.git] / libgfortran / configure
blob60e18a7b3e808b6bdd9a399c135c45be5c12aacb
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.
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.
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 ## -------------------- ##
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 *) :
30 esac
34 as_nl='
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"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
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=';'
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"
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
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
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
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
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='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 *) :
148 esac
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; }
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 :
164 else
165 exitcode=1; echo positional parameters were not saved.
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
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
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
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
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
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
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
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+"$@"}
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."
242 exit 1
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
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
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 ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
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/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
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"
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 ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
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 ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
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 ()
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
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
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
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
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
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/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
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
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 '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
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; }
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
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;;
468 ECHO_N='-n';;
469 esac
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
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'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
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
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=
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
526 as_executable_p=$as_test_x
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'"
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'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
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`
545 # Initializations.
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=
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/'
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"
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 get_gcc_base_ver
609 HAVE_AVX128_FALSE
610 HAVE_AVX128_TRUE
611 IEEE_FLAGS
612 IEEE_SUPPORT
613 IEEE_SUPPORT_FALSE
614 IEEE_SUPPORT_TRUE
615 FPU_HOST_HEADER
616 LIBGFOR_BUILD_QUAD_FALSE
617 LIBGFOR_BUILD_QUAD_TRUE
618 LIBQUADINCLUDE
619 LIBQUADLIB_DEP
620 LIBQUADLIB
621 LIBQUADSPEC
622 extra_ldflags_libgfortran
623 ac_ct_FC
624 FCFLAGS
626 enable_static
627 enable_shared
628 lt_host_flags
629 OTOOL64
630 OTOOL
631 LIPO
632 NMEDIT
633 DSYMUTIL
634 OBJDUMP
635 LN_S
637 ac_ct_DUMPBIN
638 DUMPBIN
639 LIBTOOL
640 RANLIB
643 HAVE_HWCAP_FALSE
644 HAVE_HWCAP_TRUE
645 HWCAP_LDFLAGS
647 FGREP
649 SECTION_FLAGS
650 LIBGFOR_MINIMAL_FALSE
651 LIBGFOR_MINIMAL_TRUE
652 LIBGFOR_USE_SYMVER_SUN_FALSE
653 LIBGFOR_USE_SYMVER_SUN_TRUE
654 LIBGFOR_USE_SYMVER_GNU_FALSE
655 LIBGFOR_USE_SYMVER_GNU_TRUE
656 LIBGFOR_USE_SYMVER_FALSE
657 LIBGFOR_USE_SYMVER_TRUE
658 AM_CFLAGS
659 AM_FCFLAGS
660 toolexeclibdir
661 toolexecdir
662 EGREP
663 GREP
665 am__fastdepCC_FALSE
666 am__fastdepCC_TRUE
667 CCDEPMODE
668 am__nodep
669 AMDEPBACKSLASH
670 AMDEP_FALSE
671 AMDEP_TRUE
672 am__quote
673 am__include
674 DEPDIR
675 OBJEXT
676 EXEEXT
677 ac_ct_CC
678 CPPFLAGS
679 LDFLAGS
680 CFLAGS
682 multi_basedir
683 MAINT
684 MAINTAINER_MODE_FALSE
685 MAINTAINER_MODE_TRUE
686 am__untar
687 am__tar
688 AMTAR
689 am__leading_dot
690 SET_MAKE
692 mkdir_p
693 MKDIR_P
694 INSTALL_STRIP_PROGRAM
695 STRIP
696 install_sh
697 MAKEINFO
698 AUTOHEADER
699 AUTOMAKE
700 AUTOCONF
701 ACLOCAL
702 VERSION
703 PACKAGE
704 CYGPATH_W
705 am__isrc
706 INSTALL_DATA
707 INSTALL_SCRIPT
708 INSTALL_PROGRAM
709 target_noncanonical
710 target_os
711 target_vendor
712 target_cpu
713 target
714 host_os
715 host_vendor
716 host_cpu
717 host
718 onestep
719 onestep_FALSE
720 onestep_TRUE
721 target_subdir
722 host_subdir
723 build_subdir
724 build_libsubdir
725 build_os
726 build_vendor
727 build_cpu
728 build
729 target_alias
730 host_alias
731 build_alias
732 LIBS
733 ECHO_T
734 ECHO_N
735 ECHO_C
736 DEFS
737 mandir
738 localedir
739 libdir
740 psdir
741 pdfdir
742 dvidir
743 htmldir
744 infodir
745 docdir
746 oldincludedir
747 includedir
748 localstatedir
749 sharedstatedir
750 sysconfdir
751 datadir
752 datarootdir
753 libexecdir
754 sbindir
755 bindir
756 program_transform_name
757 prefix
758 exec_prefix
759 PACKAGE_URL
760 PACKAGE_BUGREPORT
761 PACKAGE_STRING
762 PACKAGE_VERSION
763 PACKAGE_TARNAME
764 PACKAGE_NAME
765 PATH_SEPARATOR
766 SHELL'
767 ac_subst_files=''
768 ac_user_opts='
769 enable_option_checking
770 with_build_libsubdir
771 enable_version_specific_runtime_libs
772 enable_intermodule
773 enable_maintainer_mode
774 enable_multilib
775 enable_dependency_tracking
776 enable_cet
777 enable_symvers
778 with_gnu_ld
779 enable_shared
780 enable_static
781 with_pic
782 enable_fast_install
783 enable_libtool_lock
784 enable_largefile
785 enable_libquadmath_support
786 with_gcc_major_version_only
788 ac_precious_vars='build_alias
789 host_alias
790 target_alias
792 CFLAGS
793 LDFLAGS
794 LIBS
795 CPPFLAGS
798 FCFLAGS'
801 # Initialize some variables set by options.
802 ac_init_help=
803 ac_init_version=false
804 ac_unrecognized_opts=
805 ac_unrecognized_sep=
806 # The variables have the same names as the options, with
807 # dashes changed to underlines.
808 cache_file=/dev/null
809 exec_prefix=NONE
810 no_create=
811 no_recursion=
812 prefix=NONE
813 program_prefix=NONE
814 program_suffix=NONE
815 program_transform_name=s,x,x,
816 silent=
817 site=
818 srcdir=
819 verbose=
820 x_includes=NONE
821 x_libraries=NONE
823 # Installation directory options.
824 # These are left unexpanded so users can "make install exec_prefix=/foo"
825 # and all the variables that are supposed to be based on exec_prefix
826 # by default will actually change.
827 # Use braces instead of parens because sh, perl, etc. also accept them.
828 # (The list follows the same order as the GNU Coding Standards.)
829 bindir='${exec_prefix}/bin'
830 sbindir='${exec_prefix}/sbin'
831 libexecdir='${exec_prefix}/libexec'
832 datarootdir='${prefix}/share'
833 datadir='${datarootdir}'
834 sysconfdir='${prefix}/etc'
835 sharedstatedir='${prefix}/com'
836 localstatedir='${prefix}/var'
837 includedir='${prefix}/include'
838 oldincludedir='/usr/include'
839 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
840 infodir='${datarootdir}/info'
841 htmldir='${docdir}'
842 dvidir='${docdir}'
843 pdfdir='${docdir}'
844 psdir='${docdir}'
845 libdir='${exec_prefix}/lib'
846 localedir='${datarootdir}/locale'
847 mandir='${datarootdir}/man'
849 ac_prev=
850 ac_dashdash=
851 for ac_option
853 # If the previous option needs an argument, assign it.
854 if test -n "$ac_prev"; then
855 eval $ac_prev=\$ac_option
856 ac_prev=
857 continue
860 case $ac_option in
861 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 *) ac_optarg=yes ;;
863 esac
865 # Accept the important Cygnus configure options, so we can diagnose typos.
867 case $ac_dashdash$ac_option in
869 ac_dashdash=yes ;;
871 -bindir | --bindir | --bindi | --bind | --bin | --bi)
872 ac_prev=bindir ;;
873 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
874 bindir=$ac_optarg ;;
876 -build | --build | --buil | --bui | --bu)
877 ac_prev=build_alias ;;
878 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
879 build_alias=$ac_optarg ;;
881 -cache-file | --cache-file | --cache-fil | --cache-fi \
882 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
883 ac_prev=cache_file ;;
884 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
885 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
886 cache_file=$ac_optarg ;;
888 --config-cache | -C)
889 cache_file=config.cache ;;
891 -datadir | --datadir | --datadi | --datad)
892 ac_prev=datadir ;;
893 -datadir=* | --datadir=* | --datadi=* | --datad=*)
894 datadir=$ac_optarg ;;
896 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
897 | --dataroo | --dataro | --datar)
898 ac_prev=datarootdir ;;
899 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
900 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
901 datarootdir=$ac_optarg ;;
903 -disable-* | --disable-*)
904 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
907 as_fn_error "invalid feature name: $ac_useropt"
908 ac_useropt_orig=$ac_useropt
909 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910 case $ac_user_opts in
912 "enable_$ac_useropt"
913 "*) ;;
914 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
915 ac_unrecognized_sep=', ';;
916 esac
917 eval enable_$ac_useropt=no ;;
919 -docdir | --docdir | --docdi | --doc | --do)
920 ac_prev=docdir ;;
921 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
922 docdir=$ac_optarg ;;
924 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
925 ac_prev=dvidir ;;
926 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
927 dvidir=$ac_optarg ;;
929 -enable-* | --enable-*)
930 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
931 # Reject names that are not valid shell variable names.
932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
933 as_fn_error "invalid feature name: $ac_useropt"
934 ac_useropt_orig=$ac_useropt
935 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936 case $ac_user_opts in
938 "enable_$ac_useropt"
939 "*) ;;
940 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
941 ac_unrecognized_sep=', ';;
942 esac
943 eval enable_$ac_useropt=\$ac_optarg ;;
945 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
946 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
947 | --exec | --exe | --ex)
948 ac_prev=exec_prefix ;;
949 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
950 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
951 | --exec=* | --exe=* | --ex=*)
952 exec_prefix=$ac_optarg ;;
954 -gas | --gas | --ga | --g)
955 # Obsolete; use --with-gas.
956 with_gas=yes ;;
958 -help | --help | --hel | --he | -h)
959 ac_init_help=long ;;
960 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
961 ac_init_help=recursive ;;
962 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
963 ac_init_help=short ;;
965 -host | --host | --hos | --ho)
966 ac_prev=host_alias ;;
967 -host=* | --host=* | --hos=* | --ho=*)
968 host_alias=$ac_optarg ;;
970 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
971 ac_prev=htmldir ;;
972 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
973 | --ht=*)
974 htmldir=$ac_optarg ;;
976 -includedir | --includedir | --includedi | --included | --include \
977 | --includ | --inclu | --incl | --inc)
978 ac_prev=includedir ;;
979 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
980 | --includ=* | --inclu=* | --incl=* | --inc=*)
981 includedir=$ac_optarg ;;
983 -infodir | --infodir | --infodi | --infod | --info | --inf)
984 ac_prev=infodir ;;
985 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
986 infodir=$ac_optarg ;;
988 -libdir | --libdir | --libdi | --libd)
989 ac_prev=libdir ;;
990 -libdir=* | --libdir=* | --libdi=* | --libd=*)
991 libdir=$ac_optarg ;;
993 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
994 | --libexe | --libex | --libe)
995 ac_prev=libexecdir ;;
996 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
997 | --libexe=* | --libex=* | --libe=*)
998 libexecdir=$ac_optarg ;;
1000 -localedir | --localedir | --localedi | --localed | --locale)
1001 ac_prev=localedir ;;
1002 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1003 localedir=$ac_optarg ;;
1005 -localstatedir | --localstatedir | --localstatedi | --localstated \
1006 | --localstate | --localstat | --localsta | --localst | --locals)
1007 ac_prev=localstatedir ;;
1008 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1009 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1010 localstatedir=$ac_optarg ;;
1012 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1013 ac_prev=mandir ;;
1014 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1015 mandir=$ac_optarg ;;
1017 -nfp | --nfp | --nf)
1018 # Obsolete; use --without-fp.
1019 with_fp=no ;;
1021 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1022 | --no-cr | --no-c | -n)
1023 no_create=yes ;;
1025 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1026 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1027 no_recursion=yes ;;
1029 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1030 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1031 | --oldin | --oldi | --old | --ol | --o)
1032 ac_prev=oldincludedir ;;
1033 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1034 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1035 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1036 oldincludedir=$ac_optarg ;;
1038 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1039 ac_prev=prefix ;;
1040 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1041 prefix=$ac_optarg ;;
1043 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1044 | --program-pre | --program-pr | --program-p)
1045 ac_prev=program_prefix ;;
1046 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1047 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1048 program_prefix=$ac_optarg ;;
1050 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1051 | --program-suf | --program-su | --program-s)
1052 ac_prev=program_suffix ;;
1053 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1054 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1055 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1065 -program-transform-name=* | --program-transform-name=* \
1066 | --program-transform-nam=* | --program-transform-na=* \
1067 | --program-transform-n=* | --program-transform-=* \
1068 | --program-transform=* | --program-transfor=* \
1069 | --program-transfo=* | --program-transf=* \
1070 | --program-trans=* | --program-tran=* \
1071 | --progr-tra=* | --program-tr=* | --program-t=*)
1072 program_transform_name=$ac_optarg ;;
1074 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1075 ac_prev=pdfdir ;;
1076 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1077 pdfdir=$ac_optarg ;;
1079 -psdir | --psdir | --psdi | --psd | --ps)
1080 ac_prev=psdir ;;
1081 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1082 psdir=$ac_optarg ;;
1084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085 | -silent | --silent | --silen | --sile | --sil)
1086 silent=yes ;;
1088 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1089 ac_prev=sbindir ;;
1090 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1091 | --sbi=* | --sb=*)
1092 sbindir=$ac_optarg ;;
1094 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1095 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1096 | --sharedst | --shareds | --shared | --share | --shar \
1097 | --sha | --sh)
1098 ac_prev=sharedstatedir ;;
1099 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1100 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1101 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1102 | --sha=* | --sh=*)
1103 sharedstatedir=$ac_optarg ;;
1105 -site | --site | --sit)
1106 ac_prev=site ;;
1107 -site=* | --site=* | --sit=*)
1108 site=$ac_optarg ;;
1110 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1111 ac_prev=srcdir ;;
1112 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1113 srcdir=$ac_optarg ;;
1115 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1116 | --syscon | --sysco | --sysc | --sys | --sy)
1117 ac_prev=sysconfdir ;;
1118 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1119 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1120 sysconfdir=$ac_optarg ;;
1122 -target | --target | --targe | --targ | --tar | --ta | --t)
1123 ac_prev=target_alias ;;
1124 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1125 target_alias=$ac_optarg ;;
1127 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1128 verbose=yes ;;
1130 -version | --version | --versio | --versi | --vers | -V)
1131 ac_init_version=: ;;
1133 -with-* | --with-*)
1134 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error "invalid package name: $ac_useropt"
1138 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1142 "with_$ac_useropt"
1143 "*) ;;
1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1145 ac_unrecognized_sep=', ';;
1146 esac
1147 eval with_$ac_useropt=\$ac_optarg ;;
1149 -without-* | --without-*)
1150 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1153 as_fn_error "invalid package name: $ac_useropt"
1154 ac_useropt_orig=$ac_useropt
1155 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1158 "with_$ac_useropt"
1159 "*) ;;
1160 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1161 ac_unrecognized_sep=', ';;
1162 esac
1163 eval with_$ac_useropt=no ;;
1165 --x)
1166 # Obsolete; use --with-x.
1167 with_x=yes ;;
1169 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1170 | --x-incl | --x-inc | --x-in | --x-i)
1171 ac_prev=x_includes ;;
1172 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1173 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1174 x_includes=$ac_optarg ;;
1176 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1177 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1178 ac_prev=x_libraries ;;
1179 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1180 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1181 x_libraries=$ac_optarg ;;
1183 -*) as_fn_error "unrecognized option: \`$ac_option'
1184 Try \`$0 --help' for more information."
1187 *=*)
1188 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1189 # Reject names that are not valid shell variable names.
1190 case $ac_envvar in #(
1191 '' | [0-9]* | *[!_$as_cr_alnum]* )
1192 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1193 esac
1194 eval $ac_envvar=\$ac_optarg
1195 export $ac_envvar ;;
1198 # FIXME: should be removed in autoconf 3.0.
1199 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1200 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1201 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1202 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1205 esac
1206 done
1208 if test -n "$ac_prev"; then
1209 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1210 as_fn_error "missing argument to $ac_option"
1213 if test -n "$ac_unrecognized_opts"; then
1214 case $enable_option_checking in
1215 no) ;;
1216 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1217 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1218 esac
1221 # Check all directory arguments for consistency.
1222 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1223 datadir sysconfdir sharedstatedir localstatedir includedir \
1224 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1225 libdir localedir mandir
1227 eval ac_val=\$$ac_var
1228 # Remove trailing slashes.
1229 case $ac_val in
1230 */ )
1231 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1232 eval $ac_var=\$ac_val;;
1233 esac
1234 # Be sure to have absolute directory names.
1235 case $ac_val in
1236 [\\/$]* | ?:[\\/]* ) continue;;
1237 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1238 esac
1239 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1240 done
1242 # There might be people who depend on the old broken behavior: `$host'
1243 # used to hold the argument of --host etc.
1244 # FIXME: To remove some day.
1245 build=$build_alias
1246 host=$host_alias
1247 target=$target_alias
1249 # FIXME: To remove some day.
1250 if test "x$host_alias" != x; then
1251 if test "x$build_alias" = x; then
1252 cross_compiling=maybe
1253 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1254 If a cross compiler is detected then cross compile mode will be used." >&2
1255 elif test "x$build_alias" != "x$host_alias"; then
1256 cross_compiling=yes
1260 ac_tool_prefix=
1261 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1263 test "$silent" = yes && exec 6>/dev/null
1266 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di=`ls -di .` &&
1268 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1269 as_fn_error "working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271 as_fn_error "pwd does not report name of working directory"
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276 ac_srcdir_defaulted=yes
1277 # Try the directory containing this script, then the parent directory.
1278 ac_confdir=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280 X"$as_myself" : 'X\(//\)[^/]' \| \
1281 X"$as_myself" : 'X\(//\)$' \| \
1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285 s//\1/
1288 /^X\(\/\/\)[^/].*/{
1289 s//\1/
1292 /^X\(\/\/\)$/{
1293 s//\1/
1296 /^X\(\/\).*/{
1297 s//\1/
1300 s/.*/./; q'`
1301 srcdir=$ac_confdir
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1303 srcdir=..
1305 else
1306 ac_srcdir_defaulted=no
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1310 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1312 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1313 ac_abs_confdir=`(
1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1315 pwd)`
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1318 srcdir=.
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1323 case $srcdir in
1324 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1325 esac
1326 for ac_var in $ac_precious_vars; do
1327 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_${ac_var}_value=\$${ac_var}
1329 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1331 done
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1339 cat <<_ACEOF
1340 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1349 Configuration:
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 [$ac_default_prefix]
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1364 [PREFIX]
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --libdir=DIR object code libraries [EPREFIX/lib]
1381 --includedir=DIR C header files [PREFIX/include]
1382 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1385 --infodir=DIR info documentation [DATAROOTDIR/info]
1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1387 --mandir=DIR man documentation [DATAROOTDIR/man]
1388 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1389 --htmldir=DIR html documentation [DOCDIR]
1390 --dvidir=DIR dvi documentation [DOCDIR]
1391 --pdfdir=DIR pdf documentation [DOCDIR]
1392 --psdir=DIR ps documentation [DOCDIR]
1393 _ACEOF
1395 cat <<\_ACEOF
1397 Program names:
1398 --program-prefix=PREFIX prepend PREFIX to installed program names
1399 --program-suffix=SUFFIX append SUFFIX to installed program names
1400 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1402 System types:
1403 --build=BUILD configure for building on BUILD [guessed]
1404 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1405 --target=TARGET configure for building compilers for TARGET [HOST]
1406 _ACEOF
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1412 esac
1413 cat <<\_ACEOF
1415 Optional Features:
1416 --disable-option-checking ignore unrecognized --enable/--with options
1417 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1418 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1419 --enable-version-specific-runtime-libs
1420 specify that runtime libraries should be installed
1421 in a compiler-specific directory
1422 --enable-intermodule build the library in one step
1423 --enable-maintainer-mode enable make rules and dependencies not useful
1424 (and sometimes confusing) to the casual installer
1425 --enable-multilib build many library versions (default)
1426 --disable-dependency-tracking speeds up one-time build
1427 --enable-dependency-tracking do not reject slow dependency extractors
1428 --enable-cet enable Intel CET in target libraries
1429 [default=default]
1430 --disable-symvers disable symbol versioning for libgfortran
1431 --enable-shared[=PKGS] build shared libraries [default=yes]
1432 --enable-static[=PKGS] build static libraries [default=yes]
1433 --enable-fast-install[=PKGS]
1434 optimize for fast installation [default=yes]
1435 --disable-libtool-lock avoid locking (might break parallel builds)
1436 --disable-largefile omit support for large files
1437 --disable-libquadmath-support
1438 disable libquadmath support for Fortran
1440 Optional Packages:
1441 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1442 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1443 --with-build-libsubdir=DIR Directory where to find libraries for build system
1444 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1445 --with-pic try to use only PIC/non-PIC objects [default=use
1446 both]
1447 --with-gcc-major-version-only
1448 use only GCC major number in filesystem paths
1450 Some influential environment variables:
1451 CC C compiler command
1452 CFLAGS C compiler flags
1453 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1454 nonstandard directory <lib dir>
1455 LIBS libraries to pass to the linker, e.g. -l<library>
1456 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1457 you have headers in a nonstandard directory <include dir>
1458 CPP C preprocessor
1459 FC Fortran compiler command
1460 FCFLAGS Fortran compiler flags
1462 Use these variables to override the choices made by `configure' or to help
1463 it to find libraries and programs with nonstandard names/locations.
1465 Report bugs to the package provider.
1466 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1467 General help using GNU software: <http://www.gnu.org/gethelp/>.
1468 _ACEOF
1469 ac_status=$?
1472 if test "$ac_init_help" = "recursive"; then
1473 # If there are subdirs, report their specific --help.
1474 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1475 test -d "$ac_dir" ||
1476 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1477 continue
1478 ac_builddir=.
1480 case "$ac_dir" in
1481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1484 # A ".." for each directory in $ac_dir_suffix.
1485 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1486 case $ac_top_builddir_sub in
1487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1489 esac ;;
1490 esac
1491 ac_abs_top_builddir=$ac_pwd
1492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1493 # for backward compatibility:
1494 ac_top_builddir=$ac_top_build_prefix
1496 case $srcdir in
1497 .) # We are building in place.
1498 ac_srcdir=.
1499 ac_top_srcdir=$ac_top_builddir_sub
1500 ac_abs_top_srcdir=$ac_pwd ;;
1501 [\\/]* | ?:[\\/]* ) # Absolute name.
1502 ac_srcdir=$srcdir$ac_dir_suffix;
1503 ac_top_srcdir=$srcdir
1504 ac_abs_top_srcdir=$srcdir ;;
1505 *) # Relative name.
1506 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507 ac_top_srcdir=$ac_top_build_prefix$srcdir
1508 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1509 esac
1510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1512 cd "$ac_dir" || { ac_status=$?; continue; }
1513 # Check for guested configure.
1514 if test -f "$ac_srcdir/configure.gnu"; then
1515 echo &&
1516 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517 elif test -f "$ac_srcdir/configure"; then
1518 echo &&
1519 $SHELL "$ac_srcdir/configure" --help=recursive
1520 else
1521 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1522 fi || ac_status=$?
1523 cd "$ac_pwd" || { ac_status=$?; break; }
1524 done
1527 test -n "$ac_init_help" && exit $ac_status
1528 if $ac_init_version; then
1529 cat <<\_ACEOF
1530 GNU Fortran Runtime Library configure 0.3
1531 generated by GNU Autoconf 2.64
1533 Copyright (C) 2009 Free Software Foundation, Inc.
1534 This configure script is free software; the Free Software Foundation
1535 gives unlimited permission to copy, distribute and modify it.
1536 _ACEOF
1537 exit
1540 ## ------------------------ ##
1541 ## Autoconf initialization. ##
1542 ## ------------------------ ##
1544 # ac_fn_c_try_compile LINENO
1545 # --------------------------
1546 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1547 ac_fn_c_try_compile ()
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 rm -f conftest.$ac_objext
1551 if { { ac_try="$ac_compile"
1552 case "(($ac_try" in
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1555 esac
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_compile") 2>conftest.err
1559 ac_status=$?
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest.$ac_objext; then :
1570 ac_retval=0
1571 else
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1575 ac_retval=1
1577 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1578 return $ac_retval
1580 } # ac_fn_c_try_compile
1582 # ac_fn_c_try_cpp LINENO
1583 # ----------------------
1584 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1585 ac_fn_c_try_cpp ()
1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588 if { { ac_try="$ac_cpp conftest.$ac_ext"
1589 case "(($ac_try" in
1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1591 *) ac_try_echo=$ac_try;;
1592 esac
1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1596 ac_status=$?
1597 if test -s conftest.err; then
1598 grep -v '^ *+' conftest.err >conftest.er1
1599 cat conftest.er1 >&5
1600 mv -f conftest.er1 conftest.err
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } >/dev/null && {
1604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1605 test ! -s conftest.err
1606 }; then :
1607 ac_retval=0
1608 else
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1612 ac_retval=1
1614 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1615 return $ac_retval
1617 } # ac_fn_c_try_cpp
1619 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1620 # -------------------------------------------------------
1621 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1622 # the include files in INCLUDES and setting the cache variable VAR
1623 # accordingly.
1624 ac_fn_c_check_header_mongrel ()
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1629 $as_echo_n "checking for $2... " >&6; }
1630 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1631 $as_echo_n "(cached) " >&6
1633 eval ac_res=\$$3
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1635 $as_echo "$ac_res" >&6; }
1636 else
1637 # Is the header compilable?
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1639 $as_echo_n "checking $2 usability... " >&6; }
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1643 #include <$2>
1644 _ACEOF
1645 if ac_fn_c_try_compile "$LINENO"; then :
1646 ac_header_compiler=yes
1647 else
1648 ac_header_compiler=no
1650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1652 $as_echo "$ac_header_compiler" >&6; }
1654 # Is the header present?
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1656 $as_echo_n "checking $2 presence... " >&6; }
1657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h. */
1659 #include <$2>
1660 _ACEOF
1661 if ac_fn_c_try_cpp "$LINENO"; then :
1662 ac_header_preproc=yes
1663 else
1664 ac_header_preproc=no
1666 rm -f conftest.err conftest.$ac_ext
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1668 $as_echo "$ac_header_preproc" >&6; }
1670 # So? What about this header?
1671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1672 yes:no: )
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1674 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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;}
1678 no:yes:* )
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1680 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1682 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1684 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1686 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1688 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1690 esac
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692 $as_echo_n "checking for $2... " >&6; }
1693 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1694 $as_echo_n "(cached) " >&6
1695 else
1696 eval "$3=\$ac_header_compiler"
1698 eval ac_res=\$$3
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700 $as_echo "$ac_res" >&6; }
1702 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1704 } # ac_fn_c_check_header_mongrel
1706 # ac_fn_c_try_run LINENO
1707 # ----------------------
1708 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1709 # that executables *can* be run.
1710 ac_fn_c_try_run ()
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 if { { ac_try="$ac_link"
1714 case "(($ac_try" in
1715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1717 esac
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_link") 2>&5
1721 ac_status=$?
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1724 { { case "(($ac_try" in
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1727 esac
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_try") 2>&5
1731 ac_status=$?
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; }; }; then :
1734 ac_retval=0
1735 else
1736 $as_echo "$as_me: program exited with status $ac_status" >&5
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1740 ac_retval=$ac_status
1742 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1743 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1744 return $ac_retval
1746 } # ac_fn_c_try_run
1748 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749 # -------------------------------------------------------
1750 # Tests whether HEADER exists and can be compiled using the include files in
1751 # INCLUDES, setting the cache variable VAR accordingly.
1752 ac_fn_c_check_header_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1758 $as_echo_n "(cached) " >&6
1759 else
1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1763 #include <$2>
1764 _ACEOF
1765 if ac_fn_c_try_compile "$LINENO"; then :
1766 eval "$3=yes"
1767 else
1768 eval "$3=no"
1770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1772 eval ac_res=\$$3
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1777 } # ac_fn_c_check_header_compile
1779 # ac_fn_c_try_link LINENO
1780 # -----------------------
1781 # Try to link conftest.$ac_ext, and return whether this succeeded.
1782 ac_fn_c_try_link ()
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 rm -f conftest.$ac_objext conftest$ac_exeext
1786 if { { ac_try="$ac_link"
1787 case "(($ac_try" in
1788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789 *) ac_try_echo=$ac_try;;
1790 esac
1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_link") 2>conftest.err
1794 ac_status=$?
1795 if test -s conftest.err; then
1796 grep -v '^ *+' conftest.err >conftest.er1
1797 cat conftest.er1 >&5
1798 mv -f conftest.er1 conftest.err
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && {
1802 test -z "$ac_c_werror_flag" ||
1803 test ! -s conftest.err
1804 } && test -s conftest$ac_exeext && {
1805 test "$cross_compiling" = yes ||
1806 $as_test_x conftest$ac_exeext
1807 }; then :
1808 ac_retval=0
1809 else
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1813 ac_retval=1
1815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1817 # interfere with the next link command; also delete a directory that is
1818 # left behind by Apple's compiler. We do this before executing the actions.
1819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821 return $ac_retval
1823 } # ac_fn_c_try_link
1825 # ac_fn_c_check_func LINENO FUNC VAR
1826 # ----------------------------------
1827 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1828 ac_fn_c_check_func ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1834 $as_echo_n "(cached) " >&6
1835 else
1836 if test x$gcc_no_link = xyes; then
1837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1840 /* end confdefs.h. */
1841 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1843 #define $2 innocuous_$2
1845 /* System header to define __stub macros and hopefully few prototypes,
1846 which can conflict with char $2 (); below.
1847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1848 <limits.h> exists even on freestanding compilers. */
1850 #ifdef __STDC__
1851 # include <limits.h>
1852 #else
1853 # include <assert.h>
1854 #endif
1856 #undef $2
1858 /* Override any GCC internal prototype to avoid an error.
1859 Use char because int might match the return type of a GCC
1860 builtin and then its argument prototype would still apply. */
1861 #ifdef __cplusplus
1862 extern "C"
1863 #endif
1864 char $2 ();
1865 /* The GNU C library defines this for functions which it implements
1866 to always fail with ENOSYS. Some functions are actually named
1867 something starting with __ and the normal name is an alias. */
1868 #if defined __stub_$2 || defined __stub___$2
1869 choke me
1870 #endif
1873 main ()
1875 return $2 ();
1877 return 0;
1879 _ACEOF
1880 if ac_fn_c_try_link "$LINENO"; then :
1881 eval "$3=yes"
1882 else
1883 eval "$3=no"
1885 rm -f core conftest.err conftest.$ac_objext \
1886 conftest$ac_exeext conftest.$ac_ext
1888 eval ac_res=\$$3
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1890 $as_echo "$ac_res" >&6; }
1891 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1893 } # ac_fn_c_check_func
1895 # ac_fn_fc_try_compile LINENO
1896 # ---------------------------
1897 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1898 ac_fn_fc_try_compile ()
1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901 rm -f conftest.$ac_objext
1902 if { { ac_try="$ac_compile"
1903 case "(($ac_try" in
1904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1905 *) ac_try_echo=$ac_try;;
1906 esac
1907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1908 $as_echo "$ac_try_echo"; } >&5
1909 (eval "$ac_compile") 2>conftest.err
1910 ac_status=$?
1911 if test -s conftest.err; then
1912 grep -v '^ *+' conftest.err >conftest.er1
1913 cat conftest.er1 >&5
1914 mv -f conftest.er1 conftest.err
1916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1917 test $ac_status = 0; } && {
1918 test -z "$ac_fc_werror_flag" ||
1919 test ! -s conftest.err
1920 } && test -s conftest.$ac_objext; then :
1921 ac_retval=0
1922 else
1923 $as_echo "$as_me: failed program was:" >&5
1924 sed 's/^/| /' conftest.$ac_ext >&5
1926 ac_retval=1
1928 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1929 return $ac_retval
1931 } # ac_fn_fc_try_compile
1933 # ac_fn_fc_try_link LINENO
1934 # ------------------------
1935 # Try to link conftest.$ac_ext, and return whether this succeeded.
1936 ac_fn_fc_try_link ()
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 rm -f conftest.$ac_objext conftest$ac_exeext
1940 if { { ac_try="$ac_link"
1941 case "(($ac_try" in
1942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1943 *) ac_try_echo=$ac_try;;
1944 esac
1945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946 $as_echo "$ac_try_echo"; } >&5
1947 (eval "$ac_link") 2>conftest.err
1948 ac_status=$?
1949 if test -s conftest.err; then
1950 grep -v '^ *+' conftest.err >conftest.er1
1951 cat conftest.er1 >&5
1952 mv -f conftest.er1 conftest.err
1954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1955 test $ac_status = 0; } && {
1956 test -z "$ac_fc_werror_flag" ||
1957 test ! -s conftest.err
1958 } && test -s conftest$ac_exeext && {
1959 test "$cross_compiling" = yes ||
1960 $as_test_x conftest$ac_exeext
1961 }; then :
1962 ac_retval=0
1963 else
1964 $as_echo "$as_me: failed program was:" >&5
1965 sed 's/^/| /' conftest.$ac_ext >&5
1967 ac_retval=1
1969 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1970 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1971 # interfere with the next link command; also delete a directory that is
1972 # left behind by Apple's compiler. We do this before executing the actions.
1973 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1974 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1975 return $ac_retval
1977 } # ac_fn_fc_try_link
1979 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1980 # -------------------------------------------
1981 # Tests whether TYPE exists after having included INCLUDES, setting cache
1982 # variable VAR accordingly.
1983 ac_fn_c_check_type ()
1985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1987 $as_echo_n "checking for $2... " >&6; }
1988 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1989 $as_echo_n "(cached) " >&6
1990 else
1991 eval "$3=no"
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1996 main ()
1998 if (sizeof ($2))
1999 return 0;
2001 return 0;
2003 _ACEOF
2004 if ac_fn_c_try_compile "$LINENO"; then :
2005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h. */
2009 main ()
2011 if (sizeof (($2)))
2012 return 0;
2014 return 0;
2016 _ACEOF
2017 if ac_fn_c_try_compile "$LINENO"; then :
2019 else
2020 eval "$3=yes"
2022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2026 eval ac_res=\$$3
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028 $as_echo "$ac_res" >&6; }
2029 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2031 } # ac_fn_c_check_type
2033 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2034 # --------------------------------------------
2035 # Tries to find the compile-time value of EXPR in a program that includes
2036 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2037 # computed
2038 ac_fn_c_compute_int ()
2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041 if test "$cross_compiling" = yes; then
2042 # Depending upon the size, compute the lo and hi bounds.
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2047 main ()
2049 static int test_array [1 - 2 * !(($2) >= 0)];
2050 test_array [0] = 0
2053 return 0;
2055 _ACEOF
2056 if ac_fn_c_try_compile "$LINENO"; then :
2057 ac_lo=0 ac_mid=0
2058 while :; do
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2063 main ()
2065 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2066 test_array [0] = 0
2069 return 0;
2071 _ACEOF
2072 if ac_fn_c_try_compile "$LINENO"; then :
2073 ac_hi=$ac_mid; break
2074 else
2075 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2076 if test $ac_lo -le $ac_mid; then
2077 ac_lo= ac_hi=
2078 break
2080 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2083 done
2084 else
2085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2089 main ()
2091 static int test_array [1 - 2 * !(($2) < 0)];
2092 test_array [0] = 0
2095 return 0;
2097 _ACEOF
2098 if ac_fn_c_try_compile "$LINENO"; then :
2099 ac_hi=-1 ac_mid=-1
2100 while :; do
2101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2105 main ()
2107 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2108 test_array [0] = 0
2111 return 0;
2113 _ACEOF
2114 if ac_fn_c_try_compile "$LINENO"; then :
2115 ac_lo=$ac_mid; break
2116 else
2117 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2118 if test $ac_mid -le $ac_hi; then
2119 ac_lo= ac_hi=
2120 break
2122 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125 done
2126 else
2127 ac_lo= ac_hi=
2129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 # Binary search between lo and hi bounds.
2133 while test "x$ac_lo" != "x$ac_hi"; do
2134 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2139 main ()
2141 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2142 test_array [0] = 0
2145 return 0;
2147 _ACEOF
2148 if ac_fn_c_try_compile "$LINENO"; then :
2149 ac_hi=$ac_mid
2150 else
2151 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2154 done
2155 case $ac_lo in #((
2156 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2157 '') ac_retval=1 ;;
2158 esac
2159 else
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2163 static long int longval () { return $2; }
2164 static unsigned long int ulongval () { return $2; }
2165 #include <stdio.h>
2166 #include <stdlib.h>
2168 main ()
2171 FILE *f = fopen ("conftest.val", "w");
2172 if (! f)
2173 return 1;
2174 if (($2) < 0)
2176 long int i = longval ();
2177 if (i != ($2))
2178 return 1;
2179 fprintf (f, "%ld", i);
2181 else
2183 unsigned long int i = ulongval ();
2184 if (i != ($2))
2185 return 1;
2186 fprintf (f, "%lu", i);
2188 /* Do not output a trailing newline, as this causes \r\n confusion
2189 on some platforms. */
2190 return ferror (f) || fclose (f) != 0;
2193 return 0;
2195 _ACEOF
2196 if ac_fn_c_try_run "$LINENO"; then :
2197 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2198 else
2199 ac_retval=1
2201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2202 conftest.$ac_objext conftest.beam conftest.$ac_ext
2203 rm -f conftest.val
2206 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2207 return $ac_retval
2209 } # ac_fn_c_compute_int
2211 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2212 # ----------------------------------------------------
2213 # Tries to find if the field MEMBER exists in type AGGR, after including
2214 # INCLUDES, setting cache variable VAR accordingly.
2215 ac_fn_c_check_member ()
2217 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2219 $as_echo_n "checking for $2.$3... " >&6; }
2220 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2221 $as_echo_n "(cached) " >&6
2222 else
2223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2224 /* end confdefs.h. */
2227 main ()
2229 static $2 ac_aggr;
2230 if (ac_aggr.$3)
2231 return 0;
2233 return 0;
2235 _ACEOF
2236 if ac_fn_c_try_compile "$LINENO"; then :
2237 eval "$4=yes"
2238 else
2239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2240 /* end confdefs.h. */
2243 main ()
2245 static $2 ac_aggr;
2246 if (sizeof ac_aggr.$3)
2247 return 0;
2249 return 0;
2251 _ACEOF
2252 if ac_fn_c_try_compile "$LINENO"; then :
2253 eval "$4=yes"
2254 else
2255 eval "$4=no"
2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2261 eval ac_res=\$$4
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2263 $as_echo "$ac_res" >&6; }
2264 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2266 } # ac_fn_c_check_member
2267 cat >config.log <<_ACEOF
2268 This file contains any messages produced by compilers while
2269 running configure, to aid debugging if configure makes a mistake.
2271 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2272 generated by GNU Autoconf 2.64. Invocation command line was
2274 $ $0 $@
2276 _ACEOF
2277 exec 5>>config.log
2279 cat <<_ASUNAME
2280 ## --------- ##
2281 ## Platform. ##
2282 ## --------- ##
2284 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2285 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2286 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2287 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2288 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2290 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2291 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2293 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2294 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2295 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2296 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2297 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2298 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2299 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2301 _ASUNAME
2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304 for as_dir in $PATH
2306 IFS=$as_save_IFS
2307 test -z "$as_dir" && as_dir=.
2308 $as_echo "PATH: $as_dir"
2309 done
2310 IFS=$as_save_IFS
2312 } >&5
2314 cat >&5 <<_ACEOF
2317 ## ----------- ##
2318 ## Core tests. ##
2319 ## ----------- ##
2321 _ACEOF
2324 # Keep a trace of the command line.
2325 # Strip out --no-create and --no-recursion so they do not pile up.
2326 # Strip out --silent because we don't want to record it for future runs.
2327 # Also quote any args containing shell meta-characters.
2328 # Make two passes to allow for proper duplicate-argument suppression.
2329 ac_configure_args=
2330 ac_configure_args0=
2331 ac_configure_args1=
2332 ac_must_keep_next=false
2333 for ac_pass in 1 2
2335 for ac_arg
2337 case $ac_arg in
2338 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2340 | -silent | --silent | --silen | --sile | --sil)
2341 continue ;;
2342 *\'*)
2343 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2344 esac
2345 case $ac_pass in
2346 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2348 as_fn_append ac_configure_args1 " '$ac_arg'"
2349 if test $ac_must_keep_next = true; then
2350 ac_must_keep_next=false # Got value, back to normal.
2351 else
2352 case $ac_arg in
2353 *=* | --config-cache | -C | -disable-* | --disable-* \
2354 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2355 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2356 | -with-* | --with-* | -without-* | --without-* | --x)
2357 case "$ac_configure_args0 " in
2358 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2359 esac
2361 -* ) ac_must_keep_next=true ;;
2362 esac
2364 as_fn_append ac_configure_args " '$ac_arg'"
2366 esac
2367 done
2368 done
2369 { ac_configure_args0=; unset ac_configure_args0;}
2370 { ac_configure_args1=; unset ac_configure_args1;}
2372 # When interrupted or exit'd, cleanup temporary files, and complete
2373 # config.log. We remove comments because anyway the quotes in there
2374 # would cause problems or look ugly.
2375 # WARNING: Use '\'' to represent an apostrophe within the trap.
2376 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2377 trap 'exit_status=$?
2378 # Save into config.log some information that might help in debugging.
2380 echo
2382 cat <<\_ASBOX
2383 ## ---------------- ##
2384 ## Cache variables. ##
2385 ## ---------------- ##
2386 _ASBOX
2387 echo
2388 # The following way of writing the cache mishandles newlines in values,
2390 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2391 eval ac_val=\$$ac_var
2392 case $ac_val in #(
2393 *${as_nl}*)
2394 case $ac_var in #(
2395 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2396 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2397 esac
2398 case $ac_var in #(
2399 _ | IFS | as_nl) ;; #(
2400 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2401 *) { eval $ac_var=; unset $ac_var;} ;;
2402 esac ;;
2403 esac
2404 done
2405 (set) 2>&1 |
2406 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2407 *${as_nl}ac_space=\ *)
2408 sed -n \
2409 "s/'\''/'\''\\\\'\'''\''/g;
2410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2411 ;; #(
2413 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2415 esac |
2416 sort
2418 echo
2420 cat <<\_ASBOX
2421 ## ----------------- ##
2422 ## Output variables. ##
2423 ## ----------------- ##
2424 _ASBOX
2425 echo
2426 for ac_var in $ac_subst_vars
2428 eval ac_val=\$$ac_var
2429 case $ac_val in
2430 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2431 esac
2432 $as_echo "$ac_var='\''$ac_val'\''"
2433 done | sort
2434 echo
2436 if test -n "$ac_subst_files"; then
2437 cat <<\_ASBOX
2438 ## ------------------- ##
2439 ## File substitutions. ##
2440 ## ------------------- ##
2441 _ASBOX
2442 echo
2443 for ac_var in $ac_subst_files
2445 eval ac_val=\$$ac_var
2446 case $ac_val in
2447 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2448 esac
2449 $as_echo "$ac_var='\''$ac_val'\''"
2450 done | sort
2451 echo
2454 if test -s confdefs.h; then
2455 cat <<\_ASBOX
2456 ## ----------- ##
2457 ## confdefs.h. ##
2458 ## ----------- ##
2459 _ASBOX
2460 echo
2461 cat confdefs.h
2462 echo
2464 test "$ac_signal" != 0 &&
2465 $as_echo "$as_me: caught signal $ac_signal"
2466 $as_echo "$as_me: exit $exit_status"
2467 } >&5
2468 rm -f core *.core core.conftest.* &&
2469 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2470 exit $exit_status
2472 for ac_signal in 1 2 13 15; do
2473 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2474 done
2475 ac_signal=0
2477 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2478 rm -f -r conftest* confdefs.h
2480 $as_echo "/* confdefs.h */" > confdefs.h
2482 # Predefined preprocessor variables.
2484 cat >>confdefs.h <<_ACEOF
2485 #define PACKAGE_NAME "$PACKAGE_NAME"
2486 _ACEOF
2488 cat >>confdefs.h <<_ACEOF
2489 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2490 _ACEOF
2492 cat >>confdefs.h <<_ACEOF
2493 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2494 _ACEOF
2496 cat >>confdefs.h <<_ACEOF
2497 #define PACKAGE_STRING "$PACKAGE_STRING"
2498 _ACEOF
2500 cat >>confdefs.h <<_ACEOF
2501 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2502 _ACEOF
2504 cat >>confdefs.h <<_ACEOF
2505 #define PACKAGE_URL "$PACKAGE_URL"
2506 _ACEOF
2509 # Let the site file select an alternate cache file if it wants to.
2510 # Prefer an explicitly selected file to automatically selected ones.
2511 ac_site_file1=NONE
2512 ac_site_file2=NONE
2513 if test -n "$CONFIG_SITE"; then
2514 ac_site_file1=$CONFIG_SITE
2515 elif test "x$prefix" != xNONE; then
2516 ac_site_file1=$prefix/share/config.site
2517 ac_site_file2=$prefix/etc/config.site
2518 else
2519 ac_site_file1=$ac_default_prefix/share/config.site
2520 ac_site_file2=$ac_default_prefix/etc/config.site
2522 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2524 test "x$ac_site_file" = xNONE && continue
2525 if test -r "$ac_site_file"; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2527 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2528 sed 's/^/| /' "$ac_site_file" >&5
2529 . "$ac_site_file"
2531 done
2533 if test -r "$cache_file"; then
2534 # Some versions of bash will fail to source /dev/null (special
2535 # files actually), so we avoid doing that.
2536 if test -f "$cache_file"; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2538 $as_echo "$as_me: loading cache $cache_file" >&6;}
2539 case $cache_file in
2540 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2541 *) . "./$cache_file";;
2542 esac
2544 else
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2546 $as_echo "$as_me: creating cache $cache_file" >&6;}
2547 >$cache_file
2550 as_fn_append ac_header_list " unistd.h"
2551 as_fn_append ac_header_list " sys/time.h"
2552 as_fn_append ac_header_list " sys/times.h"
2553 as_fn_append ac_header_list " sys/resource.h"
2554 as_fn_append ac_header_list " sys/types.h"
2555 as_fn_append ac_header_list " sys/stat.h"
2556 as_fn_append ac_header_list " sys/wait.h"
2557 as_fn_append ac_header_list " floatingpoint.h"
2558 as_fn_append ac_header_list " ieeefp.h"
2559 as_fn_append ac_header_list " fenv.h"
2560 as_fn_append ac_header_list " fptrap.h"
2561 as_fn_append ac_header_list " fpxcp.h"
2562 as_fn_append ac_header_list " pwd.h"
2563 as_fn_append ac_header_list " complex.h"
2564 as_fn_append ac_header_list " xlocale.h"
2565 as_fn_append ac_func_list " getrusage"
2566 as_fn_append ac_func_list " times"
2567 as_fn_append ac_func_list " mkstemp"
2568 as_fn_append ac_func_list " strtof"
2569 as_fn_append ac_func_list " strtold"
2570 as_fn_append ac_func_list " snprintf"
2571 as_fn_append ac_func_list " ftruncate"
2572 as_fn_append ac_func_list " chsize"
2573 as_fn_append ac_func_list " chdir"
2574 as_fn_append ac_func_list " getlogin"
2575 as_fn_append ac_func_list " gethostname"
2576 as_fn_append ac_func_list " kill"
2577 as_fn_append ac_func_list " link"
2578 as_fn_append ac_func_list " symlink"
2579 as_fn_append ac_func_list " sleep"
2580 as_fn_append ac_func_list " ttyname"
2581 as_fn_append ac_func_list " alarm"
2582 as_fn_append ac_func_list " access"
2583 as_fn_append ac_func_list " fork"
2584 as_fn_append ac_func_list " setmode"
2585 as_fn_append ac_func_list " fcntl"
2586 as_fn_append ac_func_list " gettimeofday"
2587 as_fn_append ac_func_list " stat"
2588 as_fn_append ac_func_list " fstat"
2589 as_fn_append ac_func_list " lstat"
2590 as_fn_append ac_func_list " getpwuid"
2591 as_fn_append ac_func_list " vsnprintf"
2592 as_fn_append ac_func_list " dup"
2593 as_fn_append ac_func_list " getcwd"
2594 as_fn_append ac_func_list " localtime_r"
2595 as_fn_append ac_func_list " gmtime_r"
2596 as_fn_append ac_func_list " getpwuid_r"
2597 as_fn_append ac_func_list " ttyname_r"
2598 as_fn_append ac_func_list " clock_gettime"
2599 as_fn_append ac_func_list " getgid"
2600 as_fn_append ac_func_list " getpid"
2601 as_fn_append ac_func_list " getuid"
2602 as_fn_append ac_func_list " geteuid"
2603 as_fn_append ac_func_list " umask"
2604 as_fn_append ac_func_list " getegid"
2605 as_fn_append ac_func_list " secure_getenv"
2606 as_fn_append ac_func_list " __secure_getenv"
2607 as_fn_append ac_func_list " mkostemp"
2608 as_fn_append ac_func_list " strnlen"
2609 as_fn_append ac_func_list " strndup"
2610 as_fn_append ac_func_list " newlocale"
2611 as_fn_append ac_func_list " freelocale"
2612 as_fn_append ac_func_list " uselocale"
2613 as_fn_append ac_func_list " strerror_l"
2614 as_fn_append ac_header_list " math.h"
2615 # Check that the precious variables saved in the cache have kept the same
2616 # value.
2617 ac_cache_corrupted=false
2618 for ac_var in $ac_precious_vars; do
2619 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2620 eval ac_new_set=\$ac_env_${ac_var}_set
2621 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2622 eval ac_new_val=\$ac_env_${ac_var}_value
2623 case $ac_old_set,$ac_new_set in
2624 set,)
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2626 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2627 ac_cache_corrupted=: ;;
2628 ,set)
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2630 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2631 ac_cache_corrupted=: ;;
2632 ,);;
2634 if test "x$ac_old_val" != "x$ac_new_val"; then
2635 # differences in whitespace do not lead to failure.
2636 ac_old_val_w=`echo x $ac_old_val`
2637 ac_new_val_w=`echo x $ac_new_val`
2638 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2640 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2641 ac_cache_corrupted=:
2642 else
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2644 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2645 eval $ac_var=\$ac_old_val
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2648 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2650 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2651 fi;;
2652 esac
2653 # Pass precious variables to config.status.
2654 if test "$ac_new_set" = set; then
2655 case $ac_new_val in
2656 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2657 *) ac_arg=$ac_var=$ac_new_val ;;
2658 esac
2659 case " $ac_configure_args " in
2660 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2661 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2662 esac
2664 done
2665 if $ac_cache_corrupted; then
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2669 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2670 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2672 ## -------------------- ##
2673 ## Main body of script. ##
2674 ## -------------------- ##
2676 ac_ext=c
2677 ac_cpp='$CPP $CPPFLAGS'
2678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2686 ac_config_headers="$ac_config_headers config.h"
2688 ac_aux_dir=
2689 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2690 for ac_t in install-sh install.sh shtool; do
2691 if test -f "$ac_dir/$ac_t"; then
2692 ac_aux_dir=$ac_dir
2693 ac_install_sh="$ac_aux_dir/$ac_t -c"
2694 break 2
2696 done
2697 done
2698 if test -z "$ac_aux_dir"; then
2699 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2702 # These three variables are undocumented and unsupported,
2703 # and are intended to be withdrawn in a future Autoconf release.
2704 # They can cause serious problems if a builder's source tree is in a directory
2705 # whose full name contains unusual characters.
2706 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2707 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2708 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2711 # Make sure we can run config.sub.
2712 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2713 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2716 $as_echo_n "checking build system type... " >&6; }
2717 if test "${ac_cv_build+set}" = set; then :
2718 $as_echo_n "(cached) " >&6
2719 else
2720 ac_build_alias=$build_alias
2721 test "x$ac_build_alias" = x &&
2722 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2723 test "x$ac_build_alias" = x &&
2724 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2725 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2726 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2730 $as_echo "$ac_cv_build" >&6; }
2731 case $ac_cv_build in
2732 *-*-*) ;;
2733 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2734 esac
2735 build=$ac_cv_build
2736 ac_save_IFS=$IFS; IFS='-'
2737 set x $ac_cv_build
2738 shift
2739 build_cpu=$1
2740 build_vendor=$2
2741 shift; shift
2742 # Remember, the first character of IFS is used to create $*,
2743 # except with old shells:
2744 build_os=$*
2745 IFS=$ac_save_IFS
2746 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2749 case ${build_alias} in
2750 "") build_noncanonical=${build} ;;
2751 *) build_noncanonical=${build_alias} ;;
2752 esac
2754 case ${host_alias} in
2755 "") host_noncanonical=${build_noncanonical} ;;
2756 *) host_noncanonical=${host_alias} ;;
2757 esac
2759 case ${target_alias} in
2760 "") target_noncanonical=${host_noncanonical} ;;
2761 *) target_noncanonical=${target_alias} ;;
2762 esac
2765 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2766 # have matching libraries, they should use host libraries: Makefile.tpl
2767 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2768 # However, they still use the build modules, because the corresponding
2769 # host modules (e.g. bison) are only built for the host when bootstrap
2770 # finishes. So:
2771 # - build_subdir is where we find build modules, and never changes.
2772 # - build_libsubdir is where we find build libraries, and can be overridden.
2774 # Prefix 'build-' so this never conflicts with target_subdir.
2775 build_subdir="build-${build_noncanonical}"
2777 # Check whether --with-build-libsubdir was given.
2778 if test "${with_build_libsubdir+set}" = set; then :
2779 withval=$with_build_libsubdir; build_libsubdir="$withval"
2780 else
2781 build_libsubdir="$build_subdir"
2784 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2785 if ( test $srcdir = . && test -d gcc ) \
2786 || test -d $srcdir/../host-${host_noncanonical}; then
2787 host_subdir="host-${host_noncanonical}"
2788 else
2789 host_subdir=.
2791 # No prefix.
2792 target_subdir=${target_noncanonical}
2795 # -------
2796 # Options
2797 # -------
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2800 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2801 # Check whether --enable-version-specific-runtime-libs was given.
2802 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2803 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2804 yes) version_specific_libs=yes ;;
2805 no) version_specific_libs=no ;;
2806 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2807 esac
2808 else
2809 version_specific_libs=no
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2813 $as_echo "$version_specific_libs" >&6; }
2815 # Build with intermodule optimisations
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2817 $as_echo_n "checking for --enable-intermodule... " >&6; }
2818 # Check whether --enable-intermodule was given.
2819 if test "${enable_intermodule+set}" = set; then :
2820 enableval=$enable_intermodule; case "$enable_intermodule" in
2821 yes) onestep="-onestep";;
2822 *) onestep="";;
2823 esac
2824 else
2825 onestep=""
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2829 $as_echo "$enable_intermodule" >&6; }
2830 if test x$onestep = x-onestep; then
2831 onestep_TRUE=
2832 onestep_FALSE='#'
2833 else
2834 onestep_TRUE='#'
2835 onestep_FALSE=
2840 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2842 # You will slowly go insane if you do not grok the following fact: when
2843 # building this library, the top-level /target/ becomes the library's /host/.
2845 # configure then causes --target to default to --host, exactly like any
2846 # other package using autoconf. Therefore, 'target' and 'host' will
2847 # always be the same. This makes sense both for native and cross compilers
2848 # just think about it for a little while. :-)
2850 # Also, if this library is being configured as part of a cross compiler, the
2851 # top-level configure script will pass the "real" host as $with_cross_host.
2853 # Do not delete or change the following two lines. For why, see
2854 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2856 $as_echo_n "checking host system type... " >&6; }
2857 if test "${ac_cv_host+set}" = set; then :
2858 $as_echo_n "(cached) " >&6
2859 else
2860 if test "x$host_alias" = x; then
2861 ac_cv_host=$ac_cv_build
2862 else
2863 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2864 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2869 $as_echo "$ac_cv_host" >&6; }
2870 case $ac_cv_host in
2871 *-*-*) ;;
2872 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2873 esac
2874 host=$ac_cv_host
2875 ac_save_IFS=$IFS; IFS='-'
2876 set x $ac_cv_host
2877 shift
2878 host_cpu=$1
2879 host_vendor=$2
2880 shift; shift
2881 # Remember, the first character of IFS is used to create $*,
2882 # except with old shells:
2883 host_os=$*
2884 IFS=$ac_save_IFS
2885 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2889 $as_echo_n "checking target system type... " >&6; }
2890 if test "${ac_cv_target+set}" = set; then :
2891 $as_echo_n "(cached) " >&6
2892 else
2893 if test "x$target_alias" = x; then
2894 ac_cv_target=$ac_cv_host
2895 else
2896 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2897 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2902 $as_echo "$ac_cv_target" >&6; }
2903 case $ac_cv_target in
2904 *-*-*) ;;
2905 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2906 esac
2907 target=$ac_cv_target
2908 ac_save_IFS=$IFS; IFS='-'
2909 set x $ac_cv_target
2910 shift
2911 target_cpu=$1
2912 target_vendor=$2
2913 shift; shift
2914 # Remember, the first character of IFS is used to create $*,
2915 # except with old shells:
2916 target_os=$*
2917 IFS=$ac_save_IFS
2918 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2921 # The aliases save the names the user supplied, while $host etc.
2922 # will get canonicalized.
2923 test -n "$target_alias" &&
2924 test "$program_prefix$program_suffix$program_transform_name" = \
2925 NONENONEs,x,x, &&
2926 program_prefix=${target_alias}-
2931 target_alias=${target_alias-$host_alias}
2934 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2935 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2936 # 1.9.6: minimum required version
2937 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2938 # of other PACKAGE_* variables will, however, and there's nothing
2939 # we can do about that; they come from AC_INIT).
2940 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2941 # file in the top srcdir, etc, etc), so stop complaining.
2942 # no-dist: we don't want 'dist' and related rules.
2943 # -Wall: turns on all automake warnings...
2944 # -Wno-portability: ...except this one, since GNU make is required.
2945 am__api_version='1.11'
2947 # Find a good install program. We prefer a C program (faster),
2948 # so one script is as good as another. But avoid the broken or
2949 # incompatible versions:
2950 # SysV /etc/install, /usr/sbin/install
2951 # SunOS /usr/etc/install
2952 # IRIX /sbin/install
2953 # AIX /bin/install
2954 # AmigaOS /C/install, which installs bootblocks on floppy discs
2955 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2956 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2957 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2958 # OS/2's system install, which has a completely different semantic
2959 # ./install, which can be erroneously created by make from ./install.sh.
2960 # Reject install programs that cannot install multiple files.
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2962 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2963 if test -z "$INSTALL"; then
2964 if test "${ac_cv_path_install+set}" = set; then :
2965 $as_echo_n "(cached) " >&6
2966 else
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968 for as_dir in $PATH
2970 IFS=$as_save_IFS
2971 test -z "$as_dir" && as_dir=.
2972 # Account for people who put trailing slashes in PATH elements.
2973 case $as_dir/ in #((
2974 ./ | .// | /[cC]/* | \
2975 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2976 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2977 /usr/ucb/* ) ;;
2979 # OSF1 and SCO ODT 3.0 have their own names for install.
2980 # Don't use installbsd from OSF since it installs stuff as root
2981 # by default.
2982 for ac_prog in ginstall scoinst install; do
2983 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2985 if test $ac_prog = install &&
2986 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2987 # AIX install. It has an incompatible calling convention.
2989 elif test $ac_prog = install &&
2990 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2991 # program-specific install script used by HP pwplus--don't use.
2993 else
2994 rm -rf conftest.one conftest.two conftest.dir
2995 echo one > conftest.one
2996 echo two > conftest.two
2997 mkdir conftest.dir
2998 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2999 test -s conftest.one && test -s conftest.two &&
3000 test -s conftest.dir/conftest.one &&
3001 test -s conftest.dir/conftest.two
3002 then
3003 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3004 break 3
3008 done
3009 done
3011 esac
3013 done
3014 IFS=$as_save_IFS
3016 rm -rf conftest.one conftest.two conftest.dir
3019 if test "${ac_cv_path_install+set}" = set; then
3020 INSTALL=$ac_cv_path_install
3021 else
3022 # As a last resort, use the slow shell script. Don't cache a
3023 # value for INSTALL within a source directory, because that will
3024 # break other packages using the cache if that directory is
3025 # removed, or if the value is a relative name.
3026 INSTALL=$ac_install_sh
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3030 $as_echo "$INSTALL" >&6; }
3032 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3033 # It thinks the first close brace ends the variable substitution.
3034 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3036 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3038 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3041 $as_echo_n "checking whether build environment is sane... " >&6; }
3042 # Just in case
3043 sleep 1
3044 echo timestamp > conftest.file
3045 # Reject unsafe characters in $srcdir or the absolute working directory
3046 # name. Accept space and tab only in the latter.
3047 am_lf='
3049 case `pwd` in
3050 *[\\\"\#\$\&\'\`$am_lf]*)
3051 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3052 esac
3053 case $srcdir in
3054 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3055 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3056 esac
3058 # Do `set' in a subshell so we don't clobber the current shell's
3059 # arguments. Must try -L first in case configure is actually a
3060 # symlink; some systems play weird games with the mod time of symlinks
3061 # (eg FreeBSD returns the mod time of the symlink's containing
3062 # directory).
3063 if (
3064 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3065 if test "$*" = "X"; then
3066 # -L didn't work.
3067 set X `ls -t "$srcdir/configure" conftest.file`
3069 rm -f conftest.file
3070 if test "$*" != "X $srcdir/configure conftest.file" \
3071 && test "$*" != "X conftest.file $srcdir/configure"; then
3073 # If neither matched, then we have a broken ls. This can happen
3074 # if, for instance, CONFIG_SHELL is bash and it inherits a
3075 # broken ls alias from the environment. This has actually
3076 # happened. Such a system could not be considered "sane".
3077 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3078 alias in your environment" "$LINENO" 5
3081 test "$2" = conftest.file
3083 then
3084 # Ok.
3086 else
3087 as_fn_error "newly created file is older than distributed files!
3088 Check your system clock" "$LINENO" 5
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3091 $as_echo "yes" >&6; }
3092 test "$program_prefix" != NONE &&
3093 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3094 # Use a double $ so make ignores it.
3095 test "$program_suffix" != NONE &&
3096 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3097 # Double any \ or $.
3098 # By default was `s,x,x', remove it if useless.
3099 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3100 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3102 # expand $ac_aux_dir to an absolute path
3103 am_aux_dir=`cd $ac_aux_dir && pwd`
3105 if test x"${MISSING+set}" != xset; then
3106 case $am_aux_dir in
3107 *\ * | *\ *)
3108 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3110 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3111 esac
3113 # Use eval to expand $SHELL
3114 if eval "$MISSING --run true"; then
3115 am_missing_run="$MISSING --run "
3116 else
3117 am_missing_run=
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3119 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3122 if test x"${install_sh}" != xset; then
3123 case $am_aux_dir in
3124 *\ * | *\ *)
3125 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3127 install_sh="\${SHELL} $am_aux_dir/install-sh"
3128 esac
3131 # Installed binaries are usually stripped using `strip' when the user
3132 # run `make install-strip'. However `strip' might not be the right
3133 # tool to use in cross-compilation environments, therefore Automake
3134 # will honor the `STRIP' environment variable to overrule this program.
3135 if test "$cross_compiling" != no; then
3136 if test -n "$ac_tool_prefix"; then
3137 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3138 set dummy ${ac_tool_prefix}strip; ac_word=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if test "${ac_cv_prog_STRIP+set}" = set; then :
3142 $as_echo_n "(cached) " >&6
3143 else
3144 if test -n "$STRIP"; then
3145 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3146 else
3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 for as_dir in $PATH
3150 IFS=$as_save_IFS
3151 test -z "$as_dir" && as_dir=.
3152 for ac_exec_ext in '' $ac_executable_extensions; do
3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 break 2
3158 done
3159 done
3160 IFS=$as_save_IFS
3164 STRIP=$ac_cv_prog_STRIP
3165 if test -n "$STRIP"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3167 $as_echo "$STRIP" >&6; }
3168 else
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3175 if test -z "$ac_cv_prog_STRIP"; then
3176 ac_ct_STRIP=$STRIP
3177 # Extract the first word of "strip", so it can be a program name with args.
3178 set dummy strip; ac_word=$2
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3183 else
3184 if test -n "$ac_ct_STRIP"; then
3185 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3186 else
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 for as_dir in $PATH
3190 IFS=$as_save_IFS
3191 test -z "$as_dir" && as_dir=.
3192 for ac_exec_ext in '' $ac_executable_extensions; do
3193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3194 ac_cv_prog_ac_ct_STRIP="strip"
3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3196 break 2
3198 done
3199 done
3200 IFS=$as_save_IFS
3204 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3205 if test -n "$ac_ct_STRIP"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3207 $as_echo "$ac_ct_STRIP" >&6; }
3208 else
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3213 if test "x$ac_ct_STRIP" = x; then
3214 STRIP=":"
3215 else
3216 case $cross_compiling:$ac_tool_warned in
3217 yes:)
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3220 ac_tool_warned=yes ;;
3221 esac
3222 STRIP=$ac_ct_STRIP
3224 else
3225 STRIP="$ac_cv_prog_STRIP"
3229 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3232 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3233 if test -z "$MKDIR_P"; then
3234 if test "${ac_cv_path_mkdir+set}" = set; then :
3235 $as_echo_n "(cached) " >&6
3236 else
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3240 IFS=$as_save_IFS
3241 test -z "$as_dir" && as_dir=.
3242 for ac_prog in mkdir gmkdir; do
3243 for ac_exec_ext in '' $ac_executable_extensions; do
3244 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3245 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3246 'mkdir (GNU coreutils) '* | \
3247 'mkdir (coreutils) '* | \
3248 'mkdir (fileutils) '4.1*)
3249 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3250 break 3;;
3251 esac
3252 done
3253 done
3254 done
3255 IFS=$as_save_IFS
3259 if test "${ac_cv_path_mkdir+set}" = set; then
3260 MKDIR_P="$ac_cv_path_mkdir -p"
3261 else
3262 # As a last resort, use the slow shell script. Don't cache a
3263 # value for MKDIR_P within a source directory, because that will
3264 # break other packages using the cache if that directory is
3265 # removed, or if the value is a relative name.
3266 test -d ./--version && rmdir ./--version
3267 MKDIR_P="$ac_install_sh -d"
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3271 $as_echo "$MKDIR_P" >&6; }
3273 mkdir_p="$MKDIR_P"
3274 case $mkdir_p in
3275 [\\/$]* | ?:[\\/]*) ;;
3276 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3277 esac
3279 for ac_prog in gawk mawk nawk awk
3281 # Extract the first word of "$ac_prog", so it can be a program name with args.
3282 set dummy $ac_prog; ac_word=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if test "${ac_cv_prog_AWK+set}" = set; then :
3286 $as_echo_n "(cached) " >&6
3287 else
3288 if test -n "$AWK"; then
3289 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3290 else
3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 for as_dir in $PATH
3294 IFS=$as_save_IFS
3295 test -z "$as_dir" && as_dir=.
3296 for ac_exec_ext in '' $ac_executable_extensions; do
3297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3298 ac_cv_prog_AWK="$ac_prog"
3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3300 break 2
3302 done
3303 done
3304 IFS=$as_save_IFS
3308 AWK=$ac_cv_prog_AWK
3309 if test -n "$AWK"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3311 $as_echo "$AWK" >&6; }
3312 else
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3318 test -n "$AWK" && break
3319 done
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3322 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3323 set x ${MAKE-make}
3324 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3325 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3326 $as_echo_n "(cached) " >&6
3327 else
3328 cat >conftest.make <<\_ACEOF
3329 SHELL = /bin/sh
3330 all:
3331 @echo '@@@%%%=$(MAKE)=@@@%%%'
3332 _ACEOF
3333 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3334 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3335 *@@@%%%=?*=@@@%%%*)
3336 eval ac_cv_prog_make_${ac_make}_set=yes;;
3338 eval ac_cv_prog_make_${ac_make}_set=no;;
3339 esac
3340 rm -f conftest.make
3342 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3344 $as_echo "yes" >&6; }
3345 SET_MAKE=
3346 else
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348 $as_echo "no" >&6; }
3349 SET_MAKE="MAKE=${MAKE-make}"
3352 rm -rf .tst 2>/dev/null
3353 mkdir .tst 2>/dev/null
3354 if test -d .tst; then
3355 am__leading_dot=.
3356 else
3357 am__leading_dot=_
3359 rmdir .tst 2>/dev/null
3361 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3362 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3363 # is not polluted with repeated "-I."
3364 am__isrc=' -I$(srcdir)'
3365 # test to see if srcdir already configured
3366 if test -f $srcdir/config.status; then
3367 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3371 # test whether we have cygpath
3372 if test -z "$CYGPATH_W"; then
3373 if (cygpath --version) >/dev/null 2>/dev/null; then
3374 CYGPATH_W='cygpath -w'
3375 else
3376 CYGPATH_W=echo
3381 # Define the identity of the package.
3382 PACKAGE='libgfortran'
3383 VERSION='0.3'
3386 # Some tools Automake needs.
3388 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3391 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3394 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3397 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3400 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3402 # We need awk for the "check" target. The system "awk" is bad on
3403 # some platforms.
3404 # Always define AMTAR for backward compatibility. Yes, it's still used
3405 # in the wild :-( We should find a proper way to deprecate it ...
3406 AMTAR='$${TAR-tar}'
3408 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3417 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3418 # Check whether --enable-maintainer-mode was given.
3419 if test "${enable_maintainer_mode+set}" = set; then :
3420 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3421 else
3422 USE_MAINTAINER_MODE=no
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3426 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3427 if test $USE_MAINTAINER_MODE = yes; then
3428 MAINTAINER_MODE_TRUE=
3429 MAINTAINER_MODE_FALSE='#'
3430 else
3431 MAINTAINER_MODE_TRUE='#'
3432 MAINTAINER_MODE_FALSE=
3435 MAINT=$MAINTAINER_MODE_TRUE
3438 # Default to --enable-multilib
3439 # Check whether --enable-multilib was given.
3440 if test "${enable_multilib+set}" = set; then :
3441 enableval=$enable_multilib; case "$enableval" in
3442 yes) multilib=yes ;;
3443 no) multilib=no ;;
3444 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3445 esac
3446 else
3447 multilib=yes
3451 # We may get other options which we leave undocumented:
3452 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3453 # See config-ml.in if you want the gory details.
3455 if test "$srcdir" = "."; then
3456 if test "$with_target_subdir" != "."; then
3457 multi_basedir="$srcdir/$with_multisrctop../.."
3458 else
3459 multi_basedir="$srcdir/$with_multisrctop.."
3461 else
3462 multi_basedir="$srcdir/.."
3466 # Even if the default multilib is not a cross compilation,
3467 # it may be that some of the other multilibs are.
3468 if test $cross_compiling = no && test $multilib = yes \
3469 && test "x${with_multisubdir}" != x ; then
3470 cross_compiling=maybe
3473 ac_config_commands="$ac_config_commands default-1"
3476 # Handy for debugging:
3477 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3479 # Are we being configured with some form of cross compiler?
3480 # NB: We don't actually need to know this just now, but when, say, a test
3481 # suite is included, we'll have to know.
3482 if test "$build" != "$host"; then
3483 LIBGFOR_IS_NATIVE=false
3485 else
3486 LIBGFOR_IS_NATIVE=true
3489 DEPDIR="${am__leading_dot}deps"
3491 ac_config_commands="$ac_config_commands depfiles"
3494 am_make=${MAKE-make}
3495 cat > confinc << 'END'
3496 am__doit:
3497 @echo this is the am__doit target
3498 .PHONY: am__doit
3500 # If we don't find an include directive, just comment out the code.
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3502 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3503 am__include="#"
3504 am__quote=
3505 _am_result=none
3506 # First try GNU make style include.
3507 echo "include confinc" > confmf
3508 # Ignore all kinds of additional output from `make'.
3509 case `$am_make -s -f confmf 2> /dev/null` in #(
3510 *the\ am__doit\ target*)
3511 am__include=include
3512 am__quote=
3513 _am_result=GNU
3515 esac
3516 # Now try BSD make style include.
3517 if test "$am__include" = "#"; then
3518 echo '.include "confinc"' > confmf
3519 case `$am_make -s -f confmf 2> /dev/null` in #(
3520 *the\ am__doit\ target*)
3521 am__include=.include
3522 am__quote="\""
3523 _am_result=BSD
3525 esac
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3530 $as_echo "$_am_result" >&6; }
3531 rm -f confinc confmf
3533 # Check whether --enable-dependency-tracking was given.
3534 if test "${enable_dependency_tracking+set}" = set; then :
3535 enableval=$enable_dependency_tracking;
3538 if test "x$enable_dependency_tracking" != xno; then
3539 am_depcomp="$ac_aux_dir/depcomp"
3540 AMDEPBACKSLASH='\'
3541 am__nodep='_no'
3543 if test "x$enable_dependency_tracking" != xno; then
3544 AMDEP_TRUE=
3545 AMDEP_FALSE='#'
3546 else
3547 AMDEP_TRUE='#'
3548 AMDEP_FALSE=
3552 ac_ext=c
3553 ac_cpp='$CPP $CPPFLAGS'
3554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3557 if test -n "$ac_tool_prefix"; then
3558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3559 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if test "${ac_cv_prog_CC+set}" = set; then :
3563 $as_echo_n "(cached) " >&6
3564 else
3565 if test -n "$CC"; then
3566 ac_cv_prog_CC="$CC" # Let the user override the test.
3567 else
3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 for as_dir in $PATH
3571 IFS=$as_save_IFS
3572 test -z "$as_dir" && as_dir=.
3573 for ac_exec_ext in '' $ac_executable_extensions; do
3574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3575 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577 break 2
3579 done
3580 done
3581 IFS=$as_save_IFS
3585 CC=$ac_cv_prog_CC
3586 if test -n "$CC"; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3588 $as_echo "$CC" >&6; }
3589 else
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591 $as_echo "no" >&6; }
3596 if test -z "$ac_cv_prog_CC"; then
3597 ac_ct_CC=$CC
3598 # Extract the first word of "gcc", so it can be a program name with args.
3599 set dummy gcc; ac_word=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3603 $as_echo_n "(cached) " >&6
3604 else
3605 if test -n "$ac_ct_CC"; then
3606 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3607 else
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 for as_dir in $PATH
3611 IFS=$as_save_IFS
3612 test -z "$as_dir" && as_dir=.
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3615 ac_cv_prog_ac_ct_CC="gcc"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 break 2
3619 done
3620 done
3621 IFS=$as_save_IFS
3625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3626 if test -n "$ac_ct_CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3628 $as_echo "$ac_ct_CC" >&6; }
3629 else
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3634 if test "x$ac_ct_CC" = x; then
3635 CC=""
3636 else
3637 case $cross_compiling:$ac_tool_warned in
3638 yes:)
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3641 ac_tool_warned=yes ;;
3642 esac
3643 CC=$ac_ct_CC
3645 else
3646 CC="$ac_cv_prog_CC"
3649 if test -z "$CC"; then
3650 if test -n "$ac_tool_prefix"; then
3651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3652 set dummy ${ac_tool_prefix}cc; ac_word=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; }
3655 if test "${ac_cv_prog_CC+set}" = set; then :
3656 $as_echo_n "(cached) " >&6
3657 else
3658 if test -n "$CC"; then
3659 ac_cv_prog_CC="$CC" # Let the user override the test.
3660 else
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3664 IFS=$as_save_IFS
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3668 ac_cv_prog_CC="${ac_tool_prefix}cc"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 break 2
3672 done
3673 done
3674 IFS=$as_save_IFS
3678 CC=$ac_cv_prog_CC
3679 if test -n "$CC"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3681 $as_echo "$CC" >&6; }
3682 else
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3690 if test -z "$CC"; then
3691 # Extract the first word of "cc", so it can be a program name with args.
3692 set dummy cc; ac_word=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if test "${ac_cv_prog_CC+set}" = set; then :
3696 $as_echo_n "(cached) " >&6
3697 else
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC="$CC" # Let the user override the test.
3700 else
3701 ac_prog_rejected=no
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 for as_dir in $PATH
3705 IFS=$as_save_IFS
3706 test -z "$as_dir" && as_dir=.
3707 for ac_exec_ext in '' $ac_executable_extensions; do
3708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3710 ac_prog_rejected=yes
3711 continue
3713 ac_cv_prog_CC="cc"
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 break 2
3717 done
3718 done
3719 IFS=$as_save_IFS
3721 if test $ac_prog_rejected = yes; then
3722 # We found a bogon in the path, so make sure we never use it.
3723 set dummy $ac_cv_prog_CC
3724 shift
3725 if test $# != 0; then
3726 # We chose a different compiler from the bogus one.
3727 # However, it has the same basename, so the bogon will be chosen
3728 # first if we set CC to just the basename; use the full file name.
3729 shift
3730 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3735 CC=$ac_cv_prog_CC
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3746 if test -z "$CC"; then
3747 if test -n "$ac_tool_prefix"; then
3748 for ac_prog in cl.exe
3750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if test "${ac_cv_prog_CC+set}" = set; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 if test -n "$CC"; then
3758 ac_cv_prog_CC="$CC" # Let the user override the test.
3759 else
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 for as_dir in $PATH
3763 IFS=$as_save_IFS
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3767 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 break 2
3771 done
3772 done
3773 IFS=$as_save_IFS
3777 CC=$ac_cv_prog_CC
3778 if test -n "$CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3780 $as_echo "$CC" >&6; }
3781 else
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3787 test -n "$CC" && break
3788 done
3790 if test -z "$CC"; then
3791 ac_ct_CC=$CC
3792 for ac_prog in cl.exe
3794 # Extract the first word of "$ac_prog", so it can be a program name with args.
3795 set dummy $ac_prog; ac_word=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3799 $as_echo_n "(cached) " >&6
3800 else
3801 if test -n "$ac_ct_CC"; then
3802 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3803 else
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805 for as_dir in $PATH
3807 IFS=$as_save_IFS
3808 test -z "$as_dir" && as_dir=.
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3811 ac_cv_prog_ac_ct_CC="$ac_prog"
3812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 break 2
3815 done
3816 done
3817 IFS=$as_save_IFS
3821 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3822 if test -n "$ac_ct_CC"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3824 $as_echo "$ac_ct_CC" >&6; }
3825 else
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3831 test -n "$ac_ct_CC" && break
3832 done
3834 if test "x$ac_ct_CC" = x; then
3835 CC=""
3836 else
3837 case $cross_compiling:$ac_tool_warned in
3838 yes:)
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3841 ac_tool_warned=yes ;;
3842 esac
3843 CC=$ac_ct_CC
3850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3852 as_fn_error "no acceptable C compiler found in \$PATH
3853 See \`config.log' for more details." "$LINENO" 5; }
3855 # Provide some information about the compiler.
3856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3857 set X $ac_compile
3858 ac_compiler=$2
3859 for ac_option in --version -v -V -qversion; do
3860 { { ac_try="$ac_compiler $ac_option >&5"
3861 case "(($ac_try" in
3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3864 esac
3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866 $as_echo "$ac_try_echo"; } >&5
3867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3868 ac_status=$?
3869 if test -s conftest.err; then
3870 sed '10a\
3871 ... rest of stderr output deleted ...
3872 10q' conftest.err >conftest.er1
3873 cat conftest.er1 >&5
3874 rm -f conftest.er1 conftest.err
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }
3878 done
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3884 main ()
3888 return 0;
3890 _ACEOF
3891 # FIXME: Cleanup?
3892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3893 (eval $ac_link) 2>&5
3894 ac_status=$?
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }; then :
3897 gcc_no_link=no
3898 else
3899 gcc_no_link=yes
3901 if test x$gcc_no_link = xyes; then
3902 # Setting cross_compile will disable run tests; it will
3903 # also disable AC_CHECK_FILE but that's generally
3904 # correct if we can't link.
3905 cross_compiling=yes
3906 EXEEXT=
3907 else
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3912 main ()
3916 return 0;
3918 _ACEOF
3919 ac_clean_files_save=$ac_clean_files
3920 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3921 # Try to create an executable without -o first, disregard a.out.
3922 # It will help us diagnose broken compilers, and finding out an intuition
3923 # of exeext.
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3925 $as_echo_n "checking for C compiler default output file name... " >&6; }
3926 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3928 # The possible output files:
3929 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3931 ac_rmfiles=
3932 for ac_file in $ac_files
3934 case $ac_file in
3935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3936 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3937 esac
3938 done
3939 rm -f $ac_rmfiles
3941 if { { ac_try="$ac_link_default"
3942 case "(($ac_try" in
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3945 esac
3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_link_default") 2>&5
3949 ac_status=$?
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }; then :
3952 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3953 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3954 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3955 # so that the user can short-circuit this test for compilers unknown to
3956 # Autoconf.
3957 for ac_file in $ac_files ''
3959 test -f "$ac_file" || continue
3960 case $ac_file in
3961 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3963 [ab].out )
3964 # We found the default executable, but exeext='' is most
3965 # certainly right.
3966 break;;
3967 *.* )
3968 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3969 then :; else
3970 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3972 # We set ac_cv_exeext here because the later test for it is not
3973 # safe: cross compilers may not add the suffix if given an `-o'
3974 # argument, so we may need to know it at that point already.
3975 # Even if this section looks crufty: it has the advantage of
3976 # actually working.
3977 break;;
3979 break;;
3980 esac
3981 done
3982 test "$ac_cv_exeext" = no && ac_cv_exeext=
3984 else
3985 ac_file=''
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3988 $as_echo "$ac_file" >&6; }
3989 if test -z "$ac_file"; then :
3990 $as_echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995 { as_fn_set_status 77
3996 as_fn_error "C compiler cannot create executables
3997 See \`config.log' for more details." "$LINENO" 5; }; }
3999 ac_exeext=$ac_cv_exeext
4001 # Check that the compiler produces executables we can run. If not, either
4002 # the compiler is broken, or we cross compile.
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4004 $as_echo_n "checking whether the C compiler works... " >&6; }
4005 # If not cross compiling, check that we can run a simple program.
4006 if test "$cross_compiling" != yes; then
4007 if { ac_try='./$ac_file'
4008 { { case "(($ac_try" in
4009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010 *) ac_try_echo=$ac_try;;
4011 esac
4012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4013 $as_echo "$ac_try_echo"; } >&5
4014 (eval "$ac_try") 2>&5
4015 ac_status=$?
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }; }; then
4018 cross_compiling=no
4019 else
4020 if test "$cross_compiling" = maybe; then
4021 cross_compiling=yes
4022 else
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error "cannot run C compiled programs.
4026 If you meant to cross compile, use \`--host'.
4027 See \`config.log' for more details." "$LINENO" 5; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4032 $as_echo "yes" >&6; }
4034 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4035 ac_clean_files=$ac_clean_files_save
4036 # Check that the compiler produces executables we can run. If not, either
4037 # the compiler is broken, or we cross compile.
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4039 $as_echo_n "checking whether we are cross compiling... " >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4041 $as_echo "$cross_compiling" >&6; }
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4044 $as_echo_n "checking for suffix of executables... " >&6; }
4045 if { { ac_try="$ac_link"
4046 case "(($ac_try" in
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4049 esac
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_link") 2>&5
4053 ac_status=$?
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }; then :
4056 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4057 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4058 # work properly (i.e., refer to `conftest.exe'), while it won't with
4059 # `rm'.
4060 for ac_file in conftest.exe conftest conftest.*; do
4061 test -f "$ac_file" || continue
4062 case $ac_file in
4063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4064 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4065 break;;
4066 * ) break;;
4067 esac
4068 done
4069 else
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 as_fn_error "cannot compute suffix of executables: cannot compile and link
4073 See \`config.log' for more details." "$LINENO" 5; }
4075 rm -f conftest$ac_cv_exeext
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4077 $as_echo "$ac_cv_exeext" >&6; }
4079 rm -f conftest.$ac_ext
4080 EXEEXT=$ac_cv_exeext
4081 ac_exeext=$EXEEXT
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4084 $as_echo_n "checking for suffix of object files... " >&6; }
4085 if test "${ac_cv_objext+set}" = set; then :
4086 $as_echo_n "(cached) " >&6
4087 else
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4092 main ()
4096 return 0;
4098 _ACEOF
4099 rm -f conftest.o conftest.obj
4100 if { { ac_try="$ac_compile"
4101 case "(($ac_try" in
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4104 esac
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_compile") 2>&5
4108 ac_status=$?
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; then :
4111 for ac_file in conftest.o conftest.obj conftest.*; do
4112 test -f "$ac_file" || continue;
4113 case $ac_file in
4114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4115 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4116 break;;
4117 esac
4118 done
4119 else
4120 $as_echo "$as_me: failed program was:" >&5
4121 sed 's/^/| /' conftest.$ac_ext >&5
4123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4125 as_fn_error "cannot compute suffix of object files: cannot compile
4126 See \`config.log' for more details." "$LINENO" 5; }
4128 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4131 $as_echo "$ac_cv_objext" >&6; }
4132 OBJEXT=$ac_cv_objext
4133 ac_objext=$OBJEXT
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4135 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4136 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4137 $as_echo_n "(cached) " >&6
4138 else
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4143 main ()
4145 #ifndef __GNUC__
4146 choke me
4147 #endif
4150 return 0;
4152 _ACEOF
4153 if ac_fn_c_try_compile "$LINENO"; then :
4154 ac_compiler_gnu=yes
4155 else
4156 ac_compiler_gnu=no
4158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4159 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4163 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4164 if test $ac_compiler_gnu = yes; then
4165 GCC=yes
4166 else
4167 GCC=
4169 ac_test_CFLAGS=${CFLAGS+set}
4170 ac_save_CFLAGS=$CFLAGS
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4172 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4173 if test "${ac_cv_prog_cc_g+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4175 else
4176 ac_save_c_werror_flag=$ac_c_werror_flag
4177 ac_c_werror_flag=yes
4178 ac_cv_prog_cc_g=no
4179 CFLAGS="-g"
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4184 main ()
4188 return 0;
4190 _ACEOF
4191 if ac_fn_c_try_compile "$LINENO"; then :
4192 ac_cv_prog_cc_g=yes
4193 else
4194 CFLAGS=""
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4199 main ()
4203 return 0;
4205 _ACEOF
4206 if ac_fn_c_try_compile "$LINENO"; then :
4208 else
4209 ac_c_werror_flag=$ac_save_c_werror_flag
4210 CFLAGS="-g"
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4215 main ()
4219 return 0;
4221 _ACEOF
4222 if ac_fn_c_try_compile "$LINENO"; then :
4223 ac_cv_prog_cc_g=yes
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 ac_c_werror_flag=$ac_save_c_werror_flag
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4233 $as_echo "$ac_cv_prog_cc_g" >&6; }
4234 if test "$ac_test_CFLAGS" = set; then
4235 CFLAGS=$ac_save_CFLAGS
4236 elif test $ac_cv_prog_cc_g = yes; then
4237 if test "$GCC" = yes; then
4238 CFLAGS="-g -O2"
4239 else
4240 CFLAGS="-g"
4242 else
4243 if test "$GCC" = yes; then
4244 CFLAGS="-O2"
4245 else
4246 CFLAGS=
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4250 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4251 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4252 $as_echo_n "(cached) " >&6
4253 else
4254 ac_cv_prog_cc_c89=no
4255 ac_save_CC=$CC
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4258 #include <stdarg.h>
4259 #include <stdio.h>
4260 #include <sys/types.h>
4261 #include <sys/stat.h>
4262 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4263 struct buf { int x; };
4264 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4265 static char *e (p, i)
4266 char **p;
4267 int i;
4269 return p[i];
4271 static char *f (char * (*g) (char **, int), char **p, ...)
4273 char *s;
4274 va_list v;
4275 va_start (v,p);
4276 s = g (p, va_arg (v,int));
4277 va_end (v);
4278 return s;
4281 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4282 function prototypes and stuff, but not '\xHH' hex character constants.
4283 These don't provoke an error unfortunately, instead are silently treated
4284 as 'x'. The following induces an error, until -std is added to get
4285 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4286 array size at least. It's necessary to write '\x00'==0 to get something
4287 that's true only with -std. */
4288 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4290 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4291 inside strings and character constants. */
4292 #define FOO(x) 'x'
4293 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4295 int test (int i, double x);
4296 struct s1 {int (*f) (int a);};
4297 struct s2 {int (*f) (double a);};
4298 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4299 int argc;
4300 char **argv;
4302 main ()
4304 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4306 return 0;
4308 _ACEOF
4309 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4310 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4312 CC="$ac_save_CC $ac_arg"
4313 if ac_fn_c_try_compile "$LINENO"; then :
4314 ac_cv_prog_cc_c89=$ac_arg
4316 rm -f core conftest.err conftest.$ac_objext
4317 test "x$ac_cv_prog_cc_c89" != "xno" && break
4318 done
4319 rm -f conftest.$ac_ext
4320 CC=$ac_save_CC
4323 # AC_CACHE_VAL
4324 case "x$ac_cv_prog_cc_c89" in
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4327 $as_echo "none needed" >&6; } ;;
4328 xno)
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4330 $as_echo "unsupported" >&6; } ;;
4332 CC="$CC $ac_cv_prog_cc_c89"
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4334 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4335 esac
4336 if test "x$ac_cv_prog_cc_c89" != xno; then :
4340 ac_ext=c
4341 ac_cpp='$CPP $CPPFLAGS'
4342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346 depcc="$CC" am_compiler_list=
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4349 $as_echo_n "checking dependency style of $depcc... " >&6; }
4350 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4351 $as_echo_n "(cached) " >&6
4352 else
4353 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4354 # We make a subdir and do the tests there. Otherwise we can end up
4355 # making bogus files that we don't know about and never remove. For
4356 # instance it was reported that on HP-UX the gcc test will end up
4357 # making a dummy file named `D' -- because `-MD' means `put the output
4358 # in D'.
4359 rm -rf conftest.dir
4360 mkdir conftest.dir
4361 # Copy depcomp to subdir because otherwise we won't find it if we're
4362 # using a relative directory.
4363 cp "$am_depcomp" conftest.dir
4364 cd conftest.dir
4365 # We will build objects and dependencies in a subdirectory because
4366 # it helps to detect inapplicable dependency modes. For instance
4367 # both Tru64's cc and ICC support -MD to output dependencies as a
4368 # side effect of compilation, but ICC will put the dependencies in
4369 # the current directory while Tru64 will put them in the object
4370 # directory.
4371 mkdir sub
4373 am_cv_CC_dependencies_compiler_type=none
4374 if test "$am_compiler_list" = ""; then
4375 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4377 am__universal=false
4378 case " $depcc " in #(
4379 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4380 esac
4382 for depmode in $am_compiler_list; do
4383 # Setup a source with many dependencies, because some compilers
4384 # like to wrap large dependency lists on column 80 (with \), and
4385 # we should not choose a depcomp mode which is confused by this.
4387 # We need to recreate these files for each test, as the compiler may
4388 # overwrite some of them when testing with obscure command lines.
4389 # This happens at least with the AIX C compiler.
4390 : > sub/conftest.c
4391 for i in 1 2 3 4 5 6; do
4392 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4393 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4394 # Solaris 8's {/usr,}/bin/sh.
4395 touch sub/conftst$i.h
4396 done
4397 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4399 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4400 # mode. It turns out that the SunPro C++ compiler does not properly
4401 # handle `-M -o', and we need to detect this. Also, some Intel
4402 # versions had trouble with output in subdirs
4403 am__obj=sub/conftest.${OBJEXT-o}
4404 am__minus_obj="-o $am__obj"
4405 case $depmode in
4406 gcc)
4407 # This depmode causes a compiler race in universal mode.
4408 test "$am__universal" = false || continue
4410 nosideeffect)
4411 # after this tag, mechanisms are not by side-effect, so they'll
4412 # only be used when explicitly requested
4413 if test "x$enable_dependency_tracking" = xyes; then
4414 continue
4415 else
4416 break
4419 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4420 # This compiler won't grok `-c -o', but also, the minuso test has
4421 # not run yet. These depmodes are late enough in the game, and
4422 # so weak that their functioning should not be impacted.
4423 am__obj=conftest.${OBJEXT-o}
4424 am__minus_obj=
4426 none) break ;;
4427 esac
4428 if depmode=$depmode \
4429 source=sub/conftest.c object=$am__obj \
4430 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4431 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4432 >/dev/null 2>conftest.err &&
4433 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4434 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4435 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4436 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4437 # icc doesn't choke on unknown options, it will just issue warnings
4438 # or remarks (even with -Werror). So we grep stderr for any message
4439 # that says an option was ignored or not supported.
4440 # When given -MP, icc 7.0 and 7.1 complain thusly:
4441 # icc: Command line warning: ignoring option '-M'; no argument required
4442 # The diagnosis changed in icc 8.0:
4443 # icc: Command line remark: option '-MP' not supported
4444 if (grep 'ignoring option' conftest.err ||
4445 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4446 am_cv_CC_dependencies_compiler_type=$depmode
4447 break
4450 done
4452 cd ..
4453 rm -rf conftest.dir
4454 else
4455 am_cv_CC_dependencies_compiler_type=none
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4460 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4461 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4464 test "x$enable_dependency_tracking" != xno \
4465 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4466 am__fastdepCC_TRUE=
4467 am__fastdepCC_FALSE='#'
4468 else
4469 am__fastdepCC_TRUE='#'
4470 am__fastdepCC_FALSE=
4475 ac_ext=c
4476 ac_cpp='$CPP $CPPFLAGS'
4477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4481 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4482 # On Suns, sometimes $CPP names a directory.
4483 if test -n "$CPP" && test -d "$CPP"; then
4484 CPP=
4486 if test -z "$CPP"; then
4487 if test "${ac_cv_prog_CPP+set}" = set; then :
4488 $as_echo_n "(cached) " >&6
4489 else
4490 # Double quotes because CPP needs to be expanded
4491 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4493 ac_preproc_ok=false
4494 for ac_c_preproc_warn_flag in '' yes
4496 # Use a header file that comes with gcc, so configuring glibc
4497 # with a fresh cross-compiler works.
4498 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4499 # <limits.h> exists even on freestanding compilers.
4500 # On the NeXT, cc -E runs the code through the compiler's parser,
4501 # not just through cpp. "Syntax error" is here to catch this case.
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4504 #ifdef __STDC__
4505 # include <limits.h>
4506 #else
4507 # include <assert.h>
4508 #endif
4509 Syntax error
4510 _ACEOF
4511 if ac_fn_c_try_cpp "$LINENO"; then :
4513 else
4514 # Broken: fails on valid input.
4515 continue
4517 rm -f conftest.err conftest.$ac_ext
4519 # OK, works on sane cases. Now check whether nonexistent headers
4520 # can be detected and how.
4521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4523 #include <ac_nonexistent.h>
4524 _ACEOF
4525 if ac_fn_c_try_cpp "$LINENO"; then :
4526 # Broken: success on invalid input.
4527 continue
4528 else
4529 # Passes both tests.
4530 ac_preproc_ok=:
4531 break
4533 rm -f conftest.err conftest.$ac_ext
4535 done
4536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4537 rm -f conftest.err conftest.$ac_ext
4538 if $ac_preproc_ok; then :
4539 break
4542 done
4543 ac_cv_prog_CPP=$CPP
4546 CPP=$ac_cv_prog_CPP
4547 else
4548 ac_cv_prog_CPP=$CPP
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4551 $as_echo "$CPP" >&6; }
4552 ac_preproc_ok=false
4553 for ac_c_preproc_warn_flag in '' yes
4555 # Use a header file that comes with gcc, so configuring glibc
4556 # with a fresh cross-compiler works.
4557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4558 # <limits.h> exists even on freestanding compilers.
4559 # On the NeXT, cc -E runs the code through the compiler's parser,
4560 # not just through cpp. "Syntax error" is here to catch this case.
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4563 #ifdef __STDC__
4564 # include <limits.h>
4565 #else
4566 # include <assert.h>
4567 #endif
4568 Syntax error
4569 _ACEOF
4570 if ac_fn_c_try_cpp "$LINENO"; then :
4572 else
4573 # Broken: fails on valid input.
4574 continue
4576 rm -f conftest.err conftest.$ac_ext
4578 # OK, works on sane cases. Now check whether nonexistent headers
4579 # can be detected and how.
4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4582 #include <ac_nonexistent.h>
4583 _ACEOF
4584 if ac_fn_c_try_cpp "$LINENO"; then :
4585 # Broken: success on invalid input.
4586 continue
4587 else
4588 # Passes both tests.
4589 ac_preproc_ok=:
4590 break
4592 rm -f conftest.err conftest.$ac_ext
4594 done
4595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4596 rm -f conftest.err conftest.$ac_ext
4597 if $ac_preproc_ok; then :
4599 else
4600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4602 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4603 See \`config.log' for more details." "$LINENO" 5; }
4606 ac_ext=c
4607 ac_cpp='$CPP $CPPFLAGS'
4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4614 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4615 if test "${ac_cv_path_GREP+set}" = set; then :
4616 $as_echo_n "(cached) " >&6
4617 else
4618 if test -z "$GREP"; then
4619 ac_path_GREP_found=false
4620 # Loop through the user's path and test for each of PROGNAME-LIST
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4624 IFS=$as_save_IFS
4625 test -z "$as_dir" && as_dir=.
4626 for ac_prog in grep ggrep; do
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4629 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4630 # Check for GNU ac_path_GREP and select it if it is found.
4631 # Check for GNU $ac_path_GREP
4632 case `"$ac_path_GREP" --version 2>&1` in
4633 *GNU*)
4634 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4636 ac_count=0
4637 $as_echo_n 0123456789 >"conftest.in"
4638 while :
4640 cat "conftest.in" "conftest.in" >"conftest.tmp"
4641 mv "conftest.tmp" "conftest.in"
4642 cp "conftest.in" "conftest.nl"
4643 $as_echo 'GREP' >> "conftest.nl"
4644 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4645 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4646 as_fn_arith $ac_count + 1 && ac_count=$as_val
4647 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4648 # Best one so far, save it but keep looking for a better one
4649 ac_cv_path_GREP="$ac_path_GREP"
4650 ac_path_GREP_max=$ac_count
4652 # 10*(2^10) chars as input seems more than enough
4653 test $ac_count -gt 10 && break
4654 done
4655 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4656 esac
4658 $ac_path_GREP_found && break 3
4659 done
4660 done
4661 done
4662 IFS=$as_save_IFS
4663 if test -z "$ac_cv_path_GREP"; then
4664 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4666 else
4667 ac_cv_path_GREP=$GREP
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4672 $as_echo "$ac_cv_path_GREP" >&6; }
4673 GREP="$ac_cv_path_GREP"
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4677 $as_echo_n "checking for egrep... " >&6; }
4678 if test "${ac_cv_path_EGREP+set}" = set; then :
4679 $as_echo_n "(cached) " >&6
4680 else
4681 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4682 then ac_cv_path_EGREP="$GREP -E"
4683 else
4684 if test -z "$EGREP"; then
4685 ac_path_EGREP_found=false
4686 # Loop through the user's path and test for each of PROGNAME-LIST
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4690 IFS=$as_save_IFS
4691 test -z "$as_dir" && as_dir=.
4692 for ac_prog in egrep; do
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4695 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4696 # Check for GNU ac_path_EGREP and select it if it is found.
4697 # Check for GNU $ac_path_EGREP
4698 case `"$ac_path_EGREP" --version 2>&1` in
4699 *GNU*)
4700 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4702 ac_count=0
4703 $as_echo_n 0123456789 >"conftest.in"
4704 while :
4706 cat "conftest.in" "conftest.in" >"conftest.tmp"
4707 mv "conftest.tmp" "conftest.in"
4708 cp "conftest.in" "conftest.nl"
4709 $as_echo 'EGREP' >> "conftest.nl"
4710 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4711 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4712 as_fn_arith $ac_count + 1 && ac_count=$as_val
4713 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4714 # Best one so far, save it but keep looking for a better one
4715 ac_cv_path_EGREP="$ac_path_EGREP"
4716 ac_path_EGREP_max=$ac_count
4718 # 10*(2^10) chars as input seems more than enough
4719 test $ac_count -gt 10 && break
4720 done
4721 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4722 esac
4724 $ac_path_EGREP_found && break 3
4725 done
4726 done
4727 done
4728 IFS=$as_save_IFS
4729 if test -z "$ac_cv_path_EGREP"; then
4730 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4732 else
4733 ac_cv_path_EGREP=$EGREP
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4739 $as_echo "$ac_cv_path_EGREP" >&6; }
4740 EGREP="$ac_cv_path_EGREP"
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4744 $as_echo_n "checking for ANSI C header files... " >&6; }
4745 if test "${ac_cv_header_stdc+set}" = set; then :
4746 $as_echo_n "(cached) " >&6
4747 else
4748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749 /* end confdefs.h. */
4750 #include <stdlib.h>
4751 #include <stdarg.h>
4752 #include <string.h>
4753 #include <float.h>
4756 main ()
4760 return 0;
4762 _ACEOF
4763 if ac_fn_c_try_compile "$LINENO"; then :
4764 ac_cv_header_stdc=yes
4765 else
4766 ac_cv_header_stdc=no
4768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4770 if test $ac_cv_header_stdc = yes; then
4771 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4774 #include <string.h>
4776 _ACEOF
4777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4778 $EGREP "memchr" >/dev/null 2>&1; then :
4780 else
4781 ac_cv_header_stdc=no
4783 rm -f conftest*
4787 if test $ac_cv_header_stdc = yes; then
4788 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 #include <stdlib.h>
4793 _ACEOF
4794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4795 $EGREP "free" >/dev/null 2>&1; then :
4797 else
4798 ac_cv_header_stdc=no
4800 rm -f conftest*
4804 if test $ac_cv_header_stdc = yes; then
4805 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4806 if test "$cross_compiling" = yes; then :
4808 else
4809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4811 #include <ctype.h>
4812 #include <stdlib.h>
4813 #if ((' ' & 0x0FF) == 0x020)
4814 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4815 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4816 #else
4817 # define ISLOWER(c) \
4818 (('a' <= (c) && (c) <= 'i') \
4819 || ('j' <= (c) && (c) <= 'r') \
4820 || ('s' <= (c) && (c) <= 'z'))
4821 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4822 #endif
4824 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4826 main ()
4828 int i;
4829 for (i = 0; i < 256; i++)
4830 if (XOR (islower (i), ISLOWER (i))
4831 || toupper (i) != TOUPPER (i))
4832 return 2;
4833 return 0;
4835 _ACEOF
4836 if ac_fn_c_try_run "$LINENO"; then :
4838 else
4839 ac_cv_header_stdc=no
4841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4842 conftest.$ac_objext conftest.beam conftest.$ac_ext
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4848 $as_echo "$ac_cv_header_stdc" >&6; }
4849 if test $ac_cv_header_stdc = yes; then
4851 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4855 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4856 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4857 inttypes.h stdint.h unistd.h
4858 do :
4859 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4860 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4862 eval as_val=\$$as_ac_Header
4863 if test "x$as_val" = x""yes; then :
4864 cat >>confdefs.h <<_ACEOF
4865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4866 _ACEOF
4870 done
4874 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4875 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4876 MINIX=yes
4877 else
4878 MINIX=
4882 if test "$MINIX" = yes; then
4884 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4887 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4890 $as_echo "#define _MINIX 1" >>confdefs.h
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4896 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4897 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4903 # define __EXTENSIONS__ 1
4904 $ac_includes_default
4906 main ()
4910 return 0;
4912 _ACEOF
4913 if ac_fn_c_try_compile "$LINENO"; then :
4914 ac_cv_safe_to_define___extensions__=yes
4915 else
4916 ac_cv_safe_to_define___extensions__=no
4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4921 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4922 test $ac_cv_safe_to_define___extensions__ = yes &&
4923 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4925 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4927 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4929 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4931 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4935 # Calculate toolexeclibdir
4936 # Also toolexecdir, though it's only used in toolexeclibdir
4937 case ${version_specific_libs} in
4938 yes)
4939 # Need the gcc compiler version to know where to install libraries
4940 # and header files if --enable-version-specific-runtime-libs option
4941 # is selected.
4942 toolexecdir='$(libdir)/gcc/$(target_alias)'
4943 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4946 if test -n "$with_cross_host" &&
4947 test x"$with_cross_host" != x"no"; then
4948 # Install a library built with a cross compiler in tooldir, not libdir.
4949 toolexecdir='$(exec_prefix)/$(target_alias)'
4950 toolexeclibdir='$(toolexecdir)/lib'
4951 else
4952 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4953 toolexeclibdir='$(libdir)'
4955 multi_os_directory=`$CC -print-multi-os-directory`
4956 case $multi_os_directory in
4957 .) ;; # Avoid trailing /.
4958 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4959 esac
4961 esac
4965 # Create a spec file, so that compile/link tests don't fail
4966 test -f libgfortran.spec || touch libgfortran.spec
4968 ac_ext=c
4969 ac_cpp='$CPP $CPPFLAGS'
4970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4974 # Check the compiler.
4975 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4976 # We must force CC to /not/ be precious variables; otherwise
4977 # the wrong, non-multilib-adjusted value will be used in multilibs.
4978 # As a side effect, we have to subst CFLAGS ourselves.
4982 ac_ext=c
4983 ac_cpp='$CPP $CPPFLAGS'
4984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4987 if test -n "$ac_tool_prefix"; then
4988 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4989 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if test "${ac_cv_prog_CC+set}" = set; then :
4993 $as_echo_n "(cached) " >&6
4994 else
4995 if test -n "$CC"; then
4996 ac_cv_prog_CC="$CC" # Let the user override the test.
4997 else
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 for as_dir in $PATH
5001 IFS=$as_save_IFS
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 break 2
5009 done
5010 done
5011 IFS=$as_save_IFS
5015 CC=$ac_cv_prog_CC
5016 if test -n "$CC"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5018 $as_echo "$CC" >&6; }
5019 else
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5026 if test -z "$ac_cv_prog_CC"; then
5027 ac_ct_CC=$CC
5028 # Extract the first word of "gcc", so it can be a program name with args.
5029 set dummy gcc; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$ac_ct_CC"; then
5036 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_ac_ct_CC="gcc"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5056 if test -n "$ac_ct_CC"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5058 $as_echo "$ac_ct_CC" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5064 if test "x$ac_ct_CC" = x; then
5065 CC=""
5066 else
5067 case $cross_compiling:$ac_tool_warned in
5068 yes:)
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5071 ac_tool_warned=yes ;;
5072 esac
5073 CC=$ac_ct_CC
5075 else
5076 CC="$ac_cv_prog_CC"
5079 if test -z "$CC"; then
5080 if test -n "$ac_tool_prefix"; then
5081 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5082 set dummy ${ac_tool_prefix}cc; ac_word=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if test "${ac_cv_prog_CC+set}" = set; then :
5086 $as_echo_n "(cached) " >&6
5087 else
5088 if test -n "$CC"; then
5089 ac_cv_prog_CC="$CC" # Let the user override the test.
5090 else
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5094 IFS=$as_save_IFS
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098 ac_cv_prog_CC="${ac_tool_prefix}cc"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 break 2
5102 done
5103 done
5104 IFS=$as_save_IFS
5108 CC=$ac_cv_prog_CC
5109 if test -n "$CC"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5111 $as_echo "$CC" >&6; }
5112 else
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5120 if test -z "$CC"; then
5121 # Extract the first word of "cc", so it can be a program name with args.
5122 set dummy cc; ac_word=$2
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124 $as_echo_n "checking for $ac_word... " >&6; }
5125 if test "${ac_cv_prog_CC+set}" = set; then :
5126 $as_echo_n "(cached) " >&6
5127 else
5128 if test -n "$CC"; then
5129 ac_cv_prog_CC="$CC" # Let the user override the test.
5130 else
5131 ac_prog_rejected=no
5132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5133 for as_dir in $PATH
5135 IFS=$as_save_IFS
5136 test -z "$as_dir" && as_dir=.
5137 for ac_exec_ext in '' $ac_executable_extensions; do
5138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5139 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5140 ac_prog_rejected=yes
5141 continue
5143 ac_cv_prog_CC="cc"
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 break 2
5147 done
5148 done
5149 IFS=$as_save_IFS
5151 if test $ac_prog_rejected = yes; then
5152 # We found a bogon in the path, so make sure we never use it.
5153 set dummy $ac_cv_prog_CC
5154 shift
5155 if test $# != 0; then
5156 # We chose a different compiler from the bogus one.
5157 # However, it has the same basename, so the bogon will be chosen
5158 # first if we set CC to just the basename; use the full file name.
5159 shift
5160 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5165 CC=$ac_cv_prog_CC
5166 if test -n "$CC"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5168 $as_echo "$CC" >&6; }
5169 else
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5176 if test -z "$CC"; then
5177 if test -n "$ac_tool_prefix"; then
5178 for ac_prog in cl.exe
5180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if test "${ac_cv_prog_CC+set}" = set; then :
5185 $as_echo_n "(cached) " >&6
5186 else
5187 if test -n "$CC"; then
5188 ac_cv_prog_CC="$CC" # Let the user override the test.
5189 else
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH
5193 IFS=$as_save_IFS
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5197 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 break 2
5201 done
5202 done
5203 IFS=$as_save_IFS
5207 CC=$ac_cv_prog_CC
5208 if test -n "$CC"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5210 $as_echo "$CC" >&6; }
5211 else
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5217 test -n "$CC" && break
5218 done
5220 if test -z "$CC"; then
5221 ac_ct_CC=$CC
5222 for ac_prog in cl.exe
5224 # Extract the first word of "$ac_prog", so it can be a program name with args.
5225 set dummy $ac_prog; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -n "$ac_ct_CC"; then
5232 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5241 ac_cv_prog_ac_ct_CC="$ac_prog"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 break 2
5245 done
5246 done
5247 IFS=$as_save_IFS
5251 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5252 if test -n "$ac_ct_CC"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5254 $as_echo "$ac_ct_CC" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 test -n "$ac_ct_CC" && break
5262 done
5264 if test "x$ac_ct_CC" = x; then
5265 CC=""
5266 else
5267 case $cross_compiling:$ac_tool_warned in
5268 yes:)
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5271 ac_tool_warned=yes ;;
5272 esac
5273 CC=$ac_ct_CC
5280 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5282 as_fn_error "no acceptable C compiler found in \$PATH
5283 See \`config.log' for more details." "$LINENO" 5; }
5285 # Provide some information about the compiler.
5286 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5287 set X $ac_compile
5288 ac_compiler=$2
5289 for ac_option in --version -v -V -qversion; do
5290 { { ac_try="$ac_compiler $ac_option >&5"
5291 case "(($ac_try" in
5292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5293 *) ac_try_echo=$ac_try;;
5294 esac
5295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5296 $as_echo "$ac_try_echo"; } >&5
5297 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5298 ac_status=$?
5299 if test -s conftest.err; then
5300 sed '10a\
5301 ... rest of stderr output deleted ...
5302 10q' conftest.err >conftest.er1
5303 cat conftest.er1 >&5
5304 rm -f conftest.er1 conftest.err
5306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5307 test $ac_status = 0; }
5308 done
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5311 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5312 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5313 $as_echo_n "(cached) " >&6
5314 else
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5319 main ()
5321 #ifndef __GNUC__
5322 choke me
5323 #endif
5326 return 0;
5328 _ACEOF
5329 if ac_fn_c_try_compile "$LINENO"; then :
5330 ac_compiler_gnu=yes
5331 else
5332 ac_compiler_gnu=no
5334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5335 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5339 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5340 if test $ac_compiler_gnu = yes; then
5341 GCC=yes
5342 else
5343 GCC=
5345 ac_test_CFLAGS=${CFLAGS+set}
5346 ac_save_CFLAGS=$CFLAGS
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5348 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5349 if test "${ac_cv_prog_cc_g+set}" = set; then :
5350 $as_echo_n "(cached) " >&6
5351 else
5352 ac_save_c_werror_flag=$ac_c_werror_flag
5353 ac_c_werror_flag=yes
5354 ac_cv_prog_cc_g=no
5355 CFLAGS="-g"
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5360 main ()
5364 return 0;
5366 _ACEOF
5367 if ac_fn_c_try_compile "$LINENO"; then :
5368 ac_cv_prog_cc_g=yes
5369 else
5370 CFLAGS=""
5371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5375 main ()
5379 return 0;
5381 _ACEOF
5382 if ac_fn_c_try_compile "$LINENO"; then :
5384 else
5385 ac_c_werror_flag=$ac_save_c_werror_flag
5386 CFLAGS="-g"
5387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388 /* end confdefs.h. */
5391 main ()
5395 return 0;
5397 _ACEOF
5398 if ac_fn_c_try_compile "$LINENO"; then :
5399 ac_cv_prog_cc_g=yes
5401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5406 ac_c_werror_flag=$ac_save_c_werror_flag
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5409 $as_echo "$ac_cv_prog_cc_g" >&6; }
5410 if test "$ac_test_CFLAGS" = set; then
5411 CFLAGS=$ac_save_CFLAGS
5412 elif test $ac_cv_prog_cc_g = yes; then
5413 if test "$GCC" = yes; then
5414 CFLAGS="-g -O2"
5415 else
5416 CFLAGS="-g"
5418 else
5419 if test "$GCC" = yes; then
5420 CFLAGS="-O2"
5421 else
5422 CFLAGS=
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5426 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5427 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5428 $as_echo_n "(cached) " >&6
5429 else
5430 ac_cv_prog_cc_c89=no
5431 ac_save_CC=$CC
5432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5434 #include <stdarg.h>
5435 #include <stdio.h>
5436 #include <sys/types.h>
5437 #include <sys/stat.h>
5438 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5439 struct buf { int x; };
5440 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5441 static char *e (p, i)
5442 char **p;
5443 int i;
5445 return p[i];
5447 static char *f (char * (*g) (char **, int), char **p, ...)
5449 char *s;
5450 va_list v;
5451 va_start (v,p);
5452 s = g (p, va_arg (v,int));
5453 va_end (v);
5454 return s;
5457 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5458 function prototypes and stuff, but not '\xHH' hex character constants.
5459 These don't provoke an error unfortunately, instead are silently treated
5460 as 'x'. The following induces an error, until -std is added to get
5461 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5462 array size at least. It's necessary to write '\x00'==0 to get something
5463 that's true only with -std. */
5464 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5466 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5467 inside strings and character constants. */
5468 #define FOO(x) 'x'
5469 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5471 int test (int i, double x);
5472 struct s1 {int (*f) (int a);};
5473 struct s2 {int (*f) (double a);};
5474 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5475 int argc;
5476 char **argv;
5478 main ()
5480 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5482 return 0;
5484 _ACEOF
5485 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5486 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5488 CC="$ac_save_CC $ac_arg"
5489 if ac_fn_c_try_compile "$LINENO"; then :
5490 ac_cv_prog_cc_c89=$ac_arg
5492 rm -f core conftest.err conftest.$ac_objext
5493 test "x$ac_cv_prog_cc_c89" != "xno" && break
5494 done
5495 rm -f conftest.$ac_ext
5496 CC=$ac_save_CC
5499 # AC_CACHE_VAL
5500 case "x$ac_cv_prog_cc_c89" in
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5503 $as_echo "none needed" >&6; } ;;
5504 xno)
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5506 $as_echo "unsupported" >&6; } ;;
5508 CC="$CC $ac_cv_prog_cc_c89"
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5510 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5511 esac
5512 if test "x$ac_cv_prog_cc_c89" != xno; then :
5516 ac_ext=c
5517 ac_cpp='$CPP $CPPFLAGS'
5518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5522 depcc="$CC" am_compiler_list=
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5525 $as_echo_n "checking dependency style of $depcc... " >&6; }
5526 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5527 $as_echo_n "(cached) " >&6
5528 else
5529 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5530 # We make a subdir and do the tests there. Otherwise we can end up
5531 # making bogus files that we don't know about and never remove. For
5532 # instance it was reported that on HP-UX the gcc test will end up
5533 # making a dummy file named `D' -- because `-MD' means `put the output
5534 # in D'.
5535 rm -rf conftest.dir
5536 mkdir conftest.dir
5537 # Copy depcomp to subdir because otherwise we won't find it if we're
5538 # using a relative directory.
5539 cp "$am_depcomp" conftest.dir
5540 cd conftest.dir
5541 # We will build objects and dependencies in a subdirectory because
5542 # it helps to detect inapplicable dependency modes. For instance
5543 # both Tru64's cc and ICC support -MD to output dependencies as a
5544 # side effect of compilation, but ICC will put the dependencies in
5545 # the current directory while Tru64 will put them in the object
5546 # directory.
5547 mkdir sub
5549 am_cv_CC_dependencies_compiler_type=none
5550 if test "$am_compiler_list" = ""; then
5551 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5553 am__universal=false
5554 case " $depcc " in #(
5555 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5556 esac
5558 for depmode in $am_compiler_list; do
5559 # Setup a source with many dependencies, because some compilers
5560 # like to wrap large dependency lists on column 80 (with \), and
5561 # we should not choose a depcomp mode which is confused by this.
5563 # We need to recreate these files for each test, as the compiler may
5564 # overwrite some of them when testing with obscure command lines.
5565 # This happens at least with the AIX C compiler.
5566 : > sub/conftest.c
5567 for i in 1 2 3 4 5 6; do
5568 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5569 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5570 # Solaris 8's {/usr,}/bin/sh.
5571 touch sub/conftst$i.h
5572 done
5573 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5575 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5576 # mode. It turns out that the SunPro C++ compiler does not properly
5577 # handle `-M -o', and we need to detect this. Also, some Intel
5578 # versions had trouble with output in subdirs
5579 am__obj=sub/conftest.${OBJEXT-o}
5580 am__minus_obj="-o $am__obj"
5581 case $depmode in
5582 gcc)
5583 # This depmode causes a compiler race in universal mode.
5584 test "$am__universal" = false || continue
5586 nosideeffect)
5587 # after this tag, mechanisms are not by side-effect, so they'll
5588 # only be used when explicitly requested
5589 if test "x$enable_dependency_tracking" = xyes; then
5590 continue
5591 else
5592 break
5595 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5596 # This compiler won't grok `-c -o', but also, the minuso test has
5597 # not run yet. These depmodes are late enough in the game, and
5598 # so weak that their functioning should not be impacted.
5599 am__obj=conftest.${OBJEXT-o}
5600 am__minus_obj=
5602 none) break ;;
5603 esac
5604 if depmode=$depmode \
5605 source=sub/conftest.c object=$am__obj \
5606 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5607 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5608 >/dev/null 2>conftest.err &&
5609 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5610 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5611 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5612 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5613 # icc doesn't choke on unknown options, it will just issue warnings
5614 # or remarks (even with -Werror). So we grep stderr for any message
5615 # that says an option was ignored or not supported.
5616 # When given -MP, icc 7.0 and 7.1 complain thusly:
5617 # icc: Command line warning: ignoring option '-M'; no argument required
5618 # The diagnosis changed in icc 8.0:
5619 # icc: Command line remark: option '-MP' not supported
5620 if (grep 'ignoring option' conftest.err ||
5621 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5622 am_cv_CC_dependencies_compiler_type=$depmode
5623 break
5626 done
5628 cd ..
5629 rm -rf conftest.dir
5630 else
5631 am_cv_CC_dependencies_compiler_type=none
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5636 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5637 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5640 test "x$enable_dependency_tracking" != xno \
5641 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5642 am__fastdepCC_TRUE=
5643 am__fastdepCC_FALSE='#'
5644 else
5645 am__fastdepCC_TRUE='#'
5646 am__fastdepCC_FALSE=
5654 if test "x$CC" != xcc; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5656 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5657 else
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5659 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5661 set dummy $CC; ac_cc=`$as_echo "$2" |
5662 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5663 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5664 $as_echo_n "(cached) " >&6
5665 else
5666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5667 /* end confdefs.h. */
5670 main ()
5674 return 0;
5676 _ACEOF
5677 # Make sure it works both with $CC and with simple cc.
5678 # We do the test twice because some compilers refuse to overwrite an
5679 # existing .o file with -o, though they will create one.
5680 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5681 rm -f conftest2.*
5682 if { { case "(($ac_try" in
5683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5684 *) ac_try_echo=$ac_try;;
5685 esac
5686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5687 $as_echo "$ac_try_echo"; } >&5
5688 (eval "$ac_try") 2>&5
5689 ac_status=$?
5690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5691 test $ac_status = 0; } &&
5692 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5694 *) ac_try_echo=$ac_try;;
5695 esac
5696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5697 $as_echo "$ac_try_echo"; } >&5
5698 (eval "$ac_try") 2>&5
5699 ac_status=$?
5700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5701 test $ac_status = 0; };
5702 then
5703 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5704 if test "x$CC" != xcc; then
5705 # Test first that cc exists at all.
5706 if { ac_try='cc -c conftest.$ac_ext >&5'
5707 { { 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; }; }; then
5717 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5718 rm -f conftest2.*
5719 if { { case "(($ac_try" in
5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5722 esac
5723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5724 $as_echo "$ac_try_echo"; } >&5
5725 (eval "$ac_try") 2>&5
5726 ac_status=$?
5727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5728 test $ac_status = 0; } &&
5729 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5731 *) ac_try_echo=$ac_try;;
5732 esac
5733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5734 $as_echo "$ac_try_echo"; } >&5
5735 (eval "$ac_try") 2>&5
5736 ac_status=$?
5737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5738 test $ac_status = 0; };
5739 then
5740 # cc works too.
5742 else
5743 # cc exists but doesn't like -o.
5744 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5748 else
5749 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5751 rm -f core conftest*
5754 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5756 $as_echo "yes" >&6; }
5757 else
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5761 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5765 # FIXME: we rely on the cache variable name because
5766 # there is no other way.
5767 set dummy $CC
5768 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5769 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5770 if test "$am_t" != yes; then
5771 # Losing compiler, so override with the script.
5772 # FIXME: It is wrong to rewrite CC.
5773 # But if we don't then we get into trouble of one sort or another.
5774 # A longer-term fix would be to have automake use am__CC in this case,
5775 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5776 CC="$am_aux_dir/compile $CC"
5781 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5782 if test "x$GCC" = "xyes"; then
5783 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5784 ## We like to use C11 and C99 routines when available. This makes
5785 ## sure that
5786 ## __STDC_VERSION__ is set such that libc includes make them available.
5787 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5788 ## Compile the following tests with the same system header contents
5789 ## that we'll encounter when compiling our own source files.
5790 CFLAGS="-std=gnu11 $CFLAGS"
5793 # Add CET specific flags if CET is enabled
5794 # Check whether --enable-cet was given.
5795 if test "${enable_cet+set}" = set; then :
5796 enableval=$enable_cet;
5797 case "$enableval" in
5798 yes|no|default) ;;
5799 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5800 esac
5802 else
5803 enable_cet=default
5807 case "$host" in
5808 i[34567]86-*-linux* | x86_64-*-linux*)
5809 case "$enable_cet" in
5810 default)
5811 # Check if assembler supports CET.
5812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5816 main ()
5818 asm ("setssbsy");
5820 return 0;
5822 _ACEOF
5823 if ac_fn_c_try_compile "$LINENO"; then :
5824 enable_cet=yes
5825 else
5826 enable_cet=no
5828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5830 yes)
5831 # Check if assembler supports CET.
5832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5833 /* end confdefs.h. */
5836 main ()
5838 asm ("setssbsy");
5840 return 0;
5842 _ACEOF
5843 if ac_fn_c_try_compile "$LINENO"; then :
5845 else
5846 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
5848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5850 esac
5853 enable_cet=no
5855 esac
5856 if test x$enable_cet = xyes; then
5857 CET_FLAGS="-fcf-protection -mcet"
5860 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
5861 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
5862 CFLAGS="$CFLAGS $CET_FLAGS"
5868 # Check for symbol versioning (copied from libssp).
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5870 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5871 # Check whether --enable-symvers was given.
5872 if test "${enable_symvers+set}" = set; then :
5873 enableval=$enable_symvers; gfortran_use_symver=$enableval
5874 else
5875 gfortran_use_symver=yes
5878 if test "x$gfortran_use_symver" != xno; then
5879 save_LDFLAGS="$LDFLAGS"
5880 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5881 cat > conftest.map <<EOF
5882 FOO_1.0 {
5883 global: *foo*; bar; local: *;
5886 if test x$gcc_no_link = xyes; then
5887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5891 int foo;
5893 main ()
5897 return 0;
5899 _ACEOF
5900 if ac_fn_c_try_link "$LINENO"; then :
5901 gfortran_use_symver=gnu
5902 else
5903 gfortran_use_symver=no
5905 rm -f core conftest.err conftest.$ac_objext \
5906 conftest$ac_exeext conftest.$ac_ext
5907 if test x$gfortran_use_symver = xno; then
5908 case "$target_os" in
5909 solaris2*)
5910 LDFLAGS="$save_LDFLAGS"
5911 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5912 # Sun ld cannot handle wildcards and treats all entries as undefined.
5913 cat > conftest.map <<EOF
5914 FOO_1.0 {
5915 global: foo; local: *;
5918 if test x$gcc_no_link = xyes; then
5919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5922 /* end confdefs.h. */
5923 int foo;
5925 main ()
5929 return 0;
5931 _ACEOF
5932 if ac_fn_c_try_link "$LINENO"; then :
5933 gfortran_use_symver=sun
5934 else
5935 gfortran_use_symver=no
5937 rm -f core conftest.err conftest.$ac_objext \
5938 conftest$ac_exeext conftest.$ac_ext
5940 esac
5942 LDFLAGS="$save_LDFLAGS"
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5945 $as_echo "$gfortran_use_symver" >&6; }
5946 if test "x$gfortran_use_symver" != xno; then
5947 LIBGFOR_USE_SYMVER_TRUE=
5948 LIBGFOR_USE_SYMVER_FALSE='#'
5949 else
5950 LIBGFOR_USE_SYMVER_TRUE='#'
5951 LIBGFOR_USE_SYMVER_FALSE=
5954 if test "x$gfortran_use_symver" = xgnu; then
5955 LIBGFOR_USE_SYMVER_GNU_TRUE=
5956 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5957 else
5958 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5959 LIBGFOR_USE_SYMVER_GNU_FALSE=
5962 if test "x$gfortran_use_symver" = xsun; then
5963 LIBGFOR_USE_SYMVER_SUN_TRUE=
5964 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5965 else
5966 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5967 LIBGFOR_USE_SYMVER_SUN_FALSE=
5971 # For GPU offloading, not everything in libfortran can be supported.
5972 # Currently, the only target that has this problem is nvptx. The
5973 # following is a (partial) list of features that are unsupportable on
5974 # this particular target:
5975 # * Constructors
5976 # * alloca
5977 # * C library support for I/O, with printf as the one notable exception
5978 # * C library support for other features such as signal, environment
5979 # variables, time functions
5981 if test "x${target_cpu}" = xnvptx; then
5982 LIBGFOR_MINIMAL_TRUE=
5983 LIBGFOR_MINIMAL_FALSE='#'
5984 else
5985 LIBGFOR_MINIMAL_TRUE='#'
5986 LIBGFOR_MINIMAL_FALSE=
5990 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5991 # similarly to how libstdc++ does it
5992 ac_test_CFLAGS="${CFLAGS+set}"
5993 ac_save_CFLAGS="$CFLAGS"
5995 # Check for -ffunction-sections -fdata-sections
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5997 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5998 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6000 /* end confdefs.h. */
6003 main ()
6005 int foo;
6007 return 0;
6009 _ACEOF
6010 if ac_fn_c_try_compile "$LINENO"; then :
6011 ac_fdsections=yes
6012 else
6013 ac_fdsections=no
6015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6016 if test "$ac_test_CFLAGS" = set; then
6017 CFLAGS="$ac_save_CFLAGS"
6018 else
6019 # this is the suspicious part
6020 CFLAGS=""
6022 if test x"$ac_fdsections" = x"yes"; then
6023 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6026 $as_echo "$ac_fdsections" >&6; }
6029 # Check linker hardware capability support.
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6031 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6032 if test "${ac_cv_path_SED+set}" = set; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6036 for ac_i in 1 2 3 4 5 6 7; do
6037 ac_script="$ac_script$as_nl$ac_script"
6038 done
6039 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6040 { ac_script=; unset ac_script;}
6041 if test -z "$SED"; then
6042 ac_path_SED_found=false
6043 # Loop through the user's path and test for each of PROGNAME-LIST
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 for as_dir in $PATH
6047 IFS=$as_save_IFS
6048 test -z "$as_dir" && as_dir=.
6049 for ac_prog in sed gsed; do
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6052 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6053 # Check for GNU ac_path_SED and select it if it is found.
6054 # Check for GNU $ac_path_SED
6055 case `"$ac_path_SED" --version 2>&1` in
6056 *GNU*)
6057 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6059 ac_count=0
6060 $as_echo_n 0123456789 >"conftest.in"
6061 while :
6063 cat "conftest.in" "conftest.in" >"conftest.tmp"
6064 mv "conftest.tmp" "conftest.in"
6065 cp "conftest.in" "conftest.nl"
6066 $as_echo '' >> "conftest.nl"
6067 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6068 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6069 as_fn_arith $ac_count + 1 && ac_count=$as_val
6070 if test $ac_count -gt ${ac_path_SED_max-0}; then
6071 # Best one so far, save it but keep looking for a better one
6072 ac_cv_path_SED="$ac_path_SED"
6073 ac_path_SED_max=$ac_count
6075 # 10*(2^10) chars as input seems more than enough
6076 test $ac_count -gt 10 && break
6077 done
6078 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6079 esac
6081 $ac_path_SED_found && break 3
6082 done
6083 done
6084 done
6085 IFS=$as_save_IFS
6086 if test -z "$ac_cv_path_SED"; then
6087 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6089 else
6090 ac_cv_path_SED=$SED
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6095 $as_echo "$ac_cv_path_SED" >&6; }
6096 SED="$ac_cv_path_SED"
6097 rm -f conftest.sed
6099 test -z "$SED" && SED=sed
6100 Xsed="$SED -e 1s/^X//"
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6113 $as_echo_n "checking for fgrep... " >&6; }
6114 if test "${ac_cv_path_FGREP+set}" = set; then :
6115 $as_echo_n "(cached) " >&6
6116 else
6117 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6118 then ac_cv_path_FGREP="$GREP -F"
6119 else
6120 if test -z "$FGREP"; then
6121 ac_path_FGREP_found=false
6122 # Loop through the user's path and test for each of PROGNAME-LIST
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6126 IFS=$as_save_IFS
6127 test -z "$as_dir" && as_dir=.
6128 for ac_prog in fgrep; do
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6131 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6132 # Check for GNU ac_path_FGREP and select it if it is found.
6133 # Check for GNU $ac_path_FGREP
6134 case `"$ac_path_FGREP" --version 2>&1` in
6135 *GNU*)
6136 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6138 ac_count=0
6139 $as_echo_n 0123456789 >"conftest.in"
6140 while :
6142 cat "conftest.in" "conftest.in" >"conftest.tmp"
6143 mv "conftest.tmp" "conftest.in"
6144 cp "conftest.in" "conftest.nl"
6145 $as_echo 'FGREP' >> "conftest.nl"
6146 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6147 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6148 as_fn_arith $ac_count + 1 && ac_count=$as_val
6149 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6150 # Best one so far, save it but keep looking for a better one
6151 ac_cv_path_FGREP="$ac_path_FGREP"
6152 ac_path_FGREP_max=$ac_count
6154 # 10*(2^10) chars as input seems more than enough
6155 test $ac_count -gt 10 && break
6156 done
6157 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6158 esac
6160 $ac_path_FGREP_found && break 3
6161 done
6162 done
6163 done
6164 IFS=$as_save_IFS
6165 if test -z "$ac_cv_path_FGREP"; then
6166 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6168 else
6169 ac_cv_path_FGREP=$FGREP
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6175 $as_echo "$ac_cv_path_FGREP" >&6; }
6176 FGREP="$ac_cv_path_FGREP"
6179 test -z "$GREP" && GREP=grep
6197 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6198 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6199 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6202 $as_echo_n "checking how to print strings... " >&6; }
6203 # Test print first, because it will be a builtin if present.
6204 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6205 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6206 ECHO='print -r --'
6207 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6208 ECHO='printf %s\n'
6209 else
6210 # Use this function as a fallback that always works.
6211 func_fallback_echo ()
6213 eval 'cat <<_LTECHO_EOF
6215 _LTECHO_EOF'
6217 ECHO='func_fallback_echo'
6220 # func_echo_all arg...
6221 # Invoke $ECHO with all args, space-separated.
6222 func_echo_all ()
6224 $ECHO ""
6227 case "$ECHO" in
6228 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6229 $as_echo "printf" >&6; } ;;
6230 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6231 $as_echo "print -r" >&6; } ;;
6232 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6233 $as_echo "cat" >&6; } ;;
6234 esac
6251 # Check whether --with-gnu-ld was given.
6252 if test "${with_gnu_ld+set}" = set; then :
6253 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6254 else
6255 with_gnu_ld=no
6258 ac_prog=ld
6259 if test "$GCC" = yes; then
6260 # Check if gcc -print-prog-name=ld gives a path.
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6262 $as_echo_n "checking for ld used by $CC... " >&6; }
6263 case $host in
6264 *-*-mingw*)
6265 # gcc leaves a trailing carriage return which upsets mingw
6266 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6268 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6269 esac
6270 case $ac_prog in
6271 # Accept absolute paths.
6272 [\\/]* | ?:[\\/]*)
6273 re_direlt='/[^/][^/]*/\.\./'
6274 # Canonicalize the pathname of ld
6275 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6276 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6277 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6278 done
6279 test -z "$LD" && LD="$ac_prog"
6282 # If it fails, then pretend we aren't using GCC.
6283 ac_prog=ld
6286 # If it is relative, then search for the first ld in PATH.
6287 with_gnu_ld=unknown
6289 esac
6290 elif test "$with_gnu_ld" = yes; then
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6292 $as_echo_n "checking for GNU ld... " >&6; }
6293 else
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6295 $as_echo_n "checking for non-GNU ld... " >&6; }
6297 if test "${lt_cv_path_LD+set}" = set; then :
6298 $as_echo_n "(cached) " >&6
6299 else
6300 if test -z "$LD"; then
6301 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6302 for ac_dir in $PATH; do
6303 IFS="$lt_save_ifs"
6304 test -z "$ac_dir" && ac_dir=.
6305 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6306 lt_cv_path_LD="$ac_dir/$ac_prog"
6307 # Check to see if the program is GNU ld. I'd rather use --version,
6308 # but apparently some variants of GNU ld only accept -v.
6309 # Break only if it was the GNU/non-GNU ld that we prefer.
6310 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6311 *GNU* | *'with BFD'*)
6312 test "$with_gnu_ld" != no && break
6315 test "$with_gnu_ld" != yes && break
6317 esac
6319 done
6320 IFS="$lt_save_ifs"
6321 else
6322 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6326 LD="$lt_cv_path_LD"
6327 if test -n "$LD"; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6329 $as_echo "$LD" >&6; }
6330 else
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332 $as_echo "no" >&6; }
6334 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6336 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6337 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6338 $as_echo_n "(cached) " >&6
6339 else
6340 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6341 case `$LD -v 2>&1 </dev/null` in
6342 *GNU* | *'with BFD'*)
6343 lt_cv_prog_gnu_ld=yes
6346 lt_cv_prog_gnu_ld=no
6348 esac
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6351 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6352 with_gnu_ld=$lt_cv_prog_gnu_ld
6363 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6366 ac_save_LDFLAGS="$LDFLAGS"
6367 LDFLAGS="$LFLAGS -mclear-hwcap"
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6370 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6371 if test x$gcc_no_link = xyes; then
6372 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6378 main ()
6380 return 0;
6382 return 0;
6384 _ACEOF
6385 if ac_fn_c_try_link "$LINENO"; then :
6386 ac_hwcap_ldflags=yes
6387 else
6388 ac_hwcap_ldflags=no
6390 rm -f core conftest.err conftest.$ac_objext \
6391 conftest$ac_exeext conftest.$ac_ext
6392 if test "$ac_hwcap_ldflags" = "yes"; then
6393 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6396 $as_echo "$ac_hwcap_ldflags" >&6; }
6398 LDFLAGS="$ac_save_LDFLAGS"
6402 if test $ac_hwcap_ldflags != no; then
6403 HAVE_HWCAP_TRUE=
6404 HAVE_HWCAP_FALSE='#'
6405 else
6406 HAVE_HWCAP_TRUE='#'
6407 HAVE_HWCAP_FALSE=
6412 # Find other programs we need.
6413 if test -n "$ac_tool_prefix"; then
6414 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6415 set dummy ${ac_tool_prefix}as; ac_word=$2
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6417 $as_echo_n "checking for $ac_word... " >&6; }
6418 if test "${ac_cv_prog_AS+set}" = set; then :
6419 $as_echo_n "(cached) " >&6
6420 else
6421 if test -n "$AS"; then
6422 ac_cv_prog_AS="$AS" # Let the user override the test.
6423 else
6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425 for as_dir in $PATH
6427 IFS=$as_save_IFS
6428 test -z "$as_dir" && as_dir=.
6429 for ac_exec_ext in '' $ac_executable_extensions; do
6430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6431 ac_cv_prog_AS="${ac_tool_prefix}as"
6432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6433 break 2
6435 done
6436 done
6437 IFS=$as_save_IFS
6441 AS=$ac_cv_prog_AS
6442 if test -n "$AS"; then
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6444 $as_echo "$AS" >&6; }
6445 else
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447 $as_echo "no" >&6; }
6452 if test -z "$ac_cv_prog_AS"; then
6453 ac_ct_AS=$AS
6454 # Extract the first word of "as", so it can be a program name with args.
6455 set dummy as; ac_word=$2
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 $as_echo_n "checking for $ac_word... " >&6; }
6458 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6459 $as_echo_n "(cached) " >&6
6460 else
6461 if test -n "$ac_ct_AS"; then
6462 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6463 else
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 for as_dir in $PATH
6467 IFS=$as_save_IFS
6468 test -z "$as_dir" && as_dir=.
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471 ac_cv_prog_ac_ct_AS="as"
6472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6473 break 2
6475 done
6476 done
6477 IFS=$as_save_IFS
6481 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6482 if test -n "$ac_ct_AS"; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6484 $as_echo "$ac_ct_AS" >&6; }
6485 else
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 $as_echo "no" >&6; }
6490 if test "x$ac_ct_AS" = x; then
6491 AS=""
6492 else
6493 case $cross_compiling:$ac_tool_warned in
6494 yes:)
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6497 ac_tool_warned=yes ;;
6498 esac
6499 AS=$ac_ct_AS
6501 else
6502 AS="$ac_cv_prog_AS"
6505 if test -n "$ac_tool_prefix"; then
6506 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6507 set dummy ${ac_tool_prefix}ar; ac_word=$2
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6509 $as_echo_n "checking for $ac_word... " >&6; }
6510 if test "${ac_cv_prog_AR+set}" = set; then :
6511 $as_echo_n "(cached) " >&6
6512 else
6513 if test -n "$AR"; then
6514 ac_cv_prog_AR="$AR" # Let the user override the test.
6515 else
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 for as_dir in $PATH
6519 IFS=$as_save_IFS
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6523 ac_cv_prog_AR="${ac_tool_prefix}ar"
6524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6525 break 2
6527 done
6528 done
6529 IFS=$as_save_IFS
6533 AR=$ac_cv_prog_AR
6534 if test -n "$AR"; then
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6536 $as_echo "$AR" >&6; }
6537 else
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 $as_echo "no" >&6; }
6544 if test -z "$ac_cv_prog_AR"; then
6545 ac_ct_AR=$AR
6546 # Extract the first word of "ar", so it can be a program name with args.
6547 set dummy ar; ac_word=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6551 $as_echo_n "(cached) " >&6
6552 else
6553 if test -n "$ac_ct_AR"; then
6554 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6555 else
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 for as_dir in $PATH
6559 IFS=$as_save_IFS
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563 ac_cv_prog_ac_ct_AR="ar"
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6565 break 2
6567 done
6568 done
6569 IFS=$as_save_IFS
6573 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6574 if test -n "$ac_ct_AR"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6576 $as_echo "$ac_ct_AR" >&6; }
6577 else
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6582 if test "x$ac_ct_AR" = x; then
6583 AR=""
6584 else
6585 case $cross_compiling:$ac_tool_warned in
6586 yes:)
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6589 ac_tool_warned=yes ;;
6590 esac
6591 AR=$ac_ct_AR
6593 else
6594 AR="$ac_cv_prog_AR"
6597 if test -n "$ac_tool_prefix"; then
6598 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6599 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 $as_echo_n "checking for $ac_word... " >&6; }
6602 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6603 $as_echo_n "(cached) " >&6
6604 else
6605 if test -n "$RANLIB"; then
6606 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6607 else
6608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6609 for as_dir in $PATH
6611 IFS=$as_save_IFS
6612 test -z "$as_dir" && as_dir=.
6613 for ac_exec_ext in '' $ac_executable_extensions; do
6614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6617 break 2
6619 done
6620 done
6621 IFS=$as_save_IFS
6625 RANLIB=$ac_cv_prog_RANLIB
6626 if test -n "$RANLIB"; then
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6628 $as_echo "$RANLIB" >&6; }
6629 else
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631 $as_echo "no" >&6; }
6636 if test -z "$ac_cv_prog_RANLIB"; then
6637 ac_ct_RANLIB=$RANLIB
6638 # Extract the first word of "ranlib", so it can be a program name with args.
6639 set dummy ranlib; ac_word=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6643 $as_echo_n "(cached) " >&6
6644 else
6645 if test -n "$ac_ct_RANLIB"; then
6646 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6647 else
6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6649 for as_dir in $PATH
6651 IFS=$as_save_IFS
6652 test -z "$as_dir" && as_dir=.
6653 for ac_exec_ext in '' $ac_executable_extensions; do
6654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6655 ac_cv_prog_ac_ct_RANLIB="ranlib"
6656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6657 break 2
6659 done
6660 done
6661 IFS=$as_save_IFS
6665 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6666 if test -n "$ac_ct_RANLIB"; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6668 $as_echo "$ac_ct_RANLIB" >&6; }
6669 else
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6674 if test "x$ac_ct_RANLIB" = x; then
6675 RANLIB="ranlib-not-found-in-path-error"
6676 else
6677 case $cross_compiling:$ac_tool_warned in
6678 yes:)
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6681 ac_tool_warned=yes ;;
6682 esac
6683 RANLIB=$ac_ct_RANLIB
6685 else
6686 RANLIB="$ac_cv_prog_RANLIB"
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6690 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6691 set x ${MAKE-make}
6692 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6693 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6694 $as_echo_n "(cached) " >&6
6695 else
6696 cat >conftest.make <<\_ACEOF
6697 SHELL = /bin/sh
6698 all:
6699 @echo '@@@%%%=$(MAKE)=@@@%%%'
6700 _ACEOF
6701 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6702 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6703 *@@@%%%=?*=@@@%%%*)
6704 eval ac_cv_prog_make_${ac_make}_set=yes;;
6706 eval ac_cv_prog_make_${ac_make}_set=no;;
6707 esac
6708 rm -f conftest.make
6710 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6712 $as_echo "yes" >&6; }
6713 SET_MAKE=
6714 else
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6716 $as_echo "no" >&6; }
6717 SET_MAKE="MAKE=${MAKE-make}"
6722 # Configure libtool
6723 #AC_MSG_NOTICE([====== Starting libtool configuration])
6724 enable_dlopen=yes
6728 case `pwd` in
6729 *\ * | *\ *)
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6731 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6732 esac
6736 macro_version='2.2.7a'
6737 macro_revision='1.3134'
6751 ltmain="$ac_aux_dir/ltmain.sh"
6753 # Backslashify metacharacters that are still active within
6754 # double-quoted strings.
6755 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6757 # Same as above, but do not quote variable references.
6758 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6760 # Sed substitution to delay expansion of an escaped shell variable in a
6761 # double_quote_subst'ed string.
6762 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6764 # Sed substitution to delay expansion of an escaped single quote.
6765 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6767 # Sed substitution to avoid accidental globbing in evaled expressions
6768 no_glob_subst='s/\*/\\\*/g'
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6771 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6772 if test "${lt_cv_path_NM+set}" = set; then :
6773 $as_echo_n "(cached) " >&6
6774 else
6775 if test -n "$NM"; then
6776 # Let the user override the test.
6777 lt_cv_path_NM="$NM"
6778 else
6779 lt_nm_to_check="${ac_tool_prefix}nm"
6780 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6781 lt_nm_to_check="$lt_nm_to_check nm"
6783 for lt_tmp_nm in $lt_nm_to_check; do
6784 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6785 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6786 IFS="$lt_save_ifs"
6787 test -z "$ac_dir" && ac_dir=.
6788 tmp_nm="$ac_dir/$lt_tmp_nm"
6789 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6790 # Check to see if the nm accepts a BSD-compat flag.
6791 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6792 # nm: unknown option "B" ignored
6793 # Tru64's nm complains that /dev/null is an invalid object file
6794 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6795 */dev/null* | *'Invalid file or object type'*)
6796 lt_cv_path_NM="$tmp_nm -B"
6797 break
6800 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6801 */dev/null*)
6802 lt_cv_path_NM="$tmp_nm -p"
6803 break
6806 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6807 continue # so that we can try to find one that supports BSD flags
6809 esac
6811 esac
6813 done
6814 IFS="$lt_save_ifs"
6815 done
6816 : ${lt_cv_path_NM=no}
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6820 $as_echo "$lt_cv_path_NM" >&6; }
6821 if test "$lt_cv_path_NM" != "no"; then
6822 NM="$lt_cv_path_NM"
6823 else
6824 # Didn't find any BSD compatible name lister, look for dumpbin.
6825 if test -n "$DUMPBIN"; then :
6826 # Let the user override the test.
6827 else
6828 if test -n "$ac_tool_prefix"; then
6829 for ac_prog in dumpbin "link -dump"
6831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 $as_echo_n "checking for $ac_word... " >&6; }
6835 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6836 $as_echo_n "(cached) " >&6
6837 else
6838 if test -n "$DUMPBIN"; then
6839 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6840 else
6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 for as_dir in $PATH
6844 IFS=$as_save_IFS
6845 test -z "$as_dir" && as_dir=.
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6848 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6850 break 2
6852 done
6853 done
6854 IFS=$as_save_IFS
6858 DUMPBIN=$ac_cv_prog_DUMPBIN
6859 if test -n "$DUMPBIN"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6861 $as_echo "$DUMPBIN" >&6; }
6862 else
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 $as_echo "no" >&6; }
6868 test -n "$DUMPBIN" && break
6869 done
6871 if test -z "$DUMPBIN"; then
6872 ac_ct_DUMPBIN=$DUMPBIN
6873 for ac_prog in dumpbin "link -dump"
6875 # Extract the first word of "$ac_prog", so it can be a program name with args.
6876 set dummy $ac_prog; ac_word=$2
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878 $as_echo_n "checking for $ac_word... " >&6; }
6879 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6882 if test -n "$ac_ct_DUMPBIN"; then
6883 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6884 else
6885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6886 for as_dir in $PATH
6888 IFS=$as_save_IFS
6889 test -z "$as_dir" && as_dir=.
6890 for ac_exec_ext in '' $ac_executable_extensions; do
6891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6892 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894 break 2
6896 done
6897 done
6898 IFS=$as_save_IFS
6902 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6903 if test -n "$ac_ct_DUMPBIN"; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6905 $as_echo "$ac_ct_DUMPBIN" >&6; }
6906 else
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908 $as_echo "no" >&6; }
6912 test -n "$ac_ct_DUMPBIN" && break
6913 done
6915 if test "x$ac_ct_DUMPBIN" = x; then
6916 DUMPBIN=":"
6917 else
6918 case $cross_compiling:$ac_tool_warned in
6919 yes:)
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6922 ac_tool_warned=yes ;;
6923 esac
6924 DUMPBIN=$ac_ct_DUMPBIN
6928 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6929 *COFF*)
6930 DUMPBIN="$DUMPBIN -symbols"
6933 DUMPBIN=:
6935 esac
6938 if test "$DUMPBIN" != ":"; then
6939 NM="$DUMPBIN"
6942 test -z "$NM" && NM=nm
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6950 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6951 if test "${lt_cv_nm_interface+set}" = set; then :
6952 $as_echo_n "(cached) " >&6
6953 else
6954 lt_cv_nm_interface="BSD nm"
6955 echo "int some_variable = 0;" > conftest.$ac_ext
6956 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6957 (eval "$ac_compile" 2>conftest.err)
6958 cat conftest.err >&5
6959 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6960 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6961 cat conftest.err >&5
6962 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6963 cat conftest.out >&5
6964 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6965 lt_cv_nm_interface="MS dumpbin"
6967 rm -f conftest*
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6970 $as_echo "$lt_cv_nm_interface" >&6; }
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6973 $as_echo_n "checking whether ln -s works... " >&6; }
6974 LN_S=$as_ln_s
6975 if test "$LN_S" = "ln -s"; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6977 $as_echo "yes" >&6; }
6978 else
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6980 $as_echo "no, using $LN_S" >&6; }
6983 # find the maximum length of command line arguments
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6985 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6986 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6987 $as_echo_n "(cached) " >&6
6988 else
6990 teststring="ABCD"
6992 case $build_os in
6993 msdosdjgpp*)
6994 # On DJGPP, this test can blow up pretty badly due to problems in libc
6995 # (any single argument exceeding 2000 bytes causes a buffer overrun
6996 # during glob expansion). Even if it were fixed, the result of this
6997 # check would be larger than it should be.
6998 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7001 gnu*)
7002 # Under GNU Hurd, this test is not required because there is
7003 # no limit to the length of command line arguments.
7004 # Libtool will interpret -1 as no limit whatsoever
7005 lt_cv_sys_max_cmd_len=-1;
7008 cygwin* | mingw* | cegcc*)
7009 # On Win9x/ME, this test blows up -- it succeeds, but takes
7010 # about 5 minutes as the teststring grows exponentially.
7011 # Worse, since 9x/ME are not pre-emptively multitasking,
7012 # you end up with a "frozen" computer, even though with patience
7013 # the test eventually succeeds (with a max line length of 256k).
7014 # Instead, let's just punt: use the minimum linelength reported by
7015 # all of the supported platforms: 8192 (on NT/2K/XP).
7016 lt_cv_sys_max_cmd_len=8192;
7019 mint*)
7020 # On MiNT this can take a long time and run out of memory.
7021 lt_cv_sys_max_cmd_len=8192;
7024 amigaos*)
7025 # On AmigaOS with pdksh, this test takes hours, literally.
7026 # So we just punt and use a minimum line length of 8192.
7027 lt_cv_sys_max_cmd_len=8192;
7030 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7031 # This has been around since 386BSD, at least. Likely further.
7032 if test -x /sbin/sysctl; then
7033 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7034 elif test -x /usr/sbin/sysctl; then
7035 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7036 else
7037 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7039 # And add a safety zone
7040 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7044 interix*)
7045 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7046 lt_cv_sys_max_cmd_len=196608
7049 osf*)
7050 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7051 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7052 # nice to cause kernel panics so lets avoid the loop below.
7053 # First set a reasonable default.
7054 lt_cv_sys_max_cmd_len=16384
7056 if test -x /sbin/sysconfig; then
7057 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7058 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7059 esac
7062 sco3.2v5*)
7063 lt_cv_sys_max_cmd_len=102400
7065 sysv5* | sco5v6* | sysv4.2uw2*)
7066 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7067 if test -n "$kargmax"; then
7068 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7069 else
7070 lt_cv_sys_max_cmd_len=32768
7074 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7075 if test -n "$lt_cv_sys_max_cmd_len"; then
7076 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7077 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7078 else
7079 # Make teststring a little bigger before we do anything with it.
7080 # a 1K string should be a reasonable start.
7081 for i in 1 2 3 4 5 6 7 8 ; do
7082 teststring=$teststring$teststring
7083 done
7084 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7085 # If test is not a shell built-in, we'll probably end up computing a
7086 # maximum length that is only half of the actual maximum length, but
7087 # we can't tell.
7088 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7089 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7090 test $i != 17 # 1/2 MB should be enough
7092 i=`expr $i + 1`
7093 teststring=$teststring$teststring
7094 done
7095 # Only check the string length outside the loop.
7096 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7097 teststring=
7098 # Add a significant safety factor because C++ compilers can tack on
7099 # massive amounts of additional arguments before passing them to the
7100 # linker. It appears as though 1/2 is a usable value.
7101 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7104 esac
7108 if test -n $lt_cv_sys_max_cmd_len ; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7110 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7111 else
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7113 $as_echo "none" >&6; }
7115 max_cmd_len=$lt_cv_sys_max_cmd_len
7122 : ${CP="cp -f"}
7123 : ${MV="mv -f"}
7124 : ${RM="rm -f"}
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7127 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7128 # Try some XSI features
7129 xsi_shell=no
7130 ( _lt_dummy="a/b/c"
7131 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7132 = c,a/b,, \
7133 && eval 'test $(( 1 + 1 )) -eq 2 \
7134 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7135 && xsi_shell=yes
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7137 $as_echo "$xsi_shell" >&6; }
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7141 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7142 lt_shell_append=no
7143 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7144 >/dev/null 2>&1 \
7145 && lt_shell_append=yes
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7147 $as_echo "$lt_shell_append" >&6; }
7150 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7151 lt_unset=unset
7152 else
7153 lt_unset=false
7160 # test EBCDIC or ASCII
7161 case `echo X|tr X '\101'` in
7162 A) # ASCII based system
7163 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7164 lt_SP2NL='tr \040 \012'
7165 lt_NL2SP='tr \015\012 \040\040'
7167 *) # EBCDIC based system
7168 lt_SP2NL='tr \100 \n'
7169 lt_NL2SP='tr \r\n \100\100'
7171 esac
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7182 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7183 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7184 $as_echo_n "(cached) " >&6
7185 else
7186 lt_cv_ld_reload_flag='-r'
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7189 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7190 reload_flag=$lt_cv_ld_reload_flag
7191 case $reload_flag in
7192 "" | " "*) ;;
7193 *) reload_flag=" $reload_flag" ;;
7194 esac
7195 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7196 case $host_os in
7197 darwin*)
7198 if test "$GCC" = yes; then
7199 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7200 else
7201 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7204 esac
7214 if test -n "$ac_tool_prefix"; then
7215 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7216 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7218 $as_echo_n "checking for $ac_word... " >&6; }
7219 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7220 $as_echo_n "(cached) " >&6
7221 else
7222 if test -n "$OBJDUMP"; then
7223 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7224 else
7225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226 for as_dir in $PATH
7228 IFS=$as_save_IFS
7229 test -z "$as_dir" && as_dir=.
7230 for ac_exec_ext in '' $ac_executable_extensions; do
7231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7232 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 break 2
7236 done
7237 done
7238 IFS=$as_save_IFS
7242 OBJDUMP=$ac_cv_prog_OBJDUMP
7243 if test -n "$OBJDUMP"; then
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7245 $as_echo "$OBJDUMP" >&6; }
7246 else
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7248 $as_echo "no" >&6; }
7253 if test -z "$ac_cv_prog_OBJDUMP"; then
7254 ac_ct_OBJDUMP=$OBJDUMP
7255 # Extract the first word of "objdump", so it can be a program name with args.
7256 set dummy objdump; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$ac_ct_OBJDUMP"; then
7263 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7276 done
7277 done
7278 IFS=$as_save_IFS
7282 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7283 if test -n "$ac_ct_OBJDUMP"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7285 $as_echo "$ac_ct_OBJDUMP" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7291 if test "x$ac_ct_OBJDUMP" = x; then
7292 OBJDUMP="false"
7293 else
7294 case $cross_compiling:$ac_tool_warned in
7295 yes:)
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7298 ac_tool_warned=yes ;;
7299 esac
7300 OBJDUMP=$ac_ct_OBJDUMP
7302 else
7303 OBJDUMP="$ac_cv_prog_OBJDUMP"
7306 test -z "$OBJDUMP" && OBJDUMP=objdump
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7317 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7318 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7319 $as_echo_n "(cached) " >&6
7320 else
7321 lt_cv_file_magic_cmd='$MAGIC_CMD'
7322 lt_cv_file_magic_test_file=
7323 lt_cv_deplibs_check_method='unknown'
7324 # Need to set the preceding variable on all platforms that support
7325 # interlibrary dependencies.
7326 # 'none' -- dependencies not supported.
7327 # `unknown' -- same as none, but documents that we really don't know.
7328 # 'pass_all' -- all dependencies passed with no checks.
7329 # 'test_compile' -- check by making test program.
7330 # 'file_magic [[regex]]' -- check by looking for files in library path
7331 # which responds to the $file_magic_cmd with a given extended regex.
7332 # If you have `file' or equivalent on your system and you're not sure
7333 # whether `pass_all' will *always* work, you probably want this one.
7335 case $host_os in
7336 aix[4-9]*)
7337 lt_cv_deplibs_check_method=pass_all
7340 beos*)
7341 lt_cv_deplibs_check_method=pass_all
7344 bsdi[45]*)
7345 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7346 lt_cv_file_magic_cmd='/usr/bin/file -L'
7347 lt_cv_file_magic_test_file=/shlib/libc.so
7350 cygwin*)
7351 # func_win32_libid is a shell function defined in ltmain.sh
7352 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7353 lt_cv_file_magic_cmd='func_win32_libid'
7356 mingw* | pw32*)
7357 # Base MSYS/MinGW do not provide the 'file' command needed by
7358 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7359 # unless we find 'file', for example because we are cross-compiling.
7360 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7361 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7362 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7363 lt_cv_file_magic_cmd='func_win32_libid'
7364 else
7365 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7366 lt_cv_file_magic_cmd='$OBJDUMP -f'
7370 cegcc*)
7371 # use the weaker test based on 'objdump'. See mingw*.
7372 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7373 lt_cv_file_magic_cmd='$OBJDUMP -f'
7376 darwin* | rhapsody*)
7377 lt_cv_deplibs_check_method=pass_all
7380 freebsd* | dragonfly*)
7381 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7382 case $host_cpu in
7383 i*86 )
7384 # Not sure whether the presence of OpenBSD here was a mistake.
7385 # Let's accept both of them until this is cleared up.
7386 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7387 lt_cv_file_magic_cmd=/usr/bin/file
7388 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7390 esac
7391 else
7392 lt_cv_deplibs_check_method=pass_all
7396 gnu*)
7397 lt_cv_deplibs_check_method=pass_all
7400 haiku*)
7401 lt_cv_deplibs_check_method=pass_all
7404 hpux10.20* | hpux11*)
7405 lt_cv_file_magic_cmd=/usr/bin/file
7406 case $host_cpu in
7407 ia64*)
7408 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7409 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7411 hppa*64*)
7412 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]'
7413 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7416 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7417 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7419 esac
7422 interix[3-9]*)
7423 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7427 irix5* | irix6* | nonstopux*)
7428 case $LD in
7429 *-32|*"-32 ") libmagic=32-bit;;
7430 *-n32|*"-n32 ") libmagic=N32;;
7431 *-64|*"-64 ") libmagic=64-bit;;
7432 *) libmagic=never-match;;
7433 esac
7434 lt_cv_deplibs_check_method=pass_all
7437 # This must be Linux ELF.
7438 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7439 lt_cv_deplibs_check_method=pass_all
7442 netbsd*)
7443 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7444 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7445 else
7446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7450 newos6*)
7451 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7452 lt_cv_file_magic_cmd=/usr/bin/file
7453 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7456 *nto* | *qnx*)
7457 lt_cv_deplibs_check_method=pass_all
7460 openbsd*)
7461 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7462 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7463 else
7464 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7468 osf3* | osf4* | osf5*)
7469 lt_cv_deplibs_check_method=pass_all
7472 rdos*)
7473 lt_cv_deplibs_check_method=pass_all
7476 solaris*)
7477 lt_cv_deplibs_check_method=pass_all
7480 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7481 lt_cv_deplibs_check_method=pass_all
7484 sysv4 | sysv4.3*)
7485 case $host_vendor in
7486 motorola)
7487 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]'
7488 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7490 ncr)
7491 lt_cv_deplibs_check_method=pass_all
7493 sequent)
7494 lt_cv_file_magic_cmd='/bin/file'
7495 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7497 sni)
7498 lt_cv_file_magic_cmd='/bin/file'
7499 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7500 lt_cv_file_magic_test_file=/lib/libc.so
7502 siemens)
7503 lt_cv_deplibs_check_method=pass_all
7506 lt_cv_deplibs_check_method=pass_all
7508 esac
7511 tpf*)
7512 lt_cv_deplibs_check_method=pass_all
7514 esac
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7518 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7519 file_magic_cmd=$lt_cv_file_magic_cmd
7520 deplibs_check_method=$lt_cv_deplibs_check_method
7521 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7534 if test -n "$ac_tool_prefix"; then
7535 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7536 set dummy ${ac_tool_prefix}ar; ac_word=$2
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7538 $as_echo_n "checking for $ac_word... " >&6; }
7539 if test "${ac_cv_prog_AR+set}" = set; then :
7540 $as_echo_n "(cached) " >&6
7541 else
7542 if test -n "$AR"; then
7543 ac_cv_prog_AR="$AR" # Let the user override the test.
7544 else
7545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7546 for as_dir in $PATH
7548 IFS=$as_save_IFS
7549 test -z "$as_dir" && as_dir=.
7550 for ac_exec_ext in '' $ac_executable_extensions; do
7551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7552 ac_cv_prog_AR="${ac_tool_prefix}ar"
7553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7554 break 2
7556 done
7557 done
7558 IFS=$as_save_IFS
7562 AR=$ac_cv_prog_AR
7563 if test -n "$AR"; then
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7565 $as_echo "$AR" >&6; }
7566 else
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7568 $as_echo "no" >&6; }
7573 if test -z "$ac_cv_prog_AR"; then
7574 ac_ct_AR=$AR
7575 # Extract the first word of "ar", so it can be a program name with args.
7576 set dummy ar; ac_word=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7578 $as_echo_n "checking for $ac_word... " >&6; }
7579 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7580 $as_echo_n "(cached) " >&6
7581 else
7582 if test -n "$ac_ct_AR"; then
7583 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7584 else
7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7586 for as_dir in $PATH
7588 IFS=$as_save_IFS
7589 test -z "$as_dir" && as_dir=.
7590 for ac_exec_ext in '' $ac_executable_extensions; do
7591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7592 ac_cv_prog_ac_ct_AR="ar"
7593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7594 break 2
7596 done
7597 done
7598 IFS=$as_save_IFS
7602 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7603 if test -n "$ac_ct_AR"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7605 $as_echo "$ac_ct_AR" >&6; }
7606 else
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7608 $as_echo "no" >&6; }
7611 if test "x$ac_ct_AR" = x; then
7612 AR="false"
7613 else
7614 case $cross_compiling:$ac_tool_warned in
7615 yes:)
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7618 ac_tool_warned=yes ;;
7619 esac
7620 AR=$ac_ct_AR
7622 else
7623 AR="$ac_cv_prog_AR"
7626 test -z "$AR" && AR=ar
7627 test -z "$AR_FLAGS" && AR_FLAGS=cru
7639 if test -n "$ac_tool_prefix"; then
7640 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7641 set dummy ${ac_tool_prefix}strip; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if test "${ac_cv_prog_STRIP+set}" = set; then :
7645 $as_echo_n "(cached) " >&6
7646 else
7647 if test -n "$STRIP"; then
7648 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7649 else
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 for as_dir in $PATH
7653 IFS=$as_save_IFS
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7657 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 break 2
7661 done
7662 done
7663 IFS=$as_save_IFS
7667 STRIP=$ac_cv_prog_STRIP
7668 if test -n "$STRIP"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7670 $as_echo "$STRIP" >&6; }
7671 else
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7678 if test -z "$ac_cv_prog_STRIP"; then
7679 ac_ct_STRIP=$STRIP
7680 # Extract the first word of "strip", so it can be a program name with args.
7681 set dummy strip; ac_word=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7683 $as_echo_n "checking for $ac_word... " >&6; }
7684 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7685 $as_echo_n "(cached) " >&6
7686 else
7687 if test -n "$ac_ct_STRIP"; then
7688 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7689 else
7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 for as_dir in $PATH
7693 IFS=$as_save_IFS
7694 test -z "$as_dir" && as_dir=.
7695 for ac_exec_ext in '' $ac_executable_extensions; do
7696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7697 ac_cv_prog_ac_ct_STRIP="strip"
7698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7699 break 2
7701 done
7702 done
7703 IFS=$as_save_IFS
7707 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7708 if test -n "$ac_ct_STRIP"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7710 $as_echo "$ac_ct_STRIP" >&6; }
7711 else
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7713 $as_echo "no" >&6; }
7716 if test "x$ac_ct_STRIP" = x; then
7717 STRIP=":"
7718 else
7719 case $cross_compiling:$ac_tool_warned in
7720 yes:)
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7723 ac_tool_warned=yes ;;
7724 esac
7725 STRIP=$ac_ct_STRIP
7727 else
7728 STRIP="$ac_cv_prog_STRIP"
7731 test -z "$STRIP" && STRIP=:
7738 if test -n "$ac_tool_prefix"; then
7739 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7740 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7742 $as_echo_n "checking for $ac_word... " >&6; }
7743 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7744 $as_echo_n "(cached) " >&6
7745 else
7746 if test -n "$RANLIB"; then
7747 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7748 else
7749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7750 for as_dir in $PATH
7752 IFS=$as_save_IFS
7753 test -z "$as_dir" && as_dir=.
7754 for ac_exec_ext in '' $ac_executable_extensions; do
7755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7756 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7758 break 2
7760 done
7761 done
7762 IFS=$as_save_IFS
7766 RANLIB=$ac_cv_prog_RANLIB
7767 if test -n "$RANLIB"; then
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7769 $as_echo "$RANLIB" >&6; }
7770 else
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7772 $as_echo "no" >&6; }
7777 if test -z "$ac_cv_prog_RANLIB"; then
7778 ac_ct_RANLIB=$RANLIB
7779 # Extract the first word of "ranlib", so it can be a program name with args.
7780 set dummy ranlib; ac_word=$2
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7782 $as_echo_n "checking for $ac_word... " >&6; }
7783 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7784 $as_echo_n "(cached) " >&6
7785 else
7786 if test -n "$ac_ct_RANLIB"; then
7787 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7788 else
7789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7790 for as_dir in $PATH
7792 IFS=$as_save_IFS
7793 test -z "$as_dir" && as_dir=.
7794 for ac_exec_ext in '' $ac_executable_extensions; do
7795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7796 ac_cv_prog_ac_ct_RANLIB="ranlib"
7797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7798 break 2
7800 done
7801 done
7802 IFS=$as_save_IFS
7806 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7807 if test -n "$ac_ct_RANLIB"; then
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7809 $as_echo "$ac_ct_RANLIB" >&6; }
7810 else
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7812 $as_echo "no" >&6; }
7815 if test "x$ac_ct_RANLIB" = x; then
7816 RANLIB=":"
7817 else
7818 case $cross_compiling:$ac_tool_warned in
7819 yes:)
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7822 ac_tool_warned=yes ;;
7823 esac
7824 RANLIB=$ac_ct_RANLIB
7826 else
7827 RANLIB="$ac_cv_prog_RANLIB"
7830 test -z "$RANLIB" && RANLIB=:
7837 # Determine commands to create old-style static archives.
7838 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7839 old_postinstall_cmds='chmod 644 $oldlib'
7840 old_postuninstall_cmds=
7842 if test -n "$RANLIB"; then
7843 case $host_os in
7844 openbsd*)
7845 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7848 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7850 esac
7851 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7854 case $host_os in
7855 darwin*)
7856 lock_old_archive_extraction=yes ;;
7858 lock_old_archive_extraction=no ;;
7859 esac
7899 # If no C compiler was specified, use CC.
7900 LTCC=${LTCC-"$CC"}
7902 # If no C compiler flags were specified, use CFLAGS.
7903 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7905 # Allow CC to be a program name with arguments.
7906 compiler=$CC
7909 # Check for command to grab the raw symbol name followed by C symbol from nm.
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7911 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7912 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7913 $as_echo_n "(cached) " >&6
7914 else
7916 # These are sane defaults that work on at least a few old systems.
7917 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7919 # Character class describing NM global symbol codes.
7920 symcode='[BCDEGRST]'
7922 # Regexp to match symbols that can be accessed directly from C.
7923 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7925 # Define system-specific variables.
7926 case $host_os in
7927 aix*)
7928 symcode='[BCDT]'
7930 cygwin* | mingw* | pw32* | cegcc*)
7931 symcode='[ABCDGISTW]'
7933 hpux*)
7934 if test "$host_cpu" = ia64; then
7935 symcode='[ABCDEGRST]'
7938 irix* | nonstopux*)
7939 symcode='[BCDEGRST]'
7941 osf*)
7942 symcode='[BCDEGQRST]'
7944 solaris*)
7945 symcode='[BDRT]'
7947 sco3.2v5*)
7948 symcode='[DT]'
7950 sysv4.2uw2*)
7951 symcode='[DT]'
7953 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7954 symcode='[ABDT]'
7956 sysv4)
7957 symcode='[DFNSTU]'
7959 esac
7961 # If we're using GNU nm, then use its standard symbol codes.
7962 case `$NM -V 2>&1` in
7963 *GNU* | *'with BFD'*)
7964 symcode='[ABCDGIRSTW]' ;;
7965 esac
7967 # Transform an extracted symbol line into a proper C declaration.
7968 # Some systems (esp. on ia64) link data and code symbols differently,
7969 # so use this general approach.
7970 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7972 # Transform an extracted symbol line into symbol name and symbol address
7973 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7974 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'"
7976 # Handle CRLF in mingw tool chain
7977 opt_cr=
7978 case $build_os in
7979 mingw*)
7980 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7982 esac
7984 # Try without a prefix underscore, then with it.
7985 for ac_symprfx in "" "_"; do
7987 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7988 symxfrm="\\1 $ac_symprfx\\2 \\2"
7990 # Write the raw and C identifiers.
7991 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7992 # Fake it for dumpbin and say T for any non-static function
7993 # and D for any global variable.
7994 # Also find C++ and __fastcall symbols from MSVC++,
7995 # which start with @ or ?.
7996 lt_cv_sys_global_symbol_pipe="$AWK '"\
7997 " {last_section=section; section=\$ 3};"\
7998 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7999 " \$ 0!~/External *\|/{next};"\
8000 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8001 " {if(hide[section]) next};"\
8002 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8003 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8004 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8005 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8006 " ' prfx=^$ac_symprfx"
8007 else
8008 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8011 # Check to see that the pipe works correctly.
8012 pipe_works=no
8014 rm -f conftest*
8015 cat > conftest.$ac_ext <<_LT_EOF
8016 #ifdef __cplusplus
8017 extern "C" {
8018 #endif
8019 char nm_test_var;
8020 void nm_test_func(void);
8021 void nm_test_func(void){}
8022 #ifdef __cplusplus
8024 #endif
8025 int main(){nm_test_var='a';nm_test_func();return(0);}
8026 _LT_EOF
8028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8029 (eval $ac_compile) 2>&5
8030 ac_status=$?
8031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8032 test $ac_status = 0; }; then
8033 # Now try to grab the symbols.
8034 nlist=conftest.nm
8035 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8036 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8037 ac_status=$?
8038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8039 test $ac_status = 0; } && test -s "$nlist"; then
8040 # Try sorting and uniquifying the output.
8041 if sort "$nlist" | uniq > "$nlist"T; then
8042 mv -f "$nlist"T "$nlist"
8043 else
8044 rm -f "$nlist"T
8047 # Make sure that we snagged all the symbols we need.
8048 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8049 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8050 cat <<_LT_EOF > conftest.$ac_ext
8051 #ifdef __cplusplus
8052 extern "C" {
8053 #endif
8055 _LT_EOF
8056 # Now generate the symbol file.
8057 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8059 cat <<_LT_EOF >> conftest.$ac_ext
8061 /* The mapping between symbol names and symbols. */
8062 const struct {
8063 const char *name;
8064 void *address;
8066 lt__PROGRAM__LTX_preloaded_symbols[] =
8068 { "@PROGRAM@", (void *) 0 },
8069 _LT_EOF
8070 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8071 cat <<\_LT_EOF >> conftest.$ac_ext
8072 {0, (void *) 0}
8075 /* This works around a problem in FreeBSD linker */
8076 #ifdef FREEBSD_WORKAROUND
8077 static const void *lt_preloaded_setup() {
8078 return lt__PROGRAM__LTX_preloaded_symbols;
8080 #endif
8082 #ifdef __cplusplus
8084 #endif
8085 _LT_EOF
8086 # Now try linking the two files.
8087 mv conftest.$ac_objext conftstm.$ac_objext
8088 lt_save_LIBS="$LIBS"
8089 lt_save_CFLAGS="$CFLAGS"
8090 LIBS="conftstm.$ac_objext"
8091 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8093 (eval $ac_link) 2>&5
8094 ac_status=$?
8095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8096 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8097 pipe_works=yes
8099 LIBS="$lt_save_LIBS"
8100 CFLAGS="$lt_save_CFLAGS"
8101 else
8102 echo "cannot find nm_test_func in $nlist" >&5
8104 else
8105 echo "cannot find nm_test_var in $nlist" >&5
8107 else
8108 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8110 else
8111 echo "$progname: failed program was:" >&5
8112 cat conftest.$ac_ext >&5
8114 rm -rf conftest* conftst*
8116 # Do not use the global_symbol_pipe unless it works.
8117 if test "$pipe_works" = yes; then
8118 break
8119 else
8120 lt_cv_sys_global_symbol_pipe=
8122 done
8126 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8127 lt_cv_sys_global_symbol_to_cdecl=
8129 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8131 $as_echo "failed" >&6; }
8132 else
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8134 $as_echo "ok" >&6; }
8158 # Check whether --enable-libtool-lock was given.
8159 if test "${enable_libtool_lock+set}" = set; then :
8160 enableval=$enable_libtool_lock;
8163 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8165 # Some flags need to be propagated to the compiler or linker for good
8166 # libtool support.
8167 case $host in
8168 ia64-*-hpux*)
8169 # Find out which ABI we are using.
8170 echo 'int i;' > conftest.$ac_ext
8171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8172 (eval $ac_compile) 2>&5
8173 ac_status=$?
8174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8175 test $ac_status = 0; }; then
8176 case `/usr/bin/file conftest.$ac_objext` in
8177 *ELF-32*)
8178 HPUX_IA64_MODE="32"
8180 *ELF-64*)
8181 HPUX_IA64_MODE="64"
8183 esac
8185 rm -rf conftest*
8187 *-*-irix6*)
8188 # Find out which ABI we are using.
8189 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8191 (eval $ac_compile) 2>&5
8192 ac_status=$?
8193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8194 test $ac_status = 0; }; then
8195 if test "$lt_cv_prog_gnu_ld" = yes; then
8196 case `/usr/bin/file conftest.$ac_objext` in
8197 *32-bit*)
8198 LD="${LD-ld} -melf32bsmip"
8200 *N32*)
8201 LD="${LD-ld} -melf32bmipn32"
8203 *64-bit*)
8204 LD="${LD-ld} -melf64bmip"
8206 esac
8207 else
8208 case `/usr/bin/file conftest.$ac_objext` in
8209 *32-bit*)
8210 LD="${LD-ld} -32"
8212 *N32*)
8213 LD="${LD-ld} -n32"
8215 *64-bit*)
8216 LD="${LD-ld} -64"
8218 esac
8221 rm -rf conftest*
8224 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8225 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8226 # Find out which ABI we are using.
8227 echo 'int i;' > conftest.$ac_ext
8228 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8229 (eval $ac_compile) 2>&5
8230 ac_status=$?
8231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8232 test $ac_status = 0; }; then
8233 case `/usr/bin/file conftest.o` in
8234 *32-bit*)
8235 case $host in
8236 x86_64-*kfreebsd*-gnu)
8237 LD="${LD-ld} -m elf_i386_fbsd"
8239 x86_64-*linux*)
8240 case `/usr/bin/file conftest.o` in
8241 *x86-64*)
8242 LD="${LD-ld} -m elf32_x86_64"
8245 LD="${LD-ld} -m elf_i386"
8247 esac
8249 powerpc64le-*linux*)
8250 LD="${LD-ld} -m elf32lppclinux"
8252 powerpc64-*linux*)
8253 LD="${LD-ld} -m elf32ppclinux"
8255 s390x-*linux*)
8256 LD="${LD-ld} -m elf_s390"
8258 sparc64-*linux*)
8259 LD="${LD-ld} -m elf32_sparc"
8261 esac
8263 *64-bit*)
8264 case $host in
8265 x86_64-*kfreebsd*-gnu)
8266 LD="${LD-ld} -m elf_x86_64_fbsd"
8268 x86_64-*linux*)
8269 LD="${LD-ld} -m elf_x86_64"
8271 powerpcle-*linux*)
8272 LD="${LD-ld} -m elf64lppc"
8274 powerpc-*linux*)
8275 LD="${LD-ld} -m elf64ppc"
8277 s390*-*linux*|s390*-*tpf*)
8278 LD="${LD-ld} -m elf64_s390"
8280 sparc*-*linux*)
8281 LD="${LD-ld} -m elf64_sparc"
8283 esac
8285 esac
8287 rm -rf conftest*
8290 *-*-sco3.2v5*)
8291 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8292 SAVE_CFLAGS="$CFLAGS"
8293 CFLAGS="$CFLAGS -belf"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8295 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8296 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 ac_ext=c
8300 ac_cpp='$CPP $CPPFLAGS'
8301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8305 if test x$gcc_no_link = xyes; then
8306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8312 main ()
8316 return 0;
8318 _ACEOF
8319 if ac_fn_c_try_link "$LINENO"; then :
8320 lt_cv_cc_needs_belf=yes
8321 else
8322 lt_cv_cc_needs_belf=no
8324 rm -f core conftest.err conftest.$ac_objext \
8325 conftest$ac_exeext conftest.$ac_ext
8326 ac_ext=c
8327 ac_cpp='$CPP $CPPFLAGS'
8328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8334 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8335 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8336 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8337 CFLAGS="$SAVE_CFLAGS"
8340 sparc*-*solaris*)
8341 # Find out which ABI we are using.
8342 echo 'int i;' > conftest.$ac_ext
8343 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8344 (eval $ac_compile) 2>&5
8345 ac_status=$?
8346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8347 test $ac_status = 0; }; then
8348 case `/usr/bin/file conftest.o` in
8349 *64-bit*)
8350 case $lt_cv_prog_gnu_ld in
8351 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8353 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8354 LD="${LD-ld} -64"
8357 esac
8359 esac
8361 rm -rf conftest*
8363 esac
8365 need_locks="$enable_libtool_lock"
8368 case $host_os in
8369 rhapsody* | darwin*)
8370 if test -n "$ac_tool_prefix"; then
8371 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8372 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8374 $as_echo_n "checking for $ac_word... " >&6; }
8375 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8376 $as_echo_n "(cached) " >&6
8377 else
8378 if test -n "$DSYMUTIL"; then
8379 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8380 else
8381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8382 for as_dir in $PATH
8384 IFS=$as_save_IFS
8385 test -z "$as_dir" && as_dir=.
8386 for ac_exec_ext in '' $ac_executable_extensions; do
8387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8388 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8390 break 2
8392 done
8393 done
8394 IFS=$as_save_IFS
8398 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8399 if test -n "$DSYMUTIL"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8401 $as_echo "$DSYMUTIL" >&6; }
8402 else
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8409 if test -z "$ac_cv_prog_DSYMUTIL"; then
8410 ac_ct_DSYMUTIL=$DSYMUTIL
8411 # Extract the first word of "dsymutil", so it can be a program name with args.
8412 set dummy dsymutil; ac_word=$2
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8414 $as_echo_n "checking for $ac_word... " >&6; }
8415 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 if test -n "$ac_ct_DSYMUTIL"; then
8419 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8420 else
8421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8422 for as_dir in $PATH
8424 IFS=$as_save_IFS
8425 test -z "$as_dir" && as_dir=.
8426 for ac_exec_ext in '' $ac_executable_extensions; do
8427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8428 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8430 break 2
8432 done
8433 done
8434 IFS=$as_save_IFS
8438 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8439 if test -n "$ac_ct_DSYMUTIL"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8441 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8442 else
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8444 $as_echo "no" >&6; }
8447 if test "x$ac_ct_DSYMUTIL" = x; then
8448 DSYMUTIL=":"
8449 else
8450 case $cross_compiling:$ac_tool_warned in
8451 yes:)
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8454 ac_tool_warned=yes ;;
8455 esac
8456 DSYMUTIL=$ac_ct_DSYMUTIL
8458 else
8459 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8462 if test -n "$ac_tool_prefix"; then
8463 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8464 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8466 $as_echo_n "checking for $ac_word... " >&6; }
8467 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8468 $as_echo_n "(cached) " >&6
8469 else
8470 if test -n "$NMEDIT"; then
8471 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8472 else
8473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 for as_dir in $PATH
8476 IFS=$as_save_IFS
8477 test -z "$as_dir" && as_dir=.
8478 for ac_exec_ext in '' $ac_executable_extensions; do
8479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8480 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8482 break 2
8484 done
8485 done
8486 IFS=$as_save_IFS
8490 NMEDIT=$ac_cv_prog_NMEDIT
8491 if test -n "$NMEDIT"; then
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8493 $as_echo "$NMEDIT" >&6; }
8494 else
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8496 $as_echo "no" >&6; }
8501 if test -z "$ac_cv_prog_NMEDIT"; then
8502 ac_ct_NMEDIT=$NMEDIT
8503 # Extract the first word of "nmedit", so it can be a program name with args.
8504 set dummy nmedit; ac_word=$2
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8506 $as_echo_n "checking for $ac_word... " >&6; }
8507 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8508 $as_echo_n "(cached) " >&6
8509 else
8510 if test -n "$ac_ct_NMEDIT"; then
8511 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8512 else
8513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8514 for as_dir in $PATH
8516 IFS=$as_save_IFS
8517 test -z "$as_dir" && as_dir=.
8518 for ac_exec_ext in '' $ac_executable_extensions; do
8519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8520 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8522 break 2
8524 done
8525 done
8526 IFS=$as_save_IFS
8530 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8531 if test -n "$ac_ct_NMEDIT"; then
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8533 $as_echo "$ac_ct_NMEDIT" >&6; }
8534 else
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8536 $as_echo "no" >&6; }
8539 if test "x$ac_ct_NMEDIT" = x; then
8540 NMEDIT=":"
8541 else
8542 case $cross_compiling:$ac_tool_warned in
8543 yes:)
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8546 ac_tool_warned=yes ;;
8547 esac
8548 NMEDIT=$ac_ct_NMEDIT
8550 else
8551 NMEDIT="$ac_cv_prog_NMEDIT"
8554 if test -n "$ac_tool_prefix"; then
8555 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8556 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8558 $as_echo_n "checking for $ac_word... " >&6; }
8559 if test "${ac_cv_prog_LIPO+set}" = set; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 if test -n "$LIPO"; then
8563 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8564 else
8565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8566 for as_dir in $PATH
8568 IFS=$as_save_IFS
8569 test -z "$as_dir" && as_dir=.
8570 for ac_exec_ext in '' $ac_executable_extensions; do
8571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8572 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8574 break 2
8576 done
8577 done
8578 IFS=$as_save_IFS
8582 LIPO=$ac_cv_prog_LIPO
8583 if test -n "$LIPO"; then
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8585 $as_echo "$LIPO" >&6; }
8586 else
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8588 $as_echo "no" >&6; }
8593 if test -z "$ac_cv_prog_LIPO"; then
8594 ac_ct_LIPO=$LIPO
8595 # Extract the first word of "lipo", so it can be a program name with args.
8596 set dummy lipo; ac_word=$2
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8598 $as_echo_n "checking for $ac_word... " >&6; }
8599 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8600 $as_echo_n "(cached) " >&6
8601 else
8602 if test -n "$ac_ct_LIPO"; then
8603 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8604 else
8605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8606 for as_dir in $PATH
8608 IFS=$as_save_IFS
8609 test -z "$as_dir" && as_dir=.
8610 for ac_exec_ext in '' $ac_executable_extensions; do
8611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8612 ac_cv_prog_ac_ct_LIPO="lipo"
8613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8614 break 2
8616 done
8617 done
8618 IFS=$as_save_IFS
8622 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8623 if test -n "$ac_ct_LIPO"; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8625 $as_echo "$ac_ct_LIPO" >&6; }
8626 else
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8628 $as_echo "no" >&6; }
8631 if test "x$ac_ct_LIPO" = x; then
8632 LIPO=":"
8633 else
8634 case $cross_compiling:$ac_tool_warned in
8635 yes:)
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8638 ac_tool_warned=yes ;;
8639 esac
8640 LIPO=$ac_ct_LIPO
8642 else
8643 LIPO="$ac_cv_prog_LIPO"
8646 if test -n "$ac_tool_prefix"; then
8647 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8648 set dummy ${ac_tool_prefix}otool; ac_word=$2
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8650 $as_echo_n "checking for $ac_word... " >&6; }
8651 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 if test -n "$OTOOL"; then
8655 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8656 else
8657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8658 for as_dir in $PATH
8660 IFS=$as_save_IFS
8661 test -z "$as_dir" && as_dir=.
8662 for ac_exec_ext in '' $ac_executable_extensions; do
8663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8664 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8666 break 2
8668 done
8669 done
8670 IFS=$as_save_IFS
8674 OTOOL=$ac_cv_prog_OTOOL
8675 if test -n "$OTOOL"; then
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8677 $as_echo "$OTOOL" >&6; }
8678 else
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8680 $as_echo "no" >&6; }
8685 if test -z "$ac_cv_prog_OTOOL"; then
8686 ac_ct_OTOOL=$OTOOL
8687 # Extract the first word of "otool", so it can be a program name with args.
8688 set dummy otool; ac_word=$2
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8690 $as_echo_n "checking for $ac_word... " >&6; }
8691 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8692 $as_echo_n "(cached) " >&6
8693 else
8694 if test -n "$ac_ct_OTOOL"; then
8695 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8696 else
8697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8698 for as_dir in $PATH
8700 IFS=$as_save_IFS
8701 test -z "$as_dir" && as_dir=.
8702 for ac_exec_ext in '' $ac_executable_extensions; do
8703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8704 ac_cv_prog_ac_ct_OTOOL="otool"
8705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8706 break 2
8708 done
8709 done
8710 IFS=$as_save_IFS
8714 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8715 if test -n "$ac_ct_OTOOL"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8717 $as_echo "$ac_ct_OTOOL" >&6; }
8718 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8720 $as_echo "no" >&6; }
8723 if test "x$ac_ct_OTOOL" = x; then
8724 OTOOL=":"
8725 else
8726 case $cross_compiling:$ac_tool_warned in
8727 yes:)
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8730 ac_tool_warned=yes ;;
8731 esac
8732 OTOOL=$ac_ct_OTOOL
8734 else
8735 OTOOL="$ac_cv_prog_OTOOL"
8738 if test -n "$ac_tool_prefix"; then
8739 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8740 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8742 $as_echo_n "checking for $ac_word... " >&6; }
8743 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8744 $as_echo_n "(cached) " >&6
8745 else
8746 if test -n "$OTOOL64"; then
8747 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8748 else
8749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8750 for as_dir in $PATH
8752 IFS=$as_save_IFS
8753 test -z "$as_dir" && as_dir=.
8754 for ac_exec_ext in '' $ac_executable_extensions; do
8755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8756 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8758 break 2
8760 done
8761 done
8762 IFS=$as_save_IFS
8766 OTOOL64=$ac_cv_prog_OTOOL64
8767 if test -n "$OTOOL64"; then
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8769 $as_echo "$OTOOL64" >&6; }
8770 else
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8772 $as_echo "no" >&6; }
8777 if test -z "$ac_cv_prog_OTOOL64"; then
8778 ac_ct_OTOOL64=$OTOOL64
8779 # Extract the first word of "otool64", so it can be a program name with args.
8780 set dummy otool64; ac_word=$2
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8782 $as_echo_n "checking for $ac_word... " >&6; }
8783 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8784 $as_echo_n "(cached) " >&6
8785 else
8786 if test -n "$ac_ct_OTOOL64"; then
8787 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8788 else
8789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8790 for as_dir in $PATH
8792 IFS=$as_save_IFS
8793 test -z "$as_dir" && as_dir=.
8794 for ac_exec_ext in '' $ac_executable_extensions; do
8795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8796 ac_cv_prog_ac_ct_OTOOL64="otool64"
8797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8798 break 2
8800 done
8801 done
8802 IFS=$as_save_IFS
8806 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8807 if test -n "$ac_ct_OTOOL64"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8809 $as_echo "$ac_ct_OTOOL64" >&6; }
8810 else
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8815 if test "x$ac_ct_OTOOL64" = x; then
8816 OTOOL64=":"
8817 else
8818 case $cross_compiling:$ac_tool_warned in
8819 yes:)
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8822 ac_tool_warned=yes ;;
8823 esac
8824 OTOOL64=$ac_ct_OTOOL64
8826 else
8827 OTOOL64="$ac_cv_prog_OTOOL64"
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8857 $as_echo_n "checking for -single_module linker flag... " >&6; }
8858 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8859 $as_echo_n "(cached) " >&6
8860 else
8861 lt_cv_apple_cc_single_mod=no
8862 if test -z "${LT_MULTI_MODULE}"; then
8863 # By default we will add the -single_module flag. You can override
8864 # by either setting the environment variable LT_MULTI_MODULE
8865 # non-empty at configure time, or by adding -multi_module to the
8866 # link flags.
8867 rm -rf libconftest.dylib*
8868 echo "int foo(void){return 1;}" > conftest.c
8869 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8870 -dynamiclib -Wl,-single_module conftest.c" >&5
8871 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8872 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8873 _lt_result=$?
8874 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8875 lt_cv_apple_cc_single_mod=yes
8876 else
8877 cat conftest.err >&5
8879 rm -rf libconftest.dylib*
8880 rm -f conftest.*
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8884 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8886 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8887 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 lt_cv_ld_exported_symbols_list=no
8891 save_LDFLAGS=$LDFLAGS
8892 echo "_main" > conftest.sym
8893 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8894 if test x$gcc_no_link = xyes; then
8895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8901 main ()
8905 return 0;
8907 _ACEOF
8908 if ac_fn_c_try_link "$LINENO"; then :
8909 lt_cv_ld_exported_symbols_list=yes
8910 else
8911 lt_cv_ld_exported_symbols_list=no
8913 rm -f core conftest.err conftest.$ac_objext \
8914 conftest$ac_exeext conftest.$ac_ext
8915 LDFLAGS="$save_LDFLAGS"
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8919 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8921 $as_echo_n "checking for -force_load linker flag... " >&6; }
8922 if test "${lt_cv_ld_force_load+set}" = set; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 lt_cv_ld_force_load=no
8926 cat > conftest.c << _LT_EOF
8927 int forced_loaded() { return 2;}
8928 _LT_EOF
8929 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8930 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8931 echo "$AR cru libconftest.a conftest.o" >&5
8932 $AR cru libconftest.a conftest.o 2>&5
8933 cat > conftest.c << _LT_EOF
8934 int main() { return 0;}
8935 _LT_EOF
8936 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8937 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8938 _lt_result=$?
8939 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8940 lt_cv_ld_force_load=yes
8941 else
8942 cat conftest.err >&5
8944 rm -f conftest.err libconftest.a conftest conftest.c
8945 rm -rf conftest.dSYM
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8949 $as_echo "$lt_cv_ld_force_load" >&6; }
8950 case $host_os in
8951 rhapsody* | darwin1.[012])
8952 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8953 darwin1.*)
8954 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8955 darwin*) # darwin 5.x on
8956 # if running on 10.5 or later, the deployment target defaults
8957 # to the OS version, if on x86, and 10.4, the deployment
8958 # target defaults to 10.4. Don't you love it?
8959 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8960 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8961 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8962 10.[012][,.]*)
8963 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8964 10.*)
8965 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8966 esac
8968 esac
8969 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8970 _lt_dar_single_mod='$single_module'
8972 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8973 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8974 else
8975 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8977 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8978 _lt_dsymutil='~$DSYMUTIL $lib || :'
8979 else
8980 _lt_dsymutil=
8983 esac
8985 for ac_header in dlfcn.h
8986 do :
8987 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8989 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8990 cat >>confdefs.h <<_ACEOF
8991 #define HAVE_DLFCN_H 1
8992 _ACEOF
8996 done
9002 # Set options
9007 enable_win32_dll=no
9010 # Check whether --enable-shared was given.
9011 if test "${enable_shared+set}" = set; then :
9012 enableval=$enable_shared; p=${PACKAGE-default}
9013 case $enableval in
9014 yes) enable_shared=yes ;;
9015 no) enable_shared=no ;;
9017 enable_shared=no
9018 # Look at the argument we got. We use all the common list separators.
9019 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9020 for pkg in $enableval; do
9021 IFS="$lt_save_ifs"
9022 if test "X$pkg" = "X$p"; then
9023 enable_shared=yes
9025 done
9026 IFS="$lt_save_ifs"
9028 esac
9029 else
9030 enable_shared=yes
9041 # Check whether --enable-static was given.
9042 if test "${enable_static+set}" = set; then :
9043 enableval=$enable_static; p=${PACKAGE-default}
9044 case $enableval in
9045 yes) enable_static=yes ;;
9046 no) enable_static=no ;;
9048 enable_static=no
9049 # Look at the argument we got. We use all the common list separators.
9050 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9051 for pkg in $enableval; do
9052 IFS="$lt_save_ifs"
9053 if test "X$pkg" = "X$p"; then
9054 enable_static=yes
9056 done
9057 IFS="$lt_save_ifs"
9059 esac
9060 else
9061 enable_static=yes
9073 # Check whether --with-pic was given.
9074 if test "${with_pic+set}" = set; then :
9075 withval=$with_pic; pic_mode="$withval"
9076 else
9077 pic_mode=default
9081 test -z "$pic_mode" && pic_mode=default
9089 # Check whether --enable-fast-install was given.
9090 if test "${enable_fast_install+set}" = set; then :
9091 enableval=$enable_fast_install; p=${PACKAGE-default}
9092 case $enableval in
9093 yes) enable_fast_install=yes ;;
9094 no) enable_fast_install=no ;;
9096 enable_fast_install=no
9097 # Look at the argument we got. We use all the common list separators.
9098 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9099 for pkg in $enableval; do
9100 IFS="$lt_save_ifs"
9101 if test "X$pkg" = "X$p"; then
9102 enable_fast_install=yes
9104 done
9105 IFS="$lt_save_ifs"
9107 esac
9108 else
9109 enable_fast_install=yes
9122 # This can be used to rebuild libtool when needed
9123 LIBTOOL_DEPS="$ltmain"
9125 # Always use our own libtool.
9126 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9153 test -z "$LN_S" && LN_S="ln -s"
9168 if test -n "${ZSH_VERSION+set}" ; then
9169 setopt NO_GLOB_SUBST
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9173 $as_echo_n "checking for objdir... " >&6; }
9174 if test "${lt_cv_objdir+set}" = set; then :
9175 $as_echo_n "(cached) " >&6
9176 else
9177 rm -f .libs 2>/dev/null
9178 mkdir .libs 2>/dev/null
9179 if test -d .libs; then
9180 lt_cv_objdir=.libs
9181 else
9182 # MS-DOS does not allow filenames that begin with a dot.
9183 lt_cv_objdir=_libs
9185 rmdir .libs 2>/dev/null
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9188 $as_echo "$lt_cv_objdir" >&6; }
9189 objdir=$lt_cv_objdir
9195 cat >>confdefs.h <<_ACEOF
9196 #define LT_OBJDIR "$lt_cv_objdir/"
9197 _ACEOF
9202 case $host_os in
9203 aix3*)
9204 # AIX sometimes has problems with the GCC collect2 program. For some
9205 # reason, if we set the COLLECT_NAMES environment variable, the problems
9206 # vanish in a puff of smoke.
9207 if test "X${COLLECT_NAMES+set}" != Xset; then
9208 COLLECT_NAMES=
9209 export COLLECT_NAMES
9212 esac
9214 # Global variables:
9215 ofile=libtool
9216 can_build_shared=yes
9218 # All known linkers require a `.a' archive for static linking (except MSVC,
9219 # which needs '.lib').
9220 libext=a
9222 with_gnu_ld="$lt_cv_prog_gnu_ld"
9224 old_CC="$CC"
9225 old_CFLAGS="$CFLAGS"
9227 # Set sane defaults for various variables
9228 test -z "$CC" && CC=cc
9229 test -z "$LTCC" && LTCC=$CC
9230 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9231 test -z "$LD" && LD=ld
9232 test -z "$ac_objext" && ac_objext=o
9234 for cc_temp in $compiler""; do
9235 case $cc_temp in
9236 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9237 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9238 \-*) ;;
9239 *) break;;
9240 esac
9241 done
9242 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9245 # Only perform the check for file, if the check method requires it
9246 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9247 case $deplibs_check_method in
9248 file_magic*)
9249 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9251 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9252 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9253 $as_echo_n "(cached) " >&6
9254 else
9255 case $MAGIC_CMD in
9256 [\\/*] | ?:[\\/]*)
9257 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9260 lt_save_MAGIC_CMD="$MAGIC_CMD"
9261 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9262 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9263 for ac_dir in $ac_dummy; do
9264 IFS="$lt_save_ifs"
9265 test -z "$ac_dir" && ac_dir=.
9266 if test -f $ac_dir/${ac_tool_prefix}file; then
9267 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9268 if test -n "$file_magic_test_file"; then
9269 case $deplibs_check_method in
9270 "file_magic "*)
9271 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9272 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9273 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9274 $EGREP "$file_magic_regex" > /dev/null; then
9276 else
9277 cat <<_LT_EOF 1>&2
9279 *** Warning: the command libtool uses to detect shared libraries,
9280 *** $file_magic_cmd, produces output that libtool cannot recognize.
9281 *** The result is that libtool may fail to recognize shared libraries
9282 *** as such. This will affect the creation of libtool libraries that
9283 *** depend on shared libraries, but programs linked with such libtool
9284 *** libraries will work regardless of this problem. Nevertheless, you
9285 *** may want to report the problem to your system manager and/or to
9286 *** bug-libtool@gnu.org
9288 _LT_EOF
9289 fi ;;
9290 esac
9292 break
9294 done
9295 IFS="$lt_save_ifs"
9296 MAGIC_CMD="$lt_save_MAGIC_CMD"
9298 esac
9301 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9302 if test -n "$MAGIC_CMD"; then
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9304 $as_echo "$MAGIC_CMD" >&6; }
9305 else
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9307 $as_echo "no" >&6; }
9314 if test -z "$lt_cv_path_MAGIC_CMD"; then
9315 if test -n "$ac_tool_prefix"; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9317 $as_echo_n "checking for file... " >&6; }
9318 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9319 $as_echo_n "(cached) " >&6
9320 else
9321 case $MAGIC_CMD in
9322 [\\/*] | ?:[\\/]*)
9323 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9326 lt_save_MAGIC_CMD="$MAGIC_CMD"
9327 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9328 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9329 for ac_dir in $ac_dummy; do
9330 IFS="$lt_save_ifs"
9331 test -z "$ac_dir" && ac_dir=.
9332 if test -f $ac_dir/file; then
9333 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9334 if test -n "$file_magic_test_file"; then
9335 case $deplibs_check_method in
9336 "file_magic "*)
9337 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9338 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9339 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9340 $EGREP "$file_magic_regex" > /dev/null; then
9342 else
9343 cat <<_LT_EOF 1>&2
9345 *** Warning: the command libtool uses to detect shared libraries,
9346 *** $file_magic_cmd, produces output that libtool cannot recognize.
9347 *** The result is that libtool may fail to recognize shared libraries
9348 *** as such. This will affect the creation of libtool libraries that
9349 *** depend on shared libraries, but programs linked with such libtool
9350 *** libraries will work regardless of this problem. Nevertheless, you
9351 *** may want to report the problem to your system manager and/or to
9352 *** bug-libtool@gnu.org
9354 _LT_EOF
9355 fi ;;
9356 esac
9358 break
9360 done
9361 IFS="$lt_save_ifs"
9362 MAGIC_CMD="$lt_save_MAGIC_CMD"
9364 esac
9367 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9368 if test -n "$MAGIC_CMD"; then
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9370 $as_echo "$MAGIC_CMD" >&6; }
9371 else
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9373 $as_echo "no" >&6; }
9377 else
9378 MAGIC_CMD=:
9384 esac
9386 # Use C for the default configuration in the libtool script
9388 lt_save_CC="$CC"
9389 ac_ext=c
9390 ac_cpp='$CPP $CPPFLAGS'
9391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9396 # Source file extension for C test sources.
9397 ac_ext=c
9399 # Object file extension for compiled C test sources.
9400 objext=o
9401 objext=$objext
9403 # Code to be used in simple compile tests
9404 lt_simple_compile_test_code="int some_variable = 0;"
9406 # Code to be used in simple link tests
9407 lt_simple_link_test_code='int main(){return(0);}'
9415 # If no C compiler was specified, use CC.
9416 LTCC=${LTCC-"$CC"}
9418 # If no C compiler flags were specified, use CFLAGS.
9419 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9421 # Allow CC to be a program name with arguments.
9422 compiler=$CC
9424 # Save the default compiler, since it gets overwritten when the other
9425 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9426 compiler_DEFAULT=$CC
9428 # save warnings/boilerplate of simple test code
9429 ac_outfile=conftest.$ac_objext
9430 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9431 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9432 _lt_compiler_boilerplate=`cat conftest.err`
9433 $RM conftest*
9435 ac_outfile=conftest.$ac_objext
9436 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9437 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9438 _lt_linker_boilerplate=`cat conftest.err`
9439 $RM -r conftest*
9442 ## CAVEAT EMPTOR:
9443 ## There is no encapsulation within the following macros, do not change
9444 ## the running order or otherwise move them around unless you know exactly
9445 ## what you are doing...
9446 if test -n "$compiler"; then
9448 lt_prog_compiler_no_builtin_flag=
9450 if test "$GCC" = yes; then
9451 case $cc_basename in
9452 nvcc*)
9453 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9455 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9456 esac
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9459 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9460 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9461 $as_echo_n "(cached) " >&6
9462 else
9463 lt_cv_prog_compiler_rtti_exceptions=no
9464 ac_outfile=conftest.$ac_objext
9465 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9466 lt_compiler_flag="-fno-rtti -fno-exceptions"
9467 # Insert the option either (1) after the last *FLAGS variable, or
9468 # (2) before a word containing "conftest.", or (3) at the end.
9469 # Note that $ac_compile itself does not contain backslashes and begins
9470 # with a dollar sign (not a hyphen), so the echo should work correctly.
9471 # The option is referenced via a variable to avoid confusing sed.
9472 lt_compile=`echo "$ac_compile" | $SED \
9473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9475 -e 's:$: $lt_compiler_flag:'`
9476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9477 (eval "$lt_compile" 2>conftest.err)
9478 ac_status=$?
9479 cat conftest.err >&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 if (exit $ac_status) && test -s "$ac_outfile"; then
9482 # The compiler can only warn and ignore the option if not recognized
9483 # So say no if there are warnings other than the usual output.
9484 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9485 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9486 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9487 lt_cv_prog_compiler_rtti_exceptions=yes
9490 $RM conftest*
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9494 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9496 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9497 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9498 else
9509 lt_prog_compiler_wl=
9510 lt_prog_compiler_pic=
9511 lt_prog_compiler_static=
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9514 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9516 if test "$GCC" = yes; then
9517 lt_prog_compiler_wl='-Wl,'
9518 lt_prog_compiler_static='-static'
9520 case $host_os in
9521 aix*)
9522 # All AIX code is PIC.
9523 if test "$host_cpu" = ia64; then
9524 # AIX 5 now supports IA64 processor
9525 lt_prog_compiler_static='-Bstatic'
9527 lt_prog_compiler_pic='-fPIC'
9530 amigaos*)
9531 case $host_cpu in
9532 powerpc)
9533 # see comment about AmigaOS4 .so support
9534 lt_prog_compiler_pic='-fPIC'
9536 m68k)
9537 # FIXME: we need at least 68020 code to build shared libraries, but
9538 # adding the `-m68020' flag to GCC prevents building anything better,
9539 # like `-m68040'.
9540 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9542 esac
9545 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9546 # PIC is the default for these OSes.
9549 mingw* | cygwin* | pw32* | os2* | cegcc*)
9550 # This hack is so that the source file can tell whether it is being
9551 # built for inclusion in a dll (and should export symbols for example).
9552 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9553 # (--disable-auto-import) libraries
9554 lt_prog_compiler_pic='-DDLL_EXPORT'
9557 darwin* | rhapsody*)
9558 # PIC is the default on this platform
9559 # Common symbols not allowed in MH_DYLIB files
9560 lt_prog_compiler_pic='-fno-common'
9563 haiku*)
9564 # PIC is the default for Haiku.
9565 # The "-static" flag exists, but is broken.
9566 lt_prog_compiler_static=
9569 hpux*)
9570 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9571 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9572 # sets the default TLS model and affects inlining.
9573 case $host_cpu in
9574 hppa*64*)
9575 # +Z the default
9578 lt_prog_compiler_pic='-fPIC'
9580 esac
9583 interix[3-9]*)
9584 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9585 # Instead, we relocate shared libraries at runtime.
9588 msdosdjgpp*)
9589 # Just because we use GCC doesn't mean we suddenly get shared libraries
9590 # on systems that don't support them.
9591 lt_prog_compiler_can_build_shared=no
9592 enable_shared=no
9595 *nto* | *qnx*)
9596 # QNX uses GNU C++, but need to define -shared option too, otherwise
9597 # it will coredump.
9598 lt_prog_compiler_pic='-fPIC -shared'
9601 sysv4*MP*)
9602 if test -d /usr/nec; then
9603 lt_prog_compiler_pic=-Kconform_pic
9608 lt_prog_compiler_pic='-fPIC'
9610 esac
9612 case $cc_basename in
9613 nvcc*) # Cuda Compiler Driver 2.2
9614 lt_prog_compiler_wl='-Xlinker '
9615 lt_prog_compiler_pic='-Xcompiler -fPIC'
9617 esac
9618 else
9619 # PORTME Check for flag to pass linker flags through the system compiler.
9620 case $host_os in
9621 aix*)
9622 lt_prog_compiler_wl='-Wl,'
9623 if test "$host_cpu" = ia64; then
9624 # AIX 5 now supports IA64 processor
9625 lt_prog_compiler_static='-Bstatic'
9626 else
9627 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9631 mingw* | cygwin* | pw32* | os2* | cegcc*)
9632 # This hack is so that the source file can tell whether it is being
9633 # built for inclusion in a dll (and should export symbols for example).
9634 lt_prog_compiler_pic='-DDLL_EXPORT'
9637 hpux9* | hpux10* | hpux11*)
9638 lt_prog_compiler_wl='-Wl,'
9639 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9640 # not for PA HP-UX.
9641 case $host_cpu in
9642 hppa*64*|ia64*)
9643 # +Z the default
9646 lt_prog_compiler_pic='+Z'
9648 esac
9649 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9650 lt_prog_compiler_static='${wl}-a ${wl}archive'
9653 irix5* | irix6* | nonstopux*)
9654 lt_prog_compiler_wl='-Wl,'
9655 # PIC (with -KPIC) is the default.
9656 lt_prog_compiler_static='-non_shared'
9659 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9660 case $cc_basename in
9661 # old Intel for x86_64 which still supported -KPIC.
9662 ecc*)
9663 lt_prog_compiler_wl='-Wl,'
9664 lt_prog_compiler_pic='-KPIC'
9665 lt_prog_compiler_static='-static'
9667 # icc used to be incompatible with GCC.
9668 # ICC 10 doesn't accept -KPIC any more.
9669 icc* | ifort*)
9670 lt_prog_compiler_wl='-Wl,'
9671 lt_prog_compiler_pic='-fPIC'
9672 lt_prog_compiler_static='-static'
9674 # Lahey Fortran 8.1.
9675 lf95*)
9676 lt_prog_compiler_wl='-Wl,'
9677 lt_prog_compiler_pic='--shared'
9678 lt_prog_compiler_static='--static'
9680 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9681 # Portland Group compilers (*not* the Pentium gcc compiler,
9682 # which looks to be a dead project)
9683 lt_prog_compiler_wl='-Wl,'
9684 lt_prog_compiler_pic='-fpic'
9685 lt_prog_compiler_static='-Bstatic'
9687 ccc*)
9688 lt_prog_compiler_wl='-Wl,'
9689 # All Alpha code is PIC.
9690 lt_prog_compiler_static='-non_shared'
9692 xl* | bgxl* | bgf* | mpixl*)
9693 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9694 lt_prog_compiler_wl='-Wl,'
9695 lt_prog_compiler_pic='-qpic'
9696 lt_prog_compiler_static='-qstaticlink'
9699 case `$CC -V 2>&1 | sed 5q` in
9700 *Sun\ F* | *Sun*Fortran*)
9701 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9702 lt_prog_compiler_pic='-KPIC'
9703 lt_prog_compiler_static='-Bstatic'
9704 lt_prog_compiler_wl=''
9706 *Sun\ C*)
9707 # Sun C 5.9
9708 lt_prog_compiler_pic='-KPIC'
9709 lt_prog_compiler_static='-Bstatic'
9710 lt_prog_compiler_wl='-Wl,'
9712 esac
9714 esac
9717 newsos6)
9718 lt_prog_compiler_pic='-KPIC'
9719 lt_prog_compiler_static='-Bstatic'
9722 *nto* | *qnx*)
9723 # QNX uses GNU C++, but need to define -shared option too, otherwise
9724 # it will coredump.
9725 lt_prog_compiler_pic='-fPIC -shared'
9728 osf3* | osf4* | osf5*)
9729 lt_prog_compiler_wl='-Wl,'
9730 # All OSF/1 code is PIC.
9731 lt_prog_compiler_static='-non_shared'
9734 rdos*)
9735 lt_prog_compiler_static='-non_shared'
9738 solaris*)
9739 lt_prog_compiler_pic='-KPIC'
9740 lt_prog_compiler_static='-Bstatic'
9741 case $cc_basename in
9742 f77* | f90* | f95*)
9743 lt_prog_compiler_wl='-Qoption ld ';;
9745 lt_prog_compiler_wl='-Wl,';;
9746 esac
9749 sunos4*)
9750 lt_prog_compiler_wl='-Qoption ld '
9751 lt_prog_compiler_pic='-PIC'
9752 lt_prog_compiler_static='-Bstatic'
9755 sysv4 | sysv4.2uw2* | sysv4.3*)
9756 lt_prog_compiler_wl='-Wl,'
9757 lt_prog_compiler_pic='-KPIC'
9758 lt_prog_compiler_static='-Bstatic'
9761 sysv4*MP*)
9762 if test -d /usr/nec ;then
9763 lt_prog_compiler_pic='-Kconform_pic'
9764 lt_prog_compiler_static='-Bstatic'
9768 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9769 lt_prog_compiler_wl='-Wl,'
9770 lt_prog_compiler_pic='-KPIC'
9771 lt_prog_compiler_static='-Bstatic'
9774 unicos*)
9775 lt_prog_compiler_wl='-Wl,'
9776 lt_prog_compiler_can_build_shared=no
9779 uts4*)
9780 lt_prog_compiler_pic='-pic'
9781 lt_prog_compiler_static='-Bstatic'
9785 lt_prog_compiler_can_build_shared=no
9787 esac
9790 case $host_os in
9791 # For platforms which do not support PIC, -DPIC is meaningless:
9792 *djgpp*)
9793 lt_prog_compiler_pic=
9796 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9798 esac
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9800 $as_echo "$lt_prog_compiler_pic" >&6; }
9808 # Check to make sure the PIC flag actually works.
9810 if test -n "$lt_prog_compiler_pic"; then
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9812 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9813 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9814 $as_echo_n "(cached) " >&6
9815 else
9816 lt_cv_prog_compiler_pic_works=no
9817 ac_outfile=conftest.$ac_objext
9818 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9819 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9820 # Insert the option either (1) after the last *FLAGS variable, or
9821 # (2) before a word containing "conftest.", or (3) at the end.
9822 # Note that $ac_compile itself does not contain backslashes and begins
9823 # with a dollar sign (not a hyphen), so the echo should work correctly.
9824 # The option is referenced via a variable to avoid confusing sed.
9825 lt_compile=`echo "$ac_compile" | $SED \
9826 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9827 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9828 -e 's:$: $lt_compiler_flag:'`
9829 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9830 (eval "$lt_compile" 2>conftest.err)
9831 ac_status=$?
9832 cat conftest.err >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 if (exit $ac_status) && test -s "$ac_outfile"; then
9835 # The compiler can only warn and ignore the option if not recognized
9836 # So say no if there are warnings other than the usual output.
9837 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9838 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9839 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9840 lt_cv_prog_compiler_pic_works=yes
9843 $RM conftest*
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9847 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9849 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9850 case $lt_prog_compiler_pic in
9851 "" | " "*) ;;
9852 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9853 esac
9854 else
9855 lt_prog_compiler_pic=
9856 lt_prog_compiler_can_build_shared=no
9867 # Check to make sure the static flag actually works.
9869 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9871 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9872 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9873 $as_echo_n "(cached) " >&6
9874 else
9875 lt_cv_prog_compiler_static_works=no
9876 save_LDFLAGS="$LDFLAGS"
9877 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9878 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9879 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9880 # The linker can only warn and ignore the option if not recognized
9881 # So say no if there are warnings
9882 if test -s conftest.err; then
9883 # Append any errors to the config.log.
9884 cat conftest.err 1>&5
9885 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9886 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9887 if diff conftest.exp conftest.er2 >/dev/null; then
9888 lt_cv_prog_compiler_static_works=yes
9890 else
9891 lt_cv_prog_compiler_static_works=yes
9894 $RM -r conftest*
9895 LDFLAGS="$save_LDFLAGS"
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9899 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9901 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9903 else
9904 lt_prog_compiler_static=
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9914 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9915 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9916 $as_echo_n "(cached) " >&6
9917 else
9918 lt_cv_prog_compiler_c_o=no
9919 $RM -r conftest 2>/dev/null
9920 mkdir conftest
9921 cd conftest
9922 mkdir out
9923 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9925 lt_compiler_flag="-o out/conftest2.$ac_objext"
9926 # Insert the option either (1) after the last *FLAGS variable, or
9927 # (2) before a word containing "conftest.", or (3) at the end.
9928 # Note that $ac_compile itself does not contain backslashes and begins
9929 # with a dollar sign (not a hyphen), so the echo should work correctly.
9930 lt_compile=`echo "$ac_compile" | $SED \
9931 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9932 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9933 -e 's:$: $lt_compiler_flag:'`
9934 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9935 (eval "$lt_compile" 2>out/conftest.err)
9936 ac_status=$?
9937 cat out/conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9940 then
9941 # The compiler can only warn and ignore the option if not recognized
9942 # So say no if there are warnings
9943 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9944 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9945 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9946 lt_cv_prog_compiler_c_o=yes
9949 chmod u+w . 2>&5
9950 $RM conftest*
9951 # SGI C++ compiler will create directory out/ii_files/ for
9952 # template instantiation
9953 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9954 $RM out/* && rmdir out
9955 cd ..
9956 $RM -r conftest
9957 $RM conftest*
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9961 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9969 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9970 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9971 $as_echo_n "(cached) " >&6
9972 else
9973 lt_cv_prog_compiler_c_o=no
9974 $RM -r conftest 2>/dev/null
9975 mkdir conftest
9976 cd conftest
9977 mkdir out
9978 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9980 lt_compiler_flag="-o out/conftest2.$ac_objext"
9981 # Insert the option either (1) after the last *FLAGS variable, or
9982 # (2) before a word containing "conftest.", or (3) at the end.
9983 # Note that $ac_compile itself does not contain backslashes and begins
9984 # with a dollar sign (not a hyphen), so the echo should work correctly.
9985 lt_compile=`echo "$ac_compile" | $SED \
9986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9988 -e 's:$: $lt_compiler_flag:'`
9989 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9990 (eval "$lt_compile" 2>out/conftest.err)
9991 ac_status=$?
9992 cat out/conftest.err >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9995 then
9996 # The compiler can only warn and ignore the option if not recognized
9997 # So say no if there are warnings
9998 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9999 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10000 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10001 lt_cv_prog_compiler_c_o=yes
10004 chmod u+w . 2>&5
10005 $RM conftest*
10006 # SGI C++ compiler will create directory out/ii_files/ for
10007 # template instantiation
10008 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10009 $RM out/* && rmdir out
10010 cd ..
10011 $RM -r conftest
10012 $RM conftest*
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10016 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10021 hard_links="nottested"
10022 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10023 # do not overwrite the value of need_locks provided by the user
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10025 $as_echo_n "checking if we can lock with hard links... " >&6; }
10026 hard_links=yes
10027 $RM conftest*
10028 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10029 touch conftest.a
10030 ln conftest.a conftest.b 2>&5 || hard_links=no
10031 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10033 $as_echo "$hard_links" >&6; }
10034 if test "$hard_links" = no; then
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10036 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10037 need_locks=warn
10039 else
10040 need_locks=no
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10049 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10051 runpath_var=
10052 allow_undefined_flag=
10053 always_export_symbols=no
10054 archive_cmds=
10055 archive_expsym_cmds=
10056 compiler_needs_object=no
10057 enable_shared_with_static_runtimes=no
10058 export_dynamic_flag_spec=
10059 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10060 hardcode_automatic=no
10061 hardcode_direct=no
10062 hardcode_direct_absolute=no
10063 hardcode_libdir_flag_spec=
10064 hardcode_libdir_flag_spec_ld=
10065 hardcode_libdir_separator=
10066 hardcode_minus_L=no
10067 hardcode_shlibpath_var=unsupported
10068 inherit_rpath=no
10069 link_all_deplibs=unknown
10070 module_cmds=
10071 module_expsym_cmds=
10072 old_archive_from_new_cmds=
10073 old_archive_from_expsyms_cmds=
10074 thread_safe_flag_spec=
10075 whole_archive_flag_spec=
10076 # include_expsyms should be a list of space-separated symbols to be *always*
10077 # included in the symbol list
10078 include_expsyms=
10079 # exclude_expsyms can be an extended regexp of symbols to exclude
10080 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10081 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10082 # as well as any symbol that contains `d'.
10083 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10084 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10085 # platforms (ab)use it in PIC code, but their linkers get confused if
10086 # the symbol is explicitly referenced. Since portable code cannot
10087 # rely on this symbol name, it's probably fine to never include it in
10088 # preloaded symbol tables.
10089 # Exclude shared library initialization/finalization symbols.
10090 extract_expsyms_cmds=
10092 case $host_os in
10093 cygwin* | mingw* | pw32* | cegcc*)
10094 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10095 # When not using gcc, we currently assume that we are using
10096 # Microsoft Visual C++.
10097 if test "$GCC" != yes; then
10098 with_gnu_ld=no
10101 interix*)
10102 # we just hope/assume this is gcc and not c89 (= MSVC++)
10103 with_gnu_ld=yes
10105 openbsd*)
10106 with_gnu_ld=no
10108 esac
10110 ld_shlibs=yes
10112 # On some targets, GNU ld is compatible enough with the native linker
10113 # that we're better off using the native interface for both.
10114 lt_use_gnu_ld_interface=no
10115 if test "$with_gnu_ld" = yes; then
10116 case $host_os in
10117 aix*)
10118 # The AIX port of GNU ld has always aspired to compatibility
10119 # with the native linker. However, as the warning in the GNU ld
10120 # block says, versions before 2.19.5* couldn't really create working
10121 # shared libraries, regardless of the interface used.
10122 case `$LD -v 2>&1` in
10123 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10124 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10125 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10127 lt_use_gnu_ld_interface=yes
10129 esac
10132 lt_use_gnu_ld_interface=yes
10134 esac
10137 if test "$lt_use_gnu_ld_interface" = yes; then
10138 # If archive_cmds runs LD, not CC, wlarc should be empty
10139 wlarc='${wl}'
10141 # Set some defaults for GNU ld with shared library support. These
10142 # are reset later if shared libraries are not supported. Putting them
10143 # here allows them to be overridden if necessary.
10144 runpath_var=LD_RUN_PATH
10145 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10146 export_dynamic_flag_spec='${wl}--export-dynamic'
10147 # ancient GNU ld didn't support --whole-archive et. al.
10148 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10149 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10150 else
10151 whole_archive_flag_spec=
10153 supports_anon_versioning=no
10154 case `$LD -v 2>&1` in
10155 *GNU\ gold*) supports_anon_versioning=yes ;;
10156 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10157 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10158 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10159 *\ 2.11.*) ;; # other 2.11 versions
10160 *) supports_anon_versioning=yes ;;
10161 esac
10163 # See if GNU ld supports shared libraries.
10164 case $host_os in
10165 aix[3-9]*)
10166 # On AIX/PPC, the GNU linker is very broken
10167 if test "$host_cpu" != ia64; then
10168 ld_shlibs=no
10169 cat <<_LT_EOF 1>&2
10171 *** Warning: the GNU linker, at least up to release 2.19, is reported
10172 *** to be unable to reliably create shared libraries on AIX.
10173 *** Therefore, libtool is disabling shared libraries support. If you
10174 *** really care for shared libraries, you may want to install binutils
10175 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10176 *** You will then need to restart the configuration process.
10178 _LT_EOF
10182 amigaos*)
10183 case $host_cpu in
10184 powerpc)
10185 # see comment about AmigaOS4 .so support
10186 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10187 archive_expsym_cmds=''
10189 m68k)
10190 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)'
10191 hardcode_libdir_flag_spec='-L$libdir'
10192 hardcode_minus_L=yes
10194 esac
10197 beos*)
10198 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10199 allow_undefined_flag=unsupported
10200 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10201 # support --undefined. This deserves some investigation. FIXME
10202 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10203 else
10204 ld_shlibs=no
10208 cygwin* | mingw* | pw32* | cegcc*)
10209 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10210 # as there is no search path for DLLs.
10211 hardcode_libdir_flag_spec='-L$libdir'
10212 export_dynamic_flag_spec='${wl}--export-all-symbols'
10213 allow_undefined_flag=unsupported
10214 always_export_symbols=no
10215 enable_shared_with_static_runtimes=yes
10216 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10218 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10220 # If the export-symbols file already is a .def file (1st line
10221 # is EXPORTS), use it as is; otherwise, prepend...
10222 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10223 cp $export_symbols $output_objdir/$soname.def;
10224 else
10225 echo EXPORTS > $output_objdir/$soname.def;
10226 cat $export_symbols >> $output_objdir/$soname.def;
10228 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10229 else
10230 ld_shlibs=no
10234 haiku*)
10235 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10236 link_all_deplibs=yes
10239 interix[3-9]*)
10240 hardcode_direct=no
10241 hardcode_shlibpath_var=no
10242 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10243 export_dynamic_flag_spec='${wl}-E'
10244 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10245 # Instead, shared libraries are loaded at an image base (0x10000000 by
10246 # default) and relocated if they conflict, which is a slow very memory
10247 # consuming and fragmenting process. To avoid this, we pick a random,
10248 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10249 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10250 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10251 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'
10254 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10255 tmp_diet=no
10256 if test "$host_os" = linux-dietlibc; then
10257 case $cc_basename in
10258 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10259 esac
10261 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10262 && test "$tmp_diet" = no
10263 then
10264 tmp_addflag=' $pic_flag'
10265 tmp_sharedflag='-shared'
10266 case $cc_basename,$host_cpu in
10267 pgcc*) # Portland Group C compiler
10268 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'
10269 tmp_addflag=' $pic_flag'
10271 pgf77* | pgf90* | pgf95* | pgfortran*)
10272 # Portland Group f77 and f90 compilers
10273 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'
10274 tmp_addflag=' $pic_flag -Mnomain' ;;
10275 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10276 tmp_addflag=' -i_dynamic' ;;
10277 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10278 tmp_addflag=' -i_dynamic -nofor_main' ;;
10279 ifc* | ifort*) # Intel Fortran compiler
10280 tmp_addflag=' -nofor_main' ;;
10281 lf95*) # Lahey Fortran 8.1
10282 whole_archive_flag_spec=
10283 tmp_sharedflag='--shared' ;;
10284 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10285 tmp_sharedflag='-qmkshrobj'
10286 tmp_addflag= ;;
10287 nvcc*) # Cuda Compiler Driver 2.2
10288 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'
10289 compiler_needs_object=yes
10291 esac
10292 case `$CC -V 2>&1 | sed 5q` in
10293 *Sun\ C*) # Sun C 5.9
10294 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'
10295 compiler_needs_object=yes
10296 tmp_sharedflag='-G' ;;
10297 *Sun\ F*) # Sun Fortran 8.3
10298 tmp_sharedflag='-G' ;;
10299 esac
10300 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10302 if test "x$supports_anon_versioning" = xyes; then
10303 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10304 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10305 echo "local: *; };" >> $output_objdir/$libname.ver~
10306 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10309 case $cc_basename in
10310 xlf* | bgf* | bgxlf* | mpixlf*)
10311 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10312 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10313 hardcode_libdir_flag_spec=
10314 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10315 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10316 if test "x$supports_anon_versioning" = xyes; then
10317 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10318 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10319 echo "local: *; };" >> $output_objdir/$libname.ver~
10320 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10323 esac
10324 else
10325 ld_shlibs=no
10329 netbsd*)
10330 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10331 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10332 wlarc=
10333 else
10334 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10335 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10339 solaris*)
10340 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10341 ld_shlibs=no
10342 cat <<_LT_EOF 1>&2
10344 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10345 *** create shared libraries on Solaris systems. Therefore, libtool
10346 *** is disabling shared libraries support. We urge you to upgrade GNU
10347 *** binutils to release 2.9.1 or newer. Another option is to modify
10348 *** your PATH or compiler configuration so that the native linker is
10349 *** used, and then restart.
10351 _LT_EOF
10352 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10353 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10354 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10355 else
10356 ld_shlibs=no
10360 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10361 case `$LD -v 2>&1` in
10362 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10363 ld_shlibs=no
10364 cat <<_LT_EOF 1>&2
10366 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10367 *** reliably create shared libraries on SCO systems. Therefore, libtool
10368 *** is disabling shared libraries support. We urge you to upgrade GNU
10369 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10370 *** your PATH or compiler configuration so that the native linker is
10371 *** used, and then restart.
10373 _LT_EOF
10376 # For security reasons, it is highly recommended that you always
10377 # use absolute paths for naming shared libraries, and exclude the
10378 # DT_RUNPATH tag from executables and libraries. But doing so
10379 # requires that you compile everything twice, which is a pain.
10380 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10381 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10382 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10383 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10384 else
10385 ld_shlibs=no
10388 esac
10391 sunos4*)
10392 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10393 wlarc=
10394 hardcode_direct=yes
10395 hardcode_shlibpath_var=no
10399 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10400 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10401 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10402 else
10403 ld_shlibs=no
10406 esac
10408 if test "$ld_shlibs" = no; then
10409 runpath_var=
10410 hardcode_libdir_flag_spec=
10411 export_dynamic_flag_spec=
10412 whole_archive_flag_spec=
10414 else
10415 # PORTME fill in a description of your system's linker (not GNU ld)
10416 case $host_os in
10417 aix3*)
10418 allow_undefined_flag=unsupported
10419 always_export_symbols=yes
10420 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'
10421 # Note: this linker hardcodes the directories in LIBPATH if there
10422 # are no directories specified by -L.
10423 hardcode_minus_L=yes
10424 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10425 # Neither direct hardcoding nor static linking is supported with a
10426 # broken collect2.
10427 hardcode_direct=unsupported
10431 aix[4-9]*)
10432 if test "$host_cpu" = ia64; then
10433 # On IA64, the linker does run time linking by default, so we don't
10434 # have to do anything special.
10435 aix_use_runtimelinking=no
10436 exp_sym_flag='-Bexport'
10437 no_entry_flag=""
10438 else
10439 # If we're using GNU nm, then we don't want the "-C" option.
10440 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10441 # Also, AIX nm treats weak defined symbols like other global
10442 # defined symbols, whereas GNU nm marks them as "W".
10443 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10444 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'
10445 else
10446 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10448 aix_use_runtimelinking=no
10450 # Test if we are trying to use run time linking or normal
10451 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10452 # need to do runtime linking.
10453 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10454 for ld_flag in $LDFLAGS; do
10455 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10456 aix_use_runtimelinking=yes
10457 break
10459 done
10461 esac
10463 exp_sym_flag='-bexport'
10464 no_entry_flag='-bnoentry'
10467 # When large executables or shared objects are built, AIX ld can
10468 # have problems creating the table of contents. If linking a library
10469 # or program results in "error TOC overflow" add -mminimal-toc to
10470 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10471 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10473 archive_cmds=''
10474 hardcode_direct=yes
10475 hardcode_direct_absolute=yes
10476 hardcode_libdir_separator=':'
10477 link_all_deplibs=yes
10478 file_list_spec='${wl}-f,'
10480 if test "$GCC" = yes; then
10481 case $host_os in aix4.[012]|aix4.[012].*)
10482 # We only want to do this on AIX 4.2 and lower, the check
10483 # below for broken collect2 doesn't work under 4.3+
10484 collect2name=`${CC} -print-prog-name=collect2`
10485 if test -f "$collect2name" &&
10486 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10487 then
10488 # We have reworked collect2
10490 else
10491 # We have old collect2
10492 hardcode_direct=unsupported
10493 # It fails to find uninstalled libraries when the uninstalled
10494 # path is not listed in the libpath. Setting hardcode_minus_L
10495 # to unsupported forces relinking
10496 hardcode_minus_L=yes
10497 hardcode_libdir_flag_spec='-L$libdir'
10498 hardcode_libdir_separator=
10501 esac
10502 shared_flag='-shared'
10503 if test "$aix_use_runtimelinking" = yes; then
10504 shared_flag="$shared_flag "'${wl}-G'
10506 else
10507 # not using gcc
10508 if test "$host_cpu" = ia64; then
10509 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10510 # chokes on -Wl,-G. The following line is correct:
10511 shared_flag='-G'
10512 else
10513 if test "$aix_use_runtimelinking" = yes; then
10514 shared_flag='${wl}-G'
10515 else
10516 shared_flag='${wl}-bM:SRE'
10521 export_dynamic_flag_spec='${wl}-bexpall'
10522 # It seems that -bexpall does not export symbols beginning with
10523 # underscore (_), so it is better to generate a list of symbols to export.
10524 always_export_symbols=yes
10525 if test "$aix_use_runtimelinking" = yes; then
10526 # Warning - without using the other runtime loading flags (-brtl),
10527 # -berok will link without error, but may produce a broken library.
10528 allow_undefined_flag='-berok'
10529 # Determine the default libpath from the value encoded in an
10530 # empty executable.
10531 if test x$gcc_no_link = xyes; then
10532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10538 main ()
10542 return 0;
10544 _ACEOF
10545 if ac_fn_c_try_link "$LINENO"; then :
10547 lt_aix_libpath_sed='
10548 /Import File Strings/,/^$/ {
10549 /^0/ {
10550 s/^0 *\(.*\)$/\1/
10554 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10555 # Check for a 64-bit object if we didn't find anything.
10556 if test -z "$aix_libpath"; then
10557 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10560 rm -f core conftest.err conftest.$ac_objext \
10561 conftest$ac_exeext conftest.$ac_ext
10562 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10564 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10565 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"
10566 else
10567 if test "$host_cpu" = ia64; then
10568 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10569 allow_undefined_flag="-z nodefs"
10570 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"
10571 else
10572 # Determine the default libpath from the value encoded in an
10573 # empty executable.
10574 if test x$gcc_no_link = xyes; then
10575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10581 main ()
10585 return 0;
10587 _ACEOF
10588 if ac_fn_c_try_link "$LINENO"; then :
10590 lt_aix_libpath_sed='
10591 /Import File Strings/,/^$/ {
10592 /^0/ {
10593 s/^0 *\(.*\)$/\1/
10597 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10598 # Check for a 64-bit object if we didn't find anything.
10599 if test -z "$aix_libpath"; then
10600 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10603 rm -f core conftest.err conftest.$ac_objext \
10604 conftest$ac_exeext conftest.$ac_ext
10605 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10607 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10608 # Warning - without using the other run time loading flags,
10609 # -berok will link without error, but may produce a broken library.
10610 no_undefined_flag=' ${wl}-bernotok'
10611 allow_undefined_flag=' ${wl}-berok'
10612 if test "$with_gnu_ld" = yes; then
10613 # We only use this code for GNU lds that support --whole-archive.
10614 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10615 else
10616 # Exported symbols can be pulled into shared objects from archives
10617 whole_archive_flag_spec='$convenience'
10619 archive_cmds_need_lc=yes
10620 # This is similar to how AIX traditionally builds its shared libraries.
10621 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'
10626 amigaos*)
10627 case $host_cpu in
10628 powerpc)
10629 # see comment about AmigaOS4 .so support
10630 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10631 archive_expsym_cmds=''
10633 m68k)
10634 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)'
10635 hardcode_libdir_flag_spec='-L$libdir'
10636 hardcode_minus_L=yes
10638 esac
10641 bsdi[45]*)
10642 export_dynamic_flag_spec=-rdynamic
10645 cygwin* | mingw* | pw32* | cegcc*)
10646 # When not using gcc, we currently assume that we are using
10647 # Microsoft Visual C++.
10648 # hardcode_libdir_flag_spec is actually meaningless, as there is
10649 # no search path for DLLs.
10650 hardcode_libdir_flag_spec=' '
10651 allow_undefined_flag=unsupported
10652 # Tell ltmain to make .lib files, not .a files.
10653 libext=lib
10654 # Tell ltmain to make .dll files, not .so files.
10655 shrext_cmds=".dll"
10656 # FIXME: Setting linknames here is a bad hack.
10657 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10658 # The linker will automatically build a .lib file if we build a DLL.
10659 old_archive_from_new_cmds='true'
10660 # FIXME: Should let the user specify the lib program.
10661 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10662 fix_srcfile_path='`cygpath -w "$srcfile"`'
10663 enable_shared_with_static_runtimes=yes
10666 darwin* | rhapsody*)
10669 archive_cmds_need_lc=no
10670 hardcode_direct=no
10671 hardcode_automatic=yes
10672 hardcode_shlibpath_var=unsupported
10673 if test "$lt_cv_ld_force_load" = "yes"; then
10674 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\"`'
10675 else
10676 whole_archive_flag_spec=''
10678 link_all_deplibs=yes
10679 allow_undefined_flag="$_lt_dar_allow_undefined"
10680 case $cc_basename in
10681 ifort*) _lt_dar_can_shared=yes ;;
10682 *) _lt_dar_can_shared=$GCC ;;
10683 esac
10684 if test "$_lt_dar_can_shared" = "yes"; then
10685 output_verbose_link_cmd=func_echo_all
10686 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10687 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10688 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}"
10689 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}"
10691 else
10692 ld_shlibs=no
10697 dgux*)
10698 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10699 hardcode_libdir_flag_spec='-L$libdir'
10700 hardcode_shlibpath_var=no
10703 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10704 # support. Future versions do this automatically, but an explicit c++rt0.o
10705 # does not break anything, and helps significantly (at the cost of a little
10706 # extra space).
10707 freebsd2.2*)
10708 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10709 hardcode_libdir_flag_spec='-R$libdir'
10710 hardcode_direct=yes
10711 hardcode_shlibpath_var=no
10714 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10715 freebsd2.*)
10716 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10717 hardcode_direct=yes
10718 hardcode_minus_L=yes
10719 hardcode_shlibpath_var=no
10722 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10723 freebsd* | dragonfly*)
10724 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10725 hardcode_libdir_flag_spec='-R$libdir'
10726 hardcode_direct=yes
10727 hardcode_shlibpath_var=no
10730 hpux9*)
10731 if test "$GCC" = yes; then
10732 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'
10733 else
10734 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'
10736 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10737 hardcode_libdir_separator=:
10738 hardcode_direct=yes
10740 # hardcode_minus_L: Not really in the search PATH,
10741 # but as the default location of the library.
10742 hardcode_minus_L=yes
10743 export_dynamic_flag_spec='${wl}-E'
10746 hpux10*)
10747 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10748 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10749 else
10750 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10752 if test "$with_gnu_ld" = no; then
10753 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10754 hardcode_libdir_flag_spec_ld='+b $libdir'
10755 hardcode_libdir_separator=:
10756 hardcode_direct=yes
10757 hardcode_direct_absolute=yes
10758 export_dynamic_flag_spec='${wl}-E'
10759 # hardcode_minus_L: Not really in the search PATH,
10760 # but as the default location of the library.
10761 hardcode_minus_L=yes
10765 hpux11*)
10766 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10767 case $host_cpu in
10768 hppa*64*)
10769 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10771 ia64*)
10772 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10775 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10777 esac
10778 else
10779 case $host_cpu in
10780 hppa*64*)
10781 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10783 ia64*)
10784 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10788 # Older versions of the 11.00 compiler do not understand -b yet
10789 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10791 $as_echo_n "checking if $CC understands -b... " >&6; }
10792 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10793 $as_echo_n "(cached) " >&6
10794 else
10795 lt_cv_prog_compiler__b=no
10796 save_LDFLAGS="$LDFLAGS"
10797 LDFLAGS="$LDFLAGS -b"
10798 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10799 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10800 # The linker can only warn and ignore the option if not recognized
10801 # So say no if there are warnings
10802 if test -s conftest.err; then
10803 # Append any errors to the config.log.
10804 cat conftest.err 1>&5
10805 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10806 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10807 if diff conftest.exp conftest.er2 >/dev/null; then
10808 lt_cv_prog_compiler__b=yes
10810 else
10811 lt_cv_prog_compiler__b=yes
10814 $RM -r conftest*
10815 LDFLAGS="$save_LDFLAGS"
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10819 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10821 if test x"$lt_cv_prog_compiler__b" = xyes; then
10822 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10823 else
10824 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10828 esac
10830 if test "$with_gnu_ld" = no; then
10831 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10832 hardcode_libdir_separator=:
10834 case $host_cpu in
10835 hppa*64*|ia64*)
10836 hardcode_direct=no
10837 hardcode_shlibpath_var=no
10840 hardcode_direct=yes
10841 hardcode_direct_absolute=yes
10842 export_dynamic_flag_spec='${wl}-E'
10844 # hardcode_minus_L: Not really in the search PATH,
10845 # but as the default location of the library.
10846 hardcode_minus_L=yes
10848 esac
10852 irix5* | irix6* | nonstopux*)
10853 if test "$GCC" = yes; then
10854 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'
10855 # Try to use the -exported_symbol ld option, if it does not
10856 # work, assume that -exports_file does not work either and
10857 # implicitly export all symbols.
10858 save_LDFLAGS="$LDFLAGS"
10859 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10860 if test x$gcc_no_link = xyes; then
10861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10865 int foo(void) {}
10866 _ACEOF
10867 if ac_fn_c_try_link "$LINENO"; then :
10868 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'
10871 rm -f core conftest.err conftest.$ac_objext \
10872 conftest$ac_exeext conftest.$ac_ext
10873 LDFLAGS="$save_LDFLAGS"
10874 else
10875 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'
10876 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'
10878 archive_cmds_need_lc='no'
10879 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10880 hardcode_libdir_separator=:
10881 inherit_rpath=yes
10882 link_all_deplibs=yes
10885 netbsd*)
10886 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10887 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10888 else
10889 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10891 hardcode_libdir_flag_spec='-R$libdir'
10892 hardcode_direct=yes
10893 hardcode_shlibpath_var=no
10896 newsos6)
10897 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10898 hardcode_direct=yes
10899 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10900 hardcode_libdir_separator=:
10901 hardcode_shlibpath_var=no
10904 *nto* | *qnx*)
10907 openbsd*)
10908 if test -f /usr/libexec/ld.so; then
10909 hardcode_direct=yes
10910 hardcode_shlibpath_var=no
10911 hardcode_direct_absolute=yes
10912 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10913 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10914 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10915 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10916 export_dynamic_flag_spec='${wl}-E'
10917 else
10918 case $host_os in
10919 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10920 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10921 hardcode_libdir_flag_spec='-R$libdir'
10924 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10925 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10927 esac
10929 else
10930 ld_shlibs=no
10934 os2*)
10935 hardcode_libdir_flag_spec='-L$libdir'
10936 hardcode_minus_L=yes
10937 allow_undefined_flag=unsupported
10938 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'
10939 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10942 osf3*)
10943 if test "$GCC" = yes; then
10944 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10945 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'
10946 else
10947 allow_undefined_flag=' -expect_unresolved \*'
10948 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'
10950 archive_cmds_need_lc='no'
10951 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10952 hardcode_libdir_separator=:
10955 osf4* | osf5*) # as osf3* with the addition of -msym flag
10956 if test "$GCC" = yes; then
10957 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10958 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'
10959 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10960 else
10961 allow_undefined_flag=' -expect_unresolved \*'
10962 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'
10963 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~
10964 $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'
10966 # Both c and cxx compiler support -rpath directly
10967 hardcode_libdir_flag_spec='-rpath $libdir'
10969 archive_cmds_need_lc='no'
10970 hardcode_libdir_separator=:
10973 solaris*)
10974 no_undefined_flag=' -z defs'
10975 if test "$GCC" = yes; then
10976 wlarc='${wl}'
10977 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10978 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10979 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10980 else
10981 case `$CC -V 2>&1` in
10982 *"Compilers 5.0"*)
10983 wlarc=''
10984 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10985 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10986 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10989 wlarc='${wl}'
10990 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10991 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10992 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10994 esac
10996 hardcode_libdir_flag_spec='-R$libdir'
10997 hardcode_shlibpath_var=no
10998 case $host_os in
10999 solaris2.[0-5] | solaris2.[0-5].*) ;;
11001 # The compiler driver will combine and reorder linker options,
11002 # but understands `-z linker_flag'. GCC discards it without `$wl',
11003 # but is careful enough not to reorder.
11004 # Supported since Solaris 2.6 (maybe 2.5.1?)
11005 if test "$GCC" = yes; then
11006 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11007 else
11008 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11011 esac
11012 link_all_deplibs=yes
11015 sunos4*)
11016 if test "x$host_vendor" = xsequent; then
11017 # Use $CC to link under sequent, because it throws in some extra .o
11018 # files that make .init and .fini sections work.
11019 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11020 else
11021 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11023 hardcode_libdir_flag_spec='-L$libdir'
11024 hardcode_direct=yes
11025 hardcode_minus_L=yes
11026 hardcode_shlibpath_var=no
11029 sysv4)
11030 case $host_vendor in
11031 sni)
11032 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11033 hardcode_direct=yes # is this really true???
11035 siemens)
11036 ## LD is ld it makes a PLAMLIB
11037 ## CC just makes a GrossModule.
11038 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11039 reload_cmds='$CC -r -o $output$reload_objs'
11040 hardcode_direct=no
11042 motorola)
11043 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11044 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11046 esac
11047 runpath_var='LD_RUN_PATH'
11048 hardcode_shlibpath_var=no
11051 sysv4.3*)
11052 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11053 hardcode_shlibpath_var=no
11054 export_dynamic_flag_spec='-Bexport'
11057 sysv4*MP*)
11058 if test -d /usr/nec; then
11059 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11060 hardcode_shlibpath_var=no
11061 runpath_var=LD_RUN_PATH
11062 hardcode_runpath_var=yes
11063 ld_shlibs=yes
11067 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11068 no_undefined_flag='${wl}-z,text'
11069 archive_cmds_need_lc=no
11070 hardcode_shlibpath_var=no
11071 runpath_var='LD_RUN_PATH'
11073 if test "$GCC" = yes; then
11074 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11075 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11076 else
11077 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11078 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11082 sysv5* | sco3.2v5* | sco5v6*)
11083 # Note: We can NOT use -z defs as we might desire, because we do not
11084 # link with -lc, and that would cause any symbols used from libc to
11085 # always be unresolved, which means just about no library would
11086 # ever link correctly. If we're not using GNU ld we use -z text
11087 # though, which does catch some bad symbols but isn't as heavy-handed
11088 # as -z defs.
11089 no_undefined_flag='${wl}-z,text'
11090 allow_undefined_flag='${wl}-z,nodefs'
11091 archive_cmds_need_lc=no
11092 hardcode_shlibpath_var=no
11093 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11094 hardcode_libdir_separator=':'
11095 link_all_deplibs=yes
11096 export_dynamic_flag_spec='${wl}-Bexport'
11097 runpath_var='LD_RUN_PATH'
11099 if test "$GCC" = yes; then
11100 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11101 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11102 else
11103 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11104 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11108 uts4*)
11109 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11110 hardcode_libdir_flag_spec='-L$libdir'
11111 hardcode_shlibpath_var=no
11115 ld_shlibs=no
11117 esac
11119 if test x$host_vendor = xsni; then
11120 case $host in
11121 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11122 export_dynamic_flag_spec='${wl}-Blargedynsym'
11124 esac
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11129 $as_echo "$ld_shlibs" >&6; }
11130 test "$ld_shlibs" = no && can_build_shared=no
11132 with_gnu_ld=$with_gnu_ld
11149 # Do we need to explicitly link libc?
11151 case "x$archive_cmds_need_lc" in
11152 x|xyes)
11153 # Assume -lc should be added
11154 archive_cmds_need_lc=yes
11156 if test "$enable_shared" = yes && test "$GCC" = yes; then
11157 case $archive_cmds in
11158 *'~'*)
11159 # FIXME: we may have to deal with multi-command sequences.
11161 '$CC '*)
11162 # Test whether the compiler implicitly links with -lc since on some
11163 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11164 # to ld, don't add -lc before -lgcc.
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11166 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11167 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11168 $as_echo_n "(cached) " >&6
11169 else
11170 $RM conftest*
11171 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11174 (eval $ac_compile) 2>&5
11175 ac_status=$?
11176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11177 test $ac_status = 0; } 2>conftest.err; then
11178 soname=conftest
11179 lib=conftest
11180 libobjs=conftest.$ac_objext
11181 deplibs=
11182 wl=$lt_prog_compiler_wl
11183 pic_flag=$lt_prog_compiler_pic
11184 compiler_flags=-v
11185 linker_flags=-v
11186 verstring=
11187 output_objdir=.
11188 libname=conftest
11189 lt_save_allow_undefined_flag=$allow_undefined_flag
11190 allow_undefined_flag=
11191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11192 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11193 ac_status=$?
11194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11195 test $ac_status = 0; }
11196 then
11197 lt_cv_archive_cmds_need_lc=no
11198 else
11199 lt_cv_archive_cmds_need_lc=yes
11201 allow_undefined_flag=$lt_save_allow_undefined_flag
11202 else
11203 cat conftest.err 1>&5
11205 $RM conftest*
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11209 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11210 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11212 esac
11215 esac
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11374 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11376 if test "$GCC" = yes; then
11377 case $host_os in
11378 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11379 *) lt_awk_arg="/^libraries:/" ;;
11380 esac
11381 case $host_os in
11382 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11383 *) lt_sed_strip_eq="s,=/,/,g" ;;
11384 esac
11385 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11386 case $lt_search_path_spec in
11387 *\;*)
11388 # if the path contains ";" then we assume it to be the separator
11389 # otherwise default to the standard path separator (i.e. ":") - it is
11390 # assumed that no part of a normal pathname contains ";" but that should
11391 # okay in the real world where ";" in dirpaths is itself problematic.
11392 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11395 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11397 esac
11398 # Ok, now we have the path, separated by spaces, we can step through it
11399 # and add multilib dir if necessary.
11400 lt_tmp_lt_search_path_spec=
11401 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11402 for lt_sys_path in $lt_search_path_spec; do
11403 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11404 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11405 else
11406 test -d "$lt_sys_path" && \
11407 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11409 done
11410 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11411 BEGIN {RS=" "; FS="/|\n";} {
11412 lt_foo="";
11413 lt_count=0;
11414 for (lt_i = NF; lt_i > 0; lt_i--) {
11415 if ($lt_i != "" && $lt_i != ".") {
11416 if ($lt_i == "..") {
11417 lt_count++;
11418 } else {
11419 if (lt_count == 0) {
11420 lt_foo="/" $lt_i lt_foo;
11421 } else {
11422 lt_count--;
11427 if (lt_foo != "") { lt_freq[lt_foo]++; }
11428 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11430 # AWK program above erroneously prepends '/' to C:/dos/paths
11431 # for these hosts.
11432 case $host_os in
11433 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11434 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11435 esac
11436 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11437 else
11438 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11440 library_names_spec=
11441 libname_spec='lib$name'
11442 soname_spec=
11443 shrext_cmds=".so"
11444 postinstall_cmds=
11445 postuninstall_cmds=
11446 finish_cmds=
11447 finish_eval=
11448 shlibpath_var=
11449 shlibpath_overrides_runpath=unknown
11450 version_type=none
11451 dynamic_linker="$host_os ld.so"
11452 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11453 need_lib_prefix=unknown
11454 hardcode_into_libs=no
11456 # when you set need_version to no, make sure it does not cause -set_version
11457 # flags to be left without arguments
11458 need_version=unknown
11460 case $host_os in
11461 aix3*)
11462 version_type=linux
11463 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11464 shlibpath_var=LIBPATH
11466 # AIX 3 has no versioning support, so we append a major version to the name.
11467 soname_spec='${libname}${release}${shared_ext}$major'
11470 aix[4-9]*)
11471 version_type=linux
11472 need_lib_prefix=no
11473 need_version=no
11474 hardcode_into_libs=yes
11475 if test "$host_cpu" = ia64; then
11476 # AIX 5 supports IA64
11477 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11478 shlibpath_var=LD_LIBRARY_PATH
11479 else
11480 # With GCC up to 2.95.x, collect2 would create an import file
11481 # for dependence libraries. The import file would start with
11482 # the line `#! .'. This would cause the generated library to
11483 # depend on `.', always an invalid library. This was fixed in
11484 # development snapshots of GCC prior to 3.0.
11485 case $host_os in
11486 aix4 | aix4.[01] | aix4.[01].*)
11487 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11488 echo ' yes '
11489 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11491 else
11492 can_build_shared=no
11495 esac
11496 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11497 # soname into executable. Probably we can add versioning support to
11498 # collect2, so additional links can be useful in future.
11499 if test "$aix_use_runtimelinking" = yes; then
11500 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11501 # instead of lib<name>.a to let people know that these are not
11502 # typical AIX shared libraries.
11503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11504 else
11505 # We preserve .a as extension for shared libraries through AIX4.2
11506 # and later when we are not doing run time linking.
11507 library_names_spec='${libname}${release}.a $libname.a'
11508 soname_spec='${libname}${release}${shared_ext}$major'
11510 shlibpath_var=LIBPATH
11514 amigaos*)
11515 case $host_cpu in
11516 powerpc)
11517 # Since July 2007 AmigaOS4 officially supports .so libraries.
11518 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11521 m68k)
11522 library_names_spec='$libname.ixlibrary $libname.a'
11523 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11524 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'
11526 esac
11529 beos*)
11530 library_names_spec='${libname}${shared_ext}'
11531 dynamic_linker="$host_os ld.so"
11532 shlibpath_var=LIBRARY_PATH
11535 bsdi[45]*)
11536 version_type=linux
11537 need_version=no
11538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11539 soname_spec='${libname}${release}${shared_ext}$major'
11540 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11541 shlibpath_var=LD_LIBRARY_PATH
11542 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11543 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11544 # the default ld.so.conf also contains /usr/contrib/lib and
11545 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11546 # libtool to hard-code these into programs
11549 cygwin* | mingw* | pw32* | cegcc*)
11550 version_type=windows
11551 shrext_cmds=".dll"
11552 need_version=no
11553 need_lib_prefix=no
11555 case $GCC,$host_os in
11556 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11557 library_names_spec='$libname.dll.a'
11558 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11559 postinstall_cmds='base_file=`basename \${file}`~
11560 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11561 dldir=$destdir/`dirname \$dlpath`~
11562 test -d \$dldir || mkdir -p \$dldir~
11563 $install_prog $dir/$dlname \$dldir/$dlname~
11564 chmod a+x \$dldir/$dlname~
11565 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11566 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11568 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11569 dlpath=$dir/\$dldll~
11570 $RM \$dlpath'
11571 shlibpath_overrides_runpath=yes
11573 case $host_os in
11574 cygwin*)
11575 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11576 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11578 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11580 mingw* | cegcc*)
11581 # MinGW DLLs use traditional 'lib' prefix
11582 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11584 pw32*)
11585 # pw32 DLLs use 'pw' prefix rather than 'lib'
11586 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11588 esac
11592 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11594 esac
11595 dynamic_linker='Win32 ld.exe'
11596 # FIXME: first we should search . and the directory the executable is in
11597 shlibpath_var=PATH
11600 darwin* | rhapsody*)
11601 dynamic_linker="$host_os dyld"
11602 version_type=darwin
11603 need_lib_prefix=no
11604 need_version=no
11605 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11606 soname_spec='${libname}${release}${major}$shared_ext'
11607 shlibpath_overrides_runpath=yes
11608 shlibpath_var=DYLD_LIBRARY_PATH
11609 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11611 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11612 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11615 dgux*)
11616 version_type=linux
11617 need_lib_prefix=no
11618 need_version=no
11619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11620 soname_spec='${libname}${release}${shared_ext}$major'
11621 shlibpath_var=LD_LIBRARY_PATH
11624 freebsd* | dragonfly*)
11625 # DragonFly does not have aout. When/if they implement a new
11626 # versioning mechanism, adjust this.
11627 if test -x /usr/bin/objformat; then
11628 objformat=`/usr/bin/objformat`
11629 else
11630 case $host_os in
11631 freebsd[23].*) objformat=aout ;;
11632 *) objformat=elf ;;
11633 esac
11635 version_type=freebsd-$objformat
11636 case $version_type in
11637 freebsd-elf*)
11638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11639 need_version=no
11640 need_lib_prefix=no
11642 freebsd-*)
11643 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11644 need_version=yes
11646 esac
11647 shlibpath_var=LD_LIBRARY_PATH
11648 case $host_os in
11649 freebsd2.*)
11650 shlibpath_overrides_runpath=yes
11652 freebsd3.[01]* | freebsdelf3.[01]*)
11653 shlibpath_overrides_runpath=yes
11654 hardcode_into_libs=yes
11656 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11657 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11658 shlibpath_overrides_runpath=no
11659 hardcode_into_libs=yes
11661 *) # from 4.6 on, and DragonFly
11662 shlibpath_overrides_runpath=yes
11663 hardcode_into_libs=yes
11665 esac
11668 gnu*)
11669 version_type=linux
11670 need_lib_prefix=no
11671 need_version=no
11672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11673 soname_spec='${libname}${release}${shared_ext}$major'
11674 shlibpath_var=LD_LIBRARY_PATH
11675 hardcode_into_libs=yes
11678 haiku*)
11679 version_type=linux
11680 need_lib_prefix=no
11681 need_version=no
11682 dynamic_linker="$host_os runtime_loader"
11683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11684 soname_spec='${libname}${release}${shared_ext}$major'
11685 shlibpath_var=LIBRARY_PATH
11686 shlibpath_overrides_runpath=yes
11687 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11688 hardcode_into_libs=yes
11691 hpux9* | hpux10* | hpux11*)
11692 # Give a soname corresponding to the major version so that dld.sl refuses to
11693 # link against other versions.
11694 version_type=sunos
11695 need_lib_prefix=no
11696 need_version=no
11697 case $host_cpu in
11698 ia64*)
11699 shrext_cmds='.so'
11700 hardcode_into_libs=yes
11701 dynamic_linker="$host_os dld.so"
11702 shlibpath_var=LD_LIBRARY_PATH
11703 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11705 soname_spec='${libname}${release}${shared_ext}$major'
11706 if test "X$HPUX_IA64_MODE" = X32; then
11707 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11708 else
11709 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11711 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11713 hppa*64*)
11714 shrext_cmds='.sl'
11715 hardcode_into_libs=yes
11716 dynamic_linker="$host_os dld.sl"
11717 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11718 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11720 soname_spec='${libname}${release}${shared_ext}$major'
11721 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11722 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11725 shrext_cmds='.sl'
11726 dynamic_linker="$host_os dld.sl"
11727 shlibpath_var=SHLIB_PATH
11728 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11730 soname_spec='${libname}${release}${shared_ext}$major'
11732 esac
11733 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11734 postinstall_cmds='chmod 555 $lib'
11735 # or fails outright, so override atomically:
11736 install_override_mode=555
11739 interix[3-9]*)
11740 version_type=linux
11741 need_lib_prefix=no
11742 need_version=no
11743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11744 soname_spec='${libname}${release}${shared_ext}$major'
11745 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11746 shlibpath_var=LD_LIBRARY_PATH
11747 shlibpath_overrides_runpath=no
11748 hardcode_into_libs=yes
11751 irix5* | irix6* | nonstopux*)
11752 case $host_os in
11753 nonstopux*) version_type=nonstopux ;;
11755 if test "$lt_cv_prog_gnu_ld" = yes; then
11756 version_type=linux
11757 else
11758 version_type=irix
11759 fi ;;
11760 esac
11761 need_lib_prefix=no
11762 need_version=no
11763 soname_spec='${libname}${release}${shared_ext}$major'
11764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11765 case $host_os in
11766 irix5* | nonstopux*)
11767 libsuff= shlibsuff=
11770 case $LD in # libtool.m4 will add one of these switches to LD
11771 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11772 libsuff= shlibsuff= libmagic=32-bit;;
11773 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11774 libsuff=32 shlibsuff=N32 libmagic=N32;;
11775 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11776 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11777 *) libsuff= shlibsuff= libmagic=never-match;;
11778 esac
11780 esac
11781 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11782 shlibpath_overrides_runpath=no
11783 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11784 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11785 hardcode_into_libs=yes
11788 # No shared lib support for Linux oldld, aout, or coff.
11789 linux*oldld* | linux*aout* | linux*coff*)
11790 dynamic_linker=no
11793 # This must be Linux ELF.
11794 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11795 version_type=linux
11796 need_lib_prefix=no
11797 need_version=no
11798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11799 soname_spec='${libname}${release}${shared_ext}$major'
11800 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11801 shlibpath_var=LD_LIBRARY_PATH
11802 shlibpath_overrides_runpath=no
11804 # Some binutils ld are patched to set DT_RUNPATH
11805 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11806 $as_echo_n "(cached) " >&6
11807 else
11808 lt_cv_shlibpath_overrides_runpath=no
11809 save_LDFLAGS=$LDFLAGS
11810 save_libdir=$libdir
11811 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11812 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11813 if test x$gcc_no_link = xyes; then
11814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11817 /* end confdefs.h. */
11820 main ()
11824 return 0;
11826 _ACEOF
11827 if ac_fn_c_try_link "$LINENO"; then :
11828 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11829 lt_cv_shlibpath_overrides_runpath=yes
11832 rm -f core conftest.err conftest.$ac_objext \
11833 conftest$ac_exeext conftest.$ac_ext
11834 LDFLAGS=$save_LDFLAGS
11835 libdir=$save_libdir
11839 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11841 # This implies no fast_install, which is unacceptable.
11842 # Some rework will be needed to allow for fast_install
11843 # before this can be enabled.
11844 hardcode_into_libs=yes
11846 # Append ld.so.conf contents to the search path
11847 if test -f /etc/ld.so.conf; then
11848 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' ' '`
11849 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11852 # We used to test for /lib/ld.so.1 and disable shared libraries on
11853 # powerpc, because MkLinux only supported shared libraries with the
11854 # GNU dynamic linker. Since this was broken with cross compilers,
11855 # most powerpc-linux boxes support dynamic linking these days and
11856 # people can always --disable-shared, the test was removed, and we
11857 # assume the GNU/Linux dynamic linker is in use.
11858 dynamic_linker='GNU/Linux ld.so'
11861 netbsd*)
11862 version_type=sunos
11863 need_lib_prefix=no
11864 need_version=no
11865 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11867 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11868 dynamic_linker='NetBSD (a.out) ld.so'
11869 else
11870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11871 soname_spec='${libname}${release}${shared_ext}$major'
11872 dynamic_linker='NetBSD ld.elf_so'
11874 shlibpath_var=LD_LIBRARY_PATH
11875 shlibpath_overrides_runpath=yes
11876 hardcode_into_libs=yes
11879 newsos6)
11880 version_type=linux
11881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11882 shlibpath_var=LD_LIBRARY_PATH
11883 shlibpath_overrides_runpath=yes
11886 *nto* | *qnx*)
11887 version_type=qnx
11888 need_lib_prefix=no
11889 need_version=no
11890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11891 soname_spec='${libname}${release}${shared_ext}$major'
11892 shlibpath_var=LD_LIBRARY_PATH
11893 shlibpath_overrides_runpath=no
11894 hardcode_into_libs=yes
11895 dynamic_linker='ldqnx.so'
11898 openbsd*)
11899 version_type=sunos
11900 sys_lib_dlsearch_path_spec="/usr/lib"
11901 need_lib_prefix=no
11902 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11903 case $host_os in
11904 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11905 *) need_version=no ;;
11906 esac
11907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11908 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11909 shlibpath_var=LD_LIBRARY_PATH
11910 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11911 case $host_os in
11912 openbsd2.[89] | openbsd2.[89].*)
11913 shlibpath_overrides_runpath=no
11916 shlibpath_overrides_runpath=yes
11918 esac
11919 else
11920 shlibpath_overrides_runpath=yes
11924 os2*)
11925 libname_spec='$name'
11926 shrext_cmds=".dll"
11927 need_lib_prefix=no
11928 library_names_spec='$libname${shared_ext} $libname.a'
11929 dynamic_linker='OS/2 ld.exe'
11930 shlibpath_var=LIBPATH
11933 osf3* | osf4* | osf5*)
11934 version_type=osf
11935 need_lib_prefix=no
11936 need_version=no
11937 soname_spec='${libname}${release}${shared_ext}$major'
11938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11939 shlibpath_var=LD_LIBRARY_PATH
11940 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11941 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11944 rdos*)
11945 dynamic_linker=no
11948 solaris*)
11949 version_type=linux
11950 need_lib_prefix=no
11951 need_version=no
11952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11953 soname_spec='${libname}${release}${shared_ext}$major'
11954 shlibpath_var=LD_LIBRARY_PATH
11955 shlibpath_overrides_runpath=yes
11956 hardcode_into_libs=yes
11957 # ldd complains unless libraries are executable
11958 postinstall_cmds='chmod +x $lib'
11961 sunos4*)
11962 version_type=sunos
11963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11964 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11965 shlibpath_var=LD_LIBRARY_PATH
11966 shlibpath_overrides_runpath=yes
11967 if test "$with_gnu_ld" = yes; then
11968 need_lib_prefix=no
11970 need_version=yes
11973 sysv4 | sysv4.3*)
11974 version_type=linux
11975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11976 soname_spec='${libname}${release}${shared_ext}$major'
11977 shlibpath_var=LD_LIBRARY_PATH
11978 case $host_vendor in
11979 sni)
11980 shlibpath_overrides_runpath=no
11981 need_lib_prefix=no
11982 runpath_var=LD_RUN_PATH
11984 siemens)
11985 need_lib_prefix=no
11987 motorola)
11988 need_lib_prefix=no
11989 need_version=no
11990 shlibpath_overrides_runpath=no
11991 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11993 esac
11996 sysv4*MP*)
11997 if test -d /usr/nec ;then
11998 version_type=linux
11999 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12000 soname_spec='$libname${shared_ext}.$major'
12001 shlibpath_var=LD_LIBRARY_PATH
12005 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12006 version_type=freebsd-elf
12007 need_lib_prefix=no
12008 need_version=no
12009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12010 soname_spec='${libname}${release}${shared_ext}$major'
12011 shlibpath_var=LD_LIBRARY_PATH
12012 shlibpath_overrides_runpath=yes
12013 hardcode_into_libs=yes
12014 if test "$with_gnu_ld" = yes; then
12015 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12016 else
12017 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12018 case $host_os in
12019 sco3.2v5*)
12020 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12022 esac
12024 sys_lib_dlsearch_path_spec='/usr/lib'
12027 tpf*)
12028 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12029 version_type=linux
12030 need_lib_prefix=no
12031 need_version=no
12032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12033 shlibpath_var=LD_LIBRARY_PATH
12034 shlibpath_overrides_runpath=no
12035 hardcode_into_libs=yes
12038 uts4*)
12039 version_type=linux
12040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12041 soname_spec='${libname}${release}${shared_ext}$major'
12042 shlibpath_var=LD_LIBRARY_PATH
12046 dynamic_linker=no
12048 esac
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12050 $as_echo "$dynamic_linker" >&6; }
12051 test "$dynamic_linker" = no && can_build_shared=no
12053 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12054 if test "$GCC" = yes; then
12055 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12058 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12059 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12061 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12062 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12157 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12158 hardcode_action=
12159 if test -n "$hardcode_libdir_flag_spec" ||
12160 test -n "$runpath_var" ||
12161 test "X$hardcode_automatic" = "Xyes" ; then
12163 # We can hardcode non-existent directories.
12164 if test "$hardcode_direct" != no &&
12165 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12166 # have to relink, otherwise we might link with an installed library
12167 # when we should be linking with a yet-to-be-installed one
12168 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12169 test "$hardcode_minus_L" != no; then
12170 # Linking always hardcodes the temporary library directory.
12171 hardcode_action=relink
12172 else
12173 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12174 hardcode_action=immediate
12176 else
12177 # We cannot hardcode anything, or else we can only hardcode existing
12178 # directories.
12179 hardcode_action=unsupported
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12182 $as_echo "$hardcode_action" >&6; }
12184 if test "$hardcode_action" = relink ||
12185 test "$inherit_rpath" = yes; then
12186 # Fast installation is not supported
12187 enable_fast_install=no
12188 elif test "$shlibpath_overrides_runpath" = yes ||
12189 test "$enable_shared" = no; then
12190 # Fast installation is not necessary
12191 enable_fast_install=needless
12199 if test "x$enable_dlopen" != xyes; then
12200 enable_dlopen=unknown
12201 enable_dlopen_self=unknown
12202 enable_dlopen_self_static=unknown
12203 else
12204 lt_cv_dlopen=no
12205 lt_cv_dlopen_libs=
12207 case $host_os in
12208 beos*)
12209 lt_cv_dlopen="load_add_on"
12210 lt_cv_dlopen_libs=
12211 lt_cv_dlopen_self=yes
12214 mingw* | pw32* | cegcc*)
12215 lt_cv_dlopen="LoadLibrary"
12216 lt_cv_dlopen_libs=
12219 cygwin*)
12220 lt_cv_dlopen="dlopen"
12221 lt_cv_dlopen_libs=
12224 darwin*)
12225 # if libdl is installed we need to link against it
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12227 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12228 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12229 $as_echo_n "(cached) " >&6
12230 else
12231 ac_check_lib_save_LIBS=$LIBS
12232 LIBS="-ldl $LIBS"
12233 if test x$gcc_no_link = xyes; then
12234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12239 /* Override any GCC internal prototype to avoid an error.
12240 Use char because int might match the return type of a GCC
12241 builtin and then its argument prototype would still apply. */
12242 #ifdef __cplusplus
12243 extern "C"
12244 #endif
12245 char dlopen ();
12247 main ()
12249 return dlopen ();
12251 return 0;
12253 _ACEOF
12254 if ac_fn_c_try_link "$LINENO"; then :
12255 ac_cv_lib_dl_dlopen=yes
12256 else
12257 ac_cv_lib_dl_dlopen=no
12259 rm -f core conftest.err conftest.$ac_objext \
12260 conftest$ac_exeext conftest.$ac_ext
12261 LIBS=$ac_check_lib_save_LIBS
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12264 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12265 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12266 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12267 else
12269 lt_cv_dlopen="dyld"
12270 lt_cv_dlopen_libs=
12271 lt_cv_dlopen_self=yes
12278 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12279 if test "x$ac_cv_func_shl_load" = x""yes; then :
12280 lt_cv_dlopen="shl_load"
12281 else
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12283 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12284 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12285 $as_echo_n "(cached) " >&6
12286 else
12287 ac_check_lib_save_LIBS=$LIBS
12288 LIBS="-ldld $LIBS"
12289 if test x$gcc_no_link = xyes; then
12290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 char shl_load ();
12303 main ()
12305 return shl_load ();
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_link "$LINENO"; then :
12311 ac_cv_lib_dld_shl_load=yes
12312 else
12313 ac_cv_lib_dld_shl_load=no
12315 rm -f core conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12317 LIBS=$ac_check_lib_save_LIBS
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12320 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12321 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12322 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12323 else
12324 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12325 if test "x$ac_cv_func_dlopen" = x""yes; then :
12326 lt_cv_dlopen="dlopen"
12327 else
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12329 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12330 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12331 $as_echo_n "(cached) " >&6
12332 else
12333 ac_check_lib_save_LIBS=$LIBS
12334 LIBS="-ldl $LIBS"
12335 if test x$gcc_no_link = xyes; then
12336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12344 #ifdef __cplusplus
12345 extern "C"
12346 #endif
12347 char dlopen ();
12349 main ()
12351 return dlopen ();
12353 return 0;
12355 _ACEOF
12356 if ac_fn_c_try_link "$LINENO"; then :
12357 ac_cv_lib_dl_dlopen=yes
12358 else
12359 ac_cv_lib_dl_dlopen=no
12361 rm -f core conftest.err conftest.$ac_objext \
12362 conftest$ac_exeext conftest.$ac_ext
12363 LIBS=$ac_check_lib_save_LIBS
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12366 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12367 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12368 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12369 else
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12371 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12372 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12373 $as_echo_n "(cached) " >&6
12374 else
12375 ac_check_lib_save_LIBS=$LIBS
12376 LIBS="-lsvld $LIBS"
12377 if test x$gcc_no_link = xyes; then
12378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12381 /* end confdefs.h. */
12383 /* Override any GCC internal prototype to avoid an error.
12384 Use char because int might match the return type of a GCC
12385 builtin and then its argument prototype would still apply. */
12386 #ifdef __cplusplus
12387 extern "C"
12388 #endif
12389 char dlopen ();
12391 main ()
12393 return dlopen ();
12395 return 0;
12397 _ACEOF
12398 if ac_fn_c_try_link "$LINENO"; then :
12399 ac_cv_lib_svld_dlopen=yes
12400 else
12401 ac_cv_lib_svld_dlopen=no
12403 rm -f core conftest.err conftest.$ac_objext \
12404 conftest$ac_exeext conftest.$ac_ext
12405 LIBS=$ac_check_lib_save_LIBS
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12408 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12409 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12410 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12411 else
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12413 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12414 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12415 $as_echo_n "(cached) " >&6
12416 else
12417 ac_check_lib_save_LIBS=$LIBS
12418 LIBS="-ldld $LIBS"
12419 if test x$gcc_no_link = xyes; then
12420 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12428 #ifdef __cplusplus
12429 extern "C"
12430 #endif
12431 char dld_link ();
12433 main ()
12435 return dld_link ();
12437 return 0;
12439 _ACEOF
12440 if ac_fn_c_try_link "$LINENO"; then :
12441 ac_cv_lib_dld_dld_link=yes
12442 else
12443 ac_cv_lib_dld_dld_link=no
12445 rm -f core conftest.err conftest.$ac_objext \
12446 conftest$ac_exeext conftest.$ac_ext
12447 LIBS=$ac_check_lib_save_LIBS
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12450 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12451 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12452 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12471 esac
12473 if test "x$lt_cv_dlopen" != xno; then
12474 enable_dlopen=yes
12475 else
12476 enable_dlopen=no
12479 case $lt_cv_dlopen in
12480 dlopen)
12481 save_CPPFLAGS="$CPPFLAGS"
12482 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12484 save_LDFLAGS="$LDFLAGS"
12485 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12487 save_LIBS="$LIBS"
12488 LIBS="$lt_cv_dlopen_libs $LIBS"
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12491 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12492 if test "${lt_cv_dlopen_self+set}" = set; then :
12493 $as_echo_n "(cached) " >&6
12494 else
12495 if test "$cross_compiling" = yes; then :
12496 lt_cv_dlopen_self=cross
12497 else
12498 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12499 lt_status=$lt_dlunknown
12500 cat > conftest.$ac_ext <<_LT_EOF
12501 #line 12501 "configure"
12502 #include "confdefs.h"
12504 #if HAVE_DLFCN_H
12505 #include <dlfcn.h>
12506 #endif
12508 #include <stdio.h>
12510 #ifdef RTLD_GLOBAL
12511 # define LT_DLGLOBAL RTLD_GLOBAL
12512 #else
12513 # ifdef DL_GLOBAL
12514 # define LT_DLGLOBAL DL_GLOBAL
12515 # else
12516 # define LT_DLGLOBAL 0
12517 # endif
12518 #endif
12520 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12521 find out it does not work in some platform. */
12522 #ifndef LT_DLLAZY_OR_NOW
12523 # ifdef RTLD_LAZY
12524 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12525 # else
12526 # ifdef DL_LAZY
12527 # define LT_DLLAZY_OR_NOW DL_LAZY
12528 # else
12529 # ifdef RTLD_NOW
12530 # define LT_DLLAZY_OR_NOW RTLD_NOW
12531 # else
12532 # ifdef DL_NOW
12533 # define LT_DLLAZY_OR_NOW DL_NOW
12534 # else
12535 # define LT_DLLAZY_OR_NOW 0
12536 # endif
12537 # endif
12538 # endif
12539 # endif
12540 #endif
12542 /* When -fvisbility=hidden is used, assume the code has been annotated
12543 correspondingly for the symbols needed. */
12544 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12545 void fnord () __attribute__((visibility("default")));
12546 #endif
12548 void fnord () { int i=42; }
12549 int main ()
12551 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12552 int status = $lt_dlunknown;
12554 if (self)
12556 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12557 else
12559 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12560 else puts (dlerror ());
12562 /* dlclose (self); */
12564 else
12565 puts (dlerror ());
12567 return status;
12569 _LT_EOF
12570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12571 (eval $ac_link) 2>&5
12572 ac_status=$?
12573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12574 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12575 (./conftest; exit; ) >&5 2>/dev/null
12576 lt_status=$?
12577 case x$lt_status in
12578 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12579 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12580 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12581 esac
12582 else :
12583 # compilation failed
12584 lt_cv_dlopen_self=no
12587 rm -fr conftest*
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12592 $as_echo "$lt_cv_dlopen_self" >&6; }
12594 if test "x$lt_cv_dlopen_self" = xyes; then
12595 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12597 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12598 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12599 $as_echo_n "(cached) " >&6
12600 else
12601 if test "$cross_compiling" = yes; then :
12602 lt_cv_dlopen_self_static=cross
12603 else
12604 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12605 lt_status=$lt_dlunknown
12606 cat > conftest.$ac_ext <<_LT_EOF
12607 #line 12607 "configure"
12608 #include "confdefs.h"
12610 #if HAVE_DLFCN_H
12611 #include <dlfcn.h>
12612 #endif
12614 #include <stdio.h>
12616 #ifdef RTLD_GLOBAL
12617 # define LT_DLGLOBAL RTLD_GLOBAL
12618 #else
12619 # ifdef DL_GLOBAL
12620 # define LT_DLGLOBAL DL_GLOBAL
12621 # else
12622 # define LT_DLGLOBAL 0
12623 # endif
12624 #endif
12626 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12627 find out it does not work in some platform. */
12628 #ifndef LT_DLLAZY_OR_NOW
12629 # ifdef RTLD_LAZY
12630 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12631 # else
12632 # ifdef DL_LAZY
12633 # define LT_DLLAZY_OR_NOW DL_LAZY
12634 # else
12635 # ifdef RTLD_NOW
12636 # define LT_DLLAZY_OR_NOW RTLD_NOW
12637 # else
12638 # ifdef DL_NOW
12639 # define LT_DLLAZY_OR_NOW DL_NOW
12640 # else
12641 # define LT_DLLAZY_OR_NOW 0
12642 # endif
12643 # endif
12644 # endif
12645 # endif
12646 #endif
12648 /* When -fvisbility=hidden is used, assume the code has been annotated
12649 correspondingly for the symbols needed. */
12650 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12651 void fnord () __attribute__((visibility("default")));
12652 #endif
12654 void fnord () { int i=42; }
12655 int main ()
12657 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12658 int status = $lt_dlunknown;
12660 if (self)
12662 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12663 else
12665 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12666 else puts (dlerror ());
12668 /* dlclose (self); */
12670 else
12671 puts (dlerror ());
12673 return status;
12675 _LT_EOF
12676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12677 (eval $ac_link) 2>&5
12678 ac_status=$?
12679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12680 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12681 (./conftest; exit; ) >&5 2>/dev/null
12682 lt_status=$?
12683 case x$lt_status in
12684 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12685 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12686 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12687 esac
12688 else :
12689 # compilation failed
12690 lt_cv_dlopen_self_static=no
12693 rm -fr conftest*
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12698 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12701 CPPFLAGS="$save_CPPFLAGS"
12702 LDFLAGS="$save_LDFLAGS"
12703 LIBS="$save_LIBS"
12705 esac
12707 case $lt_cv_dlopen_self in
12708 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12709 *) enable_dlopen_self=unknown ;;
12710 esac
12712 case $lt_cv_dlopen_self_static in
12713 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12714 *) enable_dlopen_self_static=unknown ;;
12715 esac
12734 striplib=
12735 old_striplib=
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12737 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12738 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12739 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12740 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12742 $as_echo "yes" >&6; }
12743 else
12744 # FIXME - insert some real tests, host_os isn't really good enough
12745 case $host_os in
12746 darwin*)
12747 if test -n "$STRIP" ; then
12748 striplib="$STRIP -x"
12749 old_striplib="$STRIP -S"
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12751 $as_echo "yes" >&6; }
12752 else
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12754 $as_echo "no" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12759 $as_echo "no" >&6; }
12761 esac
12775 # Report which library types will actually be built
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12777 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12779 $as_echo "$can_build_shared" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12782 $as_echo_n "checking whether to build shared libraries... " >&6; }
12783 test "$can_build_shared" = "no" && enable_shared=no
12785 # On AIX, shared libraries and static libraries use the same namespace, and
12786 # are all built from PIC.
12787 case $host_os in
12788 aix3*)
12789 test "$enable_shared" = yes && enable_static=no
12790 if test -n "$RANLIB"; then
12791 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12792 postinstall_cmds='$RANLIB $lib'
12796 aix[4-9]*)
12797 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12798 test "$enable_shared" = yes && enable_static=no
12801 esac
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12803 $as_echo "$enable_shared" >&6; }
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12806 $as_echo_n "checking whether to build static libraries... " >&6; }
12807 # Make sure either enable_shared or enable_static is yes.
12808 test "$enable_shared" = yes || enable_static=yes
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12810 $as_echo "$enable_static" >&6; }
12816 ac_ext=c
12817 ac_cpp='$CPP $CPPFLAGS'
12818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12822 CC="$lt_save_CC"
12836 ac_config_commands="$ac_config_commands libtool"
12841 # Only expand once:
12847 case $host in
12848 *-cygwin* | *-mingw*)
12849 # 'host' will be top-level target in the case of a target lib,
12850 # we must compare to with_cross_host to decide if this is a native
12851 # or cross-compiler and select where to install dlls appropriately.
12852 if test -n "$with_cross_host" &&
12853 test x"$with_cross_host" != x"no"; then
12854 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12855 else
12856 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12860 lt_host_flags=
12862 esac
12868 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12870 # We need gfortran to compile parts of the library
12871 #AC_PROG_FC(gfortran)
12872 FC="$GFORTRAN"
12873 ac_ext=${ac_fc_srcext-f}
12874 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12875 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12876 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12877 if test -n "$ac_tool_prefix"; then
12878 for ac_prog in gfortran
12880 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12881 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12883 $as_echo_n "checking for $ac_word... " >&6; }
12884 if test "${ac_cv_prog_FC+set}" = set; then :
12885 $as_echo_n "(cached) " >&6
12886 else
12887 if test -n "$FC"; then
12888 ac_cv_prog_FC="$FC" # Let the user override the test.
12889 else
12890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12891 for as_dir in $PATH
12893 IFS=$as_save_IFS
12894 test -z "$as_dir" && as_dir=.
12895 for ac_exec_ext in '' $ac_executable_extensions; do
12896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12897 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12899 break 2
12901 done
12902 done
12903 IFS=$as_save_IFS
12907 FC=$ac_cv_prog_FC
12908 if test -n "$FC"; then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12910 $as_echo "$FC" >&6; }
12911 else
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12913 $as_echo "no" >&6; }
12917 test -n "$FC" && break
12918 done
12920 if test -z "$FC"; then
12921 ac_ct_FC=$FC
12922 for ac_prog in gfortran
12924 # Extract the first word of "$ac_prog", so it can be a program name with args.
12925 set dummy $ac_prog; ac_word=$2
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12927 $as_echo_n "checking for $ac_word... " >&6; }
12928 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12929 $as_echo_n "(cached) " >&6
12930 else
12931 if test -n "$ac_ct_FC"; then
12932 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12933 else
12934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12935 for as_dir in $PATH
12937 IFS=$as_save_IFS
12938 test -z "$as_dir" && as_dir=.
12939 for ac_exec_ext in '' $ac_executable_extensions; do
12940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12941 ac_cv_prog_ac_ct_FC="$ac_prog"
12942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12943 break 2
12945 done
12946 done
12947 IFS=$as_save_IFS
12951 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12952 if test -n "$ac_ct_FC"; then
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12954 $as_echo "$ac_ct_FC" >&6; }
12955 else
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12957 $as_echo "no" >&6; }
12961 test -n "$ac_ct_FC" && break
12962 done
12964 if test "x$ac_ct_FC" = x; then
12965 FC=""
12966 else
12967 case $cross_compiling:$ac_tool_warned in
12968 yes:)
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12971 ac_tool_warned=yes ;;
12972 esac
12973 FC=$ac_ct_FC
12978 # Provide some information about the compiler.
12979 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12980 set X $ac_compile
12981 ac_compiler=$2
12982 for ac_option in --version -v -V -qversion; do
12983 { { ac_try="$ac_compiler $ac_option >&5"
12984 case "(($ac_try" in
12985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12986 *) ac_try_echo=$ac_try;;
12987 esac
12988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12989 $as_echo "$ac_try_echo"; } >&5
12990 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12991 ac_status=$?
12992 if test -s conftest.err; then
12993 sed '10a\
12994 ... rest of stderr output deleted ...
12995 10q' conftest.err >conftest.er1
12996 cat conftest.er1 >&5
12997 rm -f conftest.er1 conftest.err
12999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13000 test $ac_status = 0; }
13001 done
13002 rm -f a.out
13004 # If we don't use `.F' as extension, the preprocessor is not run on the
13005 # input file. (Note that this only needs to work for GNU compilers.)
13006 ac_save_ext=$ac_ext
13007 ac_ext=F
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13009 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13010 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
13011 $as_echo_n "(cached) " >&6
13012 else
13013 cat > conftest.$ac_ext <<_ACEOF
13014 program main
13015 #ifndef __GNUC__
13016 choke me
13017 #endif
13020 _ACEOF
13021 if ac_fn_fc_try_compile "$LINENO"; then :
13022 ac_compiler_gnu=yes
13023 else
13024 ac_compiler_gnu=no
13026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13027 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13031 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13032 ac_ext=$ac_save_ext
13033 ac_test_FCFLAGS=${FCFLAGS+set}
13034 ac_save_FCFLAGS=$FCFLAGS
13035 FCFLAGS=
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13037 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13038 if test "${ac_cv_prog_fc_g+set}" = set; then :
13039 $as_echo_n "(cached) " >&6
13040 else
13041 FCFLAGS=-g
13042 cat > conftest.$ac_ext <<_ACEOF
13043 program main
13046 _ACEOF
13047 if ac_fn_fc_try_compile "$LINENO"; then :
13048 ac_cv_prog_fc_g=yes
13049 else
13050 ac_cv_prog_fc_g=no
13052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13056 $as_echo "$ac_cv_prog_fc_g" >&6; }
13057 if test "$ac_test_FCFLAGS" = set; then
13058 FCFLAGS=$ac_save_FCFLAGS
13059 elif test $ac_cv_prog_fc_g = yes; then
13060 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13061 FCFLAGS="-g -O2"
13062 else
13063 FCFLAGS="-g"
13065 else
13066 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13067 FCFLAGS="-O2"
13068 else
13069 FCFLAGS=
13073 ac_ext=c
13074 ac_cpp='$CPP $CPPFLAGS'
13075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13079 ac_ext=${ac_fc_srcext-f}
13080 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13081 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13082 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13085 if test -z "$FC" || test "X$FC" = "Xno"; then
13086 _lt_disable_FC=yes
13089 archive_cmds_need_lc_FC=no
13090 allow_undefined_flag_FC=
13091 always_export_symbols_FC=no
13092 archive_expsym_cmds_FC=
13093 export_dynamic_flag_spec_FC=
13094 hardcode_direct_FC=no
13095 hardcode_direct_absolute_FC=no
13096 hardcode_libdir_flag_spec_FC=
13097 hardcode_libdir_flag_spec_ld_FC=
13098 hardcode_libdir_separator_FC=
13099 hardcode_minus_L_FC=no
13100 hardcode_automatic_FC=no
13101 inherit_rpath_FC=no
13102 module_cmds_FC=
13103 module_expsym_cmds_FC=
13104 link_all_deplibs_FC=unknown
13105 old_archive_cmds_FC=$old_archive_cmds
13106 reload_flag_FC=$reload_flag
13107 reload_cmds_FC=$reload_cmds
13108 no_undefined_flag_FC=
13109 whole_archive_flag_spec_FC=
13110 enable_shared_with_static_runtimes_FC=no
13112 # Source file extension for fc test sources.
13113 ac_ext=${ac_fc_srcext-f}
13115 # Object file extension for compiled fc test sources.
13116 objext=o
13117 objext_FC=$objext
13119 # No sense in running all these tests if we already determined that
13120 # the FC compiler isn't working. Some variables (like enable_shared)
13121 # are currently assumed to apply to all compilers on this platform,
13122 # and will be corrupted by setting them based on a non-working compiler.
13123 if test "$_lt_disable_FC" != yes; then
13124 # Code to be used in simple compile tests
13125 lt_simple_compile_test_code="\
13126 subroutine t
13127 return
13131 # Code to be used in simple link tests
13132 lt_simple_link_test_code="\
13133 program t
13137 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13144 # If no C compiler was specified, use CC.
13145 LTCC=${LTCC-"$CC"}
13147 # If no C compiler flags were specified, use CFLAGS.
13148 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13150 # Allow CC to be a program name with arguments.
13151 compiler=$CC
13154 # save warnings/boilerplate of simple test code
13155 ac_outfile=conftest.$ac_objext
13156 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13157 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13158 _lt_compiler_boilerplate=`cat conftest.err`
13159 $RM conftest*
13161 ac_outfile=conftest.$ac_objext
13162 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13163 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13164 _lt_linker_boilerplate=`cat conftest.err`
13165 $RM -r conftest*
13168 # Allow CC to be a program name with arguments.
13169 lt_save_CC="$CC"
13170 lt_save_GCC=$GCC
13171 CC=${FC-"f95"}
13172 compiler=$CC
13173 GCC=$ac_cv_fc_compiler_gnu
13175 compiler_FC=$CC
13176 for cc_temp in $compiler""; do
13177 case $cc_temp in
13178 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13179 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13180 \-*) ;;
13181 *) break;;
13182 esac
13183 done
13184 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13187 if test -n "$compiler"; then
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13189 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13191 $as_echo "$can_build_shared" >&6; }
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13194 $as_echo_n "checking whether to build shared libraries... " >&6; }
13195 test "$can_build_shared" = "no" && enable_shared=no
13197 # On AIX, shared libraries and static libraries use the same namespace, and
13198 # are all built from PIC.
13199 case $host_os in
13200 aix3*)
13201 test "$enable_shared" = yes && enable_static=no
13202 if test -n "$RANLIB"; then
13203 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13204 postinstall_cmds='$RANLIB $lib'
13207 aix[4-9]*)
13208 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13209 test "$enable_shared" = yes && enable_static=no
13212 esac
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13214 $as_echo "$enable_shared" >&6; }
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13217 $as_echo_n "checking whether to build static libraries... " >&6; }
13218 # Make sure either enable_shared or enable_static is yes.
13219 test "$enable_shared" = yes || enable_static=yes
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13221 $as_echo "$enable_static" >&6; }
13223 GCC_FC="$ac_cv_fc_compiler_gnu"
13224 LD_FC="$LD"
13226 ## CAVEAT EMPTOR:
13227 ## There is no encapsulation within the following macros, do not change
13228 ## the running order or otherwise move them around unless you know exactly
13229 ## what you are doing...
13230 # Dependencies to place before and after the object being linked:
13231 predep_objects_FC=
13232 postdep_objects_FC=
13233 predeps_FC=
13234 postdeps_FC=
13235 compiler_lib_search_path_FC=
13237 cat > conftest.$ac_ext <<_LT_EOF
13238 subroutine foo
13239 implicit none
13240 integer a
13242 return
13244 _LT_EOF
13246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13247 (eval $ac_compile) 2>&5
13248 ac_status=$?
13249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13250 test $ac_status = 0; }; then
13251 # Parse the compiler output and extract the necessary
13252 # objects, libraries and library flags.
13254 # Sentinel used to keep track of whether or not we are before
13255 # the conftest object file.
13256 pre_test_object_deps_done=no
13258 for p in `eval "$output_verbose_link_cmd"`; do
13259 case $p in
13261 -L* | -R* | -l*)
13262 # Some compilers place space between "-{L,R}" and the path.
13263 # Remove the space.
13264 if test $p = "-L" ||
13265 test $p = "-R"; then
13266 prev=$p
13267 continue
13268 else
13269 prev=
13272 if test "$pre_test_object_deps_done" = no; then
13273 case $p in
13274 -L* | -R*)
13275 # Internal compiler library paths should come after those
13276 # provided the user. The postdeps already come after the
13277 # user supplied libs so there is no need to process them.
13278 if test -z "$compiler_lib_search_path_FC"; then
13279 compiler_lib_search_path_FC="${prev}${p}"
13280 else
13281 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13284 # The "-l" case would never come before the object being
13285 # linked, so don't bother handling this case.
13286 esac
13287 else
13288 if test -z "$postdeps_FC"; then
13289 postdeps_FC="${prev}${p}"
13290 else
13291 postdeps_FC="${postdeps_FC} ${prev}${p}"
13296 *.$objext)
13297 # This assumes that the test object file only shows up
13298 # once in the compiler output.
13299 if test "$p" = "conftest.$objext"; then
13300 pre_test_object_deps_done=yes
13301 continue
13304 if test "$pre_test_object_deps_done" = no; then
13305 if test -z "$predep_objects_FC"; then
13306 predep_objects_FC="$p"
13307 else
13308 predep_objects_FC="$predep_objects_FC $p"
13310 else
13311 if test -z "$postdep_objects_FC"; then
13312 postdep_objects_FC="$p"
13313 else
13314 postdep_objects_FC="$postdep_objects_FC $p"
13319 *) ;; # Ignore the rest.
13321 esac
13322 done
13324 # Clean up.
13325 rm -f a.out a.exe
13326 else
13327 echo "libtool.m4: error: problem compiling FC test program"
13330 $RM -f confest.$objext
13332 # PORTME: override above test on systems where it is broken
13335 case " $postdeps_FC " in
13336 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13337 esac
13338 compiler_lib_search_dirs_FC=
13339 if test -n "${compiler_lib_search_path_FC}"; then
13340 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13373 lt_prog_compiler_wl_FC=
13374 lt_prog_compiler_pic_FC=
13375 lt_prog_compiler_static_FC=
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13378 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13380 if test "$GCC" = yes; then
13381 lt_prog_compiler_wl_FC='-Wl,'
13382 lt_prog_compiler_static_FC='-static'
13384 case $host_os in
13385 aix*)
13386 # All AIX code is PIC.
13387 if test "$host_cpu" = ia64; then
13388 # AIX 5 now supports IA64 processor
13389 lt_prog_compiler_static_FC='-Bstatic'
13391 lt_prog_compiler_pic_FC='-fPIC'
13394 amigaos*)
13395 case $host_cpu in
13396 powerpc)
13397 # see comment about AmigaOS4 .so support
13398 lt_prog_compiler_pic_FC='-fPIC'
13400 m68k)
13401 # FIXME: we need at least 68020 code to build shared libraries, but
13402 # adding the `-m68020' flag to GCC prevents building anything better,
13403 # like `-m68040'.
13404 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13406 esac
13409 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13410 # PIC is the default for these OSes.
13413 mingw* | cygwin* | pw32* | os2* | cegcc*)
13414 # This hack is so that the source file can tell whether it is being
13415 # built for inclusion in a dll (and should export symbols for example).
13416 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13417 # (--disable-auto-import) libraries
13418 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13421 darwin* | rhapsody*)
13422 # PIC is the default on this platform
13423 # Common symbols not allowed in MH_DYLIB files
13424 lt_prog_compiler_pic_FC='-fno-common'
13427 haiku*)
13428 # PIC is the default for Haiku.
13429 # The "-static" flag exists, but is broken.
13430 lt_prog_compiler_static_FC=
13433 hpux*)
13434 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13435 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13436 # sets the default TLS model and affects inlining.
13437 case $host_cpu in
13438 hppa*64*)
13439 # +Z the default
13442 lt_prog_compiler_pic_FC='-fPIC'
13444 esac
13447 interix[3-9]*)
13448 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13449 # Instead, we relocate shared libraries at runtime.
13452 msdosdjgpp*)
13453 # Just because we use GCC doesn't mean we suddenly get shared libraries
13454 # on systems that don't support them.
13455 lt_prog_compiler_can_build_shared_FC=no
13456 enable_shared=no
13459 *nto* | *qnx*)
13460 # QNX uses GNU C++, but need to define -shared option too, otherwise
13461 # it will coredump.
13462 lt_prog_compiler_pic_FC='-fPIC -shared'
13465 sysv4*MP*)
13466 if test -d /usr/nec; then
13467 lt_prog_compiler_pic_FC=-Kconform_pic
13472 lt_prog_compiler_pic_FC='-fPIC'
13474 esac
13476 case $cc_basename in
13477 nvcc*) # Cuda Compiler Driver 2.2
13478 lt_prog_compiler_wl_FC='-Xlinker '
13479 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13481 esac
13482 else
13483 # PORTME Check for flag to pass linker flags through the system compiler.
13484 case $host_os in
13485 aix*)
13486 lt_prog_compiler_wl_FC='-Wl,'
13487 if test "$host_cpu" = ia64; then
13488 # AIX 5 now supports IA64 processor
13489 lt_prog_compiler_static_FC='-Bstatic'
13490 else
13491 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13495 mingw* | cygwin* | pw32* | os2* | cegcc*)
13496 # This hack is so that the source file can tell whether it is being
13497 # built for inclusion in a dll (and should export symbols for example).
13498 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13501 hpux9* | hpux10* | hpux11*)
13502 lt_prog_compiler_wl_FC='-Wl,'
13503 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13504 # not for PA HP-UX.
13505 case $host_cpu in
13506 hppa*64*|ia64*)
13507 # +Z the default
13510 lt_prog_compiler_pic_FC='+Z'
13512 esac
13513 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13514 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13517 irix5* | irix6* | nonstopux*)
13518 lt_prog_compiler_wl_FC='-Wl,'
13519 # PIC (with -KPIC) is the default.
13520 lt_prog_compiler_static_FC='-non_shared'
13523 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13524 case $cc_basename in
13525 # old Intel for x86_64 which still supported -KPIC.
13526 ecc*)
13527 lt_prog_compiler_wl_FC='-Wl,'
13528 lt_prog_compiler_pic_FC='-KPIC'
13529 lt_prog_compiler_static_FC='-static'
13531 # icc used to be incompatible with GCC.
13532 # ICC 10 doesn't accept -KPIC any more.
13533 icc* | ifort*)
13534 lt_prog_compiler_wl_FC='-Wl,'
13535 lt_prog_compiler_pic_FC='-fPIC'
13536 lt_prog_compiler_static_FC='-static'
13538 # Lahey Fortran 8.1.
13539 lf95*)
13540 lt_prog_compiler_wl_FC='-Wl,'
13541 lt_prog_compiler_pic_FC='--shared'
13542 lt_prog_compiler_static_FC='--static'
13544 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13545 # Portland Group compilers (*not* the Pentium gcc compiler,
13546 # which looks to be a dead project)
13547 lt_prog_compiler_wl_FC='-Wl,'
13548 lt_prog_compiler_pic_FC='-fpic'
13549 lt_prog_compiler_static_FC='-Bstatic'
13551 ccc*)
13552 lt_prog_compiler_wl_FC='-Wl,'
13553 # All Alpha code is PIC.
13554 lt_prog_compiler_static_FC='-non_shared'
13556 xl* | bgxl* | bgf* | mpixl*)
13557 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13558 lt_prog_compiler_wl_FC='-Wl,'
13559 lt_prog_compiler_pic_FC='-qpic'
13560 lt_prog_compiler_static_FC='-qstaticlink'
13563 case `$CC -V 2>&1 | sed 5q` in
13564 *Sun\ F* | *Sun*Fortran*)
13565 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13566 lt_prog_compiler_pic_FC='-KPIC'
13567 lt_prog_compiler_static_FC='-Bstatic'
13568 lt_prog_compiler_wl_FC=''
13570 *Sun\ C*)
13571 # Sun C 5.9
13572 lt_prog_compiler_pic_FC='-KPIC'
13573 lt_prog_compiler_static_FC='-Bstatic'
13574 lt_prog_compiler_wl_FC='-Wl,'
13576 esac
13578 esac
13581 newsos6)
13582 lt_prog_compiler_pic_FC='-KPIC'
13583 lt_prog_compiler_static_FC='-Bstatic'
13586 *nto* | *qnx*)
13587 # QNX uses GNU C++, but need to define -shared option too, otherwise
13588 # it will coredump.
13589 lt_prog_compiler_pic_FC='-fPIC -shared'
13592 osf3* | osf4* | osf5*)
13593 lt_prog_compiler_wl_FC='-Wl,'
13594 # All OSF/1 code is PIC.
13595 lt_prog_compiler_static_FC='-non_shared'
13598 rdos*)
13599 lt_prog_compiler_static_FC='-non_shared'
13602 solaris*)
13603 lt_prog_compiler_pic_FC='-KPIC'
13604 lt_prog_compiler_static_FC='-Bstatic'
13605 case $cc_basename in
13606 f77* | f90* | f95*)
13607 lt_prog_compiler_wl_FC='-Qoption ld ';;
13609 lt_prog_compiler_wl_FC='-Wl,';;
13610 esac
13613 sunos4*)
13614 lt_prog_compiler_wl_FC='-Qoption ld '
13615 lt_prog_compiler_pic_FC='-PIC'
13616 lt_prog_compiler_static_FC='-Bstatic'
13619 sysv4 | sysv4.2uw2* | sysv4.3*)
13620 lt_prog_compiler_wl_FC='-Wl,'
13621 lt_prog_compiler_pic_FC='-KPIC'
13622 lt_prog_compiler_static_FC='-Bstatic'
13625 sysv4*MP*)
13626 if test -d /usr/nec ;then
13627 lt_prog_compiler_pic_FC='-Kconform_pic'
13628 lt_prog_compiler_static_FC='-Bstatic'
13632 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13633 lt_prog_compiler_wl_FC='-Wl,'
13634 lt_prog_compiler_pic_FC='-KPIC'
13635 lt_prog_compiler_static_FC='-Bstatic'
13638 unicos*)
13639 lt_prog_compiler_wl_FC='-Wl,'
13640 lt_prog_compiler_can_build_shared_FC=no
13643 uts4*)
13644 lt_prog_compiler_pic_FC='-pic'
13645 lt_prog_compiler_static_FC='-Bstatic'
13649 lt_prog_compiler_can_build_shared_FC=no
13651 esac
13654 case $host_os in
13655 # For platforms which do not support PIC, -DPIC is meaningless:
13656 *djgpp*)
13657 lt_prog_compiler_pic_FC=
13660 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13662 esac
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13664 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13669 # Check to make sure the PIC flag actually works.
13671 if test -n "$lt_prog_compiler_pic_FC"; then
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13673 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13674 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13675 $as_echo_n "(cached) " >&6
13676 else
13677 lt_cv_prog_compiler_pic_works_FC=no
13678 ac_outfile=conftest.$ac_objext
13679 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13680 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13681 # Insert the option either (1) after the last *FLAGS variable, or
13682 # (2) before a word containing "conftest.", or (3) at the end.
13683 # Note that $ac_compile itself does not contain backslashes and begins
13684 # with a dollar sign (not a hyphen), so the echo should work correctly.
13685 # The option is referenced via a variable to avoid confusing sed.
13686 lt_compile=`echo "$ac_compile" | $SED \
13687 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13688 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13689 -e 's:$: $lt_compiler_flag:'`
13690 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13691 (eval "$lt_compile" 2>conftest.err)
13692 ac_status=$?
13693 cat conftest.err >&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 if (exit $ac_status) && test -s "$ac_outfile"; then
13696 # The compiler can only warn and ignore the option if not recognized
13697 # So say no if there are warnings other than the usual output.
13698 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13699 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13700 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13701 lt_cv_prog_compiler_pic_works_FC=yes
13704 $RM conftest*
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13708 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13710 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13711 case $lt_prog_compiler_pic_FC in
13712 "" | " "*) ;;
13713 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13714 esac
13715 else
13716 lt_prog_compiler_pic_FC=
13717 lt_prog_compiler_can_build_shared_FC=no
13725 # Check to make sure the static flag actually works.
13727 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13729 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13730 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13731 $as_echo_n "(cached) " >&6
13732 else
13733 lt_cv_prog_compiler_static_works_FC=no
13734 save_LDFLAGS="$LDFLAGS"
13735 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13736 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13737 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13738 # The linker can only warn and ignore the option if not recognized
13739 # So say no if there are warnings
13740 if test -s conftest.err; then
13741 # Append any errors to the config.log.
13742 cat conftest.err 1>&5
13743 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13744 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13745 if diff conftest.exp conftest.er2 >/dev/null; then
13746 lt_cv_prog_compiler_static_works_FC=yes
13748 else
13749 lt_cv_prog_compiler_static_works_FC=yes
13752 $RM -r conftest*
13753 LDFLAGS="$save_LDFLAGS"
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13757 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13759 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13761 else
13762 lt_prog_compiler_static_FC=
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13769 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13770 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13771 $as_echo_n "(cached) " >&6
13772 else
13773 lt_cv_prog_compiler_c_o_FC=no
13774 $RM -r conftest 2>/dev/null
13775 mkdir conftest
13776 cd conftest
13777 mkdir out
13778 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13780 lt_compiler_flag="-o out/conftest2.$ac_objext"
13781 # Insert the option either (1) after the last *FLAGS variable, or
13782 # (2) before a word containing "conftest.", or (3) at the end.
13783 # Note that $ac_compile itself does not contain backslashes and begins
13784 # with a dollar sign (not a hyphen), so the echo should work correctly.
13785 lt_compile=`echo "$ac_compile" | $SED \
13786 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13788 -e 's:$: $lt_compiler_flag:'`
13789 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13790 (eval "$lt_compile" 2>out/conftest.err)
13791 ac_status=$?
13792 cat out/conftest.err >&5
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13795 then
13796 # The compiler can only warn and ignore the option if not recognized
13797 # So say no if there are warnings
13798 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13799 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13800 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13801 lt_cv_prog_compiler_c_o_FC=yes
13804 chmod u+w . 2>&5
13805 $RM conftest*
13806 # SGI C++ compiler will create directory out/ii_files/ for
13807 # template instantiation
13808 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13809 $RM out/* && rmdir out
13810 cd ..
13811 $RM -r conftest
13812 $RM conftest*
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13816 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13821 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13822 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13823 $as_echo_n "(cached) " >&6
13824 else
13825 lt_cv_prog_compiler_c_o_FC=no
13826 $RM -r conftest 2>/dev/null
13827 mkdir conftest
13828 cd conftest
13829 mkdir out
13830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13832 lt_compiler_flag="-o out/conftest2.$ac_objext"
13833 # Insert the option either (1) after the last *FLAGS variable, or
13834 # (2) before a word containing "conftest.", or (3) at the end.
13835 # Note that $ac_compile itself does not contain backslashes and begins
13836 # with a dollar sign (not a hyphen), so the echo should work correctly.
13837 lt_compile=`echo "$ac_compile" | $SED \
13838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13840 -e 's:$: $lt_compiler_flag:'`
13841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13842 (eval "$lt_compile" 2>out/conftest.err)
13843 ac_status=$?
13844 cat out/conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13847 then
13848 # The compiler can only warn and ignore the option if not recognized
13849 # So say no if there are warnings
13850 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13851 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13852 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13853 lt_cv_prog_compiler_c_o_FC=yes
13856 chmod u+w . 2>&5
13857 $RM conftest*
13858 # SGI C++ compiler will create directory out/ii_files/ for
13859 # template instantiation
13860 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13861 $RM out/* && rmdir out
13862 cd ..
13863 $RM -r conftest
13864 $RM conftest*
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13868 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13873 hard_links="nottested"
13874 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13875 # do not overwrite the value of need_locks provided by the user
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13877 $as_echo_n "checking if we can lock with hard links... " >&6; }
13878 hard_links=yes
13879 $RM conftest*
13880 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13881 touch conftest.a
13882 ln conftest.a conftest.b 2>&5 || hard_links=no
13883 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13885 $as_echo "$hard_links" >&6; }
13886 if test "$hard_links" = no; then
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13888 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13889 need_locks=warn
13891 else
13892 need_locks=no
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13898 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13900 runpath_var=
13901 allow_undefined_flag_FC=
13902 always_export_symbols_FC=no
13903 archive_cmds_FC=
13904 archive_expsym_cmds_FC=
13905 compiler_needs_object_FC=no
13906 enable_shared_with_static_runtimes_FC=no
13907 export_dynamic_flag_spec_FC=
13908 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13909 hardcode_automatic_FC=no
13910 hardcode_direct_FC=no
13911 hardcode_direct_absolute_FC=no
13912 hardcode_libdir_flag_spec_FC=
13913 hardcode_libdir_flag_spec_ld_FC=
13914 hardcode_libdir_separator_FC=
13915 hardcode_minus_L_FC=no
13916 hardcode_shlibpath_var_FC=unsupported
13917 inherit_rpath_FC=no
13918 link_all_deplibs_FC=unknown
13919 module_cmds_FC=
13920 module_expsym_cmds_FC=
13921 old_archive_from_new_cmds_FC=
13922 old_archive_from_expsyms_cmds_FC=
13923 thread_safe_flag_spec_FC=
13924 whole_archive_flag_spec_FC=
13925 # include_expsyms should be a list of space-separated symbols to be *always*
13926 # included in the symbol list
13927 include_expsyms_FC=
13928 # exclude_expsyms can be an extended regexp of symbols to exclude
13929 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13930 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13931 # as well as any symbol that contains `d'.
13932 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13933 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13934 # platforms (ab)use it in PIC code, but their linkers get confused if
13935 # the symbol is explicitly referenced. Since portable code cannot
13936 # rely on this symbol name, it's probably fine to never include it in
13937 # preloaded symbol tables.
13938 # Exclude shared library initialization/finalization symbols.
13939 extract_expsyms_cmds=
13941 case $host_os in
13942 cygwin* | mingw* | pw32* | cegcc*)
13943 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13944 # When not using gcc, we currently assume that we are using
13945 # Microsoft Visual C++.
13946 if test "$GCC" != yes; then
13947 with_gnu_ld=no
13950 interix*)
13951 # we just hope/assume this is gcc and not c89 (= MSVC++)
13952 with_gnu_ld=yes
13954 openbsd*)
13955 with_gnu_ld=no
13957 esac
13959 ld_shlibs_FC=yes
13961 # On some targets, GNU ld is compatible enough with the native linker
13962 # that we're better off using the native interface for both.
13963 lt_use_gnu_ld_interface=no
13964 if test "$with_gnu_ld" = yes; then
13965 case $host_os in
13966 aix*)
13967 # The AIX port of GNU ld has always aspired to compatibility
13968 # with the native linker. However, as the warning in the GNU ld
13969 # block says, versions before 2.19.5* couldn't really create working
13970 # shared libraries, regardless of the interface used.
13971 case `$LD -v 2>&1` in
13972 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13973 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13974 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13976 lt_use_gnu_ld_interface=yes
13978 esac
13981 lt_use_gnu_ld_interface=yes
13983 esac
13986 if test "$lt_use_gnu_ld_interface" = yes; then
13987 # If archive_cmds runs LD, not CC, wlarc should be empty
13988 wlarc='${wl}'
13990 # Set some defaults for GNU ld with shared library support. These
13991 # are reset later if shared libraries are not supported. Putting them
13992 # here allows them to be overridden if necessary.
13993 runpath_var=LD_RUN_PATH
13994 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13995 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13996 # ancient GNU ld didn't support --whole-archive et. al.
13997 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13998 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13999 else
14000 whole_archive_flag_spec_FC=
14002 supports_anon_versioning=no
14003 case `$LD -v 2>&1` in
14004 *GNU\ gold*) supports_anon_versioning=yes ;;
14005 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14006 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14007 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14008 *\ 2.11.*) ;; # other 2.11 versions
14009 *) supports_anon_versioning=yes ;;
14010 esac
14012 # See if GNU ld supports shared libraries.
14013 case $host_os in
14014 aix[3-9]*)
14015 # On AIX/PPC, the GNU linker is very broken
14016 if test "$host_cpu" != ia64; then
14017 ld_shlibs_FC=no
14018 cat <<_LT_EOF 1>&2
14020 *** Warning: the GNU linker, at least up to release 2.19, is reported
14021 *** to be unable to reliably create shared libraries on AIX.
14022 *** Therefore, libtool is disabling shared libraries support. If you
14023 *** really care for shared libraries, you may want to install binutils
14024 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14025 *** You will then need to restart the configuration process.
14027 _LT_EOF
14031 amigaos*)
14032 case $host_cpu in
14033 powerpc)
14034 # see comment about AmigaOS4 .so support
14035 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14036 archive_expsym_cmds_FC=''
14038 m68k)
14039 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)'
14040 hardcode_libdir_flag_spec_FC='-L$libdir'
14041 hardcode_minus_L_FC=yes
14043 esac
14046 beos*)
14047 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14048 allow_undefined_flag_FC=unsupported
14049 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14050 # support --undefined. This deserves some investigation. FIXME
14051 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14052 else
14053 ld_shlibs_FC=no
14057 cygwin* | mingw* | pw32* | cegcc*)
14058 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14059 # as there is no search path for DLLs.
14060 hardcode_libdir_flag_spec_FC='-L$libdir'
14061 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14062 allow_undefined_flag_FC=unsupported
14063 always_export_symbols_FC=no
14064 enable_shared_with_static_runtimes_FC=yes
14065 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14067 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14068 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14069 # If the export-symbols file already is a .def file (1st line
14070 # is EXPORTS), use it as is; otherwise, prepend...
14071 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14072 cp $export_symbols $output_objdir/$soname.def;
14073 else
14074 echo EXPORTS > $output_objdir/$soname.def;
14075 cat $export_symbols >> $output_objdir/$soname.def;
14077 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14078 else
14079 ld_shlibs_FC=no
14083 haiku*)
14084 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14085 link_all_deplibs_FC=yes
14088 interix[3-9]*)
14089 hardcode_direct_FC=no
14090 hardcode_shlibpath_var_FC=no
14091 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14092 export_dynamic_flag_spec_FC='${wl}-E'
14093 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14094 # Instead, shared libraries are loaded at an image base (0x10000000 by
14095 # default) and relocated if they conflict, which is a slow very memory
14096 # consuming and fragmenting process. To avoid this, we pick a random,
14097 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14098 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14099 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'
14100 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'
14103 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
14104 tmp_diet=no
14105 if test "$host_os" = linux-dietlibc; then
14106 case $cc_basename in
14107 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14108 esac
14110 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14111 && test "$tmp_diet" = no
14112 then
14113 tmp_addflag=' $pic_flag'
14114 tmp_sharedflag='-shared'
14115 case $cc_basename,$host_cpu in
14116 pgcc*) # Portland Group C compiler
14117 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'
14118 tmp_addflag=' $pic_flag'
14120 pgf77* | pgf90* | pgf95* | pgfortran*)
14121 # Portland Group f77 and f90 compilers
14122 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'
14123 tmp_addflag=' $pic_flag -Mnomain' ;;
14124 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14125 tmp_addflag=' -i_dynamic' ;;
14126 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14127 tmp_addflag=' -i_dynamic -nofor_main' ;;
14128 ifc* | ifort*) # Intel Fortran compiler
14129 tmp_addflag=' -nofor_main' ;;
14130 lf95*) # Lahey Fortran 8.1
14131 whole_archive_flag_spec_FC=
14132 tmp_sharedflag='--shared' ;;
14133 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14134 tmp_sharedflag='-qmkshrobj'
14135 tmp_addflag= ;;
14136 nvcc*) # Cuda Compiler Driver 2.2
14137 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'
14138 compiler_needs_object_FC=yes
14140 esac
14141 case `$CC -V 2>&1 | sed 5q` in
14142 *Sun\ C*) # Sun C 5.9
14143 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'
14144 compiler_needs_object_FC=yes
14145 tmp_sharedflag='-G' ;;
14146 *Sun\ F*) # Sun Fortran 8.3
14147 tmp_sharedflag='-G' ;;
14148 esac
14149 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14151 if test "x$supports_anon_versioning" = xyes; then
14152 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14153 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14154 echo "local: *; };" >> $output_objdir/$libname.ver~
14155 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14158 case $cc_basename in
14159 xlf* | bgf* | bgxlf* | mpixlf*)
14160 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14161 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14162 hardcode_libdir_flag_spec_FC=
14163 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14164 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14165 if test "x$supports_anon_versioning" = xyes; then
14166 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14167 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14168 echo "local: *; };" >> $output_objdir/$libname.ver~
14169 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14172 esac
14173 else
14174 ld_shlibs_FC=no
14178 netbsd*)
14179 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14180 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14181 wlarc=
14182 else
14183 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14184 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14188 solaris*)
14189 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14190 ld_shlibs_FC=no
14191 cat <<_LT_EOF 1>&2
14193 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14194 *** create shared libraries on Solaris systems. Therefore, libtool
14195 *** is disabling shared libraries support. We urge you to upgrade GNU
14196 *** binutils to release 2.9.1 or newer. Another option is to modify
14197 *** your PATH or compiler configuration so that the native linker is
14198 *** used, and then restart.
14200 _LT_EOF
14201 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14202 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14203 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14204 else
14205 ld_shlibs_FC=no
14209 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14210 case `$LD -v 2>&1` in
14211 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14212 ld_shlibs_FC=no
14213 cat <<_LT_EOF 1>&2
14215 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14216 *** reliably create shared libraries on SCO systems. Therefore, libtool
14217 *** is disabling shared libraries support. We urge you to upgrade GNU
14218 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14219 *** your PATH or compiler configuration so that the native linker is
14220 *** used, and then restart.
14222 _LT_EOF
14225 # For security reasons, it is highly recommended that you always
14226 # use absolute paths for naming shared libraries, and exclude the
14227 # DT_RUNPATH tag from executables and libraries. But doing so
14228 # requires that you compile everything twice, which is a pain.
14229 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14230 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14231 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14232 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14233 else
14234 ld_shlibs_FC=no
14237 esac
14240 sunos4*)
14241 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14242 wlarc=
14243 hardcode_direct_FC=yes
14244 hardcode_shlibpath_var_FC=no
14248 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14249 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14250 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14251 else
14252 ld_shlibs_FC=no
14255 esac
14257 if test "$ld_shlibs_FC" = no; then
14258 runpath_var=
14259 hardcode_libdir_flag_spec_FC=
14260 export_dynamic_flag_spec_FC=
14261 whole_archive_flag_spec_FC=
14263 else
14264 # PORTME fill in a description of your system's linker (not GNU ld)
14265 case $host_os in
14266 aix3*)
14267 allow_undefined_flag_FC=unsupported
14268 always_export_symbols_FC=yes
14269 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'
14270 # Note: this linker hardcodes the directories in LIBPATH if there
14271 # are no directories specified by -L.
14272 hardcode_minus_L_FC=yes
14273 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14274 # Neither direct hardcoding nor static linking is supported with a
14275 # broken collect2.
14276 hardcode_direct_FC=unsupported
14280 aix[4-9]*)
14281 if test "$host_cpu" = ia64; then
14282 # On IA64, the linker does run time linking by default, so we don't
14283 # have to do anything special.
14284 aix_use_runtimelinking=no
14285 exp_sym_flag='-Bexport'
14286 no_entry_flag=""
14287 else
14288 # If we're using GNU nm, then we don't want the "-C" option.
14289 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14290 # Also, AIX nm treats weak defined symbols like other global
14291 # defined symbols, whereas GNU nm marks them as "W".
14292 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14293 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'
14294 else
14295 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14297 aix_use_runtimelinking=no
14299 # Test if we are trying to use run time linking or normal
14300 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14301 # need to do runtime linking.
14302 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14303 for ld_flag in $LDFLAGS; do
14304 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14305 aix_use_runtimelinking=yes
14306 break
14308 done
14310 esac
14312 exp_sym_flag='-bexport'
14313 no_entry_flag='-bnoentry'
14316 # When large executables or shared objects are built, AIX ld can
14317 # have problems creating the table of contents. If linking a library
14318 # or program results in "error TOC overflow" add -mminimal-toc to
14319 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14320 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14322 archive_cmds_FC=''
14323 hardcode_direct_FC=yes
14324 hardcode_direct_absolute_FC=yes
14325 hardcode_libdir_separator_FC=':'
14326 link_all_deplibs_FC=yes
14327 file_list_spec_FC='${wl}-f,'
14329 if test "$GCC" = yes; then
14330 case $host_os in aix4.[012]|aix4.[012].*)
14331 # We only want to do this on AIX 4.2 and lower, the check
14332 # below for broken collect2 doesn't work under 4.3+
14333 collect2name=`${CC} -print-prog-name=collect2`
14334 if test -f "$collect2name" &&
14335 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14336 then
14337 # We have reworked collect2
14339 else
14340 # We have old collect2
14341 hardcode_direct_FC=unsupported
14342 # It fails to find uninstalled libraries when the uninstalled
14343 # path is not listed in the libpath. Setting hardcode_minus_L
14344 # to unsupported forces relinking
14345 hardcode_minus_L_FC=yes
14346 hardcode_libdir_flag_spec_FC='-L$libdir'
14347 hardcode_libdir_separator_FC=
14350 esac
14351 shared_flag='-shared'
14352 if test "$aix_use_runtimelinking" = yes; then
14353 shared_flag="$shared_flag "'${wl}-G'
14355 else
14356 # not using gcc
14357 if test "$host_cpu" = ia64; then
14358 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14359 # chokes on -Wl,-G. The following line is correct:
14360 shared_flag='-G'
14361 else
14362 if test "$aix_use_runtimelinking" = yes; then
14363 shared_flag='${wl}-G'
14364 else
14365 shared_flag='${wl}-bM:SRE'
14370 export_dynamic_flag_spec_FC='${wl}-bexpall'
14371 # It seems that -bexpall does not export symbols beginning with
14372 # underscore (_), so it is better to generate a list of symbols to export.
14373 always_export_symbols_FC=yes
14374 if test "$aix_use_runtimelinking" = yes; then
14375 # Warning - without using the other runtime loading flags (-brtl),
14376 # -berok will link without error, but may produce a broken library.
14377 allow_undefined_flag_FC='-berok'
14378 # Determine the default libpath from the value encoded in an
14379 # empty executable.
14380 if test x$gcc_no_link = xyes; then
14381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14383 cat > conftest.$ac_ext <<_ACEOF
14384 program main
14387 _ACEOF
14388 if ac_fn_fc_try_link "$LINENO"; then :
14390 lt_aix_libpath_sed='
14391 /Import File Strings/,/^$/ {
14392 /^0/ {
14393 s/^0 *\(.*\)$/\1/
14397 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14398 # Check for a 64-bit object if we didn't find anything.
14399 if test -z "$aix_libpath"; then
14400 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14403 rm -f core conftest.err conftest.$ac_objext \
14404 conftest$ac_exeext conftest.$ac_ext
14405 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14407 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14408 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"
14409 else
14410 if test "$host_cpu" = ia64; then
14411 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14412 allow_undefined_flag_FC="-z nodefs"
14413 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"
14414 else
14415 # Determine the default libpath from the value encoded in an
14416 # empty executable.
14417 if test x$gcc_no_link = xyes; then
14418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14420 cat > conftest.$ac_ext <<_ACEOF
14421 program main
14424 _ACEOF
14425 if ac_fn_fc_try_link "$LINENO"; then :
14427 lt_aix_libpath_sed='
14428 /Import File Strings/,/^$/ {
14429 /^0/ {
14430 s/^0 *\(.*\)$/\1/
14434 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14435 # Check for a 64-bit object if we didn't find anything.
14436 if test -z "$aix_libpath"; then
14437 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14440 rm -f core conftest.err conftest.$ac_objext \
14441 conftest$ac_exeext conftest.$ac_ext
14442 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14444 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14445 # Warning - without using the other run time loading flags,
14446 # -berok will link without error, but may produce a broken library.
14447 no_undefined_flag_FC=' ${wl}-bernotok'
14448 allow_undefined_flag_FC=' ${wl}-berok'
14449 if test "$with_gnu_ld" = yes; then
14450 # We only use this code for GNU lds that support --whole-archive.
14451 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14452 else
14453 # Exported symbols can be pulled into shared objects from archives
14454 whole_archive_flag_spec_FC='$convenience'
14456 archive_cmds_need_lc_FC=yes
14457 # This is similar to how AIX traditionally builds its shared libraries.
14458 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'
14463 amigaos*)
14464 case $host_cpu in
14465 powerpc)
14466 # see comment about AmigaOS4 .so support
14467 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14468 archive_expsym_cmds_FC=''
14470 m68k)
14471 archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14472 hardcode_libdir_flag_spec_FC='-L$libdir'
14473 hardcode_minus_L_FC=yes
14475 esac
14478 bsdi[45]*)
14479 export_dynamic_flag_spec_FC=-rdynamic
14482 cygwin* | mingw* | pw32* | cegcc*)
14483 # When not using gcc, we currently assume that we are using
14484 # Microsoft Visual C++.
14485 # hardcode_libdir_flag_spec is actually meaningless, as there is
14486 # no search path for DLLs.
14487 hardcode_libdir_flag_spec_FC=' '
14488 allow_undefined_flag_FC=unsupported
14489 # Tell ltmain to make .lib files, not .a files.
14490 libext=lib
14491 # Tell ltmain to make .dll files, not .so files.
14492 shrext_cmds=".dll"
14493 # FIXME: Setting linknames here is a bad hack.
14494 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14495 # The linker will automatically build a .lib file if we build a DLL.
14496 old_archive_from_new_cmds_FC='true'
14497 # FIXME: Should let the user specify the lib program.
14498 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14499 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14500 enable_shared_with_static_runtimes_FC=yes
14503 darwin* | rhapsody*)
14506 archive_cmds_need_lc_FC=no
14507 hardcode_direct_FC=no
14508 hardcode_automatic_FC=yes
14509 hardcode_shlibpath_var_FC=unsupported
14510 if test "$lt_cv_ld_force_load" = "yes"; then
14511 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\"`'
14512 else
14513 whole_archive_flag_spec_FC=''
14515 link_all_deplibs_FC=yes
14516 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14517 case $cc_basename in
14518 ifort*) _lt_dar_can_shared=yes ;;
14519 *) _lt_dar_can_shared=$GCC ;;
14520 esac
14521 if test "$_lt_dar_can_shared" = "yes"; then
14522 output_verbose_link_cmd=func_echo_all
14523 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}"
14524 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14525 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}"
14526 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}"
14528 else
14529 ld_shlibs_FC=no
14534 dgux*)
14535 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14536 hardcode_libdir_flag_spec_FC='-L$libdir'
14537 hardcode_shlibpath_var_FC=no
14540 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14541 # support. Future versions do this automatically, but an explicit c++rt0.o
14542 # does not break anything, and helps significantly (at the cost of a little
14543 # extra space).
14544 freebsd2.2*)
14545 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14546 hardcode_libdir_flag_spec_FC='-R$libdir'
14547 hardcode_direct_FC=yes
14548 hardcode_shlibpath_var_FC=no
14551 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14552 freebsd2.*)
14553 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14554 hardcode_direct_FC=yes
14555 hardcode_minus_L_FC=yes
14556 hardcode_shlibpath_var_FC=no
14559 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14560 freebsd* | dragonfly*)
14561 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14562 hardcode_libdir_flag_spec_FC='-R$libdir'
14563 hardcode_direct_FC=yes
14564 hardcode_shlibpath_var_FC=no
14567 hpux9*)
14568 if test "$GCC" = yes; then
14569 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'
14570 else
14571 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'
14573 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14574 hardcode_libdir_separator_FC=:
14575 hardcode_direct_FC=yes
14577 # hardcode_minus_L: Not really in the search PATH,
14578 # but as the default location of the library.
14579 hardcode_minus_L_FC=yes
14580 export_dynamic_flag_spec_FC='${wl}-E'
14583 hpux10*)
14584 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14585 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14586 else
14587 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14589 if test "$with_gnu_ld" = no; then
14590 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14591 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14592 hardcode_libdir_separator_FC=:
14593 hardcode_direct_FC=yes
14594 hardcode_direct_absolute_FC=yes
14595 export_dynamic_flag_spec_FC='${wl}-E'
14596 # hardcode_minus_L: Not really in the search PATH,
14597 # but as the default location of the library.
14598 hardcode_minus_L_FC=yes
14602 hpux11*)
14603 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14604 case $host_cpu in
14605 hppa*64*)
14606 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14608 ia64*)
14609 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14612 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14614 esac
14615 else
14616 case $host_cpu in
14617 hppa*64*)
14618 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14620 ia64*)
14621 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14624 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14626 esac
14628 if test "$with_gnu_ld" = no; then
14629 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14630 hardcode_libdir_separator_FC=:
14632 case $host_cpu in
14633 hppa*64*|ia64*)
14634 hardcode_direct_FC=no
14635 hardcode_shlibpath_var_FC=no
14638 hardcode_direct_FC=yes
14639 hardcode_direct_absolute_FC=yes
14640 export_dynamic_flag_spec_FC='${wl}-E'
14642 # hardcode_minus_L: Not really in the search PATH,
14643 # but as the default location of the library.
14644 hardcode_minus_L_FC=yes
14646 esac
14650 irix5* | irix6* | nonstopux*)
14651 if test "$GCC" = yes; then
14652 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'
14653 # Try to use the -exported_symbol ld option, if it does not
14654 # work, assume that -exports_file does not work either and
14655 # implicitly export all symbols.
14656 save_LDFLAGS="$LDFLAGS"
14657 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14658 if test x$gcc_no_link = xyes; then
14659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14661 cat > conftest.$ac_ext <<_ACEOF
14662 int foo(void) {}
14663 _ACEOF
14664 if ac_fn_fc_try_link "$LINENO"; then :
14665 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'
14668 rm -f core conftest.err conftest.$ac_objext \
14669 conftest$ac_exeext conftest.$ac_ext
14670 LDFLAGS="$save_LDFLAGS"
14671 else
14672 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'
14673 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'
14675 archive_cmds_need_lc_FC='no'
14676 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14677 hardcode_libdir_separator_FC=:
14678 inherit_rpath_FC=yes
14679 link_all_deplibs_FC=yes
14682 netbsd*)
14683 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14684 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14685 else
14686 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14688 hardcode_libdir_flag_spec_FC='-R$libdir'
14689 hardcode_direct_FC=yes
14690 hardcode_shlibpath_var_FC=no
14693 newsos6)
14694 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14695 hardcode_direct_FC=yes
14696 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14697 hardcode_libdir_separator_FC=:
14698 hardcode_shlibpath_var_FC=no
14701 *nto* | *qnx*)
14704 openbsd*)
14705 if test -f /usr/libexec/ld.so; then
14706 hardcode_direct_FC=yes
14707 hardcode_shlibpath_var_FC=no
14708 hardcode_direct_absolute_FC=yes
14709 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14710 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14711 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14712 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14713 export_dynamic_flag_spec_FC='${wl}-E'
14714 else
14715 case $host_os in
14716 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14717 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14718 hardcode_libdir_flag_spec_FC='-R$libdir'
14721 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14722 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14724 esac
14726 else
14727 ld_shlibs_FC=no
14731 os2*)
14732 hardcode_libdir_flag_spec_FC='-L$libdir'
14733 hardcode_minus_L_FC=yes
14734 allow_undefined_flag_FC=unsupported
14735 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'
14736 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14739 osf3*)
14740 if test "$GCC" = yes; then
14741 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14742 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'
14743 else
14744 allow_undefined_flag_FC=' -expect_unresolved \*'
14745 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'
14747 archive_cmds_need_lc_FC='no'
14748 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14749 hardcode_libdir_separator_FC=:
14752 osf4* | osf5*) # as osf3* with the addition of -msym flag
14753 if test "$GCC" = yes; then
14754 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14755 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'
14756 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14757 else
14758 allow_undefined_flag_FC=' -expect_unresolved \*'
14759 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'
14760 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~
14761 $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'
14763 # Both c and cxx compiler support -rpath directly
14764 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14766 archive_cmds_need_lc_FC='no'
14767 hardcode_libdir_separator_FC=:
14770 solaris*)
14771 no_undefined_flag_FC=' -z defs'
14772 if test "$GCC" = yes; then
14773 wlarc='${wl}'
14774 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14775 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14776 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14777 else
14778 case `$CC -V 2>&1` in
14779 *"Compilers 5.0"*)
14780 wlarc=''
14781 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14782 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14783 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14786 wlarc='${wl}'
14787 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14788 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14789 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14791 esac
14793 hardcode_libdir_flag_spec_FC='-R$libdir'
14794 hardcode_shlibpath_var_FC=no
14795 case $host_os in
14796 solaris2.[0-5] | solaris2.[0-5].*) ;;
14798 # The compiler driver will combine and reorder linker options,
14799 # but understands `-z linker_flag'. GCC discards it without `$wl',
14800 # but is careful enough not to reorder.
14801 # Supported since Solaris 2.6 (maybe 2.5.1?)
14802 if test "$GCC" = yes; then
14803 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14804 else
14805 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14808 esac
14809 link_all_deplibs_FC=yes
14812 sunos4*)
14813 if test "x$host_vendor" = xsequent; then
14814 # Use $CC to link under sequent, because it throws in some extra .o
14815 # files that make .init and .fini sections work.
14816 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14817 else
14818 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14820 hardcode_libdir_flag_spec_FC='-L$libdir'
14821 hardcode_direct_FC=yes
14822 hardcode_minus_L_FC=yes
14823 hardcode_shlibpath_var_FC=no
14826 sysv4)
14827 case $host_vendor in
14828 sni)
14829 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14830 hardcode_direct_FC=yes # is this really true???
14832 siemens)
14833 ## LD is ld it makes a PLAMLIB
14834 ## CC just makes a GrossModule.
14835 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14836 reload_cmds_FC='$CC -r -o $output$reload_objs'
14837 hardcode_direct_FC=no
14839 motorola)
14840 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14841 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14843 esac
14844 runpath_var='LD_RUN_PATH'
14845 hardcode_shlibpath_var_FC=no
14848 sysv4.3*)
14849 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14850 hardcode_shlibpath_var_FC=no
14851 export_dynamic_flag_spec_FC='-Bexport'
14854 sysv4*MP*)
14855 if test -d /usr/nec; then
14856 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14857 hardcode_shlibpath_var_FC=no
14858 runpath_var=LD_RUN_PATH
14859 hardcode_runpath_var=yes
14860 ld_shlibs_FC=yes
14864 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14865 no_undefined_flag_FC='${wl}-z,text'
14866 archive_cmds_need_lc_FC=no
14867 hardcode_shlibpath_var_FC=no
14868 runpath_var='LD_RUN_PATH'
14870 if test "$GCC" = yes; then
14871 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14872 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14873 else
14874 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14875 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14879 sysv5* | sco3.2v5* | sco5v6*)
14880 # Note: We can NOT use -z defs as we might desire, because we do not
14881 # link with -lc, and that would cause any symbols used from libc to
14882 # always be unresolved, which means just about no library would
14883 # ever link correctly. If we're not using GNU ld we use -z text
14884 # though, which does catch some bad symbols but isn't as heavy-handed
14885 # as -z defs.
14886 no_undefined_flag_FC='${wl}-z,text'
14887 allow_undefined_flag_FC='${wl}-z,nodefs'
14888 archive_cmds_need_lc_FC=no
14889 hardcode_shlibpath_var_FC=no
14890 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14891 hardcode_libdir_separator_FC=':'
14892 link_all_deplibs_FC=yes
14893 export_dynamic_flag_spec_FC='${wl}-Bexport'
14894 runpath_var='LD_RUN_PATH'
14896 if test "$GCC" = yes; then
14897 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14898 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14899 else
14900 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14901 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14905 uts4*)
14906 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14907 hardcode_libdir_flag_spec_FC='-L$libdir'
14908 hardcode_shlibpath_var_FC=no
14912 ld_shlibs_FC=no
14914 esac
14916 if test x$host_vendor = xsni; then
14917 case $host in
14918 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14919 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14921 esac
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14926 $as_echo "$ld_shlibs_FC" >&6; }
14927 test "$ld_shlibs_FC" = no && can_build_shared=no
14929 with_gnu_ld_FC=$with_gnu_ld
14937 # Do we need to explicitly link libc?
14939 case "x$archive_cmds_need_lc_FC" in
14940 x|xyes)
14941 # Assume -lc should be added
14942 archive_cmds_need_lc_FC=yes
14944 if test "$enable_shared" = yes && test "$GCC" = yes; then
14945 case $archive_cmds_FC in
14946 *'~'*)
14947 # FIXME: we may have to deal with multi-command sequences.
14949 '$CC '*)
14950 # Test whether the compiler implicitly links with -lc since on some
14951 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14952 # to ld, don't add -lc before -lgcc.
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14954 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14955 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14956 $as_echo_n "(cached) " >&6
14957 else
14958 $RM conftest*
14959 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14961 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14962 (eval $ac_compile) 2>&5
14963 ac_status=$?
14964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14965 test $ac_status = 0; } 2>conftest.err; then
14966 soname=conftest
14967 lib=conftest
14968 libobjs=conftest.$ac_objext
14969 deplibs=
14970 wl=$lt_prog_compiler_wl_FC
14971 pic_flag=$lt_prog_compiler_pic_FC
14972 compiler_flags=-v
14973 linker_flags=-v
14974 verstring=
14975 output_objdir=.
14976 libname=conftest
14977 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14978 allow_undefined_flag_FC=
14979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14980 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14981 ac_status=$?
14982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14983 test $ac_status = 0; }
14984 then
14985 lt_cv_archive_cmds_need_lc_FC=no
14986 else
14987 lt_cv_archive_cmds_need_lc_FC=yes
14989 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14990 else
14991 cat conftest.err 1>&5
14993 $RM conftest*
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14997 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14998 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15000 esac
15003 esac
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15069 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15071 library_names_spec=
15072 libname_spec='lib$name'
15073 soname_spec=
15074 shrext_cmds=".so"
15075 postinstall_cmds=
15076 postuninstall_cmds=
15077 finish_cmds=
15078 finish_eval=
15079 shlibpath_var=
15080 shlibpath_overrides_runpath=unknown
15081 version_type=none
15082 dynamic_linker="$host_os ld.so"
15083 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15084 need_lib_prefix=unknown
15085 hardcode_into_libs=no
15087 # when you set need_version to no, make sure it does not cause -set_version
15088 # flags to be left without arguments
15089 need_version=unknown
15091 case $host_os in
15092 aix3*)
15093 version_type=linux
15094 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15095 shlibpath_var=LIBPATH
15097 # AIX 3 has no versioning support, so we append a major version to the name.
15098 soname_spec='${libname}${release}${shared_ext}$major'
15101 aix[4-9]*)
15102 version_type=linux
15103 need_lib_prefix=no
15104 need_version=no
15105 hardcode_into_libs=yes
15106 if test "$host_cpu" = ia64; then
15107 # AIX 5 supports IA64
15108 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15109 shlibpath_var=LD_LIBRARY_PATH
15110 else
15111 # With GCC up to 2.95.x, collect2 would create an import file
15112 # for dependence libraries. The import file would start with
15113 # the line `#! .'. This would cause the generated library to
15114 # depend on `.', always an invalid library. This was fixed in
15115 # development snapshots of GCC prior to 3.0.
15116 case $host_os in
15117 aix4 | aix4.[01] | aix4.[01].*)
15118 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15119 echo ' yes '
15120 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15122 else
15123 can_build_shared=no
15126 esac
15127 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15128 # soname into executable. Probably we can add versioning support to
15129 # collect2, so additional links can be useful in future.
15130 if test "$aix_use_runtimelinking" = yes; then
15131 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15132 # instead of lib<name>.a to let people know that these are not
15133 # typical AIX shared libraries.
15134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15135 else
15136 # We preserve .a as extension for shared libraries through AIX4.2
15137 # and later when we are not doing run time linking.
15138 library_names_spec='${libname}${release}.a $libname.a'
15139 soname_spec='${libname}${release}${shared_ext}$major'
15141 shlibpath_var=LIBPATH
15145 amigaos*)
15146 case $host_cpu in
15147 powerpc)
15148 # Since July 2007 AmigaOS4 officially supports .so libraries.
15149 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15152 m68k)
15153 library_names_spec='$libname.ixlibrary $libname.a'
15154 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15155 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'
15157 esac
15160 beos*)
15161 library_names_spec='${libname}${shared_ext}'
15162 dynamic_linker="$host_os ld.so"
15163 shlibpath_var=LIBRARY_PATH
15166 bsdi[45]*)
15167 version_type=linux
15168 need_version=no
15169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15170 soname_spec='${libname}${release}${shared_ext}$major'
15171 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15172 shlibpath_var=LD_LIBRARY_PATH
15173 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15174 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15175 # the default ld.so.conf also contains /usr/contrib/lib and
15176 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15177 # libtool to hard-code these into programs
15180 cygwin* | mingw* | pw32* | cegcc*)
15181 version_type=windows
15182 shrext_cmds=".dll"
15183 need_version=no
15184 need_lib_prefix=no
15186 case $GCC,$host_os in
15187 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15188 library_names_spec='$libname.dll.a'
15189 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15190 postinstall_cmds='base_file=`basename \${file}`~
15191 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15192 dldir=$destdir/`dirname \$dlpath`~
15193 test -d \$dldir || mkdir -p \$dldir~
15194 $install_prog $dir/$dlname \$dldir/$dlname~
15195 chmod a+x \$dldir/$dlname~
15196 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15197 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15199 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15200 dlpath=$dir/\$dldll~
15201 $RM \$dlpath'
15202 shlibpath_overrides_runpath=yes
15204 case $host_os in
15205 cygwin*)
15206 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15207 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15210 mingw* | cegcc*)
15211 # MinGW DLLs use traditional 'lib' prefix
15212 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15214 pw32*)
15215 # pw32 DLLs use 'pw' prefix rather than 'lib'
15216 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15218 esac
15222 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15224 esac
15225 dynamic_linker='Win32 ld.exe'
15226 # FIXME: first we should search . and the directory the executable is in
15227 shlibpath_var=PATH
15230 darwin* | rhapsody*)
15231 dynamic_linker="$host_os dyld"
15232 version_type=darwin
15233 need_lib_prefix=no
15234 need_version=no
15235 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15236 soname_spec='${libname}${release}${major}$shared_ext'
15237 shlibpath_overrides_runpath=yes
15238 shlibpath_var=DYLD_LIBRARY_PATH
15239 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15241 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15244 dgux*)
15245 version_type=linux
15246 need_lib_prefix=no
15247 need_version=no
15248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15249 soname_spec='${libname}${release}${shared_ext}$major'
15250 shlibpath_var=LD_LIBRARY_PATH
15253 freebsd* | dragonfly*)
15254 # DragonFly does not have aout. When/if they implement a new
15255 # versioning mechanism, adjust this.
15256 if test -x /usr/bin/objformat; then
15257 objformat=`/usr/bin/objformat`
15258 else
15259 case $host_os in
15260 freebsd[23].*) objformat=aout ;;
15261 *) objformat=elf ;;
15262 esac
15264 version_type=freebsd-$objformat
15265 case $version_type in
15266 freebsd-elf*)
15267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15268 need_version=no
15269 need_lib_prefix=no
15271 freebsd-*)
15272 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15273 need_version=yes
15275 esac
15276 shlibpath_var=LD_LIBRARY_PATH
15277 case $host_os in
15278 freebsd2.*)
15279 shlibpath_overrides_runpath=yes
15281 freebsd3.[01]* | freebsdelf3.[01]*)
15282 shlibpath_overrides_runpath=yes
15283 hardcode_into_libs=yes
15285 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15286 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15287 shlibpath_overrides_runpath=no
15288 hardcode_into_libs=yes
15290 *) # from 4.6 on, and DragonFly
15291 shlibpath_overrides_runpath=yes
15292 hardcode_into_libs=yes
15294 esac
15297 gnu*)
15298 version_type=linux
15299 need_lib_prefix=no
15300 need_version=no
15301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15302 soname_spec='${libname}${release}${shared_ext}$major'
15303 shlibpath_var=LD_LIBRARY_PATH
15304 hardcode_into_libs=yes
15307 haiku*)
15308 version_type=linux
15309 need_lib_prefix=no
15310 need_version=no
15311 dynamic_linker="$host_os runtime_loader"
15312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15313 soname_spec='${libname}${release}${shared_ext}$major'
15314 shlibpath_var=LIBRARY_PATH
15315 shlibpath_overrides_runpath=yes
15316 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15317 hardcode_into_libs=yes
15320 hpux9* | hpux10* | hpux11*)
15321 # Give a soname corresponding to the major version so that dld.sl refuses to
15322 # link against other versions.
15323 version_type=sunos
15324 need_lib_prefix=no
15325 need_version=no
15326 case $host_cpu in
15327 ia64*)
15328 shrext_cmds='.so'
15329 hardcode_into_libs=yes
15330 dynamic_linker="$host_os dld.so"
15331 shlibpath_var=LD_LIBRARY_PATH
15332 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15334 soname_spec='${libname}${release}${shared_ext}$major'
15335 if test "X$HPUX_IA64_MODE" = X32; then
15336 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15337 else
15338 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15340 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15342 hppa*64*)
15343 shrext_cmds='.sl'
15344 hardcode_into_libs=yes
15345 dynamic_linker="$host_os dld.sl"
15346 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15349 soname_spec='${libname}${release}${shared_ext}$major'
15350 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15351 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15354 shrext_cmds='.sl'
15355 dynamic_linker="$host_os dld.sl"
15356 shlibpath_var=SHLIB_PATH
15357 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
15361 esac
15362 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15363 postinstall_cmds='chmod 555 $lib'
15364 # or fails outright, so override atomically:
15365 install_override_mode=555
15368 interix[3-9]*)
15369 version_type=linux
15370 need_lib_prefix=no
15371 need_version=no
15372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15373 soname_spec='${libname}${release}${shared_ext}$major'
15374 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15375 shlibpath_var=LD_LIBRARY_PATH
15376 shlibpath_overrides_runpath=no
15377 hardcode_into_libs=yes
15380 irix5* | irix6* | nonstopux*)
15381 case $host_os in
15382 nonstopux*) version_type=nonstopux ;;
15384 if test "$lt_cv_prog_gnu_ld" = yes; then
15385 version_type=linux
15386 else
15387 version_type=irix
15388 fi ;;
15389 esac
15390 need_lib_prefix=no
15391 need_version=no
15392 soname_spec='${libname}${release}${shared_ext}$major'
15393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15394 case $host_os in
15395 irix5* | nonstopux*)
15396 libsuff= shlibsuff=
15399 case $LD in # libtool.m4 will add one of these switches to LD
15400 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15401 libsuff= shlibsuff= libmagic=32-bit;;
15402 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15403 libsuff=32 shlibsuff=N32 libmagic=N32;;
15404 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15405 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15406 *) libsuff= shlibsuff= libmagic=never-match;;
15407 esac
15409 esac
15410 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15411 shlibpath_overrides_runpath=no
15412 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15413 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15414 hardcode_into_libs=yes
15417 # No shared lib support for Linux oldld, aout, or coff.
15418 linux*oldld* | linux*aout* | linux*coff*)
15419 dynamic_linker=no
15422 # This must be Linux ELF.
15423 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15424 version_type=linux
15425 need_lib_prefix=no
15426 need_version=no
15427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 soname_spec='${libname}${release}${shared_ext}$major'
15429 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15430 shlibpath_var=LD_LIBRARY_PATH
15431 shlibpath_overrides_runpath=no
15433 # Some binutils ld are patched to set DT_RUNPATH
15434 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15435 $as_echo_n "(cached) " >&6
15436 else
15437 lt_cv_shlibpath_overrides_runpath=no
15438 save_LDFLAGS=$LDFLAGS
15439 save_libdir=$libdir
15440 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15441 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15442 if test x$gcc_no_link = xyes; then
15443 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15445 cat > conftest.$ac_ext <<_ACEOF
15446 program main
15449 _ACEOF
15450 if ac_fn_fc_try_link "$LINENO"; then :
15451 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15452 lt_cv_shlibpath_overrides_runpath=yes
15455 rm -f core conftest.err conftest.$ac_objext \
15456 conftest$ac_exeext conftest.$ac_ext
15457 LDFLAGS=$save_LDFLAGS
15458 libdir=$save_libdir
15462 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15464 # This implies no fast_install, which is unacceptable.
15465 # Some rework will be needed to allow for fast_install
15466 # before this can be enabled.
15467 hardcode_into_libs=yes
15469 # Append ld.so.conf contents to the search path
15470 if test -f /etc/ld.so.conf; then
15471 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' ' '`
15472 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15475 # We used to test for /lib/ld.so.1 and disable shared libraries on
15476 # powerpc, because MkLinux only supported shared libraries with the
15477 # GNU dynamic linker. Since this was broken with cross compilers,
15478 # most powerpc-linux boxes support dynamic linking these days and
15479 # people can always --disable-shared, the test was removed, and we
15480 # assume the GNU/Linux dynamic linker is in use.
15481 dynamic_linker='GNU/Linux ld.so'
15484 netbsd*)
15485 version_type=sunos
15486 need_lib_prefix=no
15487 need_version=no
15488 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15490 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15491 dynamic_linker='NetBSD (a.out) ld.so'
15492 else
15493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15494 soname_spec='${libname}${release}${shared_ext}$major'
15495 dynamic_linker='NetBSD ld.elf_so'
15497 shlibpath_var=LD_LIBRARY_PATH
15498 shlibpath_overrides_runpath=yes
15499 hardcode_into_libs=yes
15502 newsos6)
15503 version_type=linux
15504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15505 shlibpath_var=LD_LIBRARY_PATH
15506 shlibpath_overrides_runpath=yes
15509 *nto* | *qnx*)
15510 version_type=qnx
15511 need_lib_prefix=no
15512 need_version=no
15513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15514 soname_spec='${libname}${release}${shared_ext}$major'
15515 shlibpath_var=LD_LIBRARY_PATH
15516 shlibpath_overrides_runpath=no
15517 hardcode_into_libs=yes
15518 dynamic_linker='ldqnx.so'
15521 openbsd*)
15522 version_type=sunos
15523 sys_lib_dlsearch_path_spec="/usr/lib"
15524 need_lib_prefix=no
15525 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15526 case $host_os in
15527 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15528 *) need_version=no ;;
15529 esac
15530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15531 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15532 shlibpath_var=LD_LIBRARY_PATH
15533 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15534 case $host_os in
15535 openbsd2.[89] | openbsd2.[89].*)
15536 shlibpath_overrides_runpath=no
15539 shlibpath_overrides_runpath=yes
15541 esac
15542 else
15543 shlibpath_overrides_runpath=yes
15547 os2*)
15548 libname_spec='$name'
15549 shrext_cmds=".dll"
15550 need_lib_prefix=no
15551 library_names_spec='$libname${shared_ext} $libname.a'
15552 dynamic_linker='OS/2 ld.exe'
15553 shlibpath_var=LIBPATH
15556 osf3* | osf4* | osf5*)
15557 version_type=osf
15558 need_lib_prefix=no
15559 need_version=no
15560 soname_spec='${libname}${release}${shared_ext}$major'
15561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15562 shlibpath_var=LD_LIBRARY_PATH
15563 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15564 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15567 rdos*)
15568 dynamic_linker=no
15571 solaris*)
15572 version_type=linux
15573 need_lib_prefix=no
15574 need_version=no
15575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15576 soname_spec='${libname}${release}${shared_ext}$major'
15577 shlibpath_var=LD_LIBRARY_PATH
15578 shlibpath_overrides_runpath=yes
15579 hardcode_into_libs=yes
15580 # ldd complains unless libraries are executable
15581 postinstall_cmds='chmod +x $lib'
15584 sunos4*)
15585 version_type=sunos
15586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15587 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15588 shlibpath_var=LD_LIBRARY_PATH
15589 shlibpath_overrides_runpath=yes
15590 if test "$with_gnu_ld" = yes; then
15591 need_lib_prefix=no
15593 need_version=yes
15596 sysv4 | sysv4.3*)
15597 version_type=linux
15598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15599 soname_spec='${libname}${release}${shared_ext}$major'
15600 shlibpath_var=LD_LIBRARY_PATH
15601 case $host_vendor in
15602 sni)
15603 shlibpath_overrides_runpath=no
15604 need_lib_prefix=no
15605 runpath_var=LD_RUN_PATH
15607 siemens)
15608 need_lib_prefix=no
15610 motorola)
15611 need_lib_prefix=no
15612 need_version=no
15613 shlibpath_overrides_runpath=no
15614 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15616 esac
15619 sysv4*MP*)
15620 if test -d /usr/nec ;then
15621 version_type=linux
15622 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15623 soname_spec='$libname${shared_ext}.$major'
15624 shlibpath_var=LD_LIBRARY_PATH
15628 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15629 version_type=freebsd-elf
15630 need_lib_prefix=no
15631 need_version=no
15632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15633 soname_spec='${libname}${release}${shared_ext}$major'
15634 shlibpath_var=LD_LIBRARY_PATH
15635 shlibpath_overrides_runpath=yes
15636 hardcode_into_libs=yes
15637 if test "$with_gnu_ld" = yes; then
15638 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15639 else
15640 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15641 case $host_os in
15642 sco3.2v5*)
15643 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15645 esac
15647 sys_lib_dlsearch_path_spec='/usr/lib'
15650 tpf*)
15651 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15652 version_type=linux
15653 need_lib_prefix=no
15654 need_version=no
15655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15656 shlibpath_var=LD_LIBRARY_PATH
15657 shlibpath_overrides_runpath=no
15658 hardcode_into_libs=yes
15661 uts4*)
15662 version_type=linux
15663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15664 soname_spec='${libname}${release}${shared_ext}$major'
15665 shlibpath_var=LD_LIBRARY_PATH
15669 dynamic_linker=no
15671 esac
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15673 $as_echo "$dynamic_linker" >&6; }
15674 test "$dynamic_linker" = no && can_build_shared=no
15676 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15677 if test "$GCC" = yes; then
15678 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15681 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15682 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15684 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15685 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15726 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15727 hardcode_action_FC=
15728 if test -n "$hardcode_libdir_flag_spec_FC" ||
15729 test -n "$runpath_var_FC" ||
15730 test "X$hardcode_automatic_FC" = "Xyes" ; then
15732 # We can hardcode non-existent directories.
15733 if test "$hardcode_direct_FC" != no &&
15734 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15735 # have to relink, otherwise we might link with an installed library
15736 # when we should be linking with a yet-to-be-installed one
15737 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15738 test "$hardcode_minus_L_FC" != no; then
15739 # Linking always hardcodes the temporary library directory.
15740 hardcode_action_FC=relink
15741 else
15742 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15743 hardcode_action_FC=immediate
15745 else
15746 # We cannot hardcode anything, or else we can only hardcode existing
15747 # directories.
15748 hardcode_action_FC=unsupported
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15751 $as_echo "$hardcode_action_FC" >&6; }
15753 if test "$hardcode_action_FC" = relink ||
15754 test "$inherit_rpath_FC" = yes; then
15755 # Fast installation is not supported
15756 enable_fast_install=no
15757 elif test "$shlibpath_overrides_runpath" = yes ||
15758 test "$enable_shared" = no; then
15759 # Fast installation is not necessary
15760 enable_fast_install=needless
15769 fi # test -n "$compiler"
15771 GCC=$lt_save_GCC
15772 CC="$lt_save_CC"
15773 fi # test "$_lt_disable_FC" != yes
15775 ac_ext=c
15776 ac_cpp='$CPP $CPPFLAGS'
15777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15783 # extra LD Flags which are required for targets
15784 case "${host}" in
15785 *-darwin*)
15786 # Darwin needs -single_module when linking libgfortran
15787 extra_ldflags_libgfortran=-Wl,-single_module
15789 esac
15792 # We need a working compiler at that point, otherwise give a clear
15793 # error message and bail out.
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15796 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15797 ac_ext=${ac_fc_srcext-f}
15798 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15799 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15800 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15802 cat > conftest.$ac_ext <<_ACEOF
15804 program foo
15805 real, parameter :: bar = sin (12.34 / 2.5)
15806 end program foo
15807 _ACEOF
15808 if ac_fn_fc_try_compile "$LINENO"; then :
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15810 $as_echo "yes" >&6; }
15811 else
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15813 $as_echo "no" >&6; }
15814 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15818 ac_ext=c
15819 ac_cpp='$CPP $CPPFLAGS'
15820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15826 # Check whether --enable-largefile was given.
15827 if test "${enable_largefile+set}" = set; then :
15828 enableval=$enable_largefile;
15831 if test "$enable_largefile" != no; then
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15834 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15835 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15836 $as_echo_n "(cached) " >&6
15837 else
15838 ac_cv_sys_largefile_CC=no
15839 if test "$GCC" != yes; then
15840 ac_save_CC=$CC
15841 while :; do
15842 # IRIX 6.2 and later do not support large files by default,
15843 # so use the C compiler's -n32 option if that helps.
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15846 #include <sys/types.h>
15847 /* Check that off_t can represent 2**63 - 1 correctly.
15848 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15849 since some C++ compilers masquerading as C compilers
15850 incorrectly reject 9223372036854775807. */
15851 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15852 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15853 && LARGE_OFF_T % 2147483647 == 1)
15854 ? 1 : -1];
15856 main ()
15860 return 0;
15862 _ACEOF
15863 if ac_fn_c_try_compile "$LINENO"; then :
15864 break
15866 rm -f core conftest.err conftest.$ac_objext
15867 CC="$CC -n32"
15868 if ac_fn_c_try_compile "$LINENO"; then :
15869 ac_cv_sys_largefile_CC=' -n32'; break
15871 rm -f core conftest.err conftest.$ac_objext
15872 break
15873 done
15874 CC=$ac_save_CC
15875 rm -f conftest.$ac_ext
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15879 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15880 if test "$ac_cv_sys_largefile_CC" != no; then
15881 CC=$CC$ac_cv_sys_largefile_CC
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15885 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15886 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15887 $as_echo_n "(cached) " >&6
15888 else
15889 while :; do
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #include <sys/types.h>
15893 /* Check that off_t can represent 2**63 - 1 correctly.
15894 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15895 since some C++ compilers masquerading as C compilers
15896 incorrectly reject 9223372036854775807. */
15897 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15898 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15899 && LARGE_OFF_T % 2147483647 == 1)
15900 ? 1 : -1];
15902 main ()
15906 return 0;
15908 _ACEOF
15909 if ac_fn_c_try_compile "$LINENO"; then :
15910 ac_cv_sys_file_offset_bits=no; break
15912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15915 #define _FILE_OFFSET_BITS 64
15916 #include <sys/types.h>
15917 /* Check that off_t can represent 2**63 - 1 correctly.
15918 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15919 since some C++ compilers masquerading as C compilers
15920 incorrectly reject 9223372036854775807. */
15921 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15922 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15923 && LARGE_OFF_T % 2147483647 == 1)
15924 ? 1 : -1];
15926 main ()
15930 return 0;
15932 _ACEOF
15933 if ac_fn_c_try_compile "$LINENO"; then :
15934 ac_cv_sys_file_offset_bits=64; break
15936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15937 ac_cv_sys_file_offset_bits=unknown
15938 break
15939 done
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15942 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15943 case $ac_cv_sys_file_offset_bits in #(
15944 no | unknown) ;;
15946 cat >>confdefs.h <<_ACEOF
15947 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15948 _ACEOF
15950 esac
15951 rm -rf conftest*
15952 if test $ac_cv_sys_file_offset_bits = unknown; then
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15954 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15955 if test "${ac_cv_sys_large_files+set}" = set; then :
15956 $as_echo_n "(cached) " >&6
15957 else
15958 while :; do
15959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h. */
15961 #include <sys/types.h>
15962 /* Check that off_t can represent 2**63 - 1 correctly.
15963 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15964 since some C++ compilers masquerading as C compilers
15965 incorrectly reject 9223372036854775807. */
15966 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15967 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15968 && LARGE_OFF_T % 2147483647 == 1)
15969 ? 1 : -1];
15971 main ()
15975 return 0;
15977 _ACEOF
15978 if ac_fn_c_try_compile "$LINENO"; then :
15979 ac_cv_sys_large_files=no; break
15981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15983 /* end confdefs.h. */
15984 #define _LARGE_FILES 1
15985 #include <sys/types.h>
15986 /* Check that off_t can represent 2**63 - 1 correctly.
15987 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15988 since some C++ compilers masquerading as C compilers
15989 incorrectly reject 9223372036854775807. */
15990 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15991 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15992 && LARGE_OFF_T % 2147483647 == 1)
15993 ? 1 : -1];
15995 main ()
15999 return 0;
16001 _ACEOF
16002 if ac_fn_c_try_compile "$LINENO"; then :
16003 ac_cv_sys_large_files=1; break
16005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16006 ac_cv_sys_large_files=unknown
16007 break
16008 done
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16011 $as_echo "$ac_cv_sys_large_files" >&6; }
16012 case $ac_cv_sys_large_files in #(
16013 no | unknown) ;;
16015 cat >>confdefs.h <<_ACEOF
16016 #define _LARGE_FILES $ac_cv_sys_large_files
16017 _ACEOF
16019 esac
16020 rm -rf conftest*
16025 # Types
16026 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16027 if test "x$ac_cv_type_off_t" = x""yes; then :
16029 else
16031 cat >>confdefs.h <<_ACEOF
16032 #define off_t long int
16033 _ACEOF
16038 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16039 if test "x$ac_cv_type_intptr_t" = x""yes; then :
16041 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16043 else
16044 for ac_type in 'int' 'long int' 'long long int'; do
16045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16046 /* end confdefs.h. */
16047 $ac_includes_default
16049 main ()
16051 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16052 test_array [0] = 0
16055 return 0;
16057 _ACEOF
16058 if ac_fn_c_try_compile "$LINENO"; then :
16060 cat >>confdefs.h <<_ACEOF
16061 #define intptr_t $ac_type
16062 _ACEOF
16064 ac_type=
16066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16067 test -z "$ac_type" && break
16068 done
16073 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16074 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16076 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16078 else
16079 for ac_type in 'unsigned int' 'unsigned long int' \
16080 'unsigned long long int'; do
16081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16083 $ac_includes_default
16085 main ()
16087 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16088 test_array [0] = 0
16091 return 0;
16093 _ACEOF
16094 if ac_fn_c_try_compile "$LINENO"; then :
16096 cat >>confdefs.h <<_ACEOF
16097 #define uintptr_t $ac_type
16098 _ACEOF
16100 ac_type=
16102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16103 test -z "$ac_type" && break
16104 done
16108 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16109 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_PTRDIFF_T 1
16113 _ACEOF
16119 # check header files (we assume C89 is available, so don't check for that)
16123 for ac_header in $ac_header_list
16124 do :
16125 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16126 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16128 eval as_val=\$$as_ac_Header
16129 if test "x$as_val" = x""yes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16132 _ACEOF
16136 done
16172 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16174 acx_cv_header_stdint=stddef.h
16175 acx_cv_header_stdint_kind="(already complete)"
16176 for i in stdint.h $inttype_headers; do
16177 unset ac_cv_type_uintptr_t
16178 unset ac_cv_type_uintmax_t
16179 unset ac_cv_type_int_least32_t
16180 unset ac_cv_type_int_fast32_t
16181 unset ac_cv_type_uint64_t
16182 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16183 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16184 #include <$i>
16186 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16187 acx_cv_header_stdint=$i
16188 else
16189 continue
16192 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16193 #include <$i>
16195 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16197 else
16198 acx_cv_header_stdint_kind="(mostly complete)"
16201 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16202 #include <$i>
16204 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16206 else
16207 acx_cv_header_stdint_kind="(mostly complete)"
16210 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16211 #include <$i>
16213 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16215 else
16216 acx_cv_header_stdint_kind="(mostly complete)"
16219 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16220 #include <$i>
16222 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16224 else
16225 acx_cv_header_stdint_kind="(lacks uint64_t)"
16228 break
16229 done
16230 if test "$acx_cv_header_stdint" = stddef.h; then
16231 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16232 for i in stdint.h $inttype_headers; do
16233 unset ac_cv_type_uintptr_t
16234 unset ac_cv_type_uint32_t
16235 unset ac_cv_type_uint64_t
16236 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16237 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16238 #include <$i>
16240 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16241 acx_cv_header_stdint=$i
16242 else
16243 continue
16246 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16247 #include <$i>
16249 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16253 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16254 #include <$i>
16256 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16260 break
16261 done
16263 if test "$acx_cv_header_stdint" = stddef.h; then
16264 acx_cv_header_stdint_kind="(u_intXX_t style)"
16265 for i in sys/types.h $inttype_headers; do
16266 unset ac_cv_type_u_int32_t
16267 unset ac_cv_type_u_int64_t
16268 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16269 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16270 #include <$i>
16272 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16273 acx_cv_header_stdint=$i
16274 else
16275 continue
16278 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16279 #include <$i>
16281 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16285 break
16286 done
16288 if test "$acx_cv_header_stdint" = stddef.h; then
16289 acx_cv_header_stdint_kind="(using manual detection)"
16292 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16293 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16294 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16295 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16296 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16298 # ----------------- Summarize what we found so far
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16301 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16303 case `$as_basename -- gstdint.h ||
16304 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16305 Xgstdint.h : 'X\(//\)$' \| \
16306 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16307 $as_echo X/gstdint.h |
16308 sed '/^.*\/\([^/][^/]*\)\/*$/{
16309 s//\1/
16312 /^X\/\(\/\/\)$/{
16313 s//\1/
16316 /^X\/\(\/\).*/{
16317 s//\1/
16320 s/.*/./; q'` in
16321 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16322 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16323 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16324 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16325 *) ;;
16326 esac
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16329 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16331 # ----------------- done included file, check C basic types --------
16333 # Lacking an uintptr_t? Test size of void *
16334 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16335 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16336 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16337 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16338 # This bug is HP SR number 8606223364.
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16340 $as_echo_n "checking size of void *... " >&6; }
16341 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16342 $as_echo_n "(cached) " >&6
16343 else
16344 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16346 else
16347 if test "$ac_cv_type_void_p" = yes; then
16348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16350 { as_fn_set_status 77
16351 as_fn_error "cannot compute sizeof (void *)
16352 See \`config.log' for more details." "$LINENO" 5; }; }
16353 else
16354 ac_cv_sizeof_void_p=0
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16360 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16364 cat >>confdefs.h <<_ACEOF
16365 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16366 _ACEOF
16369 esac
16371 # Lacking an uint64_t? Test size of long
16372 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16373 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16374 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16375 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16376 # This bug is HP SR number 8606223364.
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16378 $as_echo_n "checking size of long... " >&6; }
16379 if test "${ac_cv_sizeof_long+set}" = set; then :
16380 $as_echo_n "(cached) " >&6
16381 else
16382 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16384 else
16385 if test "$ac_cv_type_long" = yes; then
16386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16388 { as_fn_set_status 77
16389 as_fn_error "cannot compute sizeof (long)
16390 See \`config.log' for more details." "$LINENO" 5; }; }
16391 else
16392 ac_cv_sizeof_long=0
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16398 $as_echo "$ac_cv_sizeof_long" >&6; }
16402 cat >>confdefs.h <<_ACEOF
16403 #define SIZEOF_LONG $ac_cv_sizeof_long
16404 _ACEOF
16407 esac
16409 if test $acx_cv_header_stdint = stddef.h; then
16410 # Lacking a good header? Test size of everything and deduce all types.
16411 # The cast to long int works around a bug in the HP C Compiler
16412 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16413 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16414 # This bug is HP SR number 8606223364.
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16416 $as_echo_n "checking size of int... " >&6; }
16417 if test "${ac_cv_sizeof_int+set}" = set; then :
16418 $as_echo_n "(cached) " >&6
16419 else
16420 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16422 else
16423 if test "$ac_cv_type_int" = yes; then
16424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16426 { as_fn_set_status 77
16427 as_fn_error "cannot compute sizeof (int)
16428 See \`config.log' for more details." "$LINENO" 5; }; }
16429 else
16430 ac_cv_sizeof_int=0
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16436 $as_echo "$ac_cv_sizeof_int" >&6; }
16440 cat >>confdefs.h <<_ACEOF
16441 #define SIZEOF_INT $ac_cv_sizeof_int
16442 _ACEOF
16445 # The cast to long int works around a bug in the HP C Compiler
16446 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16447 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16448 # This bug is HP SR number 8606223364.
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16450 $as_echo_n "checking size of short... " >&6; }
16451 if test "${ac_cv_sizeof_short+set}" = set; then :
16452 $as_echo_n "(cached) " >&6
16453 else
16454 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16456 else
16457 if test "$ac_cv_type_short" = yes; then
16458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16460 { as_fn_set_status 77
16461 as_fn_error "cannot compute sizeof (short)
16462 See \`config.log' for more details." "$LINENO" 5; }; }
16463 else
16464 ac_cv_sizeof_short=0
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16470 $as_echo "$ac_cv_sizeof_short" >&6; }
16474 cat >>confdefs.h <<_ACEOF
16475 #define SIZEOF_SHORT $ac_cv_sizeof_short
16476 _ACEOF
16479 # The cast to long int works around a bug in the HP C Compiler
16480 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16481 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16482 # This bug is HP SR number 8606223364.
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16484 $as_echo_n "checking size of char... " >&6; }
16485 if test "${ac_cv_sizeof_char+set}" = set; then :
16486 $as_echo_n "(cached) " >&6
16487 else
16488 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16490 else
16491 if test "$ac_cv_type_char" = yes; then
16492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16494 { as_fn_set_status 77
16495 as_fn_error "cannot compute sizeof (char)
16496 See \`config.log' for more details." "$LINENO" 5; }; }
16497 else
16498 ac_cv_sizeof_char=0
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16504 $as_echo "$ac_cv_sizeof_char" >&6; }
16508 cat >>confdefs.h <<_ACEOF
16509 #define SIZEOF_CHAR $ac_cv_sizeof_char
16510 _ACEOF
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16515 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16516 case "$ac_cv_sizeof_char" in
16517 1) acx_cv_type_int8_t=char ;;
16518 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16519 esac
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16521 $as_echo "$acx_cv_type_int8_t" >&6; }
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16524 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16525 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16526 2:*) acx_cv_type_int16_t=int ;;
16527 *:2) acx_cv_type_int16_t=short ;;
16528 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16529 esac
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16531 $as_echo "$acx_cv_type_int16_t" >&6; }
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16534 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16535 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16536 4:*) acx_cv_type_int32_t=int ;;
16537 *:4) acx_cv_type_int32_t=long ;;
16538 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16539 esac
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16541 $as_echo "$acx_cv_type_int32_t" >&6; }
16544 # These tests are here to make the output prettier
16546 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16547 case "$ac_cv_sizeof_long" in
16548 8) acx_cv_type_int64_t=long ;;
16549 esac
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16551 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16553 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16556 # Now we can use the above types
16558 if test "$ac_cv_type_uintptr_t" != yes; then
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16560 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16561 case $ac_cv_sizeof_void_p in
16562 2) acx_cv_type_intptr_t=int16_t ;;
16563 4) acx_cv_type_intptr_t=int32_t ;;
16564 8) acx_cv_type_intptr_t=int64_t ;;
16565 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16566 esac
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16568 $as_echo "$acx_cv_type_intptr_t" >&6; }
16571 # ----------------- done all checks, emit header -------------
16572 ac_config_commands="$ac_config_commands gstdint.h"
16577 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16578 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16582 _ACEOF
16586 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16587 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16591 _ACEOF
16595 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16596 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16598 cat >>confdefs.h <<_ACEOF
16599 #define HAVE_STRUCT_STAT_ST_RDEV 1
16600 _ACEOF
16606 case "${host}--x${with_newlib}" in
16607 mips*--xyes)
16608 hardwire_newlib=1;;
16609 nvptx*--xyes)
16610 hardwire_newlib=1;;
16611 esac
16613 # Check for library functions.
16614 if test "${hardwire_newlib:-0}" -eq 1; then
16615 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16616 # may not work correctly, because the compiler may not be able to
16617 # link executables.
16619 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16622 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16625 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16628 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16631 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16634 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16637 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16640 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16643 # At some point, we should differentiate between architectures
16644 # like x86, which have long double versions, and alpha/powerpc/etc.,
16645 # which don't. For the time being, punt.
16646 if test x"long_double_math_on_this_cpu" = x"yes"; then
16648 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16651 else
16655 for ac_func in $ac_func_list
16656 do :
16657 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16658 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16659 eval as_val=\$$as_ac_var
16660 if test "x$as_val" = x""yes; then :
16661 cat >>confdefs.h <<_ACEOF
16662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16663 _ACEOF
16666 done
16769 # Check strerror_r, cannot be above as versions with two and three arguments exist
16771 ac_save_CFLAGS="$CFLAGS"
16772 CFLAGS="-Wimplicit-function-declaration -Werror"
16773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16775 #define _GNU_SOURCE 1
16776 #include <string.h>
16777 #include <locale.h>
16779 main ()
16781 char s[128]; strerror_r(5, s, 128);
16783 return 0;
16785 _ACEOF
16786 if ac_fn_c_try_compile "$LINENO"; then :
16788 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16792 CFLAGS="$ac_save_CFLAGS"
16794 ac_save_CFLAGS="$CFLAGS"
16795 CFLAGS="-Wimplicit-function-declaration -Werror"
16796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16797 /* end confdefs.h. */
16798 #define _GNU_SOURCE 1
16799 #include <string.h>
16800 #include <locale.h>
16802 main ()
16804 char s[128]; strerror_r(5, s);
16806 return 0;
16808 _ACEOF
16809 if ac_fn_c_try_compile "$LINENO"; then :
16811 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16815 CFLAGS="$ac_save_CFLAGS"
16818 # Check for C99 (and other IEEE) math functions
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16820 $as_echo_n "checking for sin in -lm... " >&6; }
16821 if test "${ac_cv_lib_m_sin+set}" = set; then :
16822 $as_echo_n "(cached) " >&6
16823 else
16824 ac_check_lib_save_LIBS=$LIBS
16825 LIBS="-lm $LIBS"
16826 if test x$gcc_no_link = xyes; then
16827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16832 /* Override any GCC internal prototype to avoid an error.
16833 Use char because int might match the return type of a GCC
16834 builtin and then its argument prototype would still apply. */
16835 #ifdef __cplusplus
16836 extern "C"
16837 #endif
16838 char sin ();
16840 main ()
16842 return sin ();
16844 return 0;
16846 _ACEOF
16847 if ac_fn_c_try_link "$LINENO"; then :
16848 ac_cv_lib_m_sin=yes
16849 else
16850 ac_cv_lib_m_sin=no
16852 rm -f core conftest.err conftest.$ac_objext \
16853 conftest$ac_exeext conftest.$ac_ext
16854 LIBS=$ac_check_lib_save_LIBS
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16857 $as_echo "$ac_cv_lib_m_sin" >&6; }
16858 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16859 cat >>confdefs.h <<_ACEOF
16860 #define HAVE_LIBM 1
16861 _ACEOF
16863 LIBS="-lm $LIBS"
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16874 $as_echo_n "checking for acosf... " >&6; }
16875 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16876 $as_echo_n "(cached) " >&6
16877 else
16878 if test x$gcc_no_link = xyes; then
16879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h. */
16884 #ifdef HAVE_COMPLEX_H
16885 #include <complex.h>
16886 #endif
16887 #ifdef HAVE_MATH_H
16888 #include <math.h>
16889 #endif
16891 int (*ptr)() = (int (*)())acosf;
16894 main ()
16896 return 0;
16899 _ACEOF
16900 if ac_fn_c_try_link "$LINENO"; then :
16901 gcc_cv_math_func_acosf=yes
16902 else
16903 gcc_cv_math_func_acosf=no
16905 rm -f core conftest.err conftest.$ac_objext \
16906 conftest$ac_exeext conftest.$ac_ext
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16909 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16910 if test $gcc_cv_math_func_acosf = yes; then
16912 cat >>confdefs.h <<_ACEOF
16913 #define HAVE_ACOSF 1
16914 _ACEOF
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16922 $as_echo_n "checking for acos... " >&6; }
16923 if test "${gcc_cv_math_func_acos+set}" = set; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 if test x$gcc_no_link = xyes; then
16927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16932 #ifdef HAVE_COMPLEX_H
16933 #include <complex.h>
16934 #endif
16935 #ifdef HAVE_MATH_H
16936 #include <math.h>
16937 #endif
16939 int (*ptr)() = (int (*)())acos;
16942 main ()
16944 return 0;
16947 _ACEOF
16948 if ac_fn_c_try_link "$LINENO"; then :
16949 gcc_cv_math_func_acos=yes
16950 else
16951 gcc_cv_math_func_acos=no
16953 rm -f core conftest.err conftest.$ac_objext \
16954 conftest$ac_exeext conftest.$ac_ext
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16957 $as_echo "$gcc_cv_math_func_acos" >&6; }
16958 if test $gcc_cv_math_func_acos = yes; then
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_ACOS 1
16962 _ACEOF
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16970 $as_echo_n "checking for acosl... " >&6; }
16971 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16972 $as_echo_n "(cached) " >&6
16973 else
16974 if test x$gcc_no_link = xyes; then
16975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16980 #ifdef HAVE_COMPLEX_H
16981 #include <complex.h>
16982 #endif
16983 #ifdef HAVE_MATH_H
16984 #include <math.h>
16985 #endif
16987 int (*ptr)() = (int (*)())acosl;
16990 main ()
16992 return 0;
16995 _ACEOF
16996 if ac_fn_c_try_link "$LINENO"; then :
16997 gcc_cv_math_func_acosl=yes
16998 else
16999 gcc_cv_math_func_acosl=no
17001 rm -f core conftest.err conftest.$ac_objext \
17002 conftest$ac_exeext conftest.$ac_ext
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17005 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17006 if test $gcc_cv_math_func_acosl = yes; then
17008 cat >>confdefs.h <<_ACEOF
17009 #define HAVE_ACOSL 1
17010 _ACEOF
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17018 $as_echo_n "checking for acoshf... " >&6; }
17019 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
17020 $as_echo_n "(cached) " >&6
17021 else
17022 if test x$gcc_no_link = xyes; then
17023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17028 #ifdef HAVE_COMPLEX_H
17029 #include <complex.h>
17030 #endif
17031 #ifdef HAVE_MATH_H
17032 #include <math.h>
17033 #endif
17035 int (*ptr)() = (int (*)())acoshf;
17038 main ()
17040 return 0;
17043 _ACEOF
17044 if ac_fn_c_try_link "$LINENO"; then :
17045 gcc_cv_math_func_acoshf=yes
17046 else
17047 gcc_cv_math_func_acoshf=no
17049 rm -f core conftest.err conftest.$ac_objext \
17050 conftest$ac_exeext conftest.$ac_ext
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17053 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17054 if test $gcc_cv_math_func_acoshf = yes; then
17056 cat >>confdefs.h <<_ACEOF
17057 #define HAVE_ACOSHF 1
17058 _ACEOF
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17066 $as_echo_n "checking for acosh... " >&6; }
17067 if test "${gcc_cv_math_func_acosh+set}" = set; then :
17068 $as_echo_n "(cached) " >&6
17069 else
17070 if test x$gcc_no_link = xyes; then
17071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17076 #ifdef HAVE_COMPLEX_H
17077 #include <complex.h>
17078 #endif
17079 #ifdef HAVE_MATH_H
17080 #include <math.h>
17081 #endif
17083 int (*ptr)() = (int (*)())acosh;
17086 main ()
17088 return 0;
17091 _ACEOF
17092 if ac_fn_c_try_link "$LINENO"; then :
17093 gcc_cv_math_func_acosh=yes
17094 else
17095 gcc_cv_math_func_acosh=no
17097 rm -f core conftest.err conftest.$ac_objext \
17098 conftest$ac_exeext conftest.$ac_ext
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17101 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17102 if test $gcc_cv_math_func_acosh = yes; then
17104 cat >>confdefs.h <<_ACEOF
17105 #define HAVE_ACOSH 1
17106 _ACEOF
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17114 $as_echo_n "checking for acoshl... " >&6; }
17115 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
17116 $as_echo_n "(cached) " >&6
17117 else
17118 if test x$gcc_no_link = xyes; then
17119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17124 #ifdef HAVE_COMPLEX_H
17125 #include <complex.h>
17126 #endif
17127 #ifdef HAVE_MATH_H
17128 #include <math.h>
17129 #endif
17131 int (*ptr)() = (int (*)())acoshl;
17134 main ()
17136 return 0;
17139 _ACEOF
17140 if ac_fn_c_try_link "$LINENO"; then :
17141 gcc_cv_math_func_acoshl=yes
17142 else
17143 gcc_cv_math_func_acoshl=no
17145 rm -f core conftest.err conftest.$ac_objext \
17146 conftest$ac_exeext conftest.$ac_ext
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17149 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17150 if test $gcc_cv_math_func_acoshl = yes; then
17152 cat >>confdefs.h <<_ACEOF
17153 #define HAVE_ACOSHL 1
17154 _ACEOF
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17162 $as_echo_n "checking for asinf... " >&6; }
17163 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17164 $as_echo_n "(cached) " >&6
17165 else
17166 if test x$gcc_no_link = xyes; then
17167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17172 #ifdef HAVE_COMPLEX_H
17173 #include <complex.h>
17174 #endif
17175 #ifdef HAVE_MATH_H
17176 #include <math.h>
17177 #endif
17179 int (*ptr)() = (int (*)())asinf;
17182 main ()
17184 return 0;
17187 _ACEOF
17188 if ac_fn_c_try_link "$LINENO"; then :
17189 gcc_cv_math_func_asinf=yes
17190 else
17191 gcc_cv_math_func_asinf=no
17193 rm -f core conftest.err conftest.$ac_objext \
17194 conftest$ac_exeext conftest.$ac_ext
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17197 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17198 if test $gcc_cv_math_func_asinf = yes; then
17200 cat >>confdefs.h <<_ACEOF
17201 #define HAVE_ASINF 1
17202 _ACEOF
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17210 $as_echo_n "checking for asin... " >&6; }
17211 if test "${gcc_cv_math_func_asin+set}" = set; then :
17212 $as_echo_n "(cached) " >&6
17213 else
17214 if test x$gcc_no_link = xyes; then
17215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h. */
17220 #ifdef HAVE_COMPLEX_H
17221 #include <complex.h>
17222 #endif
17223 #ifdef HAVE_MATH_H
17224 #include <math.h>
17225 #endif
17227 int (*ptr)() = (int (*)())asin;
17230 main ()
17232 return 0;
17235 _ACEOF
17236 if ac_fn_c_try_link "$LINENO"; then :
17237 gcc_cv_math_func_asin=yes
17238 else
17239 gcc_cv_math_func_asin=no
17241 rm -f core conftest.err conftest.$ac_objext \
17242 conftest$ac_exeext conftest.$ac_ext
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17245 $as_echo "$gcc_cv_math_func_asin" >&6; }
17246 if test $gcc_cv_math_func_asin = yes; then
17248 cat >>confdefs.h <<_ACEOF
17249 #define HAVE_ASIN 1
17250 _ACEOF
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17258 $as_echo_n "checking for asinl... " >&6; }
17259 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17260 $as_echo_n "(cached) " >&6
17261 else
17262 if test x$gcc_no_link = xyes; then
17263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17268 #ifdef HAVE_COMPLEX_H
17269 #include <complex.h>
17270 #endif
17271 #ifdef HAVE_MATH_H
17272 #include <math.h>
17273 #endif
17275 int (*ptr)() = (int (*)())asinl;
17278 main ()
17280 return 0;
17283 _ACEOF
17284 if ac_fn_c_try_link "$LINENO"; then :
17285 gcc_cv_math_func_asinl=yes
17286 else
17287 gcc_cv_math_func_asinl=no
17289 rm -f core conftest.err conftest.$ac_objext \
17290 conftest$ac_exeext conftest.$ac_ext
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17293 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17294 if test $gcc_cv_math_func_asinl = yes; then
17296 cat >>confdefs.h <<_ACEOF
17297 #define HAVE_ASINL 1
17298 _ACEOF
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17306 $as_echo_n "checking for asinhf... " >&6; }
17307 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17308 $as_echo_n "(cached) " >&6
17309 else
17310 if test x$gcc_no_link = xyes; then
17311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17316 #ifdef HAVE_COMPLEX_H
17317 #include <complex.h>
17318 #endif
17319 #ifdef HAVE_MATH_H
17320 #include <math.h>
17321 #endif
17323 int (*ptr)() = (int (*)())asinhf;
17326 main ()
17328 return 0;
17331 _ACEOF
17332 if ac_fn_c_try_link "$LINENO"; then :
17333 gcc_cv_math_func_asinhf=yes
17334 else
17335 gcc_cv_math_func_asinhf=no
17337 rm -f core conftest.err conftest.$ac_objext \
17338 conftest$ac_exeext conftest.$ac_ext
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17341 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17342 if test $gcc_cv_math_func_asinhf = yes; then
17344 cat >>confdefs.h <<_ACEOF
17345 #define HAVE_ASINHF 1
17346 _ACEOF
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17354 $as_echo_n "checking for asinh... " >&6; }
17355 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 if test x$gcc_no_link = xyes; then
17359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17364 #ifdef HAVE_COMPLEX_H
17365 #include <complex.h>
17366 #endif
17367 #ifdef HAVE_MATH_H
17368 #include <math.h>
17369 #endif
17371 int (*ptr)() = (int (*)())asinh;
17374 main ()
17376 return 0;
17379 _ACEOF
17380 if ac_fn_c_try_link "$LINENO"; then :
17381 gcc_cv_math_func_asinh=yes
17382 else
17383 gcc_cv_math_func_asinh=no
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17389 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17390 if test $gcc_cv_math_func_asinh = yes; then
17392 cat >>confdefs.h <<_ACEOF
17393 #define HAVE_ASINH 1
17394 _ACEOF
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17402 $as_echo_n "checking for asinhl... " >&6; }
17403 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406 if test x$gcc_no_link = xyes; then
17407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17412 #ifdef HAVE_COMPLEX_H
17413 #include <complex.h>
17414 #endif
17415 #ifdef HAVE_MATH_H
17416 #include <math.h>
17417 #endif
17419 int (*ptr)() = (int (*)())asinhl;
17422 main ()
17424 return 0;
17427 _ACEOF
17428 if ac_fn_c_try_link "$LINENO"; then :
17429 gcc_cv_math_func_asinhl=yes
17430 else
17431 gcc_cv_math_func_asinhl=no
17433 rm -f core conftest.err conftest.$ac_objext \
17434 conftest$ac_exeext conftest.$ac_ext
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17437 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17438 if test $gcc_cv_math_func_asinhl = yes; then
17440 cat >>confdefs.h <<_ACEOF
17441 #define HAVE_ASINHL 1
17442 _ACEOF
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17450 $as_echo_n "checking for atan2f... " >&6; }
17451 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17454 if test x$gcc_no_link = xyes; then
17455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17458 /* end confdefs.h. */
17460 #ifdef HAVE_COMPLEX_H
17461 #include <complex.h>
17462 #endif
17463 #ifdef HAVE_MATH_H
17464 #include <math.h>
17465 #endif
17467 int (*ptr)() = (int (*)())atan2f;
17470 main ()
17472 return 0;
17475 _ACEOF
17476 if ac_fn_c_try_link "$LINENO"; then :
17477 gcc_cv_math_func_atan2f=yes
17478 else
17479 gcc_cv_math_func_atan2f=no
17481 rm -f core conftest.err conftest.$ac_objext \
17482 conftest$ac_exeext conftest.$ac_ext
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17485 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17486 if test $gcc_cv_math_func_atan2f = yes; then
17488 cat >>confdefs.h <<_ACEOF
17489 #define HAVE_ATAN2F 1
17490 _ACEOF
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17498 $as_echo_n "checking for atan2... " >&6; }
17499 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17500 $as_echo_n "(cached) " >&6
17501 else
17502 if test x$gcc_no_link = xyes; then
17503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17508 #ifdef HAVE_COMPLEX_H
17509 #include <complex.h>
17510 #endif
17511 #ifdef HAVE_MATH_H
17512 #include <math.h>
17513 #endif
17515 int (*ptr)() = (int (*)())atan2;
17518 main ()
17520 return 0;
17523 _ACEOF
17524 if ac_fn_c_try_link "$LINENO"; then :
17525 gcc_cv_math_func_atan2=yes
17526 else
17527 gcc_cv_math_func_atan2=no
17529 rm -f core conftest.err conftest.$ac_objext \
17530 conftest$ac_exeext conftest.$ac_ext
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17533 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17534 if test $gcc_cv_math_func_atan2 = yes; then
17536 cat >>confdefs.h <<_ACEOF
17537 #define HAVE_ATAN2 1
17538 _ACEOF
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17546 $as_echo_n "checking for atan2l... " >&6; }
17547 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17548 $as_echo_n "(cached) " >&6
17549 else
17550 if test x$gcc_no_link = xyes; then
17551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17556 #ifdef HAVE_COMPLEX_H
17557 #include <complex.h>
17558 #endif
17559 #ifdef HAVE_MATH_H
17560 #include <math.h>
17561 #endif
17563 int (*ptr)() = (int (*)())atan2l;
17566 main ()
17568 return 0;
17571 _ACEOF
17572 if ac_fn_c_try_link "$LINENO"; then :
17573 gcc_cv_math_func_atan2l=yes
17574 else
17575 gcc_cv_math_func_atan2l=no
17577 rm -f core conftest.err conftest.$ac_objext \
17578 conftest$ac_exeext conftest.$ac_ext
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17581 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17582 if test $gcc_cv_math_func_atan2l = yes; then
17584 cat >>confdefs.h <<_ACEOF
17585 #define HAVE_ATAN2L 1
17586 _ACEOF
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17594 $as_echo_n "checking for atanf... " >&6; }
17595 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17596 $as_echo_n "(cached) " >&6
17597 else
17598 if test x$gcc_no_link = xyes; then
17599 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17604 #ifdef HAVE_COMPLEX_H
17605 #include <complex.h>
17606 #endif
17607 #ifdef HAVE_MATH_H
17608 #include <math.h>
17609 #endif
17611 int (*ptr)() = (int (*)())atanf;
17614 main ()
17616 return 0;
17619 _ACEOF
17620 if ac_fn_c_try_link "$LINENO"; then :
17621 gcc_cv_math_func_atanf=yes
17622 else
17623 gcc_cv_math_func_atanf=no
17625 rm -f core conftest.err conftest.$ac_objext \
17626 conftest$ac_exeext conftest.$ac_ext
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17629 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17630 if test $gcc_cv_math_func_atanf = yes; then
17632 cat >>confdefs.h <<_ACEOF
17633 #define HAVE_ATANF 1
17634 _ACEOF
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17642 $as_echo_n "checking for atan... " >&6; }
17643 if test "${gcc_cv_math_func_atan+set}" = set; then :
17644 $as_echo_n "(cached) " >&6
17645 else
17646 if test x$gcc_no_link = xyes; then
17647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17652 #ifdef HAVE_COMPLEX_H
17653 #include <complex.h>
17654 #endif
17655 #ifdef HAVE_MATH_H
17656 #include <math.h>
17657 #endif
17659 int (*ptr)() = (int (*)())atan;
17662 main ()
17664 return 0;
17667 _ACEOF
17668 if ac_fn_c_try_link "$LINENO"; then :
17669 gcc_cv_math_func_atan=yes
17670 else
17671 gcc_cv_math_func_atan=no
17673 rm -f core conftest.err conftest.$ac_objext \
17674 conftest$ac_exeext conftest.$ac_ext
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17677 $as_echo "$gcc_cv_math_func_atan" >&6; }
17678 if test $gcc_cv_math_func_atan = yes; then
17680 cat >>confdefs.h <<_ACEOF
17681 #define HAVE_ATAN 1
17682 _ACEOF
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17690 $as_echo_n "checking for atanl... " >&6; }
17691 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17692 $as_echo_n "(cached) " >&6
17693 else
17694 if test x$gcc_no_link = xyes; then
17695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17700 #ifdef HAVE_COMPLEX_H
17701 #include <complex.h>
17702 #endif
17703 #ifdef HAVE_MATH_H
17704 #include <math.h>
17705 #endif
17707 int (*ptr)() = (int (*)())atanl;
17710 main ()
17712 return 0;
17715 _ACEOF
17716 if ac_fn_c_try_link "$LINENO"; then :
17717 gcc_cv_math_func_atanl=yes
17718 else
17719 gcc_cv_math_func_atanl=no
17721 rm -f core conftest.err conftest.$ac_objext \
17722 conftest$ac_exeext conftest.$ac_ext
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17725 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17726 if test $gcc_cv_math_func_atanl = yes; then
17728 cat >>confdefs.h <<_ACEOF
17729 #define HAVE_ATANL 1
17730 _ACEOF
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17738 $as_echo_n "checking for atanhf... " >&6; }
17739 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17740 $as_echo_n "(cached) " >&6
17741 else
17742 if test x$gcc_no_link = xyes; then
17743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17748 #ifdef HAVE_COMPLEX_H
17749 #include <complex.h>
17750 #endif
17751 #ifdef HAVE_MATH_H
17752 #include <math.h>
17753 #endif
17755 int (*ptr)() = (int (*)())atanhf;
17758 main ()
17760 return 0;
17763 _ACEOF
17764 if ac_fn_c_try_link "$LINENO"; then :
17765 gcc_cv_math_func_atanhf=yes
17766 else
17767 gcc_cv_math_func_atanhf=no
17769 rm -f core conftest.err conftest.$ac_objext \
17770 conftest$ac_exeext conftest.$ac_ext
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17773 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17774 if test $gcc_cv_math_func_atanhf = yes; then
17776 cat >>confdefs.h <<_ACEOF
17777 #define HAVE_ATANHF 1
17778 _ACEOF
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17786 $as_echo_n "checking for atanh... " >&6; }
17787 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17788 $as_echo_n "(cached) " >&6
17789 else
17790 if test x$gcc_no_link = xyes; then
17791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17796 #ifdef HAVE_COMPLEX_H
17797 #include <complex.h>
17798 #endif
17799 #ifdef HAVE_MATH_H
17800 #include <math.h>
17801 #endif
17803 int (*ptr)() = (int (*)())atanh;
17806 main ()
17808 return 0;
17811 _ACEOF
17812 if ac_fn_c_try_link "$LINENO"; then :
17813 gcc_cv_math_func_atanh=yes
17814 else
17815 gcc_cv_math_func_atanh=no
17817 rm -f core conftest.err conftest.$ac_objext \
17818 conftest$ac_exeext conftest.$ac_ext
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17821 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17822 if test $gcc_cv_math_func_atanh = yes; then
17824 cat >>confdefs.h <<_ACEOF
17825 #define HAVE_ATANH 1
17826 _ACEOF
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17834 $as_echo_n "checking for atanhl... " >&6; }
17835 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17836 $as_echo_n "(cached) " >&6
17837 else
17838 if test x$gcc_no_link = xyes; then
17839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17844 #ifdef HAVE_COMPLEX_H
17845 #include <complex.h>
17846 #endif
17847 #ifdef HAVE_MATH_H
17848 #include <math.h>
17849 #endif
17851 int (*ptr)() = (int (*)())atanhl;
17854 main ()
17856 return 0;
17859 _ACEOF
17860 if ac_fn_c_try_link "$LINENO"; then :
17861 gcc_cv_math_func_atanhl=yes
17862 else
17863 gcc_cv_math_func_atanhl=no
17865 rm -f core conftest.err conftest.$ac_objext \
17866 conftest$ac_exeext conftest.$ac_ext
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17869 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17870 if test $gcc_cv_math_func_atanhl = yes; then
17872 cat >>confdefs.h <<_ACEOF
17873 #define HAVE_ATANHL 1
17874 _ACEOF
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17882 $as_echo_n "checking for cargf... " >&6; }
17883 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17884 $as_echo_n "(cached) " >&6
17885 else
17886 if test x$gcc_no_link = xyes; then
17887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17890 /* end confdefs.h. */
17892 #ifdef HAVE_COMPLEX_H
17893 #include <complex.h>
17894 #endif
17895 #ifdef HAVE_MATH_H
17896 #include <math.h>
17897 #endif
17899 int (*ptr)() = (int (*)())cargf;
17902 main ()
17904 return 0;
17907 _ACEOF
17908 if ac_fn_c_try_link "$LINENO"; then :
17909 gcc_cv_math_func_cargf=yes
17910 else
17911 gcc_cv_math_func_cargf=no
17913 rm -f core conftest.err conftest.$ac_objext \
17914 conftest$ac_exeext conftest.$ac_ext
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17917 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17918 if test $gcc_cv_math_func_cargf = yes; then
17920 cat >>confdefs.h <<_ACEOF
17921 #define HAVE_CARGF 1
17922 _ACEOF
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17930 $as_echo_n "checking for carg... " >&6; }
17931 if test "${gcc_cv_math_func_carg+set}" = set; then :
17932 $as_echo_n "(cached) " >&6
17933 else
17934 if test x$gcc_no_link = xyes; then
17935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17938 /* end confdefs.h. */
17940 #ifdef HAVE_COMPLEX_H
17941 #include <complex.h>
17942 #endif
17943 #ifdef HAVE_MATH_H
17944 #include <math.h>
17945 #endif
17947 int (*ptr)() = (int (*)())carg;
17950 main ()
17952 return 0;
17955 _ACEOF
17956 if ac_fn_c_try_link "$LINENO"; then :
17957 gcc_cv_math_func_carg=yes
17958 else
17959 gcc_cv_math_func_carg=no
17961 rm -f core conftest.err conftest.$ac_objext \
17962 conftest$ac_exeext conftest.$ac_ext
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17965 $as_echo "$gcc_cv_math_func_carg" >&6; }
17966 if test $gcc_cv_math_func_carg = yes; then
17968 cat >>confdefs.h <<_ACEOF
17969 #define HAVE_CARG 1
17970 _ACEOF
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17978 $as_echo_n "checking for cargl... " >&6; }
17979 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17982 if test x$gcc_no_link = xyes; then
17983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17988 #ifdef HAVE_COMPLEX_H
17989 #include <complex.h>
17990 #endif
17991 #ifdef HAVE_MATH_H
17992 #include <math.h>
17993 #endif
17995 int (*ptr)() = (int (*)())cargl;
17998 main ()
18000 return 0;
18003 _ACEOF
18004 if ac_fn_c_try_link "$LINENO"; then :
18005 gcc_cv_math_func_cargl=yes
18006 else
18007 gcc_cv_math_func_cargl=no
18009 rm -f core conftest.err conftest.$ac_objext \
18010 conftest$ac_exeext conftest.$ac_ext
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18013 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18014 if test $gcc_cv_math_func_cargl = yes; then
18016 cat >>confdefs.h <<_ACEOF
18017 #define HAVE_CARGL 1
18018 _ACEOF
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18026 $as_echo_n "checking for ceilf... " >&6; }
18027 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
18028 $as_echo_n "(cached) " >&6
18029 else
18030 if test x$gcc_no_link = xyes; then
18031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18036 #ifdef HAVE_COMPLEX_H
18037 #include <complex.h>
18038 #endif
18039 #ifdef HAVE_MATH_H
18040 #include <math.h>
18041 #endif
18043 int (*ptr)() = (int (*)())ceilf;
18046 main ()
18048 return 0;
18051 _ACEOF
18052 if ac_fn_c_try_link "$LINENO"; then :
18053 gcc_cv_math_func_ceilf=yes
18054 else
18055 gcc_cv_math_func_ceilf=no
18057 rm -f core conftest.err conftest.$ac_objext \
18058 conftest$ac_exeext conftest.$ac_ext
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18061 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18062 if test $gcc_cv_math_func_ceilf = yes; then
18064 cat >>confdefs.h <<_ACEOF
18065 #define HAVE_CEILF 1
18066 _ACEOF
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18074 $as_echo_n "checking for ceil... " >&6; }
18075 if test "${gcc_cv_math_func_ceil+set}" = set; then :
18076 $as_echo_n "(cached) " >&6
18077 else
18078 if test x$gcc_no_link = xyes; then
18079 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18084 #ifdef HAVE_COMPLEX_H
18085 #include <complex.h>
18086 #endif
18087 #ifdef HAVE_MATH_H
18088 #include <math.h>
18089 #endif
18091 int (*ptr)() = (int (*)())ceil;
18094 main ()
18096 return 0;
18099 _ACEOF
18100 if ac_fn_c_try_link "$LINENO"; then :
18101 gcc_cv_math_func_ceil=yes
18102 else
18103 gcc_cv_math_func_ceil=no
18105 rm -f core conftest.err conftest.$ac_objext \
18106 conftest$ac_exeext conftest.$ac_ext
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18109 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18110 if test $gcc_cv_math_func_ceil = yes; then
18112 cat >>confdefs.h <<_ACEOF
18113 #define HAVE_CEIL 1
18114 _ACEOF
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18122 $as_echo_n "checking for ceill... " >&6; }
18123 if test "${gcc_cv_math_func_ceill+set}" = set; then :
18124 $as_echo_n "(cached) " >&6
18125 else
18126 if test x$gcc_no_link = xyes; then
18127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18130 /* end confdefs.h. */
18132 #ifdef HAVE_COMPLEX_H
18133 #include <complex.h>
18134 #endif
18135 #ifdef HAVE_MATH_H
18136 #include <math.h>
18137 #endif
18139 int (*ptr)() = (int (*)())ceill;
18142 main ()
18144 return 0;
18147 _ACEOF
18148 if ac_fn_c_try_link "$LINENO"; then :
18149 gcc_cv_math_func_ceill=yes
18150 else
18151 gcc_cv_math_func_ceill=no
18153 rm -f core conftest.err conftest.$ac_objext \
18154 conftest$ac_exeext conftest.$ac_ext
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18157 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18158 if test $gcc_cv_math_func_ceill = yes; then
18160 cat >>confdefs.h <<_ACEOF
18161 #define HAVE_CEILL 1
18162 _ACEOF
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18170 $as_echo_n "checking for copysignf... " >&6; }
18171 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18172 $as_echo_n "(cached) " >&6
18173 else
18174 if test x$gcc_no_link = xyes; then
18175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18178 /* end confdefs.h. */
18180 #ifdef HAVE_COMPLEX_H
18181 #include <complex.h>
18182 #endif
18183 #ifdef HAVE_MATH_H
18184 #include <math.h>
18185 #endif
18187 int (*ptr)() = (int (*)())copysignf;
18190 main ()
18192 return 0;
18195 _ACEOF
18196 if ac_fn_c_try_link "$LINENO"; then :
18197 gcc_cv_math_func_copysignf=yes
18198 else
18199 gcc_cv_math_func_copysignf=no
18201 rm -f core conftest.err conftest.$ac_objext \
18202 conftest$ac_exeext conftest.$ac_ext
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18205 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18206 if test $gcc_cv_math_func_copysignf = yes; then
18208 cat >>confdefs.h <<_ACEOF
18209 #define HAVE_COPYSIGNF 1
18210 _ACEOF
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18218 $as_echo_n "checking for copysign... " >&6; }
18219 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18220 $as_echo_n "(cached) " >&6
18221 else
18222 if test x$gcc_no_link = xyes; then
18223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18226 /* end confdefs.h. */
18228 #ifdef HAVE_COMPLEX_H
18229 #include <complex.h>
18230 #endif
18231 #ifdef HAVE_MATH_H
18232 #include <math.h>
18233 #endif
18235 int (*ptr)() = (int (*)())copysign;
18238 main ()
18240 return 0;
18243 _ACEOF
18244 if ac_fn_c_try_link "$LINENO"; then :
18245 gcc_cv_math_func_copysign=yes
18246 else
18247 gcc_cv_math_func_copysign=no
18249 rm -f core conftest.err conftest.$ac_objext \
18250 conftest$ac_exeext conftest.$ac_ext
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18253 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18254 if test $gcc_cv_math_func_copysign = yes; then
18256 cat >>confdefs.h <<_ACEOF
18257 #define HAVE_COPYSIGN 1
18258 _ACEOF
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18266 $as_echo_n "checking for copysignl... " >&6; }
18267 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18268 $as_echo_n "(cached) " >&6
18269 else
18270 if test x$gcc_no_link = xyes; then
18271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18274 /* end confdefs.h. */
18276 #ifdef HAVE_COMPLEX_H
18277 #include <complex.h>
18278 #endif
18279 #ifdef HAVE_MATH_H
18280 #include <math.h>
18281 #endif
18283 int (*ptr)() = (int (*)())copysignl;
18286 main ()
18288 return 0;
18291 _ACEOF
18292 if ac_fn_c_try_link "$LINENO"; then :
18293 gcc_cv_math_func_copysignl=yes
18294 else
18295 gcc_cv_math_func_copysignl=no
18297 rm -f core conftest.err conftest.$ac_objext \
18298 conftest$ac_exeext conftest.$ac_ext
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18301 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18302 if test $gcc_cv_math_func_copysignl = yes; then
18304 cat >>confdefs.h <<_ACEOF
18305 #define HAVE_COPYSIGNL 1
18306 _ACEOF
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18314 $as_echo_n "checking for cosf... " >&6; }
18315 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18316 $as_echo_n "(cached) " >&6
18317 else
18318 if test x$gcc_no_link = xyes; then
18319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18324 #ifdef HAVE_COMPLEX_H
18325 #include <complex.h>
18326 #endif
18327 #ifdef HAVE_MATH_H
18328 #include <math.h>
18329 #endif
18331 int (*ptr)() = (int (*)())cosf;
18334 main ()
18336 return 0;
18339 _ACEOF
18340 if ac_fn_c_try_link "$LINENO"; then :
18341 gcc_cv_math_func_cosf=yes
18342 else
18343 gcc_cv_math_func_cosf=no
18345 rm -f core conftest.err conftest.$ac_objext \
18346 conftest$ac_exeext conftest.$ac_ext
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18349 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18350 if test $gcc_cv_math_func_cosf = yes; then
18352 cat >>confdefs.h <<_ACEOF
18353 #define HAVE_COSF 1
18354 _ACEOF
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18362 $as_echo_n "checking for cos... " >&6; }
18363 if test "${gcc_cv_math_func_cos+set}" = set; then :
18364 $as_echo_n "(cached) " >&6
18365 else
18366 if test x$gcc_no_link = xyes; then
18367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18370 /* end confdefs.h. */
18372 #ifdef HAVE_COMPLEX_H
18373 #include <complex.h>
18374 #endif
18375 #ifdef HAVE_MATH_H
18376 #include <math.h>
18377 #endif
18379 int (*ptr)() = (int (*)())cos;
18382 main ()
18384 return 0;
18387 _ACEOF
18388 if ac_fn_c_try_link "$LINENO"; then :
18389 gcc_cv_math_func_cos=yes
18390 else
18391 gcc_cv_math_func_cos=no
18393 rm -f core conftest.err conftest.$ac_objext \
18394 conftest$ac_exeext conftest.$ac_ext
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18397 $as_echo "$gcc_cv_math_func_cos" >&6; }
18398 if test $gcc_cv_math_func_cos = yes; then
18400 cat >>confdefs.h <<_ACEOF
18401 #define HAVE_COS 1
18402 _ACEOF
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18410 $as_echo_n "checking for cosl... " >&6; }
18411 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18412 $as_echo_n "(cached) " >&6
18413 else
18414 if test x$gcc_no_link = xyes; then
18415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18418 /* end confdefs.h. */
18420 #ifdef HAVE_COMPLEX_H
18421 #include <complex.h>
18422 #endif
18423 #ifdef HAVE_MATH_H
18424 #include <math.h>
18425 #endif
18427 int (*ptr)() = (int (*)())cosl;
18430 main ()
18432 return 0;
18435 _ACEOF
18436 if ac_fn_c_try_link "$LINENO"; then :
18437 gcc_cv_math_func_cosl=yes
18438 else
18439 gcc_cv_math_func_cosl=no
18441 rm -f core conftest.err conftest.$ac_objext \
18442 conftest$ac_exeext conftest.$ac_ext
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18445 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18446 if test $gcc_cv_math_func_cosl = yes; then
18448 cat >>confdefs.h <<_ACEOF
18449 #define HAVE_COSL 1
18450 _ACEOF
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18458 $as_echo_n "checking for ccosf... " >&6; }
18459 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18460 $as_echo_n "(cached) " >&6
18461 else
18462 if test x$gcc_no_link = xyes; then
18463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18468 #ifdef HAVE_COMPLEX_H
18469 #include <complex.h>
18470 #endif
18471 #ifdef HAVE_MATH_H
18472 #include <math.h>
18473 #endif
18475 int (*ptr)() = (int (*)())ccosf;
18478 main ()
18480 return 0;
18483 _ACEOF
18484 if ac_fn_c_try_link "$LINENO"; then :
18485 gcc_cv_math_func_ccosf=yes
18486 else
18487 gcc_cv_math_func_ccosf=no
18489 rm -f core conftest.err conftest.$ac_objext \
18490 conftest$ac_exeext conftest.$ac_ext
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18493 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18494 if test $gcc_cv_math_func_ccosf = yes; then
18496 cat >>confdefs.h <<_ACEOF
18497 #define HAVE_CCOSF 1
18498 _ACEOF
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18506 $as_echo_n "checking for ccos... " >&6; }
18507 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18508 $as_echo_n "(cached) " >&6
18509 else
18510 if test x$gcc_no_link = xyes; then
18511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18516 #ifdef HAVE_COMPLEX_H
18517 #include <complex.h>
18518 #endif
18519 #ifdef HAVE_MATH_H
18520 #include <math.h>
18521 #endif
18523 int (*ptr)() = (int (*)())ccos;
18526 main ()
18528 return 0;
18531 _ACEOF
18532 if ac_fn_c_try_link "$LINENO"; then :
18533 gcc_cv_math_func_ccos=yes
18534 else
18535 gcc_cv_math_func_ccos=no
18537 rm -f core conftest.err conftest.$ac_objext \
18538 conftest$ac_exeext conftest.$ac_ext
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18541 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18542 if test $gcc_cv_math_func_ccos = yes; then
18544 cat >>confdefs.h <<_ACEOF
18545 #define HAVE_CCOS 1
18546 _ACEOF
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18554 $as_echo_n "checking for ccosl... " >&6; }
18555 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18556 $as_echo_n "(cached) " >&6
18557 else
18558 if test x$gcc_no_link = xyes; then
18559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18564 #ifdef HAVE_COMPLEX_H
18565 #include <complex.h>
18566 #endif
18567 #ifdef HAVE_MATH_H
18568 #include <math.h>
18569 #endif
18571 int (*ptr)() = (int (*)())ccosl;
18574 main ()
18576 return 0;
18579 _ACEOF
18580 if ac_fn_c_try_link "$LINENO"; then :
18581 gcc_cv_math_func_ccosl=yes
18582 else
18583 gcc_cv_math_func_ccosl=no
18585 rm -f core conftest.err conftest.$ac_objext \
18586 conftest$ac_exeext conftest.$ac_ext
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18589 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18590 if test $gcc_cv_math_func_ccosl = yes; then
18592 cat >>confdefs.h <<_ACEOF
18593 #define HAVE_CCOSL 1
18594 _ACEOF
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18602 $as_echo_n "checking for coshf... " >&6; }
18603 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18604 $as_echo_n "(cached) " >&6
18605 else
18606 if test x$gcc_no_link = xyes; then
18607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18612 #ifdef HAVE_COMPLEX_H
18613 #include <complex.h>
18614 #endif
18615 #ifdef HAVE_MATH_H
18616 #include <math.h>
18617 #endif
18619 int (*ptr)() = (int (*)())coshf;
18622 main ()
18624 return 0;
18627 _ACEOF
18628 if ac_fn_c_try_link "$LINENO"; then :
18629 gcc_cv_math_func_coshf=yes
18630 else
18631 gcc_cv_math_func_coshf=no
18633 rm -f core conftest.err conftest.$ac_objext \
18634 conftest$ac_exeext conftest.$ac_ext
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18637 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18638 if test $gcc_cv_math_func_coshf = yes; then
18640 cat >>confdefs.h <<_ACEOF
18641 #define HAVE_COSHF 1
18642 _ACEOF
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18650 $as_echo_n "checking for cosh... " >&6; }
18651 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18652 $as_echo_n "(cached) " >&6
18653 else
18654 if test x$gcc_no_link = xyes; then
18655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18658 /* end confdefs.h. */
18660 #ifdef HAVE_COMPLEX_H
18661 #include <complex.h>
18662 #endif
18663 #ifdef HAVE_MATH_H
18664 #include <math.h>
18665 #endif
18667 int (*ptr)() = (int (*)())cosh;
18670 main ()
18672 return 0;
18675 _ACEOF
18676 if ac_fn_c_try_link "$LINENO"; then :
18677 gcc_cv_math_func_cosh=yes
18678 else
18679 gcc_cv_math_func_cosh=no
18681 rm -f core conftest.err conftest.$ac_objext \
18682 conftest$ac_exeext conftest.$ac_ext
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18685 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18686 if test $gcc_cv_math_func_cosh = yes; then
18688 cat >>confdefs.h <<_ACEOF
18689 #define HAVE_COSH 1
18690 _ACEOF
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18698 $as_echo_n "checking for coshl... " >&6; }
18699 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18700 $as_echo_n "(cached) " >&6
18701 else
18702 if test x$gcc_no_link = xyes; then
18703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18708 #ifdef HAVE_COMPLEX_H
18709 #include <complex.h>
18710 #endif
18711 #ifdef HAVE_MATH_H
18712 #include <math.h>
18713 #endif
18715 int (*ptr)() = (int (*)())coshl;
18718 main ()
18720 return 0;
18723 _ACEOF
18724 if ac_fn_c_try_link "$LINENO"; then :
18725 gcc_cv_math_func_coshl=yes
18726 else
18727 gcc_cv_math_func_coshl=no
18729 rm -f core conftest.err conftest.$ac_objext \
18730 conftest$ac_exeext conftest.$ac_ext
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18733 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18734 if test $gcc_cv_math_func_coshl = yes; then
18736 cat >>confdefs.h <<_ACEOF
18737 #define HAVE_COSHL 1
18738 _ACEOF
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18746 $as_echo_n "checking for ccoshf... " >&6; }
18747 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18748 $as_echo_n "(cached) " >&6
18749 else
18750 if test x$gcc_no_link = xyes; then
18751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18756 #ifdef HAVE_COMPLEX_H
18757 #include <complex.h>
18758 #endif
18759 #ifdef HAVE_MATH_H
18760 #include <math.h>
18761 #endif
18763 int (*ptr)() = (int (*)())ccoshf;
18766 main ()
18768 return 0;
18771 _ACEOF
18772 if ac_fn_c_try_link "$LINENO"; then :
18773 gcc_cv_math_func_ccoshf=yes
18774 else
18775 gcc_cv_math_func_ccoshf=no
18777 rm -f core conftest.err conftest.$ac_objext \
18778 conftest$ac_exeext conftest.$ac_ext
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18781 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18782 if test $gcc_cv_math_func_ccoshf = yes; then
18784 cat >>confdefs.h <<_ACEOF
18785 #define HAVE_CCOSHF 1
18786 _ACEOF
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18794 $as_echo_n "checking for ccosh... " >&6; }
18795 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18796 $as_echo_n "(cached) " >&6
18797 else
18798 if test x$gcc_no_link = xyes; then
18799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18804 #ifdef HAVE_COMPLEX_H
18805 #include <complex.h>
18806 #endif
18807 #ifdef HAVE_MATH_H
18808 #include <math.h>
18809 #endif
18811 int (*ptr)() = (int (*)())ccosh;
18814 main ()
18816 return 0;
18819 _ACEOF
18820 if ac_fn_c_try_link "$LINENO"; then :
18821 gcc_cv_math_func_ccosh=yes
18822 else
18823 gcc_cv_math_func_ccosh=no
18825 rm -f core conftest.err conftest.$ac_objext \
18826 conftest$ac_exeext conftest.$ac_ext
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18829 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18830 if test $gcc_cv_math_func_ccosh = yes; then
18832 cat >>confdefs.h <<_ACEOF
18833 #define HAVE_CCOSH 1
18834 _ACEOF
18841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18842 $as_echo_n "checking for ccoshl... " >&6; }
18843 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18844 $as_echo_n "(cached) " >&6
18845 else
18846 if test x$gcc_no_link = xyes; then
18847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18852 #ifdef HAVE_COMPLEX_H
18853 #include <complex.h>
18854 #endif
18855 #ifdef HAVE_MATH_H
18856 #include <math.h>
18857 #endif
18859 int (*ptr)() = (int (*)())ccoshl;
18862 main ()
18864 return 0;
18867 _ACEOF
18868 if ac_fn_c_try_link "$LINENO"; then :
18869 gcc_cv_math_func_ccoshl=yes
18870 else
18871 gcc_cv_math_func_ccoshl=no
18873 rm -f core conftest.err conftest.$ac_objext \
18874 conftest$ac_exeext conftest.$ac_ext
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18877 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18878 if test $gcc_cv_math_func_ccoshl = yes; then
18880 cat >>confdefs.h <<_ACEOF
18881 #define HAVE_CCOSHL 1
18882 _ACEOF
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18890 $as_echo_n "checking for expf... " >&6; }
18891 if test "${gcc_cv_math_func_expf+set}" = set; then :
18892 $as_echo_n "(cached) " >&6
18893 else
18894 if test x$gcc_no_link = xyes; then
18895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18900 #ifdef HAVE_COMPLEX_H
18901 #include <complex.h>
18902 #endif
18903 #ifdef HAVE_MATH_H
18904 #include <math.h>
18905 #endif
18907 int (*ptr)() = (int (*)())expf;
18910 main ()
18912 return 0;
18915 _ACEOF
18916 if ac_fn_c_try_link "$LINENO"; then :
18917 gcc_cv_math_func_expf=yes
18918 else
18919 gcc_cv_math_func_expf=no
18921 rm -f core conftest.err conftest.$ac_objext \
18922 conftest$ac_exeext conftest.$ac_ext
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18925 $as_echo "$gcc_cv_math_func_expf" >&6; }
18926 if test $gcc_cv_math_func_expf = yes; then
18928 cat >>confdefs.h <<_ACEOF
18929 #define HAVE_EXPF 1
18930 _ACEOF
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18938 $as_echo_n "checking for exp... " >&6; }
18939 if test "${gcc_cv_math_func_exp+set}" = set; then :
18940 $as_echo_n "(cached) " >&6
18941 else
18942 if test x$gcc_no_link = xyes; then
18943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18948 #ifdef HAVE_COMPLEX_H
18949 #include <complex.h>
18950 #endif
18951 #ifdef HAVE_MATH_H
18952 #include <math.h>
18953 #endif
18955 int (*ptr)() = (int (*)())exp;
18958 main ()
18960 return 0;
18963 _ACEOF
18964 if ac_fn_c_try_link "$LINENO"; then :
18965 gcc_cv_math_func_exp=yes
18966 else
18967 gcc_cv_math_func_exp=no
18969 rm -f core conftest.err conftest.$ac_objext \
18970 conftest$ac_exeext conftest.$ac_ext
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18973 $as_echo "$gcc_cv_math_func_exp" >&6; }
18974 if test $gcc_cv_math_func_exp = yes; then
18976 cat >>confdefs.h <<_ACEOF
18977 #define HAVE_EXP 1
18978 _ACEOF
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18986 $as_echo_n "checking for expl... " >&6; }
18987 if test "${gcc_cv_math_func_expl+set}" = set; then :
18988 $as_echo_n "(cached) " >&6
18989 else
18990 if test x$gcc_no_link = xyes; then
18991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18994 /* end confdefs.h. */
18996 #ifdef HAVE_COMPLEX_H
18997 #include <complex.h>
18998 #endif
18999 #ifdef HAVE_MATH_H
19000 #include <math.h>
19001 #endif
19003 int (*ptr)() = (int (*)())expl;
19006 main ()
19008 return 0;
19011 _ACEOF
19012 if ac_fn_c_try_link "$LINENO"; then :
19013 gcc_cv_math_func_expl=yes
19014 else
19015 gcc_cv_math_func_expl=no
19017 rm -f core conftest.err conftest.$ac_objext \
19018 conftest$ac_exeext conftest.$ac_ext
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19021 $as_echo "$gcc_cv_math_func_expl" >&6; }
19022 if test $gcc_cv_math_func_expl = yes; then
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_EXPL 1
19026 _ACEOF
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19034 $as_echo_n "checking for cexpf... " >&6; }
19035 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
19036 $as_echo_n "(cached) " >&6
19037 else
19038 if test x$gcc_no_link = xyes; then
19039 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19042 /* end confdefs.h. */
19044 #ifdef HAVE_COMPLEX_H
19045 #include <complex.h>
19046 #endif
19047 #ifdef HAVE_MATH_H
19048 #include <math.h>
19049 #endif
19051 int (*ptr)() = (int (*)())cexpf;
19054 main ()
19056 return 0;
19059 _ACEOF
19060 if ac_fn_c_try_link "$LINENO"; then :
19061 gcc_cv_math_func_cexpf=yes
19062 else
19063 gcc_cv_math_func_cexpf=no
19065 rm -f core conftest.err conftest.$ac_objext \
19066 conftest$ac_exeext conftest.$ac_ext
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19069 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19070 if test $gcc_cv_math_func_cexpf = yes; then
19072 cat >>confdefs.h <<_ACEOF
19073 #define HAVE_CEXPF 1
19074 _ACEOF
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19082 $as_echo_n "checking for cexp... " >&6; }
19083 if test "${gcc_cv_math_func_cexp+set}" = set; then :
19084 $as_echo_n "(cached) " >&6
19085 else
19086 if test x$gcc_no_link = xyes; then
19087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19092 #ifdef HAVE_COMPLEX_H
19093 #include <complex.h>
19094 #endif
19095 #ifdef HAVE_MATH_H
19096 #include <math.h>
19097 #endif
19099 int (*ptr)() = (int (*)())cexp;
19102 main ()
19104 return 0;
19107 _ACEOF
19108 if ac_fn_c_try_link "$LINENO"; then :
19109 gcc_cv_math_func_cexp=yes
19110 else
19111 gcc_cv_math_func_cexp=no
19113 rm -f core conftest.err conftest.$ac_objext \
19114 conftest$ac_exeext conftest.$ac_ext
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19117 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19118 if test $gcc_cv_math_func_cexp = yes; then
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_CEXP 1
19122 _ACEOF
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19130 $as_echo_n "checking for cexpl... " >&6; }
19131 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
19132 $as_echo_n "(cached) " >&6
19133 else
19134 if test x$gcc_no_link = xyes; then
19135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h. */
19140 #ifdef HAVE_COMPLEX_H
19141 #include <complex.h>
19142 #endif
19143 #ifdef HAVE_MATH_H
19144 #include <math.h>
19145 #endif
19147 int (*ptr)() = (int (*)())cexpl;
19150 main ()
19152 return 0;
19155 _ACEOF
19156 if ac_fn_c_try_link "$LINENO"; then :
19157 gcc_cv_math_func_cexpl=yes
19158 else
19159 gcc_cv_math_func_cexpl=no
19161 rm -f core conftest.err conftest.$ac_objext \
19162 conftest$ac_exeext conftest.$ac_ext
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19165 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19166 if test $gcc_cv_math_func_cexpl = yes; then
19168 cat >>confdefs.h <<_ACEOF
19169 #define HAVE_CEXPL 1
19170 _ACEOF
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19178 $as_echo_n "checking for fabsf... " >&6; }
19179 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19180 $as_echo_n "(cached) " >&6
19181 else
19182 if test x$gcc_no_link = xyes; then
19183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19186 /* end confdefs.h. */
19188 #ifdef HAVE_COMPLEX_H
19189 #include <complex.h>
19190 #endif
19191 #ifdef HAVE_MATH_H
19192 #include <math.h>
19193 #endif
19195 int (*ptr)() = (int (*)())fabsf;
19198 main ()
19200 return 0;
19203 _ACEOF
19204 if ac_fn_c_try_link "$LINENO"; then :
19205 gcc_cv_math_func_fabsf=yes
19206 else
19207 gcc_cv_math_func_fabsf=no
19209 rm -f core conftest.err conftest.$ac_objext \
19210 conftest$ac_exeext conftest.$ac_ext
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19213 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19214 if test $gcc_cv_math_func_fabsf = yes; then
19216 cat >>confdefs.h <<_ACEOF
19217 #define HAVE_FABSF 1
19218 _ACEOF
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19226 $as_echo_n "checking for fabs... " >&6; }
19227 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19228 $as_echo_n "(cached) " >&6
19229 else
19230 if test x$gcc_no_link = xyes; then
19231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19234 /* end confdefs.h. */
19236 #ifdef HAVE_COMPLEX_H
19237 #include <complex.h>
19238 #endif
19239 #ifdef HAVE_MATH_H
19240 #include <math.h>
19241 #endif
19243 int (*ptr)() = (int (*)())fabs;
19246 main ()
19248 return 0;
19251 _ACEOF
19252 if ac_fn_c_try_link "$LINENO"; then :
19253 gcc_cv_math_func_fabs=yes
19254 else
19255 gcc_cv_math_func_fabs=no
19257 rm -f core conftest.err conftest.$ac_objext \
19258 conftest$ac_exeext conftest.$ac_ext
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19261 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19262 if test $gcc_cv_math_func_fabs = yes; then
19264 cat >>confdefs.h <<_ACEOF
19265 #define HAVE_FABS 1
19266 _ACEOF
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19274 $as_echo_n "checking for fabsl... " >&6; }
19275 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19276 $as_echo_n "(cached) " >&6
19277 else
19278 if test x$gcc_no_link = xyes; then
19279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19282 /* end confdefs.h. */
19284 #ifdef HAVE_COMPLEX_H
19285 #include <complex.h>
19286 #endif
19287 #ifdef HAVE_MATH_H
19288 #include <math.h>
19289 #endif
19291 int (*ptr)() = (int (*)())fabsl;
19294 main ()
19296 return 0;
19299 _ACEOF
19300 if ac_fn_c_try_link "$LINENO"; then :
19301 gcc_cv_math_func_fabsl=yes
19302 else
19303 gcc_cv_math_func_fabsl=no
19305 rm -f core conftest.err conftest.$ac_objext \
19306 conftest$ac_exeext conftest.$ac_ext
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19309 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19310 if test $gcc_cv_math_func_fabsl = yes; then
19312 cat >>confdefs.h <<_ACEOF
19313 #define HAVE_FABSL 1
19314 _ACEOF
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19322 $as_echo_n "checking for cabsf... " >&6; }
19323 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19324 $as_echo_n "(cached) " >&6
19325 else
19326 if test x$gcc_no_link = xyes; then
19327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19332 #ifdef HAVE_COMPLEX_H
19333 #include <complex.h>
19334 #endif
19335 #ifdef HAVE_MATH_H
19336 #include <math.h>
19337 #endif
19339 int (*ptr)() = (int (*)())cabsf;
19342 main ()
19344 return 0;
19347 _ACEOF
19348 if ac_fn_c_try_link "$LINENO"; then :
19349 gcc_cv_math_func_cabsf=yes
19350 else
19351 gcc_cv_math_func_cabsf=no
19353 rm -f core conftest.err conftest.$ac_objext \
19354 conftest$ac_exeext conftest.$ac_ext
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19357 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19358 if test $gcc_cv_math_func_cabsf = yes; then
19360 cat >>confdefs.h <<_ACEOF
19361 #define HAVE_CABSF 1
19362 _ACEOF
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19370 $as_echo_n "checking for cabs... " >&6; }
19371 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19372 $as_echo_n "(cached) " >&6
19373 else
19374 if test x$gcc_no_link = xyes; then
19375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19378 /* end confdefs.h. */
19380 #ifdef HAVE_COMPLEX_H
19381 #include <complex.h>
19382 #endif
19383 #ifdef HAVE_MATH_H
19384 #include <math.h>
19385 #endif
19387 int (*ptr)() = (int (*)())cabs;
19390 main ()
19392 return 0;
19395 _ACEOF
19396 if ac_fn_c_try_link "$LINENO"; then :
19397 gcc_cv_math_func_cabs=yes
19398 else
19399 gcc_cv_math_func_cabs=no
19401 rm -f core conftest.err conftest.$ac_objext \
19402 conftest$ac_exeext conftest.$ac_ext
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19405 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19406 if test $gcc_cv_math_func_cabs = yes; then
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_CABS 1
19410 _ACEOF
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19418 $as_echo_n "checking for cabsl... " >&6; }
19419 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19420 $as_echo_n "(cached) " >&6
19421 else
19422 if test x$gcc_no_link = xyes; then
19423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19428 #ifdef HAVE_COMPLEX_H
19429 #include <complex.h>
19430 #endif
19431 #ifdef HAVE_MATH_H
19432 #include <math.h>
19433 #endif
19435 int (*ptr)() = (int (*)())cabsl;
19438 main ()
19440 return 0;
19443 _ACEOF
19444 if ac_fn_c_try_link "$LINENO"; then :
19445 gcc_cv_math_func_cabsl=yes
19446 else
19447 gcc_cv_math_func_cabsl=no
19449 rm -f core conftest.err conftest.$ac_objext \
19450 conftest$ac_exeext conftest.$ac_ext
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19453 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19454 if test $gcc_cv_math_func_cabsl = yes; then
19456 cat >>confdefs.h <<_ACEOF
19457 #define HAVE_CABSL 1
19458 _ACEOF
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19466 $as_echo_n "checking for floorf... " >&6; }
19467 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19468 $as_echo_n "(cached) " >&6
19469 else
19470 if test x$gcc_no_link = xyes; then
19471 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19474 /* end confdefs.h. */
19476 #ifdef HAVE_COMPLEX_H
19477 #include <complex.h>
19478 #endif
19479 #ifdef HAVE_MATH_H
19480 #include <math.h>
19481 #endif
19483 int (*ptr)() = (int (*)())floorf;
19486 main ()
19488 return 0;
19491 _ACEOF
19492 if ac_fn_c_try_link "$LINENO"; then :
19493 gcc_cv_math_func_floorf=yes
19494 else
19495 gcc_cv_math_func_floorf=no
19497 rm -f core conftest.err conftest.$ac_objext \
19498 conftest$ac_exeext conftest.$ac_ext
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19501 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19502 if test $gcc_cv_math_func_floorf = yes; then
19504 cat >>confdefs.h <<_ACEOF
19505 #define HAVE_FLOORF 1
19506 _ACEOF
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19514 $as_echo_n "checking for floor... " >&6; }
19515 if test "${gcc_cv_math_func_floor+set}" = set; then :
19516 $as_echo_n "(cached) " >&6
19517 else
19518 if test x$gcc_no_link = xyes; then
19519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19522 /* end confdefs.h. */
19524 #ifdef HAVE_COMPLEX_H
19525 #include <complex.h>
19526 #endif
19527 #ifdef HAVE_MATH_H
19528 #include <math.h>
19529 #endif
19531 int (*ptr)() = (int (*)())floor;
19534 main ()
19536 return 0;
19539 _ACEOF
19540 if ac_fn_c_try_link "$LINENO"; then :
19541 gcc_cv_math_func_floor=yes
19542 else
19543 gcc_cv_math_func_floor=no
19545 rm -f core conftest.err conftest.$ac_objext \
19546 conftest$ac_exeext conftest.$ac_ext
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19549 $as_echo "$gcc_cv_math_func_floor" >&6; }
19550 if test $gcc_cv_math_func_floor = yes; then
19552 cat >>confdefs.h <<_ACEOF
19553 #define HAVE_FLOOR 1
19554 _ACEOF
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19562 $as_echo_n "checking for floorl... " >&6; }
19563 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19564 $as_echo_n "(cached) " >&6
19565 else
19566 if test x$gcc_no_link = xyes; then
19567 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19570 /* end confdefs.h. */
19572 #ifdef HAVE_COMPLEX_H
19573 #include <complex.h>
19574 #endif
19575 #ifdef HAVE_MATH_H
19576 #include <math.h>
19577 #endif
19579 int (*ptr)() = (int (*)())floorl;
19582 main ()
19584 return 0;
19587 _ACEOF
19588 if ac_fn_c_try_link "$LINENO"; then :
19589 gcc_cv_math_func_floorl=yes
19590 else
19591 gcc_cv_math_func_floorl=no
19593 rm -f core conftest.err conftest.$ac_objext \
19594 conftest$ac_exeext conftest.$ac_ext
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19597 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19598 if test $gcc_cv_math_func_floorl = yes; then
19600 cat >>confdefs.h <<_ACEOF
19601 #define HAVE_FLOORL 1
19602 _ACEOF
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19610 $as_echo_n "checking for fmodf... " >&6; }
19611 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19612 $as_echo_n "(cached) " >&6
19613 else
19614 if test x$gcc_no_link = xyes; then
19615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19620 #ifdef HAVE_COMPLEX_H
19621 #include <complex.h>
19622 #endif
19623 #ifdef HAVE_MATH_H
19624 #include <math.h>
19625 #endif
19627 int (*ptr)() = (int (*)())fmodf;
19630 main ()
19632 return 0;
19635 _ACEOF
19636 if ac_fn_c_try_link "$LINENO"; then :
19637 gcc_cv_math_func_fmodf=yes
19638 else
19639 gcc_cv_math_func_fmodf=no
19641 rm -f core conftest.err conftest.$ac_objext \
19642 conftest$ac_exeext conftest.$ac_ext
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19645 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19646 if test $gcc_cv_math_func_fmodf = yes; then
19648 cat >>confdefs.h <<_ACEOF
19649 #define HAVE_FMODF 1
19650 _ACEOF
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19658 $as_echo_n "checking for fmod... " >&6; }
19659 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19660 $as_echo_n "(cached) " >&6
19661 else
19662 if test x$gcc_no_link = xyes; then
19663 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19668 #ifdef HAVE_COMPLEX_H
19669 #include <complex.h>
19670 #endif
19671 #ifdef HAVE_MATH_H
19672 #include <math.h>
19673 #endif
19675 int (*ptr)() = (int (*)())fmod;
19678 main ()
19680 return 0;
19683 _ACEOF
19684 if ac_fn_c_try_link "$LINENO"; then :
19685 gcc_cv_math_func_fmod=yes
19686 else
19687 gcc_cv_math_func_fmod=no
19689 rm -f core conftest.err conftest.$ac_objext \
19690 conftest$ac_exeext conftest.$ac_ext
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19693 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19694 if test $gcc_cv_math_func_fmod = yes; then
19696 cat >>confdefs.h <<_ACEOF
19697 #define HAVE_FMOD 1
19698 _ACEOF
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19706 $as_echo_n "checking for fmodl... " >&6; }
19707 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19708 $as_echo_n "(cached) " >&6
19709 else
19710 if test x$gcc_no_link = xyes; then
19711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19716 #ifdef HAVE_COMPLEX_H
19717 #include <complex.h>
19718 #endif
19719 #ifdef HAVE_MATH_H
19720 #include <math.h>
19721 #endif
19723 int (*ptr)() = (int (*)())fmodl;
19726 main ()
19728 return 0;
19731 _ACEOF
19732 if ac_fn_c_try_link "$LINENO"; then :
19733 gcc_cv_math_func_fmodl=yes
19734 else
19735 gcc_cv_math_func_fmodl=no
19737 rm -f core conftest.err conftest.$ac_objext \
19738 conftest$ac_exeext conftest.$ac_ext
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19741 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19742 if test $gcc_cv_math_func_fmodl = yes; then
19744 cat >>confdefs.h <<_ACEOF
19745 #define HAVE_FMODL 1
19746 _ACEOF
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19754 $as_echo_n "checking for frexpf... " >&6; }
19755 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19756 $as_echo_n "(cached) " >&6
19757 else
19758 if test x$gcc_no_link = xyes; then
19759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19762 /* end confdefs.h. */
19764 #ifdef HAVE_COMPLEX_H
19765 #include <complex.h>
19766 #endif
19767 #ifdef HAVE_MATH_H
19768 #include <math.h>
19769 #endif
19771 int (*ptr)() = (int (*)())frexpf;
19774 main ()
19776 return 0;
19779 _ACEOF
19780 if ac_fn_c_try_link "$LINENO"; then :
19781 gcc_cv_math_func_frexpf=yes
19782 else
19783 gcc_cv_math_func_frexpf=no
19785 rm -f core conftest.err conftest.$ac_objext \
19786 conftest$ac_exeext conftest.$ac_ext
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19789 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19790 if test $gcc_cv_math_func_frexpf = yes; then
19792 cat >>confdefs.h <<_ACEOF
19793 #define HAVE_FREXPF 1
19794 _ACEOF
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19802 $as_echo_n "checking for frexp... " >&6; }
19803 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19804 $as_echo_n "(cached) " >&6
19805 else
19806 if test x$gcc_no_link = xyes; then
19807 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19812 #ifdef HAVE_COMPLEX_H
19813 #include <complex.h>
19814 #endif
19815 #ifdef HAVE_MATH_H
19816 #include <math.h>
19817 #endif
19819 int (*ptr)() = (int (*)())frexp;
19822 main ()
19824 return 0;
19827 _ACEOF
19828 if ac_fn_c_try_link "$LINENO"; then :
19829 gcc_cv_math_func_frexp=yes
19830 else
19831 gcc_cv_math_func_frexp=no
19833 rm -f core conftest.err conftest.$ac_objext \
19834 conftest$ac_exeext conftest.$ac_ext
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19837 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19838 if test $gcc_cv_math_func_frexp = yes; then
19840 cat >>confdefs.h <<_ACEOF
19841 #define HAVE_FREXP 1
19842 _ACEOF
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19850 $as_echo_n "checking for frexpl... " >&6; }
19851 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19852 $as_echo_n "(cached) " >&6
19853 else
19854 if test x$gcc_no_link = xyes; then
19855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19858 /* end confdefs.h. */
19860 #ifdef HAVE_COMPLEX_H
19861 #include <complex.h>
19862 #endif
19863 #ifdef HAVE_MATH_H
19864 #include <math.h>
19865 #endif
19867 int (*ptr)() = (int (*)())frexpl;
19870 main ()
19872 return 0;
19875 _ACEOF
19876 if ac_fn_c_try_link "$LINENO"; then :
19877 gcc_cv_math_func_frexpl=yes
19878 else
19879 gcc_cv_math_func_frexpl=no
19881 rm -f core conftest.err conftest.$ac_objext \
19882 conftest$ac_exeext conftest.$ac_ext
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19885 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19886 if test $gcc_cv_math_func_frexpl = yes; then
19888 cat >>confdefs.h <<_ACEOF
19889 #define HAVE_FREXPL 1
19890 _ACEOF
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19898 $as_echo_n "checking for hypotf... " >&6; }
19899 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19900 $as_echo_n "(cached) " >&6
19901 else
19902 if test x$gcc_no_link = xyes; then
19903 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19908 #ifdef HAVE_COMPLEX_H
19909 #include <complex.h>
19910 #endif
19911 #ifdef HAVE_MATH_H
19912 #include <math.h>
19913 #endif
19915 int (*ptr)() = (int (*)())hypotf;
19918 main ()
19920 return 0;
19923 _ACEOF
19924 if ac_fn_c_try_link "$LINENO"; then :
19925 gcc_cv_math_func_hypotf=yes
19926 else
19927 gcc_cv_math_func_hypotf=no
19929 rm -f core conftest.err conftest.$ac_objext \
19930 conftest$ac_exeext conftest.$ac_ext
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19933 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19934 if test $gcc_cv_math_func_hypotf = yes; then
19936 cat >>confdefs.h <<_ACEOF
19937 #define HAVE_HYPOTF 1
19938 _ACEOF
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19946 $as_echo_n "checking for hypot... " >&6; }
19947 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19948 $as_echo_n "(cached) " >&6
19949 else
19950 if test x$gcc_no_link = xyes; then
19951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19956 #ifdef HAVE_COMPLEX_H
19957 #include <complex.h>
19958 #endif
19959 #ifdef HAVE_MATH_H
19960 #include <math.h>
19961 #endif
19963 int (*ptr)() = (int (*)())hypot;
19966 main ()
19968 return 0;
19971 _ACEOF
19972 if ac_fn_c_try_link "$LINENO"; then :
19973 gcc_cv_math_func_hypot=yes
19974 else
19975 gcc_cv_math_func_hypot=no
19977 rm -f core conftest.err conftest.$ac_objext \
19978 conftest$ac_exeext conftest.$ac_ext
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19981 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19982 if test $gcc_cv_math_func_hypot = yes; then
19984 cat >>confdefs.h <<_ACEOF
19985 #define HAVE_HYPOT 1
19986 _ACEOF
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19994 $as_echo_n "checking for hypotl... " >&6; }
19995 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19996 $as_echo_n "(cached) " >&6
19997 else
19998 if test x$gcc_no_link = xyes; then
19999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20002 /* end confdefs.h. */
20004 #ifdef HAVE_COMPLEX_H
20005 #include <complex.h>
20006 #endif
20007 #ifdef HAVE_MATH_H
20008 #include <math.h>
20009 #endif
20011 int (*ptr)() = (int (*)())hypotl;
20014 main ()
20016 return 0;
20019 _ACEOF
20020 if ac_fn_c_try_link "$LINENO"; then :
20021 gcc_cv_math_func_hypotl=yes
20022 else
20023 gcc_cv_math_func_hypotl=no
20025 rm -f core conftest.err conftest.$ac_objext \
20026 conftest$ac_exeext conftest.$ac_ext
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20029 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20030 if test $gcc_cv_math_func_hypotl = yes; then
20032 cat >>confdefs.h <<_ACEOF
20033 #define HAVE_HYPOTL 1
20034 _ACEOF
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20042 $as_echo_n "checking for ldexpf... " >&6; }
20043 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
20044 $as_echo_n "(cached) " >&6
20045 else
20046 if test x$gcc_no_link = xyes; then
20047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20050 /* end confdefs.h. */
20052 #ifdef HAVE_COMPLEX_H
20053 #include <complex.h>
20054 #endif
20055 #ifdef HAVE_MATH_H
20056 #include <math.h>
20057 #endif
20059 int (*ptr)() = (int (*)())ldexpf;
20062 main ()
20064 return 0;
20067 _ACEOF
20068 if ac_fn_c_try_link "$LINENO"; then :
20069 gcc_cv_math_func_ldexpf=yes
20070 else
20071 gcc_cv_math_func_ldexpf=no
20073 rm -f core conftest.err conftest.$ac_objext \
20074 conftest$ac_exeext conftest.$ac_ext
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20077 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20078 if test $gcc_cv_math_func_ldexpf = yes; then
20080 cat >>confdefs.h <<_ACEOF
20081 #define HAVE_LDEXPF 1
20082 _ACEOF
20089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20090 $as_echo_n "checking for ldexp... " >&6; }
20091 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
20092 $as_echo_n "(cached) " >&6
20093 else
20094 if test x$gcc_no_link = xyes; then
20095 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20100 #ifdef HAVE_COMPLEX_H
20101 #include <complex.h>
20102 #endif
20103 #ifdef HAVE_MATH_H
20104 #include <math.h>
20105 #endif
20107 int (*ptr)() = (int (*)())ldexp;
20110 main ()
20112 return 0;
20115 _ACEOF
20116 if ac_fn_c_try_link "$LINENO"; then :
20117 gcc_cv_math_func_ldexp=yes
20118 else
20119 gcc_cv_math_func_ldexp=no
20121 rm -f core conftest.err conftest.$ac_objext \
20122 conftest$ac_exeext conftest.$ac_ext
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20125 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20126 if test $gcc_cv_math_func_ldexp = yes; then
20128 cat >>confdefs.h <<_ACEOF
20129 #define HAVE_LDEXP 1
20130 _ACEOF
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20138 $as_echo_n "checking for ldexpl... " >&6; }
20139 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
20140 $as_echo_n "(cached) " >&6
20141 else
20142 if test x$gcc_no_link = xyes; then
20143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20146 /* end confdefs.h. */
20148 #ifdef HAVE_COMPLEX_H
20149 #include <complex.h>
20150 #endif
20151 #ifdef HAVE_MATH_H
20152 #include <math.h>
20153 #endif
20155 int (*ptr)() = (int (*)())ldexpl;
20158 main ()
20160 return 0;
20163 _ACEOF
20164 if ac_fn_c_try_link "$LINENO"; then :
20165 gcc_cv_math_func_ldexpl=yes
20166 else
20167 gcc_cv_math_func_ldexpl=no
20169 rm -f core conftest.err conftest.$ac_objext \
20170 conftest$ac_exeext conftest.$ac_ext
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20173 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20174 if test $gcc_cv_math_func_ldexpl = yes; then
20176 cat >>confdefs.h <<_ACEOF
20177 #define HAVE_LDEXPL 1
20178 _ACEOF
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20186 $as_echo_n "checking for logf... " >&6; }
20187 if test "${gcc_cv_math_func_logf+set}" = set; then :
20188 $as_echo_n "(cached) " >&6
20189 else
20190 if test x$gcc_no_link = xyes; then
20191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20194 /* end confdefs.h. */
20196 #ifdef HAVE_COMPLEX_H
20197 #include <complex.h>
20198 #endif
20199 #ifdef HAVE_MATH_H
20200 #include <math.h>
20201 #endif
20203 int (*ptr)() = (int (*)())logf;
20206 main ()
20208 return 0;
20211 _ACEOF
20212 if ac_fn_c_try_link "$LINENO"; then :
20213 gcc_cv_math_func_logf=yes
20214 else
20215 gcc_cv_math_func_logf=no
20217 rm -f core conftest.err conftest.$ac_objext \
20218 conftest$ac_exeext conftest.$ac_ext
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20221 $as_echo "$gcc_cv_math_func_logf" >&6; }
20222 if test $gcc_cv_math_func_logf = yes; then
20224 cat >>confdefs.h <<_ACEOF
20225 #define HAVE_LOGF 1
20226 _ACEOF
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20234 $as_echo_n "checking for log... " >&6; }
20235 if test "${gcc_cv_math_func_log+set}" = set; then :
20236 $as_echo_n "(cached) " >&6
20237 else
20238 if test x$gcc_no_link = xyes; then
20239 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20242 /* end confdefs.h. */
20244 #ifdef HAVE_COMPLEX_H
20245 #include <complex.h>
20246 #endif
20247 #ifdef HAVE_MATH_H
20248 #include <math.h>
20249 #endif
20251 int (*ptr)() = (int (*)())log;
20254 main ()
20256 return 0;
20259 _ACEOF
20260 if ac_fn_c_try_link "$LINENO"; then :
20261 gcc_cv_math_func_log=yes
20262 else
20263 gcc_cv_math_func_log=no
20265 rm -f core conftest.err conftest.$ac_objext \
20266 conftest$ac_exeext conftest.$ac_ext
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20269 $as_echo "$gcc_cv_math_func_log" >&6; }
20270 if test $gcc_cv_math_func_log = yes; then
20272 cat >>confdefs.h <<_ACEOF
20273 #define HAVE_LOG 1
20274 _ACEOF
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20282 $as_echo_n "checking for logl... " >&6; }
20283 if test "${gcc_cv_math_func_logl+set}" = set; then :
20284 $as_echo_n "(cached) " >&6
20285 else
20286 if test x$gcc_no_link = xyes; then
20287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20290 /* end confdefs.h. */
20292 #ifdef HAVE_COMPLEX_H
20293 #include <complex.h>
20294 #endif
20295 #ifdef HAVE_MATH_H
20296 #include <math.h>
20297 #endif
20299 int (*ptr)() = (int (*)())logl;
20302 main ()
20304 return 0;
20307 _ACEOF
20308 if ac_fn_c_try_link "$LINENO"; then :
20309 gcc_cv_math_func_logl=yes
20310 else
20311 gcc_cv_math_func_logl=no
20313 rm -f core conftest.err conftest.$ac_objext \
20314 conftest$ac_exeext conftest.$ac_ext
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20317 $as_echo "$gcc_cv_math_func_logl" >&6; }
20318 if test $gcc_cv_math_func_logl = yes; then
20320 cat >>confdefs.h <<_ACEOF
20321 #define HAVE_LOGL 1
20322 _ACEOF
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20330 $as_echo_n "checking for clogf... " >&6; }
20331 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20332 $as_echo_n "(cached) " >&6
20333 else
20334 if test x$gcc_no_link = xyes; then
20335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20338 /* end confdefs.h. */
20340 #ifdef HAVE_COMPLEX_H
20341 #include <complex.h>
20342 #endif
20343 #ifdef HAVE_MATH_H
20344 #include <math.h>
20345 #endif
20347 int (*ptr)() = (int (*)())clogf;
20350 main ()
20352 return 0;
20355 _ACEOF
20356 if ac_fn_c_try_link "$LINENO"; then :
20357 gcc_cv_math_func_clogf=yes
20358 else
20359 gcc_cv_math_func_clogf=no
20361 rm -f core conftest.err conftest.$ac_objext \
20362 conftest$ac_exeext conftest.$ac_ext
20364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20365 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20366 if test $gcc_cv_math_func_clogf = yes; then
20368 cat >>confdefs.h <<_ACEOF
20369 #define HAVE_CLOGF 1
20370 _ACEOF
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20378 $as_echo_n "checking for clog... " >&6; }
20379 if test "${gcc_cv_math_func_clog+set}" = set; then :
20380 $as_echo_n "(cached) " >&6
20381 else
20382 if test x$gcc_no_link = xyes; then
20383 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20386 /* end confdefs.h. */
20388 #ifdef HAVE_COMPLEX_H
20389 #include <complex.h>
20390 #endif
20391 #ifdef HAVE_MATH_H
20392 #include <math.h>
20393 #endif
20395 int (*ptr)() = (int (*)())clog;
20398 main ()
20400 return 0;
20403 _ACEOF
20404 if ac_fn_c_try_link "$LINENO"; then :
20405 gcc_cv_math_func_clog=yes
20406 else
20407 gcc_cv_math_func_clog=no
20409 rm -f core conftest.err conftest.$ac_objext \
20410 conftest$ac_exeext conftest.$ac_ext
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20413 $as_echo "$gcc_cv_math_func_clog" >&6; }
20414 if test $gcc_cv_math_func_clog = yes; then
20416 cat >>confdefs.h <<_ACEOF
20417 #define HAVE_CLOG 1
20418 _ACEOF
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20426 $as_echo_n "checking for clogl... " >&6; }
20427 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20428 $as_echo_n "(cached) " >&6
20429 else
20430 if test x$gcc_no_link = xyes; then
20431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20434 /* end confdefs.h. */
20436 #ifdef HAVE_COMPLEX_H
20437 #include <complex.h>
20438 #endif
20439 #ifdef HAVE_MATH_H
20440 #include <math.h>
20441 #endif
20443 int (*ptr)() = (int (*)())clogl;
20446 main ()
20448 return 0;
20451 _ACEOF
20452 if ac_fn_c_try_link "$LINENO"; then :
20453 gcc_cv_math_func_clogl=yes
20454 else
20455 gcc_cv_math_func_clogl=no
20457 rm -f core conftest.err conftest.$ac_objext \
20458 conftest$ac_exeext conftest.$ac_ext
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20461 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20462 if test $gcc_cv_math_func_clogl = yes; then
20464 cat >>confdefs.h <<_ACEOF
20465 #define HAVE_CLOGL 1
20466 _ACEOF
20473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20474 $as_echo_n "checking for log10f... " >&6; }
20475 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20476 $as_echo_n "(cached) " >&6
20477 else
20478 if test x$gcc_no_link = xyes; then
20479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20482 /* end confdefs.h. */
20484 #ifdef HAVE_COMPLEX_H
20485 #include <complex.h>
20486 #endif
20487 #ifdef HAVE_MATH_H
20488 #include <math.h>
20489 #endif
20491 int (*ptr)() = (int (*)())log10f;
20494 main ()
20496 return 0;
20499 _ACEOF
20500 if ac_fn_c_try_link "$LINENO"; then :
20501 gcc_cv_math_func_log10f=yes
20502 else
20503 gcc_cv_math_func_log10f=no
20505 rm -f core conftest.err conftest.$ac_objext \
20506 conftest$ac_exeext conftest.$ac_ext
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20509 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20510 if test $gcc_cv_math_func_log10f = yes; then
20512 cat >>confdefs.h <<_ACEOF
20513 #define HAVE_LOG10F 1
20514 _ACEOF
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20522 $as_echo_n "checking for log10... " >&6; }
20523 if test "${gcc_cv_math_func_log10+set}" = set; then :
20524 $as_echo_n "(cached) " >&6
20525 else
20526 if test x$gcc_no_link = xyes; then
20527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20530 /* end confdefs.h. */
20532 #ifdef HAVE_COMPLEX_H
20533 #include <complex.h>
20534 #endif
20535 #ifdef HAVE_MATH_H
20536 #include <math.h>
20537 #endif
20539 int (*ptr)() = (int (*)())log10;
20542 main ()
20544 return 0;
20547 _ACEOF
20548 if ac_fn_c_try_link "$LINENO"; then :
20549 gcc_cv_math_func_log10=yes
20550 else
20551 gcc_cv_math_func_log10=no
20553 rm -f core conftest.err conftest.$ac_objext \
20554 conftest$ac_exeext conftest.$ac_ext
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20557 $as_echo "$gcc_cv_math_func_log10" >&6; }
20558 if test $gcc_cv_math_func_log10 = yes; then
20560 cat >>confdefs.h <<_ACEOF
20561 #define HAVE_LOG10 1
20562 _ACEOF
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20570 $as_echo_n "checking for log10l... " >&6; }
20571 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20572 $as_echo_n "(cached) " >&6
20573 else
20574 if test x$gcc_no_link = xyes; then
20575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20578 /* end confdefs.h. */
20580 #ifdef HAVE_COMPLEX_H
20581 #include <complex.h>
20582 #endif
20583 #ifdef HAVE_MATH_H
20584 #include <math.h>
20585 #endif
20587 int (*ptr)() = (int (*)())log10l;
20590 main ()
20592 return 0;
20595 _ACEOF
20596 if ac_fn_c_try_link "$LINENO"; then :
20597 gcc_cv_math_func_log10l=yes
20598 else
20599 gcc_cv_math_func_log10l=no
20601 rm -f core conftest.err conftest.$ac_objext \
20602 conftest$ac_exeext conftest.$ac_ext
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20605 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20606 if test $gcc_cv_math_func_log10l = yes; then
20608 cat >>confdefs.h <<_ACEOF
20609 #define HAVE_LOG10L 1
20610 _ACEOF
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20618 $as_echo_n "checking for clog10f... " >&6; }
20619 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20620 $as_echo_n "(cached) " >&6
20621 else
20622 if test x$gcc_no_link = xyes; then
20623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20626 /* end confdefs.h. */
20628 #ifdef HAVE_COMPLEX_H
20629 #include <complex.h>
20630 #endif
20631 #ifdef HAVE_MATH_H
20632 #include <math.h>
20633 #endif
20635 int (*ptr)() = (int (*)())clog10f;
20638 main ()
20640 return 0;
20643 _ACEOF
20644 if ac_fn_c_try_link "$LINENO"; then :
20645 gcc_cv_math_func_clog10f=yes
20646 else
20647 gcc_cv_math_func_clog10f=no
20649 rm -f core conftest.err conftest.$ac_objext \
20650 conftest$ac_exeext conftest.$ac_ext
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20653 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20654 if test $gcc_cv_math_func_clog10f = yes; then
20656 cat >>confdefs.h <<_ACEOF
20657 #define HAVE_CLOG10F 1
20658 _ACEOF
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20666 $as_echo_n "checking for clog10... " >&6; }
20667 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20668 $as_echo_n "(cached) " >&6
20669 else
20670 if test x$gcc_no_link = xyes; then
20671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20674 /* end confdefs.h. */
20676 #ifdef HAVE_COMPLEX_H
20677 #include <complex.h>
20678 #endif
20679 #ifdef HAVE_MATH_H
20680 #include <math.h>
20681 #endif
20683 int (*ptr)() = (int (*)())clog10;
20686 main ()
20688 return 0;
20691 _ACEOF
20692 if ac_fn_c_try_link "$LINENO"; then :
20693 gcc_cv_math_func_clog10=yes
20694 else
20695 gcc_cv_math_func_clog10=no
20697 rm -f core conftest.err conftest.$ac_objext \
20698 conftest$ac_exeext conftest.$ac_ext
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20701 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20702 if test $gcc_cv_math_func_clog10 = yes; then
20704 cat >>confdefs.h <<_ACEOF
20705 #define HAVE_CLOG10 1
20706 _ACEOF
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20714 $as_echo_n "checking for clog10l... " >&6; }
20715 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20716 $as_echo_n "(cached) " >&6
20717 else
20718 if test x$gcc_no_link = xyes; then
20719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h. */
20724 #ifdef HAVE_COMPLEX_H
20725 #include <complex.h>
20726 #endif
20727 #ifdef HAVE_MATH_H
20728 #include <math.h>
20729 #endif
20731 int (*ptr)() = (int (*)())clog10l;
20734 main ()
20736 return 0;
20739 _ACEOF
20740 if ac_fn_c_try_link "$LINENO"; then :
20741 gcc_cv_math_func_clog10l=yes
20742 else
20743 gcc_cv_math_func_clog10l=no
20745 rm -f core conftest.err conftest.$ac_objext \
20746 conftest$ac_exeext conftest.$ac_ext
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20749 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20750 if test $gcc_cv_math_func_clog10l = yes; then
20752 cat >>confdefs.h <<_ACEOF
20753 #define HAVE_CLOG10L 1
20754 _ACEOF
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20762 $as_echo_n "checking for nextafterf... " >&6; }
20763 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20764 $as_echo_n "(cached) " >&6
20765 else
20766 if test x$gcc_no_link = xyes; then
20767 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20770 /* end confdefs.h. */
20772 #ifdef HAVE_COMPLEX_H
20773 #include <complex.h>
20774 #endif
20775 #ifdef HAVE_MATH_H
20776 #include <math.h>
20777 #endif
20779 int (*ptr)() = (int (*)())nextafterf;
20782 main ()
20784 return 0;
20787 _ACEOF
20788 if ac_fn_c_try_link "$LINENO"; then :
20789 gcc_cv_math_func_nextafterf=yes
20790 else
20791 gcc_cv_math_func_nextafterf=no
20793 rm -f core conftest.err conftest.$ac_objext \
20794 conftest$ac_exeext conftest.$ac_ext
20796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20797 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20798 if test $gcc_cv_math_func_nextafterf = yes; then
20800 cat >>confdefs.h <<_ACEOF
20801 #define HAVE_NEXTAFTERF 1
20802 _ACEOF
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20810 $as_echo_n "checking for nextafter... " >&6; }
20811 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20812 $as_echo_n "(cached) " >&6
20813 else
20814 if test x$gcc_no_link = xyes; then
20815 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20818 /* end confdefs.h. */
20820 #ifdef HAVE_COMPLEX_H
20821 #include <complex.h>
20822 #endif
20823 #ifdef HAVE_MATH_H
20824 #include <math.h>
20825 #endif
20827 int (*ptr)() = (int (*)())nextafter;
20830 main ()
20832 return 0;
20835 _ACEOF
20836 if ac_fn_c_try_link "$LINENO"; then :
20837 gcc_cv_math_func_nextafter=yes
20838 else
20839 gcc_cv_math_func_nextafter=no
20841 rm -f core conftest.err conftest.$ac_objext \
20842 conftest$ac_exeext conftest.$ac_ext
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20845 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20846 if test $gcc_cv_math_func_nextafter = yes; then
20848 cat >>confdefs.h <<_ACEOF
20849 #define HAVE_NEXTAFTER 1
20850 _ACEOF
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20858 $as_echo_n "checking for nextafterl... " >&6; }
20859 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20860 $as_echo_n "(cached) " >&6
20861 else
20862 if test x$gcc_no_link = xyes; then
20863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20866 /* end confdefs.h. */
20868 #ifdef HAVE_COMPLEX_H
20869 #include <complex.h>
20870 #endif
20871 #ifdef HAVE_MATH_H
20872 #include <math.h>
20873 #endif
20875 int (*ptr)() = (int (*)())nextafterl;
20878 main ()
20880 return 0;
20883 _ACEOF
20884 if ac_fn_c_try_link "$LINENO"; then :
20885 gcc_cv_math_func_nextafterl=yes
20886 else
20887 gcc_cv_math_func_nextafterl=no
20889 rm -f core conftest.err conftest.$ac_objext \
20890 conftest$ac_exeext conftest.$ac_ext
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20893 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20894 if test $gcc_cv_math_func_nextafterl = yes; then
20896 cat >>confdefs.h <<_ACEOF
20897 #define HAVE_NEXTAFTERL 1
20898 _ACEOF
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20906 $as_echo_n "checking for powf... " >&6; }
20907 if test "${gcc_cv_math_func_powf+set}" = set; then :
20908 $as_echo_n "(cached) " >&6
20909 else
20910 if test x$gcc_no_link = xyes; then
20911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h. */
20916 #ifdef HAVE_COMPLEX_H
20917 #include <complex.h>
20918 #endif
20919 #ifdef HAVE_MATH_H
20920 #include <math.h>
20921 #endif
20923 int (*ptr)() = (int (*)())powf;
20926 main ()
20928 return 0;
20931 _ACEOF
20932 if ac_fn_c_try_link "$LINENO"; then :
20933 gcc_cv_math_func_powf=yes
20934 else
20935 gcc_cv_math_func_powf=no
20937 rm -f core conftest.err conftest.$ac_objext \
20938 conftest$ac_exeext conftest.$ac_ext
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20941 $as_echo "$gcc_cv_math_func_powf" >&6; }
20942 if test $gcc_cv_math_func_powf = yes; then
20944 cat >>confdefs.h <<_ACEOF
20945 #define HAVE_POWF 1
20946 _ACEOF
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20954 $as_echo_n "checking for pow... " >&6; }
20955 if test "${gcc_cv_math_func_pow+set}" = set; then :
20956 $as_echo_n "(cached) " >&6
20957 else
20958 if test x$gcc_no_link = xyes; then
20959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20964 #ifdef HAVE_COMPLEX_H
20965 #include <complex.h>
20966 #endif
20967 #ifdef HAVE_MATH_H
20968 #include <math.h>
20969 #endif
20971 int (*ptr)() = (int (*)())pow;
20974 main ()
20976 return 0;
20979 _ACEOF
20980 if ac_fn_c_try_link "$LINENO"; then :
20981 gcc_cv_math_func_pow=yes
20982 else
20983 gcc_cv_math_func_pow=no
20985 rm -f core conftest.err conftest.$ac_objext \
20986 conftest$ac_exeext conftest.$ac_ext
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20989 $as_echo "$gcc_cv_math_func_pow" >&6; }
20990 if test $gcc_cv_math_func_pow = yes; then
20992 cat >>confdefs.h <<_ACEOF
20993 #define HAVE_POW 1
20994 _ACEOF
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21002 $as_echo_n "checking for cpowf... " >&6; }
21003 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
21004 $as_echo_n "(cached) " >&6
21005 else
21006 if test x$gcc_no_link = xyes; then
21007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21010 /* end confdefs.h. */
21012 #ifdef HAVE_COMPLEX_H
21013 #include <complex.h>
21014 #endif
21015 #ifdef HAVE_MATH_H
21016 #include <math.h>
21017 #endif
21019 int (*ptr)() = (int (*)())cpowf;
21022 main ()
21024 return 0;
21027 _ACEOF
21028 if ac_fn_c_try_link "$LINENO"; then :
21029 gcc_cv_math_func_cpowf=yes
21030 else
21031 gcc_cv_math_func_cpowf=no
21033 rm -f core conftest.err conftest.$ac_objext \
21034 conftest$ac_exeext conftest.$ac_ext
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21037 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21038 if test $gcc_cv_math_func_cpowf = yes; then
21040 cat >>confdefs.h <<_ACEOF
21041 #define HAVE_CPOWF 1
21042 _ACEOF
21049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21050 $as_echo_n "checking for cpow... " >&6; }
21051 if test "${gcc_cv_math_func_cpow+set}" = set; then :
21052 $as_echo_n "(cached) " >&6
21053 else
21054 if test x$gcc_no_link = xyes; then
21055 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21058 /* end confdefs.h. */
21060 #ifdef HAVE_COMPLEX_H
21061 #include <complex.h>
21062 #endif
21063 #ifdef HAVE_MATH_H
21064 #include <math.h>
21065 #endif
21067 int (*ptr)() = (int (*)())cpow;
21070 main ()
21072 return 0;
21075 _ACEOF
21076 if ac_fn_c_try_link "$LINENO"; then :
21077 gcc_cv_math_func_cpow=yes
21078 else
21079 gcc_cv_math_func_cpow=no
21081 rm -f core conftest.err conftest.$ac_objext \
21082 conftest$ac_exeext conftest.$ac_ext
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21085 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21086 if test $gcc_cv_math_func_cpow = yes; then
21088 cat >>confdefs.h <<_ACEOF
21089 #define HAVE_CPOW 1
21090 _ACEOF
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21098 $as_echo_n "checking for cpowl... " >&6; }
21099 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21100 $as_echo_n "(cached) " >&6
21101 else
21102 if test x$gcc_no_link = xyes; then
21103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21106 /* end confdefs.h. */
21108 #ifdef HAVE_COMPLEX_H
21109 #include <complex.h>
21110 #endif
21111 #ifdef HAVE_MATH_H
21112 #include <math.h>
21113 #endif
21115 int (*ptr)() = (int (*)())cpowl;
21118 main ()
21120 return 0;
21123 _ACEOF
21124 if ac_fn_c_try_link "$LINENO"; then :
21125 gcc_cv_math_func_cpowl=yes
21126 else
21127 gcc_cv_math_func_cpowl=no
21129 rm -f core conftest.err conftest.$ac_objext \
21130 conftest$ac_exeext conftest.$ac_ext
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21133 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21134 if test $gcc_cv_math_func_cpowl = yes; then
21136 cat >>confdefs.h <<_ACEOF
21137 #define HAVE_CPOWL 1
21138 _ACEOF
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21146 $as_echo_n "checking for roundf... " >&6; }
21147 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21148 $as_echo_n "(cached) " >&6
21149 else
21150 if test x$gcc_no_link = xyes; then
21151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21154 /* end confdefs.h. */
21156 #ifdef HAVE_COMPLEX_H
21157 #include <complex.h>
21158 #endif
21159 #ifdef HAVE_MATH_H
21160 #include <math.h>
21161 #endif
21163 int (*ptr)() = (int (*)())roundf;
21166 main ()
21168 return 0;
21171 _ACEOF
21172 if ac_fn_c_try_link "$LINENO"; then :
21173 gcc_cv_math_func_roundf=yes
21174 else
21175 gcc_cv_math_func_roundf=no
21177 rm -f core conftest.err conftest.$ac_objext \
21178 conftest$ac_exeext conftest.$ac_ext
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21181 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21182 if test $gcc_cv_math_func_roundf = yes; then
21184 cat >>confdefs.h <<_ACEOF
21185 #define HAVE_ROUNDF 1
21186 _ACEOF
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21194 $as_echo_n "checking for round... " >&6; }
21195 if test "${gcc_cv_math_func_round+set}" = set; then :
21196 $as_echo_n "(cached) " >&6
21197 else
21198 if test x$gcc_no_link = xyes; then
21199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21202 /* end confdefs.h. */
21204 #ifdef HAVE_COMPLEX_H
21205 #include <complex.h>
21206 #endif
21207 #ifdef HAVE_MATH_H
21208 #include <math.h>
21209 #endif
21211 int (*ptr)() = (int (*)())round;
21214 main ()
21216 return 0;
21219 _ACEOF
21220 if ac_fn_c_try_link "$LINENO"; then :
21221 gcc_cv_math_func_round=yes
21222 else
21223 gcc_cv_math_func_round=no
21225 rm -f core conftest.err conftest.$ac_objext \
21226 conftest$ac_exeext conftest.$ac_ext
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21229 $as_echo "$gcc_cv_math_func_round" >&6; }
21230 if test $gcc_cv_math_func_round = yes; then
21232 cat >>confdefs.h <<_ACEOF
21233 #define HAVE_ROUND 1
21234 _ACEOF
21241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21242 $as_echo_n "checking for roundl... " >&6; }
21243 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21244 $as_echo_n "(cached) " >&6
21245 else
21246 if test x$gcc_no_link = xyes; then
21247 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21250 /* end confdefs.h. */
21252 #ifdef HAVE_COMPLEX_H
21253 #include <complex.h>
21254 #endif
21255 #ifdef HAVE_MATH_H
21256 #include <math.h>
21257 #endif
21259 int (*ptr)() = (int (*)())roundl;
21262 main ()
21264 return 0;
21267 _ACEOF
21268 if ac_fn_c_try_link "$LINENO"; then :
21269 gcc_cv_math_func_roundl=yes
21270 else
21271 gcc_cv_math_func_roundl=no
21273 rm -f core conftest.err conftest.$ac_objext \
21274 conftest$ac_exeext conftest.$ac_ext
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21277 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21278 if test $gcc_cv_math_func_roundl = yes; then
21280 cat >>confdefs.h <<_ACEOF
21281 #define HAVE_ROUNDL 1
21282 _ACEOF
21289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21290 $as_echo_n "checking for lroundf... " >&6; }
21291 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21292 $as_echo_n "(cached) " >&6
21293 else
21294 if test x$gcc_no_link = xyes; then
21295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21298 /* end confdefs.h. */
21300 #ifdef HAVE_COMPLEX_H
21301 #include <complex.h>
21302 #endif
21303 #ifdef HAVE_MATH_H
21304 #include <math.h>
21305 #endif
21307 int (*ptr)() = (int (*)())lroundf;
21310 main ()
21312 return 0;
21315 _ACEOF
21316 if ac_fn_c_try_link "$LINENO"; then :
21317 gcc_cv_math_func_lroundf=yes
21318 else
21319 gcc_cv_math_func_lroundf=no
21321 rm -f core conftest.err conftest.$ac_objext \
21322 conftest$ac_exeext conftest.$ac_ext
21324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21325 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21326 if test $gcc_cv_math_func_lroundf = yes; then
21328 cat >>confdefs.h <<_ACEOF
21329 #define HAVE_LROUNDF 1
21330 _ACEOF
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21338 $as_echo_n "checking for lround... " >&6; }
21339 if test "${gcc_cv_math_func_lround+set}" = set; then :
21340 $as_echo_n "(cached) " >&6
21341 else
21342 if test x$gcc_no_link = xyes; then
21343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346 /* end confdefs.h. */
21348 #ifdef HAVE_COMPLEX_H
21349 #include <complex.h>
21350 #endif
21351 #ifdef HAVE_MATH_H
21352 #include <math.h>
21353 #endif
21355 int (*ptr)() = (int (*)())lround;
21358 main ()
21360 return 0;
21363 _ACEOF
21364 if ac_fn_c_try_link "$LINENO"; then :
21365 gcc_cv_math_func_lround=yes
21366 else
21367 gcc_cv_math_func_lround=no
21369 rm -f core conftest.err conftest.$ac_objext \
21370 conftest$ac_exeext conftest.$ac_ext
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21373 $as_echo "$gcc_cv_math_func_lround" >&6; }
21374 if test $gcc_cv_math_func_lround = yes; then
21376 cat >>confdefs.h <<_ACEOF
21377 #define HAVE_LROUND 1
21378 _ACEOF
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21386 $as_echo_n "checking for lroundl... " >&6; }
21387 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21388 $as_echo_n "(cached) " >&6
21389 else
21390 if test x$gcc_no_link = xyes; then
21391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21394 /* end confdefs.h. */
21396 #ifdef HAVE_COMPLEX_H
21397 #include <complex.h>
21398 #endif
21399 #ifdef HAVE_MATH_H
21400 #include <math.h>
21401 #endif
21403 int (*ptr)() = (int (*)())lroundl;
21406 main ()
21408 return 0;
21411 _ACEOF
21412 if ac_fn_c_try_link "$LINENO"; then :
21413 gcc_cv_math_func_lroundl=yes
21414 else
21415 gcc_cv_math_func_lroundl=no
21417 rm -f core conftest.err conftest.$ac_objext \
21418 conftest$ac_exeext conftest.$ac_ext
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21421 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21422 if test $gcc_cv_math_func_lroundl = yes; then
21424 cat >>confdefs.h <<_ACEOF
21425 #define HAVE_LROUNDL 1
21426 _ACEOF
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21434 $as_echo_n "checking for llroundf... " >&6; }
21435 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21436 $as_echo_n "(cached) " >&6
21437 else
21438 if test x$gcc_no_link = xyes; then
21439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21442 /* end confdefs.h. */
21444 #ifdef HAVE_COMPLEX_H
21445 #include <complex.h>
21446 #endif
21447 #ifdef HAVE_MATH_H
21448 #include <math.h>
21449 #endif
21451 int (*ptr)() = (int (*)())llroundf;
21454 main ()
21456 return 0;
21459 _ACEOF
21460 if ac_fn_c_try_link "$LINENO"; then :
21461 gcc_cv_math_func_llroundf=yes
21462 else
21463 gcc_cv_math_func_llroundf=no
21465 rm -f core conftest.err conftest.$ac_objext \
21466 conftest$ac_exeext conftest.$ac_ext
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21469 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21470 if test $gcc_cv_math_func_llroundf = yes; then
21472 cat >>confdefs.h <<_ACEOF
21473 #define HAVE_LLROUNDF 1
21474 _ACEOF
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21482 $as_echo_n "checking for llround... " >&6; }
21483 if test "${gcc_cv_math_func_llround+set}" = set; then :
21484 $as_echo_n "(cached) " >&6
21485 else
21486 if test x$gcc_no_link = xyes; then
21487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21490 /* end confdefs.h. */
21492 #ifdef HAVE_COMPLEX_H
21493 #include <complex.h>
21494 #endif
21495 #ifdef HAVE_MATH_H
21496 #include <math.h>
21497 #endif
21499 int (*ptr)() = (int (*)())llround;
21502 main ()
21504 return 0;
21507 _ACEOF
21508 if ac_fn_c_try_link "$LINENO"; then :
21509 gcc_cv_math_func_llround=yes
21510 else
21511 gcc_cv_math_func_llround=no
21513 rm -f core conftest.err conftest.$ac_objext \
21514 conftest$ac_exeext conftest.$ac_ext
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21517 $as_echo "$gcc_cv_math_func_llround" >&6; }
21518 if test $gcc_cv_math_func_llround = yes; then
21520 cat >>confdefs.h <<_ACEOF
21521 #define HAVE_LLROUND 1
21522 _ACEOF
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21530 $as_echo_n "checking for llroundl... " >&6; }
21531 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21532 $as_echo_n "(cached) " >&6
21533 else
21534 if test x$gcc_no_link = xyes; then
21535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21538 /* end confdefs.h. */
21540 #ifdef HAVE_COMPLEX_H
21541 #include <complex.h>
21542 #endif
21543 #ifdef HAVE_MATH_H
21544 #include <math.h>
21545 #endif
21547 int (*ptr)() = (int (*)())llroundl;
21550 main ()
21552 return 0;
21555 _ACEOF
21556 if ac_fn_c_try_link "$LINENO"; then :
21557 gcc_cv_math_func_llroundl=yes
21558 else
21559 gcc_cv_math_func_llroundl=no
21561 rm -f core conftest.err conftest.$ac_objext \
21562 conftest$ac_exeext conftest.$ac_ext
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21565 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21566 if test $gcc_cv_math_func_llroundl = yes; then
21568 cat >>confdefs.h <<_ACEOF
21569 #define HAVE_LLROUNDL 1
21570 _ACEOF
21577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21578 $as_echo_n "checking for scalbnf... " >&6; }
21579 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21580 $as_echo_n "(cached) " >&6
21581 else
21582 if test x$gcc_no_link = xyes; then
21583 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21586 /* end confdefs.h. */
21588 #ifdef HAVE_COMPLEX_H
21589 #include <complex.h>
21590 #endif
21591 #ifdef HAVE_MATH_H
21592 #include <math.h>
21593 #endif
21595 int (*ptr)() = (int (*)())scalbnf;
21598 main ()
21600 return 0;
21603 _ACEOF
21604 if ac_fn_c_try_link "$LINENO"; then :
21605 gcc_cv_math_func_scalbnf=yes
21606 else
21607 gcc_cv_math_func_scalbnf=no
21609 rm -f core conftest.err conftest.$ac_objext \
21610 conftest$ac_exeext conftest.$ac_ext
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21613 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21614 if test $gcc_cv_math_func_scalbnf = yes; then
21616 cat >>confdefs.h <<_ACEOF
21617 #define HAVE_SCALBNF 1
21618 _ACEOF
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21626 $as_echo_n "checking for scalbn... " >&6; }
21627 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21628 $as_echo_n "(cached) " >&6
21629 else
21630 if test x$gcc_no_link = xyes; then
21631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21634 /* end confdefs.h. */
21636 #ifdef HAVE_COMPLEX_H
21637 #include <complex.h>
21638 #endif
21639 #ifdef HAVE_MATH_H
21640 #include <math.h>
21641 #endif
21643 int (*ptr)() = (int (*)())scalbn;
21646 main ()
21648 return 0;
21651 _ACEOF
21652 if ac_fn_c_try_link "$LINENO"; then :
21653 gcc_cv_math_func_scalbn=yes
21654 else
21655 gcc_cv_math_func_scalbn=no
21657 rm -f core conftest.err conftest.$ac_objext \
21658 conftest$ac_exeext conftest.$ac_ext
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21661 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21662 if test $gcc_cv_math_func_scalbn = yes; then
21664 cat >>confdefs.h <<_ACEOF
21665 #define HAVE_SCALBN 1
21666 _ACEOF
21673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21674 $as_echo_n "checking for scalbnl... " >&6; }
21675 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21676 $as_echo_n "(cached) " >&6
21677 else
21678 if test x$gcc_no_link = xyes; then
21679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h. */
21684 #ifdef HAVE_COMPLEX_H
21685 #include <complex.h>
21686 #endif
21687 #ifdef HAVE_MATH_H
21688 #include <math.h>
21689 #endif
21691 int (*ptr)() = (int (*)())scalbnl;
21694 main ()
21696 return 0;
21699 _ACEOF
21700 if ac_fn_c_try_link "$LINENO"; then :
21701 gcc_cv_math_func_scalbnl=yes
21702 else
21703 gcc_cv_math_func_scalbnl=no
21705 rm -f core conftest.err conftest.$ac_objext \
21706 conftest$ac_exeext conftest.$ac_ext
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21709 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21710 if test $gcc_cv_math_func_scalbnl = yes; then
21712 cat >>confdefs.h <<_ACEOF
21713 #define HAVE_SCALBNL 1
21714 _ACEOF
21721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21722 $as_echo_n "checking for sinf... " >&6; }
21723 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21724 $as_echo_n "(cached) " >&6
21725 else
21726 if test x$gcc_no_link = xyes; then
21727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21730 /* end confdefs.h. */
21732 #ifdef HAVE_COMPLEX_H
21733 #include <complex.h>
21734 #endif
21735 #ifdef HAVE_MATH_H
21736 #include <math.h>
21737 #endif
21739 int (*ptr)() = (int (*)())sinf;
21742 main ()
21744 return 0;
21747 _ACEOF
21748 if ac_fn_c_try_link "$LINENO"; then :
21749 gcc_cv_math_func_sinf=yes
21750 else
21751 gcc_cv_math_func_sinf=no
21753 rm -f core conftest.err conftest.$ac_objext \
21754 conftest$ac_exeext conftest.$ac_ext
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21757 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21758 if test $gcc_cv_math_func_sinf = yes; then
21760 cat >>confdefs.h <<_ACEOF
21761 #define HAVE_SINF 1
21762 _ACEOF
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21770 $as_echo_n "checking for sin... " >&6; }
21771 if test "${gcc_cv_math_func_sin+set}" = set; then :
21772 $as_echo_n "(cached) " >&6
21773 else
21774 if test x$gcc_no_link = xyes; then
21775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21778 /* end confdefs.h. */
21780 #ifdef HAVE_COMPLEX_H
21781 #include <complex.h>
21782 #endif
21783 #ifdef HAVE_MATH_H
21784 #include <math.h>
21785 #endif
21787 int (*ptr)() = (int (*)())sin;
21790 main ()
21792 return 0;
21795 _ACEOF
21796 if ac_fn_c_try_link "$LINENO"; then :
21797 gcc_cv_math_func_sin=yes
21798 else
21799 gcc_cv_math_func_sin=no
21801 rm -f core conftest.err conftest.$ac_objext \
21802 conftest$ac_exeext conftest.$ac_ext
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21805 $as_echo "$gcc_cv_math_func_sin" >&6; }
21806 if test $gcc_cv_math_func_sin = yes; then
21808 cat >>confdefs.h <<_ACEOF
21809 #define HAVE_SIN 1
21810 _ACEOF
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21818 $as_echo_n "checking for sinl... " >&6; }
21819 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21820 $as_echo_n "(cached) " >&6
21821 else
21822 if test x$gcc_no_link = xyes; then
21823 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21826 /* end confdefs.h. */
21828 #ifdef HAVE_COMPLEX_H
21829 #include <complex.h>
21830 #endif
21831 #ifdef HAVE_MATH_H
21832 #include <math.h>
21833 #endif
21835 int (*ptr)() = (int (*)())sinl;
21838 main ()
21840 return 0;
21843 _ACEOF
21844 if ac_fn_c_try_link "$LINENO"; then :
21845 gcc_cv_math_func_sinl=yes
21846 else
21847 gcc_cv_math_func_sinl=no
21849 rm -f core conftest.err conftest.$ac_objext \
21850 conftest$ac_exeext conftest.$ac_ext
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21853 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21854 if test $gcc_cv_math_func_sinl = yes; then
21856 cat >>confdefs.h <<_ACEOF
21857 #define HAVE_SINL 1
21858 _ACEOF
21865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21866 $as_echo_n "checking for csinf... " >&6; }
21867 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21868 $as_echo_n "(cached) " >&6
21869 else
21870 if test x$gcc_no_link = xyes; then
21871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21874 /* end confdefs.h. */
21876 #ifdef HAVE_COMPLEX_H
21877 #include <complex.h>
21878 #endif
21879 #ifdef HAVE_MATH_H
21880 #include <math.h>
21881 #endif
21883 int (*ptr)() = (int (*)())csinf;
21886 main ()
21888 return 0;
21891 _ACEOF
21892 if ac_fn_c_try_link "$LINENO"; then :
21893 gcc_cv_math_func_csinf=yes
21894 else
21895 gcc_cv_math_func_csinf=no
21897 rm -f core conftest.err conftest.$ac_objext \
21898 conftest$ac_exeext conftest.$ac_ext
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21901 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21902 if test $gcc_cv_math_func_csinf = yes; then
21904 cat >>confdefs.h <<_ACEOF
21905 #define HAVE_CSINF 1
21906 _ACEOF
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21914 $as_echo_n "checking for csin... " >&6; }
21915 if test "${gcc_cv_math_func_csin+set}" = set; then :
21916 $as_echo_n "(cached) " >&6
21917 else
21918 if test x$gcc_no_link = xyes; then
21919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21922 /* end confdefs.h. */
21924 #ifdef HAVE_COMPLEX_H
21925 #include <complex.h>
21926 #endif
21927 #ifdef HAVE_MATH_H
21928 #include <math.h>
21929 #endif
21931 int (*ptr)() = (int (*)())csin;
21934 main ()
21936 return 0;
21939 _ACEOF
21940 if ac_fn_c_try_link "$LINENO"; then :
21941 gcc_cv_math_func_csin=yes
21942 else
21943 gcc_cv_math_func_csin=no
21945 rm -f core conftest.err conftest.$ac_objext \
21946 conftest$ac_exeext conftest.$ac_ext
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21949 $as_echo "$gcc_cv_math_func_csin" >&6; }
21950 if test $gcc_cv_math_func_csin = yes; then
21952 cat >>confdefs.h <<_ACEOF
21953 #define HAVE_CSIN 1
21954 _ACEOF
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21962 $as_echo_n "checking for csinl... " >&6; }
21963 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21964 $as_echo_n "(cached) " >&6
21965 else
21966 if test x$gcc_no_link = xyes; then
21967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21970 /* end confdefs.h. */
21972 #ifdef HAVE_COMPLEX_H
21973 #include <complex.h>
21974 #endif
21975 #ifdef HAVE_MATH_H
21976 #include <math.h>
21977 #endif
21979 int (*ptr)() = (int (*)())csinl;
21982 main ()
21984 return 0;
21987 _ACEOF
21988 if ac_fn_c_try_link "$LINENO"; then :
21989 gcc_cv_math_func_csinl=yes
21990 else
21991 gcc_cv_math_func_csinl=no
21993 rm -f core conftest.err conftest.$ac_objext \
21994 conftest$ac_exeext conftest.$ac_ext
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21997 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21998 if test $gcc_cv_math_func_csinl = yes; then
22000 cat >>confdefs.h <<_ACEOF
22001 #define HAVE_CSINL 1
22002 _ACEOF
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22010 $as_echo_n "checking for sinhf... " >&6; }
22011 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
22012 $as_echo_n "(cached) " >&6
22013 else
22014 if test x$gcc_no_link = xyes; then
22015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22018 /* end confdefs.h. */
22020 #ifdef HAVE_COMPLEX_H
22021 #include <complex.h>
22022 #endif
22023 #ifdef HAVE_MATH_H
22024 #include <math.h>
22025 #endif
22027 int (*ptr)() = (int (*)())sinhf;
22030 main ()
22032 return 0;
22035 _ACEOF
22036 if ac_fn_c_try_link "$LINENO"; then :
22037 gcc_cv_math_func_sinhf=yes
22038 else
22039 gcc_cv_math_func_sinhf=no
22041 rm -f core conftest.err conftest.$ac_objext \
22042 conftest$ac_exeext conftest.$ac_ext
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22045 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22046 if test $gcc_cv_math_func_sinhf = yes; then
22048 cat >>confdefs.h <<_ACEOF
22049 #define HAVE_SINHF 1
22050 _ACEOF
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22058 $as_echo_n "checking for sinh... " >&6; }
22059 if test "${gcc_cv_math_func_sinh+set}" = set; then :
22060 $as_echo_n "(cached) " >&6
22061 else
22062 if test x$gcc_no_link = xyes; then
22063 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22066 /* end confdefs.h. */
22068 #ifdef HAVE_COMPLEX_H
22069 #include <complex.h>
22070 #endif
22071 #ifdef HAVE_MATH_H
22072 #include <math.h>
22073 #endif
22075 int (*ptr)() = (int (*)())sinh;
22078 main ()
22080 return 0;
22083 _ACEOF
22084 if ac_fn_c_try_link "$LINENO"; then :
22085 gcc_cv_math_func_sinh=yes
22086 else
22087 gcc_cv_math_func_sinh=no
22089 rm -f core conftest.err conftest.$ac_objext \
22090 conftest$ac_exeext conftest.$ac_ext
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22093 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22094 if test $gcc_cv_math_func_sinh = yes; then
22096 cat >>confdefs.h <<_ACEOF
22097 #define HAVE_SINH 1
22098 _ACEOF
22105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22106 $as_echo_n "checking for sinhl... " >&6; }
22107 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22108 $as_echo_n "(cached) " >&6
22109 else
22110 if test x$gcc_no_link = xyes; then
22111 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22114 /* end confdefs.h. */
22116 #ifdef HAVE_COMPLEX_H
22117 #include <complex.h>
22118 #endif
22119 #ifdef HAVE_MATH_H
22120 #include <math.h>
22121 #endif
22123 int (*ptr)() = (int (*)())sinhl;
22126 main ()
22128 return 0;
22131 _ACEOF
22132 if ac_fn_c_try_link "$LINENO"; then :
22133 gcc_cv_math_func_sinhl=yes
22134 else
22135 gcc_cv_math_func_sinhl=no
22137 rm -f core conftest.err conftest.$ac_objext \
22138 conftest$ac_exeext conftest.$ac_ext
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22141 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22142 if test $gcc_cv_math_func_sinhl = yes; then
22144 cat >>confdefs.h <<_ACEOF
22145 #define HAVE_SINHL 1
22146 _ACEOF
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22154 $as_echo_n "checking for csinhf... " >&6; }
22155 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22156 $as_echo_n "(cached) " >&6
22157 else
22158 if test x$gcc_no_link = xyes; then
22159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22162 /* end confdefs.h. */
22164 #ifdef HAVE_COMPLEX_H
22165 #include <complex.h>
22166 #endif
22167 #ifdef HAVE_MATH_H
22168 #include <math.h>
22169 #endif
22171 int (*ptr)() = (int (*)())csinhf;
22174 main ()
22176 return 0;
22179 _ACEOF
22180 if ac_fn_c_try_link "$LINENO"; then :
22181 gcc_cv_math_func_csinhf=yes
22182 else
22183 gcc_cv_math_func_csinhf=no
22185 rm -f core conftest.err conftest.$ac_objext \
22186 conftest$ac_exeext conftest.$ac_ext
22188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22189 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22190 if test $gcc_cv_math_func_csinhf = yes; then
22192 cat >>confdefs.h <<_ACEOF
22193 #define HAVE_CSINHF 1
22194 _ACEOF
22201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22202 $as_echo_n "checking for csinh... " >&6; }
22203 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22204 $as_echo_n "(cached) " >&6
22205 else
22206 if test x$gcc_no_link = xyes; then
22207 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22210 /* end confdefs.h. */
22212 #ifdef HAVE_COMPLEX_H
22213 #include <complex.h>
22214 #endif
22215 #ifdef HAVE_MATH_H
22216 #include <math.h>
22217 #endif
22219 int (*ptr)() = (int (*)())csinh;
22222 main ()
22224 return 0;
22227 _ACEOF
22228 if ac_fn_c_try_link "$LINENO"; then :
22229 gcc_cv_math_func_csinh=yes
22230 else
22231 gcc_cv_math_func_csinh=no
22233 rm -f core conftest.err conftest.$ac_objext \
22234 conftest$ac_exeext conftest.$ac_ext
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22237 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22238 if test $gcc_cv_math_func_csinh = yes; then
22240 cat >>confdefs.h <<_ACEOF
22241 #define HAVE_CSINH 1
22242 _ACEOF
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22250 $as_echo_n "checking for csinhl... " >&6; }
22251 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22252 $as_echo_n "(cached) " >&6
22253 else
22254 if test x$gcc_no_link = xyes; then
22255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22258 /* end confdefs.h. */
22260 #ifdef HAVE_COMPLEX_H
22261 #include <complex.h>
22262 #endif
22263 #ifdef HAVE_MATH_H
22264 #include <math.h>
22265 #endif
22267 int (*ptr)() = (int (*)())csinhl;
22270 main ()
22272 return 0;
22275 _ACEOF
22276 if ac_fn_c_try_link "$LINENO"; then :
22277 gcc_cv_math_func_csinhl=yes
22278 else
22279 gcc_cv_math_func_csinhl=no
22281 rm -f core conftest.err conftest.$ac_objext \
22282 conftest$ac_exeext conftest.$ac_ext
22284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22285 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22286 if test $gcc_cv_math_func_csinhl = yes; then
22288 cat >>confdefs.h <<_ACEOF
22289 #define HAVE_CSINHL 1
22290 _ACEOF
22297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22298 $as_echo_n "checking for sqrtf... " >&6; }
22299 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22300 $as_echo_n "(cached) " >&6
22301 else
22302 if test x$gcc_no_link = xyes; then
22303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22306 /* end confdefs.h. */
22308 #ifdef HAVE_COMPLEX_H
22309 #include <complex.h>
22310 #endif
22311 #ifdef HAVE_MATH_H
22312 #include <math.h>
22313 #endif
22315 int (*ptr)() = (int (*)())sqrtf;
22318 main ()
22320 return 0;
22323 _ACEOF
22324 if ac_fn_c_try_link "$LINENO"; then :
22325 gcc_cv_math_func_sqrtf=yes
22326 else
22327 gcc_cv_math_func_sqrtf=no
22329 rm -f core conftest.err conftest.$ac_objext \
22330 conftest$ac_exeext conftest.$ac_ext
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22333 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22334 if test $gcc_cv_math_func_sqrtf = yes; then
22336 cat >>confdefs.h <<_ACEOF
22337 #define HAVE_SQRTF 1
22338 _ACEOF
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22346 $as_echo_n "checking for sqrt... " >&6; }
22347 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22348 $as_echo_n "(cached) " >&6
22349 else
22350 if test x$gcc_no_link = xyes; then
22351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22354 /* end confdefs.h. */
22356 #ifdef HAVE_COMPLEX_H
22357 #include <complex.h>
22358 #endif
22359 #ifdef HAVE_MATH_H
22360 #include <math.h>
22361 #endif
22363 int (*ptr)() = (int (*)())sqrt;
22366 main ()
22368 return 0;
22371 _ACEOF
22372 if ac_fn_c_try_link "$LINENO"; then :
22373 gcc_cv_math_func_sqrt=yes
22374 else
22375 gcc_cv_math_func_sqrt=no
22377 rm -f core conftest.err conftest.$ac_objext \
22378 conftest$ac_exeext conftest.$ac_ext
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22381 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22382 if test $gcc_cv_math_func_sqrt = yes; then
22384 cat >>confdefs.h <<_ACEOF
22385 #define HAVE_SQRT 1
22386 _ACEOF
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22394 $as_echo_n "checking for sqrtl... " >&6; }
22395 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22396 $as_echo_n "(cached) " >&6
22397 else
22398 if test x$gcc_no_link = xyes; then
22399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22402 /* end confdefs.h. */
22404 #ifdef HAVE_COMPLEX_H
22405 #include <complex.h>
22406 #endif
22407 #ifdef HAVE_MATH_H
22408 #include <math.h>
22409 #endif
22411 int (*ptr)() = (int (*)())sqrtl;
22414 main ()
22416 return 0;
22419 _ACEOF
22420 if ac_fn_c_try_link "$LINENO"; then :
22421 gcc_cv_math_func_sqrtl=yes
22422 else
22423 gcc_cv_math_func_sqrtl=no
22425 rm -f core conftest.err conftest.$ac_objext \
22426 conftest$ac_exeext conftest.$ac_ext
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22429 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22430 if test $gcc_cv_math_func_sqrtl = yes; then
22432 cat >>confdefs.h <<_ACEOF
22433 #define HAVE_SQRTL 1
22434 _ACEOF
22441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22442 $as_echo_n "checking for csqrtf... " >&6; }
22443 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22444 $as_echo_n "(cached) " >&6
22445 else
22446 if test x$gcc_no_link = xyes; then
22447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22450 /* end confdefs.h. */
22452 #ifdef HAVE_COMPLEX_H
22453 #include <complex.h>
22454 #endif
22455 #ifdef HAVE_MATH_H
22456 #include <math.h>
22457 #endif
22459 int (*ptr)() = (int (*)())csqrtf;
22462 main ()
22464 return 0;
22467 _ACEOF
22468 if ac_fn_c_try_link "$LINENO"; then :
22469 gcc_cv_math_func_csqrtf=yes
22470 else
22471 gcc_cv_math_func_csqrtf=no
22473 rm -f core conftest.err conftest.$ac_objext \
22474 conftest$ac_exeext conftest.$ac_ext
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22477 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22478 if test $gcc_cv_math_func_csqrtf = yes; then
22480 cat >>confdefs.h <<_ACEOF
22481 #define HAVE_CSQRTF 1
22482 _ACEOF
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22490 $as_echo_n "checking for csqrt... " >&6; }
22491 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22492 $as_echo_n "(cached) " >&6
22493 else
22494 if test x$gcc_no_link = xyes; then
22495 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22498 /* end confdefs.h. */
22500 #ifdef HAVE_COMPLEX_H
22501 #include <complex.h>
22502 #endif
22503 #ifdef HAVE_MATH_H
22504 #include <math.h>
22505 #endif
22507 int (*ptr)() = (int (*)())csqrt;
22510 main ()
22512 return 0;
22515 _ACEOF
22516 if ac_fn_c_try_link "$LINENO"; then :
22517 gcc_cv_math_func_csqrt=yes
22518 else
22519 gcc_cv_math_func_csqrt=no
22521 rm -f core conftest.err conftest.$ac_objext \
22522 conftest$ac_exeext conftest.$ac_ext
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22525 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22526 if test $gcc_cv_math_func_csqrt = yes; then
22528 cat >>confdefs.h <<_ACEOF
22529 #define HAVE_CSQRT 1
22530 _ACEOF
22537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22538 $as_echo_n "checking for csqrtl... " >&6; }
22539 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22540 $as_echo_n "(cached) " >&6
22541 else
22542 if test x$gcc_no_link = xyes; then
22543 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22546 /* end confdefs.h. */
22548 #ifdef HAVE_COMPLEX_H
22549 #include <complex.h>
22550 #endif
22551 #ifdef HAVE_MATH_H
22552 #include <math.h>
22553 #endif
22555 int (*ptr)() = (int (*)())csqrtl;
22558 main ()
22560 return 0;
22563 _ACEOF
22564 if ac_fn_c_try_link "$LINENO"; then :
22565 gcc_cv_math_func_csqrtl=yes
22566 else
22567 gcc_cv_math_func_csqrtl=no
22569 rm -f core conftest.err conftest.$ac_objext \
22570 conftest$ac_exeext conftest.$ac_ext
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22573 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22574 if test $gcc_cv_math_func_csqrtl = yes; then
22576 cat >>confdefs.h <<_ACEOF
22577 #define HAVE_CSQRTL 1
22578 _ACEOF
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22586 $as_echo_n "checking for tanf... " >&6; }
22587 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22588 $as_echo_n "(cached) " >&6
22589 else
22590 if test x$gcc_no_link = xyes; then
22591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22596 #ifdef HAVE_COMPLEX_H
22597 #include <complex.h>
22598 #endif
22599 #ifdef HAVE_MATH_H
22600 #include <math.h>
22601 #endif
22603 int (*ptr)() = (int (*)())tanf;
22606 main ()
22608 return 0;
22611 _ACEOF
22612 if ac_fn_c_try_link "$LINENO"; then :
22613 gcc_cv_math_func_tanf=yes
22614 else
22615 gcc_cv_math_func_tanf=no
22617 rm -f core conftest.err conftest.$ac_objext \
22618 conftest$ac_exeext conftest.$ac_ext
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22621 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22622 if test $gcc_cv_math_func_tanf = yes; then
22624 cat >>confdefs.h <<_ACEOF
22625 #define HAVE_TANF 1
22626 _ACEOF
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22634 $as_echo_n "checking for tan... " >&6; }
22635 if test "${gcc_cv_math_func_tan+set}" = set; then :
22636 $as_echo_n "(cached) " >&6
22637 else
22638 if test x$gcc_no_link = xyes; then
22639 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22642 /* end confdefs.h. */
22644 #ifdef HAVE_COMPLEX_H
22645 #include <complex.h>
22646 #endif
22647 #ifdef HAVE_MATH_H
22648 #include <math.h>
22649 #endif
22651 int (*ptr)() = (int (*)())tan;
22654 main ()
22656 return 0;
22659 _ACEOF
22660 if ac_fn_c_try_link "$LINENO"; then :
22661 gcc_cv_math_func_tan=yes
22662 else
22663 gcc_cv_math_func_tan=no
22665 rm -f core conftest.err conftest.$ac_objext \
22666 conftest$ac_exeext conftest.$ac_ext
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22669 $as_echo "$gcc_cv_math_func_tan" >&6; }
22670 if test $gcc_cv_math_func_tan = yes; then
22672 cat >>confdefs.h <<_ACEOF
22673 #define HAVE_TAN 1
22674 _ACEOF
22681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22682 $as_echo_n "checking for tanl... " >&6; }
22683 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22684 $as_echo_n "(cached) " >&6
22685 else
22686 if test x$gcc_no_link = xyes; then
22687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22690 /* end confdefs.h. */
22692 #ifdef HAVE_COMPLEX_H
22693 #include <complex.h>
22694 #endif
22695 #ifdef HAVE_MATH_H
22696 #include <math.h>
22697 #endif
22699 int (*ptr)() = (int (*)())tanl;
22702 main ()
22704 return 0;
22707 _ACEOF
22708 if ac_fn_c_try_link "$LINENO"; then :
22709 gcc_cv_math_func_tanl=yes
22710 else
22711 gcc_cv_math_func_tanl=no
22713 rm -f core conftest.err conftest.$ac_objext \
22714 conftest$ac_exeext conftest.$ac_ext
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22717 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22718 if test $gcc_cv_math_func_tanl = yes; then
22720 cat >>confdefs.h <<_ACEOF
22721 #define HAVE_TANL 1
22722 _ACEOF
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22730 $as_echo_n "checking for ctanf... " >&6; }
22731 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22732 $as_echo_n "(cached) " >&6
22733 else
22734 if test x$gcc_no_link = xyes; then
22735 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22738 /* end confdefs.h. */
22740 #ifdef HAVE_COMPLEX_H
22741 #include <complex.h>
22742 #endif
22743 #ifdef HAVE_MATH_H
22744 #include <math.h>
22745 #endif
22747 int (*ptr)() = (int (*)())ctanf;
22750 main ()
22752 return 0;
22755 _ACEOF
22756 if ac_fn_c_try_link "$LINENO"; then :
22757 gcc_cv_math_func_ctanf=yes
22758 else
22759 gcc_cv_math_func_ctanf=no
22761 rm -f core conftest.err conftest.$ac_objext \
22762 conftest$ac_exeext conftest.$ac_ext
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22765 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22766 if test $gcc_cv_math_func_ctanf = yes; then
22768 cat >>confdefs.h <<_ACEOF
22769 #define HAVE_CTANF 1
22770 _ACEOF
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22778 $as_echo_n "checking for ctan... " >&6; }
22779 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22780 $as_echo_n "(cached) " >&6
22781 else
22782 if test x$gcc_no_link = xyes; then
22783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22788 #ifdef HAVE_COMPLEX_H
22789 #include <complex.h>
22790 #endif
22791 #ifdef HAVE_MATH_H
22792 #include <math.h>
22793 #endif
22795 int (*ptr)() = (int (*)())ctan;
22798 main ()
22800 return 0;
22803 _ACEOF
22804 if ac_fn_c_try_link "$LINENO"; then :
22805 gcc_cv_math_func_ctan=yes
22806 else
22807 gcc_cv_math_func_ctan=no
22809 rm -f core conftest.err conftest.$ac_objext \
22810 conftest$ac_exeext conftest.$ac_ext
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22813 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22814 if test $gcc_cv_math_func_ctan = yes; then
22816 cat >>confdefs.h <<_ACEOF
22817 #define HAVE_CTAN 1
22818 _ACEOF
22825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22826 $as_echo_n "checking for ctanl... " >&6; }
22827 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22828 $as_echo_n "(cached) " >&6
22829 else
22830 if test x$gcc_no_link = xyes; then
22831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22834 /* end confdefs.h. */
22836 #ifdef HAVE_COMPLEX_H
22837 #include <complex.h>
22838 #endif
22839 #ifdef HAVE_MATH_H
22840 #include <math.h>
22841 #endif
22843 int (*ptr)() = (int (*)())ctanl;
22846 main ()
22848 return 0;
22851 _ACEOF
22852 if ac_fn_c_try_link "$LINENO"; then :
22853 gcc_cv_math_func_ctanl=yes
22854 else
22855 gcc_cv_math_func_ctanl=no
22857 rm -f core conftest.err conftest.$ac_objext \
22858 conftest$ac_exeext conftest.$ac_ext
22860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22861 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22862 if test $gcc_cv_math_func_ctanl = yes; then
22864 cat >>confdefs.h <<_ACEOF
22865 #define HAVE_CTANL 1
22866 _ACEOF
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22874 $as_echo_n "checking for tanhf... " >&6; }
22875 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22876 $as_echo_n "(cached) " >&6
22877 else
22878 if test x$gcc_no_link = xyes; then
22879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22882 /* end confdefs.h. */
22884 #ifdef HAVE_COMPLEX_H
22885 #include <complex.h>
22886 #endif
22887 #ifdef HAVE_MATH_H
22888 #include <math.h>
22889 #endif
22891 int (*ptr)() = (int (*)())tanhf;
22894 main ()
22896 return 0;
22899 _ACEOF
22900 if ac_fn_c_try_link "$LINENO"; then :
22901 gcc_cv_math_func_tanhf=yes
22902 else
22903 gcc_cv_math_func_tanhf=no
22905 rm -f core conftest.err conftest.$ac_objext \
22906 conftest$ac_exeext conftest.$ac_ext
22908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22909 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22910 if test $gcc_cv_math_func_tanhf = yes; then
22912 cat >>confdefs.h <<_ACEOF
22913 #define HAVE_TANHF 1
22914 _ACEOF
22921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22922 $as_echo_n "checking for tanh... " >&6; }
22923 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22924 $as_echo_n "(cached) " >&6
22925 else
22926 if test x$gcc_no_link = xyes; then
22927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22930 /* end confdefs.h. */
22932 #ifdef HAVE_COMPLEX_H
22933 #include <complex.h>
22934 #endif
22935 #ifdef HAVE_MATH_H
22936 #include <math.h>
22937 #endif
22939 int (*ptr)() = (int (*)())tanh;
22942 main ()
22944 return 0;
22947 _ACEOF
22948 if ac_fn_c_try_link "$LINENO"; then :
22949 gcc_cv_math_func_tanh=yes
22950 else
22951 gcc_cv_math_func_tanh=no
22953 rm -f core conftest.err conftest.$ac_objext \
22954 conftest$ac_exeext conftest.$ac_ext
22956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22957 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22958 if test $gcc_cv_math_func_tanh = yes; then
22960 cat >>confdefs.h <<_ACEOF
22961 #define HAVE_TANH 1
22962 _ACEOF
22969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22970 $as_echo_n "checking for tanhl... " >&6; }
22971 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22972 $as_echo_n "(cached) " >&6
22973 else
22974 if test x$gcc_no_link = xyes; then
22975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22978 /* end confdefs.h. */
22980 #ifdef HAVE_COMPLEX_H
22981 #include <complex.h>
22982 #endif
22983 #ifdef HAVE_MATH_H
22984 #include <math.h>
22985 #endif
22987 int (*ptr)() = (int (*)())tanhl;
22990 main ()
22992 return 0;
22995 _ACEOF
22996 if ac_fn_c_try_link "$LINENO"; then :
22997 gcc_cv_math_func_tanhl=yes
22998 else
22999 gcc_cv_math_func_tanhl=no
23001 rm -f core conftest.err conftest.$ac_objext \
23002 conftest$ac_exeext conftest.$ac_ext
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23005 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23006 if test $gcc_cv_math_func_tanhl = yes; then
23008 cat >>confdefs.h <<_ACEOF
23009 #define HAVE_TANHL 1
23010 _ACEOF
23017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23018 $as_echo_n "checking for ctanhf... " >&6; }
23019 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
23020 $as_echo_n "(cached) " >&6
23021 else
23022 if test x$gcc_no_link = xyes; then
23023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23028 #ifdef HAVE_COMPLEX_H
23029 #include <complex.h>
23030 #endif
23031 #ifdef HAVE_MATH_H
23032 #include <math.h>
23033 #endif
23035 int (*ptr)() = (int (*)())ctanhf;
23038 main ()
23040 return 0;
23043 _ACEOF
23044 if ac_fn_c_try_link "$LINENO"; then :
23045 gcc_cv_math_func_ctanhf=yes
23046 else
23047 gcc_cv_math_func_ctanhf=no
23049 rm -f core conftest.err conftest.$ac_objext \
23050 conftest$ac_exeext conftest.$ac_ext
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23053 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23054 if test $gcc_cv_math_func_ctanhf = yes; then
23056 cat >>confdefs.h <<_ACEOF
23057 #define HAVE_CTANHF 1
23058 _ACEOF
23065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23066 $as_echo_n "checking for ctanh... " >&6; }
23067 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
23068 $as_echo_n "(cached) " >&6
23069 else
23070 if test x$gcc_no_link = xyes; then
23071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23074 /* end confdefs.h. */
23076 #ifdef HAVE_COMPLEX_H
23077 #include <complex.h>
23078 #endif
23079 #ifdef HAVE_MATH_H
23080 #include <math.h>
23081 #endif
23083 int (*ptr)() = (int (*)())ctanh;
23086 main ()
23088 return 0;
23091 _ACEOF
23092 if ac_fn_c_try_link "$LINENO"; then :
23093 gcc_cv_math_func_ctanh=yes
23094 else
23095 gcc_cv_math_func_ctanh=no
23097 rm -f core conftest.err conftest.$ac_objext \
23098 conftest$ac_exeext conftest.$ac_ext
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23101 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23102 if test $gcc_cv_math_func_ctanh = yes; then
23104 cat >>confdefs.h <<_ACEOF
23105 #define HAVE_CTANH 1
23106 _ACEOF
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23114 $as_echo_n "checking for ctanhl... " >&6; }
23115 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23116 $as_echo_n "(cached) " >&6
23117 else
23118 if test x$gcc_no_link = xyes; then
23119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23122 /* end confdefs.h. */
23124 #ifdef HAVE_COMPLEX_H
23125 #include <complex.h>
23126 #endif
23127 #ifdef HAVE_MATH_H
23128 #include <math.h>
23129 #endif
23131 int (*ptr)() = (int (*)())ctanhl;
23134 main ()
23136 return 0;
23139 _ACEOF
23140 if ac_fn_c_try_link "$LINENO"; then :
23141 gcc_cv_math_func_ctanhl=yes
23142 else
23143 gcc_cv_math_func_ctanhl=no
23145 rm -f core conftest.err conftest.$ac_objext \
23146 conftest$ac_exeext conftest.$ac_ext
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23149 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23150 if test $gcc_cv_math_func_ctanhl = yes; then
23152 cat >>confdefs.h <<_ACEOF
23153 #define HAVE_CTANHL 1
23154 _ACEOF
23161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23162 $as_echo_n "checking for truncf... " >&6; }
23163 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23164 $as_echo_n "(cached) " >&6
23165 else
23166 if test x$gcc_no_link = xyes; then
23167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23170 /* end confdefs.h. */
23172 #ifdef HAVE_COMPLEX_H
23173 #include <complex.h>
23174 #endif
23175 #ifdef HAVE_MATH_H
23176 #include <math.h>
23177 #endif
23179 int (*ptr)() = (int (*)())truncf;
23182 main ()
23184 return 0;
23187 _ACEOF
23188 if ac_fn_c_try_link "$LINENO"; then :
23189 gcc_cv_math_func_truncf=yes
23190 else
23191 gcc_cv_math_func_truncf=no
23193 rm -f core conftest.err conftest.$ac_objext \
23194 conftest$ac_exeext conftest.$ac_ext
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23197 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23198 if test $gcc_cv_math_func_truncf = yes; then
23200 cat >>confdefs.h <<_ACEOF
23201 #define HAVE_TRUNCF 1
23202 _ACEOF
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23210 $as_echo_n "checking for trunc... " >&6; }
23211 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23212 $as_echo_n "(cached) " >&6
23213 else
23214 if test x$gcc_no_link = xyes; then
23215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23218 /* end confdefs.h. */
23220 #ifdef HAVE_COMPLEX_H
23221 #include <complex.h>
23222 #endif
23223 #ifdef HAVE_MATH_H
23224 #include <math.h>
23225 #endif
23227 int (*ptr)() = (int (*)())trunc;
23230 main ()
23232 return 0;
23235 _ACEOF
23236 if ac_fn_c_try_link "$LINENO"; then :
23237 gcc_cv_math_func_trunc=yes
23238 else
23239 gcc_cv_math_func_trunc=no
23241 rm -f core conftest.err conftest.$ac_objext \
23242 conftest$ac_exeext conftest.$ac_ext
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23245 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23246 if test $gcc_cv_math_func_trunc = yes; then
23248 cat >>confdefs.h <<_ACEOF
23249 #define HAVE_TRUNC 1
23250 _ACEOF
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23258 $as_echo_n "checking for truncl... " >&6; }
23259 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23260 $as_echo_n "(cached) " >&6
23261 else
23262 if test x$gcc_no_link = xyes; then
23263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23266 /* end confdefs.h. */
23268 #ifdef HAVE_COMPLEX_H
23269 #include <complex.h>
23270 #endif
23271 #ifdef HAVE_MATH_H
23272 #include <math.h>
23273 #endif
23275 int (*ptr)() = (int (*)())truncl;
23278 main ()
23280 return 0;
23283 _ACEOF
23284 if ac_fn_c_try_link "$LINENO"; then :
23285 gcc_cv_math_func_truncl=yes
23286 else
23287 gcc_cv_math_func_truncl=no
23289 rm -f core conftest.err conftest.$ac_objext \
23290 conftest$ac_exeext conftest.$ac_ext
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23293 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23294 if test $gcc_cv_math_func_truncl = yes; then
23296 cat >>confdefs.h <<_ACEOF
23297 #define HAVE_TRUNCL 1
23298 _ACEOF
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23306 $as_echo_n "checking for erff... " >&6; }
23307 if test "${gcc_cv_math_func_erff+set}" = set; then :
23308 $as_echo_n "(cached) " >&6
23309 else
23310 if test x$gcc_no_link = xyes; then
23311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23314 /* end confdefs.h. */
23316 #ifdef HAVE_COMPLEX_H
23317 #include <complex.h>
23318 #endif
23319 #ifdef HAVE_MATH_H
23320 #include <math.h>
23321 #endif
23323 int (*ptr)() = (int (*)())erff;
23326 main ()
23328 return 0;
23331 _ACEOF
23332 if ac_fn_c_try_link "$LINENO"; then :
23333 gcc_cv_math_func_erff=yes
23334 else
23335 gcc_cv_math_func_erff=no
23337 rm -f core conftest.err conftest.$ac_objext \
23338 conftest$ac_exeext conftest.$ac_ext
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23341 $as_echo "$gcc_cv_math_func_erff" >&6; }
23342 if test $gcc_cv_math_func_erff = yes; then
23344 cat >>confdefs.h <<_ACEOF
23345 #define HAVE_ERFF 1
23346 _ACEOF
23353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23354 $as_echo_n "checking for erf... " >&6; }
23355 if test "${gcc_cv_math_func_erf+set}" = set; then :
23356 $as_echo_n "(cached) " >&6
23357 else
23358 if test x$gcc_no_link = xyes; then
23359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23362 /* end confdefs.h. */
23364 #ifdef HAVE_COMPLEX_H
23365 #include <complex.h>
23366 #endif
23367 #ifdef HAVE_MATH_H
23368 #include <math.h>
23369 #endif
23371 int (*ptr)() = (int (*)())erf;
23374 main ()
23376 return 0;
23379 _ACEOF
23380 if ac_fn_c_try_link "$LINENO"; then :
23381 gcc_cv_math_func_erf=yes
23382 else
23383 gcc_cv_math_func_erf=no
23385 rm -f core conftest.err conftest.$ac_objext \
23386 conftest$ac_exeext conftest.$ac_ext
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23389 $as_echo "$gcc_cv_math_func_erf" >&6; }
23390 if test $gcc_cv_math_func_erf = yes; then
23392 cat >>confdefs.h <<_ACEOF
23393 #define HAVE_ERF 1
23394 _ACEOF
23401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23402 $as_echo_n "checking for erfcf... " >&6; }
23403 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23404 $as_echo_n "(cached) " >&6
23405 else
23406 if test x$gcc_no_link = xyes; then
23407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23410 /* end confdefs.h. */
23412 #ifdef HAVE_COMPLEX_H
23413 #include <complex.h>
23414 #endif
23415 #ifdef HAVE_MATH_H
23416 #include <math.h>
23417 #endif
23419 int (*ptr)() = (int (*)())erfcf;
23422 main ()
23424 return 0;
23427 _ACEOF
23428 if ac_fn_c_try_link "$LINENO"; then :
23429 gcc_cv_math_func_erfcf=yes
23430 else
23431 gcc_cv_math_func_erfcf=no
23433 rm -f core conftest.err conftest.$ac_objext \
23434 conftest$ac_exeext conftest.$ac_ext
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23437 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23438 if test $gcc_cv_math_func_erfcf = yes; then
23440 cat >>confdefs.h <<_ACEOF
23441 #define HAVE_ERFCF 1
23442 _ACEOF
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23450 $as_echo_n "checking for erfc... " >&6; }
23451 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23452 $as_echo_n "(cached) " >&6
23453 else
23454 if test x$gcc_no_link = xyes; then
23455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23458 /* end confdefs.h. */
23460 #ifdef HAVE_COMPLEX_H
23461 #include <complex.h>
23462 #endif
23463 #ifdef HAVE_MATH_H
23464 #include <math.h>
23465 #endif
23467 int (*ptr)() = (int (*)())erfc;
23470 main ()
23472 return 0;
23475 _ACEOF
23476 if ac_fn_c_try_link "$LINENO"; then :
23477 gcc_cv_math_func_erfc=yes
23478 else
23479 gcc_cv_math_func_erfc=no
23481 rm -f core conftest.err conftest.$ac_objext \
23482 conftest$ac_exeext conftest.$ac_ext
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23485 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23486 if test $gcc_cv_math_func_erfc = yes; then
23488 cat >>confdefs.h <<_ACEOF
23489 #define HAVE_ERFC 1
23490 _ACEOF
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23498 $as_echo_n "checking for erfcl... " >&6; }
23499 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23500 $as_echo_n "(cached) " >&6
23501 else
23502 if test x$gcc_no_link = xyes; then
23503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23506 /* end confdefs.h. */
23508 #ifdef HAVE_COMPLEX_H
23509 #include <complex.h>
23510 #endif
23511 #ifdef HAVE_MATH_H
23512 #include <math.h>
23513 #endif
23515 int (*ptr)() = (int (*)())erfcl;
23518 main ()
23520 return 0;
23523 _ACEOF
23524 if ac_fn_c_try_link "$LINENO"; then :
23525 gcc_cv_math_func_erfcl=yes
23526 else
23527 gcc_cv_math_func_erfcl=no
23529 rm -f core conftest.err conftest.$ac_objext \
23530 conftest$ac_exeext conftest.$ac_ext
23532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23533 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23534 if test $gcc_cv_math_func_erfcl = yes; then
23536 cat >>confdefs.h <<_ACEOF
23537 #define HAVE_ERFCL 1
23538 _ACEOF
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23546 $as_echo_n "checking for j0f... " >&6; }
23547 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23548 $as_echo_n "(cached) " >&6
23549 else
23550 if test x$gcc_no_link = xyes; then
23551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23554 /* end confdefs.h. */
23556 #ifdef HAVE_COMPLEX_H
23557 #include <complex.h>
23558 #endif
23559 #ifdef HAVE_MATH_H
23560 #include <math.h>
23561 #endif
23563 int (*ptr)() = (int (*)())j0f;
23566 main ()
23568 return 0;
23571 _ACEOF
23572 if ac_fn_c_try_link "$LINENO"; then :
23573 gcc_cv_math_func_j0f=yes
23574 else
23575 gcc_cv_math_func_j0f=no
23577 rm -f core conftest.err conftest.$ac_objext \
23578 conftest$ac_exeext conftest.$ac_ext
23580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23581 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23582 if test $gcc_cv_math_func_j0f = yes; then
23584 cat >>confdefs.h <<_ACEOF
23585 #define HAVE_J0F 1
23586 _ACEOF
23593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23594 $as_echo_n "checking for j0... " >&6; }
23595 if test "${gcc_cv_math_func_j0+set}" = set; then :
23596 $as_echo_n "(cached) " >&6
23597 else
23598 if test x$gcc_no_link = xyes; then
23599 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23602 /* end confdefs.h. */
23604 #ifdef HAVE_COMPLEX_H
23605 #include <complex.h>
23606 #endif
23607 #ifdef HAVE_MATH_H
23608 #include <math.h>
23609 #endif
23611 int (*ptr)() = (int (*)())j0;
23614 main ()
23616 return 0;
23619 _ACEOF
23620 if ac_fn_c_try_link "$LINENO"; then :
23621 gcc_cv_math_func_j0=yes
23622 else
23623 gcc_cv_math_func_j0=no
23625 rm -f core conftest.err conftest.$ac_objext \
23626 conftest$ac_exeext conftest.$ac_ext
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23629 $as_echo "$gcc_cv_math_func_j0" >&6; }
23630 if test $gcc_cv_math_func_j0 = yes; then
23632 cat >>confdefs.h <<_ACEOF
23633 #define HAVE_J0 1
23634 _ACEOF
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23642 $as_echo_n "checking for j1f... " >&6; }
23643 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23644 $as_echo_n "(cached) " >&6
23645 else
23646 if test x$gcc_no_link = xyes; then
23647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23650 /* end confdefs.h. */
23652 #ifdef HAVE_COMPLEX_H
23653 #include <complex.h>
23654 #endif
23655 #ifdef HAVE_MATH_H
23656 #include <math.h>
23657 #endif
23659 int (*ptr)() = (int (*)())j1f;
23662 main ()
23664 return 0;
23667 _ACEOF
23668 if ac_fn_c_try_link "$LINENO"; then :
23669 gcc_cv_math_func_j1f=yes
23670 else
23671 gcc_cv_math_func_j1f=no
23673 rm -f core conftest.err conftest.$ac_objext \
23674 conftest$ac_exeext conftest.$ac_ext
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23677 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23678 if test $gcc_cv_math_func_j1f = yes; then
23680 cat >>confdefs.h <<_ACEOF
23681 #define HAVE_J1F 1
23682 _ACEOF
23689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23690 $as_echo_n "checking for j1... " >&6; }
23691 if test "${gcc_cv_math_func_j1+set}" = set; then :
23692 $as_echo_n "(cached) " >&6
23693 else
23694 if test x$gcc_no_link = xyes; then
23695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23698 /* end confdefs.h. */
23700 #ifdef HAVE_COMPLEX_H
23701 #include <complex.h>
23702 #endif
23703 #ifdef HAVE_MATH_H
23704 #include <math.h>
23705 #endif
23707 int (*ptr)() = (int (*)())j1;
23710 main ()
23712 return 0;
23715 _ACEOF
23716 if ac_fn_c_try_link "$LINENO"; then :
23717 gcc_cv_math_func_j1=yes
23718 else
23719 gcc_cv_math_func_j1=no
23721 rm -f core conftest.err conftest.$ac_objext \
23722 conftest$ac_exeext conftest.$ac_ext
23724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23725 $as_echo "$gcc_cv_math_func_j1" >&6; }
23726 if test $gcc_cv_math_func_j1 = yes; then
23728 cat >>confdefs.h <<_ACEOF
23729 #define HAVE_J1 1
23730 _ACEOF
23737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23738 $as_echo_n "checking for jnf... " >&6; }
23739 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23740 $as_echo_n "(cached) " >&6
23741 else
23742 if test x$gcc_no_link = xyes; then
23743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23746 /* end confdefs.h. */
23748 #ifdef HAVE_COMPLEX_H
23749 #include <complex.h>
23750 #endif
23751 #ifdef HAVE_MATH_H
23752 #include <math.h>
23753 #endif
23755 int (*ptr)() = (int (*)())jnf;
23758 main ()
23760 return 0;
23763 _ACEOF
23764 if ac_fn_c_try_link "$LINENO"; then :
23765 gcc_cv_math_func_jnf=yes
23766 else
23767 gcc_cv_math_func_jnf=no
23769 rm -f core conftest.err conftest.$ac_objext \
23770 conftest$ac_exeext conftest.$ac_ext
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23773 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23774 if test $gcc_cv_math_func_jnf = yes; then
23776 cat >>confdefs.h <<_ACEOF
23777 #define HAVE_JNF 1
23778 _ACEOF
23785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23786 $as_echo_n "checking for jn... " >&6; }
23787 if test "${gcc_cv_math_func_jn+set}" = set; then :
23788 $as_echo_n "(cached) " >&6
23789 else
23790 if test x$gcc_no_link = xyes; then
23791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23794 /* end confdefs.h. */
23796 #ifdef HAVE_COMPLEX_H
23797 #include <complex.h>
23798 #endif
23799 #ifdef HAVE_MATH_H
23800 #include <math.h>
23801 #endif
23803 int (*ptr)() = (int (*)())jn;
23806 main ()
23808 return 0;
23811 _ACEOF
23812 if ac_fn_c_try_link "$LINENO"; then :
23813 gcc_cv_math_func_jn=yes
23814 else
23815 gcc_cv_math_func_jn=no
23817 rm -f core conftest.err conftest.$ac_objext \
23818 conftest$ac_exeext conftest.$ac_ext
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23821 $as_echo "$gcc_cv_math_func_jn" >&6; }
23822 if test $gcc_cv_math_func_jn = yes; then
23824 cat >>confdefs.h <<_ACEOF
23825 #define HAVE_JN 1
23826 _ACEOF
23833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23834 $as_echo_n "checking for jnl... " >&6; }
23835 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23836 $as_echo_n "(cached) " >&6
23837 else
23838 if test x$gcc_no_link = xyes; then
23839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23842 /* end confdefs.h. */
23844 #ifdef HAVE_COMPLEX_H
23845 #include <complex.h>
23846 #endif
23847 #ifdef HAVE_MATH_H
23848 #include <math.h>
23849 #endif
23851 int (*ptr)() = (int (*)())jnl;
23854 main ()
23856 return 0;
23859 _ACEOF
23860 if ac_fn_c_try_link "$LINENO"; then :
23861 gcc_cv_math_func_jnl=yes
23862 else
23863 gcc_cv_math_func_jnl=no
23865 rm -f core conftest.err conftest.$ac_objext \
23866 conftest$ac_exeext conftest.$ac_ext
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23869 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23870 if test $gcc_cv_math_func_jnl = yes; then
23872 cat >>confdefs.h <<_ACEOF
23873 #define HAVE_JNL 1
23874 _ACEOF
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23882 $as_echo_n "checking for y0f... " >&6; }
23883 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23884 $as_echo_n "(cached) " >&6
23885 else
23886 if test x$gcc_no_link = xyes; then
23887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23890 /* end confdefs.h. */
23892 #ifdef HAVE_COMPLEX_H
23893 #include <complex.h>
23894 #endif
23895 #ifdef HAVE_MATH_H
23896 #include <math.h>
23897 #endif
23899 int (*ptr)() = (int (*)())y0f;
23902 main ()
23904 return 0;
23907 _ACEOF
23908 if ac_fn_c_try_link "$LINENO"; then :
23909 gcc_cv_math_func_y0f=yes
23910 else
23911 gcc_cv_math_func_y0f=no
23913 rm -f core conftest.err conftest.$ac_objext \
23914 conftest$ac_exeext conftest.$ac_ext
23916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23917 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23918 if test $gcc_cv_math_func_y0f = yes; then
23920 cat >>confdefs.h <<_ACEOF
23921 #define HAVE_Y0F 1
23922 _ACEOF
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23930 $as_echo_n "checking for y0... " >&6; }
23931 if test "${gcc_cv_math_func_y0+set}" = set; then :
23932 $as_echo_n "(cached) " >&6
23933 else
23934 if test x$gcc_no_link = xyes; then
23935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23938 /* end confdefs.h. */
23940 #ifdef HAVE_COMPLEX_H
23941 #include <complex.h>
23942 #endif
23943 #ifdef HAVE_MATH_H
23944 #include <math.h>
23945 #endif
23947 int (*ptr)() = (int (*)())y0;
23950 main ()
23952 return 0;
23955 _ACEOF
23956 if ac_fn_c_try_link "$LINENO"; then :
23957 gcc_cv_math_func_y0=yes
23958 else
23959 gcc_cv_math_func_y0=no
23961 rm -f core conftest.err conftest.$ac_objext \
23962 conftest$ac_exeext conftest.$ac_ext
23964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23965 $as_echo "$gcc_cv_math_func_y0" >&6; }
23966 if test $gcc_cv_math_func_y0 = yes; then
23968 cat >>confdefs.h <<_ACEOF
23969 #define HAVE_Y0 1
23970 _ACEOF
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
23978 $as_echo_n "checking for y1f... " >&6; }
23979 if test "${gcc_cv_math_func_y1f+set}" = set; then :
23980 $as_echo_n "(cached) " >&6
23981 else
23982 if test x$gcc_no_link = xyes; then
23983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h. */
23988 #ifdef HAVE_COMPLEX_H
23989 #include <complex.h>
23990 #endif
23991 #ifdef HAVE_MATH_H
23992 #include <math.h>
23993 #endif
23995 int (*ptr)() = (int (*)())y1f;
23998 main ()
24000 return 0;
24003 _ACEOF
24004 if ac_fn_c_try_link "$LINENO"; then :
24005 gcc_cv_math_func_y1f=yes
24006 else
24007 gcc_cv_math_func_y1f=no
24009 rm -f core conftest.err conftest.$ac_objext \
24010 conftest$ac_exeext conftest.$ac_ext
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24013 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24014 if test $gcc_cv_math_func_y1f = yes; then
24016 cat >>confdefs.h <<_ACEOF
24017 #define HAVE_Y1F 1
24018 _ACEOF
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24026 $as_echo_n "checking for y1... " >&6; }
24027 if test "${gcc_cv_math_func_y1+set}" = set; then :
24028 $as_echo_n "(cached) " >&6
24029 else
24030 if test x$gcc_no_link = xyes; then
24031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24034 /* end confdefs.h. */
24036 #ifdef HAVE_COMPLEX_H
24037 #include <complex.h>
24038 #endif
24039 #ifdef HAVE_MATH_H
24040 #include <math.h>
24041 #endif
24043 int (*ptr)() = (int (*)())y1;
24046 main ()
24048 return 0;
24051 _ACEOF
24052 if ac_fn_c_try_link "$LINENO"; then :
24053 gcc_cv_math_func_y1=yes
24054 else
24055 gcc_cv_math_func_y1=no
24057 rm -f core conftest.err conftest.$ac_objext \
24058 conftest$ac_exeext conftest.$ac_ext
24060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24061 $as_echo "$gcc_cv_math_func_y1" >&6; }
24062 if test $gcc_cv_math_func_y1 = yes; then
24064 cat >>confdefs.h <<_ACEOF
24065 #define HAVE_Y1 1
24066 _ACEOF
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24074 $as_echo_n "checking for ynf... " >&6; }
24075 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24076 $as_echo_n "(cached) " >&6
24077 else
24078 if test x$gcc_no_link = xyes; then
24079 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24082 /* end confdefs.h. */
24084 #ifdef HAVE_COMPLEX_H
24085 #include <complex.h>
24086 #endif
24087 #ifdef HAVE_MATH_H
24088 #include <math.h>
24089 #endif
24091 int (*ptr)() = (int (*)())ynf;
24094 main ()
24096 return 0;
24099 _ACEOF
24100 if ac_fn_c_try_link "$LINENO"; then :
24101 gcc_cv_math_func_ynf=yes
24102 else
24103 gcc_cv_math_func_ynf=no
24105 rm -f core conftest.err conftest.$ac_objext \
24106 conftest$ac_exeext conftest.$ac_ext
24108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24109 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24110 if test $gcc_cv_math_func_ynf = yes; then
24112 cat >>confdefs.h <<_ACEOF
24113 #define HAVE_YNF 1
24114 _ACEOF
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24122 $as_echo_n "checking for yn... " >&6; }
24123 if test "${gcc_cv_math_func_yn+set}" = set; then :
24124 $as_echo_n "(cached) " >&6
24125 else
24126 if test x$gcc_no_link = xyes; then
24127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24130 /* end confdefs.h. */
24132 #ifdef HAVE_COMPLEX_H
24133 #include <complex.h>
24134 #endif
24135 #ifdef HAVE_MATH_H
24136 #include <math.h>
24137 #endif
24139 int (*ptr)() = (int (*)())yn;
24142 main ()
24144 return 0;
24147 _ACEOF
24148 if ac_fn_c_try_link "$LINENO"; then :
24149 gcc_cv_math_func_yn=yes
24150 else
24151 gcc_cv_math_func_yn=no
24153 rm -f core conftest.err conftest.$ac_objext \
24154 conftest$ac_exeext conftest.$ac_ext
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24157 $as_echo "$gcc_cv_math_func_yn" >&6; }
24158 if test $gcc_cv_math_func_yn = yes; then
24160 cat >>confdefs.h <<_ACEOF
24161 #define HAVE_YN 1
24162 _ACEOF
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24170 $as_echo_n "checking for ynl... " >&6; }
24171 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24172 $as_echo_n "(cached) " >&6
24173 else
24174 if test x$gcc_no_link = xyes; then
24175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24178 /* end confdefs.h. */
24180 #ifdef HAVE_COMPLEX_H
24181 #include <complex.h>
24182 #endif
24183 #ifdef HAVE_MATH_H
24184 #include <math.h>
24185 #endif
24187 int (*ptr)() = (int (*)())ynl;
24190 main ()
24192 return 0;
24195 _ACEOF
24196 if ac_fn_c_try_link "$LINENO"; then :
24197 gcc_cv_math_func_ynl=yes
24198 else
24199 gcc_cv_math_func_ynl=no
24201 rm -f core conftest.err conftest.$ac_objext \
24202 conftest$ac_exeext conftest.$ac_ext
24204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24205 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24206 if test $gcc_cv_math_func_ynl = yes; then
24208 cat >>confdefs.h <<_ACEOF
24209 #define HAVE_YNL 1
24210 _ACEOF
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24218 $as_echo_n "checking for tgamma... " >&6; }
24219 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24220 $as_echo_n "(cached) " >&6
24221 else
24222 if test x$gcc_no_link = xyes; then
24223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24226 /* end confdefs.h. */
24228 #ifdef HAVE_COMPLEX_H
24229 #include <complex.h>
24230 #endif
24231 #ifdef HAVE_MATH_H
24232 #include <math.h>
24233 #endif
24235 int (*ptr)() = (int (*)())tgamma;
24238 main ()
24240 return 0;
24243 _ACEOF
24244 if ac_fn_c_try_link "$LINENO"; then :
24245 gcc_cv_math_func_tgamma=yes
24246 else
24247 gcc_cv_math_func_tgamma=no
24249 rm -f core conftest.err conftest.$ac_objext \
24250 conftest$ac_exeext conftest.$ac_ext
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24253 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24254 if test $gcc_cv_math_func_tgamma = yes; then
24256 cat >>confdefs.h <<_ACEOF
24257 #define HAVE_TGAMMA 1
24258 _ACEOF
24265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24266 $as_echo_n "checking for tgammaf... " >&6; }
24267 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24270 if test x$gcc_no_link = xyes; then
24271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24274 /* end confdefs.h. */
24276 #ifdef HAVE_COMPLEX_H
24277 #include <complex.h>
24278 #endif
24279 #ifdef HAVE_MATH_H
24280 #include <math.h>
24281 #endif
24283 int (*ptr)() = (int (*)())tgammaf;
24286 main ()
24288 return 0;
24291 _ACEOF
24292 if ac_fn_c_try_link "$LINENO"; then :
24293 gcc_cv_math_func_tgammaf=yes
24294 else
24295 gcc_cv_math_func_tgammaf=no
24297 rm -f core conftest.err conftest.$ac_objext \
24298 conftest$ac_exeext conftest.$ac_ext
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24301 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24302 if test $gcc_cv_math_func_tgammaf = yes; then
24304 cat >>confdefs.h <<_ACEOF
24305 #define HAVE_TGAMMAF 1
24306 _ACEOF
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24314 $as_echo_n "checking for lgamma... " >&6; }
24315 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24316 $as_echo_n "(cached) " >&6
24317 else
24318 if test x$gcc_no_link = xyes; then
24319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24322 /* end confdefs.h. */
24324 #ifdef HAVE_COMPLEX_H
24325 #include <complex.h>
24326 #endif
24327 #ifdef HAVE_MATH_H
24328 #include <math.h>
24329 #endif
24331 int (*ptr)() = (int (*)())lgamma;
24334 main ()
24336 return 0;
24339 _ACEOF
24340 if ac_fn_c_try_link "$LINENO"; then :
24341 gcc_cv_math_func_lgamma=yes
24342 else
24343 gcc_cv_math_func_lgamma=no
24345 rm -f core conftest.err conftest.$ac_objext \
24346 conftest$ac_exeext conftest.$ac_ext
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24349 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24350 if test $gcc_cv_math_func_lgamma = yes; then
24352 cat >>confdefs.h <<_ACEOF
24353 #define HAVE_LGAMMA 1
24354 _ACEOF
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24362 $as_echo_n "checking for lgammaf... " >&6; }
24363 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24364 $as_echo_n "(cached) " >&6
24365 else
24366 if test x$gcc_no_link = xyes; then
24367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24370 /* end confdefs.h. */
24372 #ifdef HAVE_COMPLEX_H
24373 #include <complex.h>
24374 #endif
24375 #ifdef HAVE_MATH_H
24376 #include <math.h>
24377 #endif
24379 int (*ptr)() = (int (*)())lgammaf;
24382 main ()
24384 return 0;
24387 _ACEOF
24388 if ac_fn_c_try_link "$LINENO"; then :
24389 gcc_cv_math_func_lgammaf=yes
24390 else
24391 gcc_cv_math_func_lgammaf=no
24393 rm -f core conftest.err conftest.$ac_objext \
24394 conftest$ac_exeext conftest.$ac_ext
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24397 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24398 if test $gcc_cv_math_func_lgammaf = yes; then
24400 cat >>confdefs.h <<_ACEOF
24401 #define HAVE_LGAMMAF 1
24402 _ACEOF
24407 # Check for GFORTRAN_C99_1.1 funcs
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24412 $as_echo_n "checking for cacos... " >&6; }
24413 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24414 $as_echo_n "(cached) " >&6
24415 else
24416 if test x$gcc_no_link = xyes; then
24417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24420 /* end confdefs.h. */
24422 #ifdef HAVE_COMPLEX_H
24423 #include <complex.h>
24424 #endif
24425 #ifdef HAVE_MATH_H
24426 #include <math.h>
24427 #endif
24429 int (*ptr)() = (int (*)())cacos;
24432 main ()
24434 return 0;
24437 _ACEOF
24438 if ac_fn_c_try_link "$LINENO"; then :
24439 gcc_cv_math_func_cacos=yes
24440 else
24441 gcc_cv_math_func_cacos=no
24443 rm -f core conftest.err conftest.$ac_objext \
24444 conftest$ac_exeext conftest.$ac_ext
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24447 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24448 if test $gcc_cv_math_func_cacos = yes; then
24450 cat >>confdefs.h <<_ACEOF
24451 #define HAVE_CACOS 1
24452 _ACEOF
24459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24460 $as_echo_n "checking for cacosf... " >&6; }
24461 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24462 $as_echo_n "(cached) " >&6
24463 else
24464 if test x$gcc_no_link = xyes; then
24465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24468 /* end confdefs.h. */
24470 #ifdef HAVE_COMPLEX_H
24471 #include <complex.h>
24472 #endif
24473 #ifdef HAVE_MATH_H
24474 #include <math.h>
24475 #endif
24477 int (*ptr)() = (int (*)())cacosf;
24480 main ()
24482 return 0;
24485 _ACEOF
24486 if ac_fn_c_try_link "$LINENO"; then :
24487 gcc_cv_math_func_cacosf=yes
24488 else
24489 gcc_cv_math_func_cacosf=no
24491 rm -f core conftest.err conftest.$ac_objext \
24492 conftest$ac_exeext conftest.$ac_ext
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24495 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24496 if test $gcc_cv_math_func_cacosf = yes; then
24498 cat >>confdefs.h <<_ACEOF
24499 #define HAVE_CACOSF 1
24500 _ACEOF
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24508 $as_echo_n "checking for cacosh... " >&6; }
24509 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24510 $as_echo_n "(cached) " >&6
24511 else
24512 if test x$gcc_no_link = xyes; then
24513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24516 /* end confdefs.h. */
24518 #ifdef HAVE_COMPLEX_H
24519 #include <complex.h>
24520 #endif
24521 #ifdef HAVE_MATH_H
24522 #include <math.h>
24523 #endif
24525 int (*ptr)() = (int (*)())cacosh;
24528 main ()
24530 return 0;
24533 _ACEOF
24534 if ac_fn_c_try_link "$LINENO"; then :
24535 gcc_cv_math_func_cacosh=yes
24536 else
24537 gcc_cv_math_func_cacosh=no
24539 rm -f core conftest.err conftest.$ac_objext \
24540 conftest$ac_exeext conftest.$ac_ext
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24543 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24544 if test $gcc_cv_math_func_cacosh = yes; then
24546 cat >>confdefs.h <<_ACEOF
24547 #define HAVE_CACOSH 1
24548 _ACEOF
24555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24556 $as_echo_n "checking for cacoshf... " >&6; }
24557 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24558 $as_echo_n "(cached) " >&6
24559 else
24560 if test x$gcc_no_link = xyes; then
24561 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24564 /* end confdefs.h. */
24566 #ifdef HAVE_COMPLEX_H
24567 #include <complex.h>
24568 #endif
24569 #ifdef HAVE_MATH_H
24570 #include <math.h>
24571 #endif
24573 int (*ptr)() = (int (*)())cacoshf;
24576 main ()
24578 return 0;
24581 _ACEOF
24582 if ac_fn_c_try_link "$LINENO"; then :
24583 gcc_cv_math_func_cacoshf=yes
24584 else
24585 gcc_cv_math_func_cacoshf=no
24587 rm -f core conftest.err conftest.$ac_objext \
24588 conftest$ac_exeext conftest.$ac_ext
24590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24591 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24592 if test $gcc_cv_math_func_cacoshf = yes; then
24594 cat >>confdefs.h <<_ACEOF
24595 #define HAVE_CACOSHF 1
24596 _ACEOF
24603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24604 $as_echo_n "checking for cacoshl... " >&6; }
24605 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24606 $as_echo_n "(cached) " >&6
24607 else
24608 if test x$gcc_no_link = xyes; then
24609 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24612 /* end confdefs.h. */
24614 #ifdef HAVE_COMPLEX_H
24615 #include <complex.h>
24616 #endif
24617 #ifdef HAVE_MATH_H
24618 #include <math.h>
24619 #endif
24621 int (*ptr)() = (int (*)())cacoshl;
24624 main ()
24626 return 0;
24629 _ACEOF
24630 if ac_fn_c_try_link "$LINENO"; then :
24631 gcc_cv_math_func_cacoshl=yes
24632 else
24633 gcc_cv_math_func_cacoshl=no
24635 rm -f core conftest.err conftest.$ac_objext \
24636 conftest$ac_exeext conftest.$ac_ext
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24639 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24640 if test $gcc_cv_math_func_cacoshl = yes; then
24642 cat >>confdefs.h <<_ACEOF
24643 #define HAVE_CACOSHL 1
24644 _ACEOF
24651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24652 $as_echo_n "checking for cacosl... " >&6; }
24653 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24654 $as_echo_n "(cached) " >&6
24655 else
24656 if test x$gcc_no_link = xyes; then
24657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24660 /* end confdefs.h. */
24662 #ifdef HAVE_COMPLEX_H
24663 #include <complex.h>
24664 #endif
24665 #ifdef HAVE_MATH_H
24666 #include <math.h>
24667 #endif
24669 int (*ptr)() = (int (*)())cacosl;
24672 main ()
24674 return 0;
24677 _ACEOF
24678 if ac_fn_c_try_link "$LINENO"; then :
24679 gcc_cv_math_func_cacosl=yes
24680 else
24681 gcc_cv_math_func_cacosl=no
24683 rm -f core conftest.err conftest.$ac_objext \
24684 conftest$ac_exeext conftest.$ac_ext
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24687 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24688 if test $gcc_cv_math_func_cacosl = yes; then
24690 cat >>confdefs.h <<_ACEOF
24691 #define HAVE_CACOSL 1
24692 _ACEOF
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24700 $as_echo_n "checking for casin... " >&6; }
24701 if test "${gcc_cv_math_func_casin+set}" = set; then :
24702 $as_echo_n "(cached) " >&6
24703 else
24704 if test x$gcc_no_link = xyes; then
24705 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24708 /* end confdefs.h. */
24710 #ifdef HAVE_COMPLEX_H
24711 #include <complex.h>
24712 #endif
24713 #ifdef HAVE_MATH_H
24714 #include <math.h>
24715 #endif
24717 int (*ptr)() = (int (*)())casin;
24720 main ()
24722 return 0;
24725 _ACEOF
24726 if ac_fn_c_try_link "$LINENO"; then :
24727 gcc_cv_math_func_casin=yes
24728 else
24729 gcc_cv_math_func_casin=no
24731 rm -f core conftest.err conftest.$ac_objext \
24732 conftest$ac_exeext conftest.$ac_ext
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24735 $as_echo "$gcc_cv_math_func_casin" >&6; }
24736 if test $gcc_cv_math_func_casin = yes; then
24738 cat >>confdefs.h <<_ACEOF
24739 #define HAVE_CASIN 1
24740 _ACEOF
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24748 $as_echo_n "checking for casinf... " >&6; }
24749 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24750 $as_echo_n "(cached) " >&6
24751 else
24752 if test x$gcc_no_link = xyes; then
24753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24756 /* end confdefs.h. */
24758 #ifdef HAVE_COMPLEX_H
24759 #include <complex.h>
24760 #endif
24761 #ifdef HAVE_MATH_H
24762 #include <math.h>
24763 #endif
24765 int (*ptr)() = (int (*)())casinf;
24768 main ()
24770 return 0;
24773 _ACEOF
24774 if ac_fn_c_try_link "$LINENO"; then :
24775 gcc_cv_math_func_casinf=yes
24776 else
24777 gcc_cv_math_func_casinf=no
24779 rm -f core conftest.err conftest.$ac_objext \
24780 conftest$ac_exeext conftest.$ac_ext
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24783 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24784 if test $gcc_cv_math_func_casinf = yes; then
24786 cat >>confdefs.h <<_ACEOF
24787 #define HAVE_CASINF 1
24788 _ACEOF
24795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24796 $as_echo_n "checking for casinh... " >&6; }
24797 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24798 $as_echo_n "(cached) " >&6
24799 else
24800 if test x$gcc_no_link = xyes; then
24801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24804 /* end confdefs.h. */
24806 #ifdef HAVE_COMPLEX_H
24807 #include <complex.h>
24808 #endif
24809 #ifdef HAVE_MATH_H
24810 #include <math.h>
24811 #endif
24813 int (*ptr)() = (int (*)())casinh;
24816 main ()
24818 return 0;
24821 _ACEOF
24822 if ac_fn_c_try_link "$LINENO"; then :
24823 gcc_cv_math_func_casinh=yes
24824 else
24825 gcc_cv_math_func_casinh=no
24827 rm -f core conftest.err conftest.$ac_objext \
24828 conftest$ac_exeext conftest.$ac_ext
24830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
24831 $as_echo "$gcc_cv_math_func_casinh" >&6; }
24832 if test $gcc_cv_math_func_casinh = yes; then
24834 cat >>confdefs.h <<_ACEOF
24835 #define HAVE_CASINH 1
24836 _ACEOF
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
24844 $as_echo_n "checking for casinhf... " >&6; }
24845 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
24846 $as_echo_n "(cached) " >&6
24847 else
24848 if test x$gcc_no_link = xyes; then
24849 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24852 /* end confdefs.h. */
24854 #ifdef HAVE_COMPLEX_H
24855 #include <complex.h>
24856 #endif
24857 #ifdef HAVE_MATH_H
24858 #include <math.h>
24859 #endif
24861 int (*ptr)() = (int (*)())casinhf;
24864 main ()
24866 return 0;
24869 _ACEOF
24870 if ac_fn_c_try_link "$LINENO"; then :
24871 gcc_cv_math_func_casinhf=yes
24872 else
24873 gcc_cv_math_func_casinhf=no
24875 rm -f core conftest.err conftest.$ac_objext \
24876 conftest$ac_exeext conftest.$ac_ext
24878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
24879 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
24880 if test $gcc_cv_math_func_casinhf = yes; then
24882 cat >>confdefs.h <<_ACEOF
24883 #define HAVE_CASINHF 1
24884 _ACEOF
24891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
24892 $as_echo_n "checking for casinhl... " >&6; }
24893 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
24894 $as_echo_n "(cached) " >&6
24895 else
24896 if test x$gcc_no_link = xyes; then
24897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24900 /* end confdefs.h. */
24902 #ifdef HAVE_COMPLEX_H
24903 #include <complex.h>
24904 #endif
24905 #ifdef HAVE_MATH_H
24906 #include <math.h>
24907 #endif
24909 int (*ptr)() = (int (*)())casinhl;
24912 main ()
24914 return 0;
24917 _ACEOF
24918 if ac_fn_c_try_link "$LINENO"; then :
24919 gcc_cv_math_func_casinhl=yes
24920 else
24921 gcc_cv_math_func_casinhl=no
24923 rm -f core conftest.err conftest.$ac_objext \
24924 conftest$ac_exeext conftest.$ac_ext
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
24927 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
24928 if test $gcc_cv_math_func_casinhl = yes; then
24930 cat >>confdefs.h <<_ACEOF
24931 #define HAVE_CASINHL 1
24932 _ACEOF
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
24940 $as_echo_n "checking for casinl... " >&6; }
24941 if test "${gcc_cv_math_func_casinl+set}" = set; then :
24942 $as_echo_n "(cached) " >&6
24943 else
24944 if test x$gcc_no_link = xyes; then
24945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24948 /* end confdefs.h. */
24950 #ifdef HAVE_COMPLEX_H
24951 #include <complex.h>
24952 #endif
24953 #ifdef HAVE_MATH_H
24954 #include <math.h>
24955 #endif
24957 int (*ptr)() = (int (*)())casinl;
24960 main ()
24962 return 0;
24965 _ACEOF
24966 if ac_fn_c_try_link "$LINENO"; then :
24967 gcc_cv_math_func_casinl=yes
24968 else
24969 gcc_cv_math_func_casinl=no
24971 rm -f core conftest.err conftest.$ac_objext \
24972 conftest$ac_exeext conftest.$ac_ext
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
24975 $as_echo "$gcc_cv_math_func_casinl" >&6; }
24976 if test $gcc_cv_math_func_casinl = yes; then
24978 cat >>confdefs.h <<_ACEOF
24979 #define HAVE_CASINL 1
24980 _ACEOF
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
24988 $as_echo_n "checking for catan... " >&6; }
24989 if test "${gcc_cv_math_func_catan+set}" = set; then :
24990 $as_echo_n "(cached) " >&6
24991 else
24992 if test x$gcc_no_link = xyes; then
24993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24996 /* end confdefs.h. */
24998 #ifdef HAVE_COMPLEX_H
24999 #include <complex.h>
25000 #endif
25001 #ifdef HAVE_MATH_H
25002 #include <math.h>
25003 #endif
25005 int (*ptr)() = (int (*)())catan;
25008 main ()
25010 return 0;
25013 _ACEOF
25014 if ac_fn_c_try_link "$LINENO"; then :
25015 gcc_cv_math_func_catan=yes
25016 else
25017 gcc_cv_math_func_catan=no
25019 rm -f core conftest.err conftest.$ac_objext \
25020 conftest$ac_exeext conftest.$ac_ext
25022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25023 $as_echo "$gcc_cv_math_func_catan" >&6; }
25024 if test $gcc_cv_math_func_catan = yes; then
25026 cat >>confdefs.h <<_ACEOF
25027 #define HAVE_CATAN 1
25028 _ACEOF
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25036 $as_echo_n "checking for catanf... " >&6; }
25037 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25038 $as_echo_n "(cached) " >&6
25039 else
25040 if test x$gcc_no_link = xyes; then
25041 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25044 /* end confdefs.h. */
25046 #ifdef HAVE_COMPLEX_H
25047 #include <complex.h>
25048 #endif
25049 #ifdef HAVE_MATH_H
25050 #include <math.h>
25051 #endif
25053 int (*ptr)() = (int (*)())catanf;
25056 main ()
25058 return 0;
25061 _ACEOF
25062 if ac_fn_c_try_link "$LINENO"; then :
25063 gcc_cv_math_func_catanf=yes
25064 else
25065 gcc_cv_math_func_catanf=no
25067 rm -f core conftest.err conftest.$ac_objext \
25068 conftest$ac_exeext conftest.$ac_ext
25070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25071 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25072 if test $gcc_cv_math_func_catanf = yes; then
25074 cat >>confdefs.h <<_ACEOF
25075 #define HAVE_CATANF 1
25076 _ACEOF
25083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25084 $as_echo_n "checking for catanh... " >&6; }
25085 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25086 $as_echo_n "(cached) " >&6
25087 else
25088 if test x$gcc_no_link = xyes; then
25089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h. */
25094 #ifdef HAVE_COMPLEX_H
25095 #include <complex.h>
25096 #endif
25097 #ifdef HAVE_MATH_H
25098 #include <math.h>
25099 #endif
25101 int (*ptr)() = (int (*)())catanh;
25104 main ()
25106 return 0;
25109 _ACEOF
25110 if ac_fn_c_try_link "$LINENO"; then :
25111 gcc_cv_math_func_catanh=yes
25112 else
25113 gcc_cv_math_func_catanh=no
25115 rm -f core conftest.err conftest.$ac_objext \
25116 conftest$ac_exeext conftest.$ac_ext
25118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25119 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25120 if test $gcc_cv_math_func_catanh = yes; then
25122 cat >>confdefs.h <<_ACEOF
25123 #define HAVE_CATANH 1
25124 _ACEOF
25131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25132 $as_echo_n "checking for catanhf... " >&6; }
25133 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25134 $as_echo_n "(cached) " >&6
25135 else
25136 if test x$gcc_no_link = xyes; then
25137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25140 /* end confdefs.h. */
25142 #ifdef HAVE_COMPLEX_H
25143 #include <complex.h>
25144 #endif
25145 #ifdef HAVE_MATH_H
25146 #include <math.h>
25147 #endif
25149 int (*ptr)() = (int (*)())catanhf;
25152 main ()
25154 return 0;
25157 _ACEOF
25158 if ac_fn_c_try_link "$LINENO"; then :
25159 gcc_cv_math_func_catanhf=yes
25160 else
25161 gcc_cv_math_func_catanhf=no
25163 rm -f core conftest.err conftest.$ac_objext \
25164 conftest$ac_exeext conftest.$ac_ext
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25167 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25168 if test $gcc_cv_math_func_catanhf = yes; then
25170 cat >>confdefs.h <<_ACEOF
25171 #define HAVE_CATANHF 1
25172 _ACEOF
25179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25180 $as_echo_n "checking for catanhl... " >&6; }
25181 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25182 $as_echo_n "(cached) " >&6
25183 else
25184 if test x$gcc_no_link = xyes; then
25185 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25188 /* end confdefs.h. */
25190 #ifdef HAVE_COMPLEX_H
25191 #include <complex.h>
25192 #endif
25193 #ifdef HAVE_MATH_H
25194 #include <math.h>
25195 #endif
25197 int (*ptr)() = (int (*)())catanhl;
25200 main ()
25202 return 0;
25205 _ACEOF
25206 if ac_fn_c_try_link "$LINENO"; then :
25207 gcc_cv_math_func_catanhl=yes
25208 else
25209 gcc_cv_math_func_catanhl=no
25211 rm -f core conftest.err conftest.$ac_objext \
25212 conftest$ac_exeext conftest.$ac_ext
25214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25215 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25216 if test $gcc_cv_math_func_catanhl = yes; then
25218 cat >>confdefs.h <<_ACEOF
25219 #define HAVE_CATANHL 1
25220 _ACEOF
25227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25228 $as_echo_n "checking for catanl... " >&6; }
25229 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25230 $as_echo_n "(cached) " >&6
25231 else
25232 if test x$gcc_no_link = xyes; then
25233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25236 /* end confdefs.h. */
25238 #ifdef HAVE_COMPLEX_H
25239 #include <complex.h>
25240 #endif
25241 #ifdef HAVE_MATH_H
25242 #include <math.h>
25243 #endif
25245 int (*ptr)() = (int (*)())catanl;
25248 main ()
25250 return 0;
25253 _ACEOF
25254 if ac_fn_c_try_link "$LINENO"; then :
25255 gcc_cv_math_func_catanl=yes
25256 else
25257 gcc_cv_math_func_catanl=no
25259 rm -f core conftest.err conftest.$ac_objext \
25260 conftest$ac_exeext conftest.$ac_ext
25262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25263 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25264 if test $gcc_cv_math_func_catanl = yes; then
25266 cat >>confdefs.h <<_ACEOF
25267 #define HAVE_CATANL 1
25268 _ACEOF
25273 # On AIX, clog is present in libm as __clog
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25275 $as_echo_n "checking for __clog in -lm... " >&6; }
25276 if test "${ac_cv_lib_m___clog+set}" = set; then :
25277 $as_echo_n "(cached) " >&6
25278 else
25279 ac_check_lib_save_LIBS=$LIBS
25280 LIBS="-lm $LIBS"
25281 if test x$gcc_no_link = xyes; then
25282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25285 /* end confdefs.h. */
25287 /* Override any GCC internal prototype to avoid an error.
25288 Use char because int might match the return type of a GCC
25289 builtin and then its argument prototype would still apply. */
25290 #ifdef __cplusplus
25291 extern "C"
25292 #endif
25293 char __clog ();
25295 main ()
25297 return __clog ();
25299 return 0;
25301 _ACEOF
25302 if ac_fn_c_try_link "$LINENO"; then :
25303 ac_cv_lib_m___clog=yes
25304 else
25305 ac_cv_lib_m___clog=no
25307 rm -f core conftest.err conftest.$ac_objext \
25308 conftest$ac_exeext conftest.$ac_ext
25309 LIBS=$ac_check_lib_save_LIBS
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25312 $as_echo "$ac_cv_lib_m___clog" >&6; }
25313 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25315 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25320 # Check whether the system has a working stat()
25322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25323 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25324 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25325 $as_echo_n "(cached) " >&6
25326 else
25328 if test "$cross_compiling" = yes; then :
25330 case "${target}" in
25331 *mingw*) libgfor_cv_have_working_stat=no ;;
25332 *) libgfor_cv_have_working_stat=yes;;
25333 esac
25334 else
25335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25336 /* end confdefs.h. */
25338 #include <stdio.h>
25339 #include <sys/types.h>
25340 #include <sys/stat.h>
25341 #include <unistd.h>
25343 int main ()
25345 FILE *f, *g;
25346 struct stat st1, st2;
25348 f = fopen ("foo", "w");
25349 g = fopen ("bar", "w");
25350 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25351 return 1;
25352 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25353 return 1;
25354 fclose(f);
25355 fclose(g);
25356 return 0;
25358 _ACEOF
25359 if ac_fn_c_try_run "$LINENO"; then :
25360 libgfor_cv_have_working_stat=yes
25361 else
25362 libgfor_cv_have_working_stat=no
25364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25365 conftest.$ac_objext conftest.beam conftest.$ac_ext
25369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25370 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25371 if test x"$libgfor_cv_have_working_stat" = xyes; then
25373 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25377 # Check whether __mingw_snprintf() is present
25379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25380 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25381 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25382 $as_echo_n "(cached) " >&6
25383 else
25385 if test x$gcc_no_link = xyes; then
25386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25391 #include <stdio.h>
25392 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25395 main ()
25398 __mingw_snprintf (NULL, 0, "%d\n", 1);
25401 return 0;
25403 _ACEOF
25404 if ac_fn_c_try_link "$LINENO"; then :
25405 eval "libgfor_cv_have_mingw_snprintf=yes"
25406 else
25407 eval "libgfor_cv_have_mingw_snprintf=no"
25409 rm -f core conftest.err conftest.$ac_objext \
25410 conftest$ac_exeext conftest.$ac_ext
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25414 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25415 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25417 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25422 # Check whether libquadmath should be used
25423 # Check whether --enable-libquadmath-support was given.
25424 if test "${enable_libquadmath_support+set}" = set; then :
25425 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25426 else
25427 ENABLE_LIBQUADMATH_SUPPORT=yes
25430 enable_libquadmath_support=
25431 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25432 enable_libquadmath_support=no
25435 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25437 LIBQUADSPEC=
25439 if test "x$enable_libquadmath_support" != xno; then
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25442 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25443 if test "${libgfor_cv_have_float128+set}" = set; then :
25444 $as_echo_n "(cached) " >&6
25445 else
25447 if test x$gcc_no_link = xyes; then
25448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25449 /* end confdefs.h. */
25451 typedef _Complex float __attribute__((mode(TC))) __complex128;
25453 __float128 foo (__float128 x)
25456 __complex128 z1, z2;
25458 z1 = x;
25459 z2 = x / 7.Q;
25460 z2 /= z1;
25462 return (__float128) z2;
25465 __float128 bar (__float128 x)
25467 return x * __builtin_huge_valq ();
25471 main ()
25474 foo (1.2Q);
25475 bar (1.2Q);
25478 return 0;
25480 _ACEOF
25481 if ac_fn_c_try_compile "$LINENO"; then :
25483 libgfor_cv_have_float128=yes
25485 else
25487 libgfor_cv_have_float128=no
25490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25491 else
25492 if test x$gcc_no_link = xyes; then
25493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25496 /* end confdefs.h. */
25498 typedef _Complex float __attribute__((mode(TC))) __complex128;
25500 __float128 foo (__float128 x)
25503 __complex128 z1, z2;
25505 z1 = x;
25506 z2 = x / 7.Q;
25507 z2 /= z1;
25509 return (__float128) z2;
25512 __float128 bar (__float128 x)
25514 return x * __builtin_huge_valq ();
25518 main ()
25521 foo (1.2Q);
25522 bar (1.2Q);
25525 return 0;
25527 _ACEOF
25528 if ac_fn_c_try_link "$LINENO"; then :
25530 libgfor_cv_have_float128=yes
25532 else
25534 libgfor_cv_have_float128=no
25537 rm -f core conftest.err conftest.$ac_objext \
25538 conftest$ac_exeext conftest.$ac_ext
25541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25542 $as_echo "$libgfor_cv_have_float128" >&6; }
25544 if test "x$libgfor_cv_have_float128" = xyes; then
25546 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25549 ac_xsave_c_werror_flag=$ac_c_werror_flag
25550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25551 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25552 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25553 $as_echo_n "(cached) " >&6
25554 else
25556 # Test for native Solaris options first.
25557 # No whitespace after -z to pass it through -Wl.
25558 libgfor_cv_as_needed_option="-zignore"
25559 libgfor_cv_no_as_needed_option="-zrecord"
25560 save_LDFLAGS="$LDFLAGS"
25561 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25562 libgfor_cv_have_as_needed=no
25564 ac_c_werror_flag=yes
25565 if test x$gcc_no_link = xyes; then
25566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25569 /* end confdefs.h. */
25572 main ()
25576 return 0;
25578 _ACEOF
25579 if ac_fn_c_try_link "$LINENO"; then :
25580 libgfor_cv_have_as_needed=yes
25581 else
25582 libgfor_cv_have_as_needed=no
25584 rm -f core conftest.err conftest.$ac_objext \
25585 conftest$ac_exeext conftest.$ac_ext
25586 LDFLAGS="$save_LDFLAGS"
25587 if test "x$libgfor_cv_have_as_needed" = xno; then
25588 libgfor_cv_as_needed_option="--as-needed"
25589 libgfor_cv_no_as_needed_option="--no-as-needed"
25590 save_LDFLAGS="$LDFLAGS"
25591 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25592 libgfor_cv_have_as_needed=no
25594 ac_c_werror_flag=yes
25595 if test x$gcc_no_link = xyes; then
25596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25599 /* end confdefs.h. */
25602 main ()
25606 return 0;
25608 _ACEOF
25609 if ac_fn_c_try_link "$LINENO"; then :
25610 libgfor_cv_have_as_needed=yes
25611 else
25612 libgfor_cv_have_as_needed=no
25614 rm -f core conftest.err conftest.$ac_objext \
25615 conftest$ac_exeext conftest.$ac_ext
25616 LDFLAGS="$save_LDFLAGS"
25618 ac_c_werror_flag=$ac_xsave_c_werror_flag
25621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25622 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25624 if test "x$libgfor_cv_have_as_needed" = xyes; then
25625 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25626 else
25627 LIBQUADSPEC="-lquadmath"
25629 if test -f ../libquadmath/libquadmath.la; then
25630 LIBQUADLIB=../libquadmath/libquadmath.la
25631 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25632 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25633 else
25634 LIBQUADLIB="-lquadmath"
25635 LIBQUADLIB_DEP=
25636 LIBQUADINCLUDE=
25639 else
25640 # for --disable-quadmath
25641 LIBQUADLIB=
25642 LIBQUADLIB_DEP=
25643 LIBQUADINCLUDE=
25651 if test "x$libgfor_cv_have_float128" = xyes; then
25652 LIBGFOR_BUILD_QUAD_TRUE=
25653 LIBGFOR_BUILD_QUAD_FALSE='#'
25654 else
25655 LIBGFOR_BUILD_QUAD_TRUE='#'
25656 LIBGFOR_BUILD_QUAD_FALSE=
25661 # Check for GNU libc feenableexcept
25662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25663 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25664 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25665 $as_echo_n "(cached) " >&6
25666 else
25667 ac_check_lib_save_LIBS=$LIBS
25668 LIBS="-lm $LIBS"
25669 if test x$gcc_no_link = xyes; then
25670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25673 /* end confdefs.h. */
25675 /* Override any GCC internal prototype to avoid an error.
25676 Use char because int might match the return type of a GCC
25677 builtin and then its argument prototype would still apply. */
25678 #ifdef __cplusplus
25679 extern "C"
25680 #endif
25681 char feenableexcept ();
25683 main ()
25685 return feenableexcept ();
25687 return 0;
25689 _ACEOF
25690 if ac_fn_c_try_link "$LINENO"; then :
25691 ac_cv_lib_m_feenableexcept=yes
25692 else
25693 ac_cv_lib_m_feenableexcept=no
25695 rm -f core conftest.err conftest.$ac_objext \
25696 conftest$ac_exeext conftest.$ac_ext
25697 LIBS=$ac_check_lib_save_LIBS
25699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25700 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25701 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25702 have_feenableexcept=yes
25703 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25708 # At least for glibc, clock_gettime is in librt. But don't
25709 # pull that in if it still doesn't give us the function we want. This
25710 # test is copied from libgomp, and modified to not link in -lrt as
25711 # libgfortran calls clock_gettime via a weak reference if it's found
25712 # in librt.
25713 if test "$ac_cv_func_clock_gettime" = no; then
25714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25715 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25716 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25717 $as_echo_n "(cached) " >&6
25718 else
25719 ac_check_lib_save_LIBS=$LIBS
25720 LIBS="-lrt $LIBS"
25721 if test x$gcc_no_link = xyes; then
25722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25725 /* end confdefs.h. */
25727 /* Override any GCC internal prototype to avoid an error.
25728 Use char because int might match the return type of a GCC
25729 builtin and then its argument prototype would still apply. */
25730 #ifdef __cplusplus
25731 extern "C"
25732 #endif
25733 char clock_gettime ();
25735 main ()
25737 return clock_gettime ();
25739 return 0;
25741 _ACEOF
25742 if ac_fn_c_try_link "$LINENO"; then :
25743 ac_cv_lib_rt_clock_gettime=yes
25744 else
25745 ac_cv_lib_rt_clock_gettime=no
25747 rm -f core conftest.err conftest.$ac_objext \
25748 conftest$ac_exeext conftest.$ac_ext
25749 LIBS=$ac_check_lib_save_LIBS
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25752 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25753 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25755 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25761 # Check for SysV fpsetmask
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25764 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25765 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25766 $as_echo_n "(cached) " >&6
25767 else
25769 if test x$gcc_no_link = xyes; then
25770 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25773 /* end confdefs.h. */
25775 #if HAVE_FLOATINGPOINT_H
25776 # include <floatingpoint.h>
25777 #endif /* HAVE_FLOATINGPOINT_H */
25778 #if HAVE_IEEEFP_H
25779 # include <ieeefp.h>
25780 #endif /* HAVE_IEEEFP_H */
25782 main ()
25784 fpsetmask(0);
25786 return 0;
25788 _ACEOF
25789 if ac_fn_c_try_link "$LINENO"; then :
25790 eval "libgfor_cv_have_fpsetmask=yes"
25791 else
25792 eval "libgfor_cv_have_fpsetmask=no"
25794 rm -f core conftest.err conftest.$ac_objext \
25795 conftest$ac_exeext conftest.$ac_ext
25798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25799 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25800 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25801 have_fpsetmask=yes
25803 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25807 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
25808 #ifdef HAVE_IEEEFP_H
25809 #include <ieeefp.h>
25810 #endif
25811 #include <math.h>
25814 if test "x$ac_cv_type_fp_except" = x""yes; then :
25816 cat >>confdefs.h <<_ACEOF
25817 #define HAVE_FP_EXCEPT 1
25818 _ACEOF
25822 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
25823 #ifdef HAVE_IEEEFP_H
25824 #include <ieeefp.h>
25825 #endif
25826 #include <math.h>
25829 if test "x$ac_cv_type_fp_except_t" = x""yes; then :
25831 cat >>confdefs.h <<_ACEOF
25832 #define HAVE_FP_EXCEPT_T 1
25833 _ACEOF
25838 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
25839 #ifdef HAVE_IEEEFP_H
25840 #include <ieeefp.h>
25841 #endif
25842 #include <math.h>
25845 if test "x$ac_cv_type_fp_rnd" = x""yes; then :
25847 cat >>confdefs.h <<_ACEOF
25848 #define HAVE_FP_RND 1
25849 _ACEOF
25853 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
25854 #ifdef HAVE_IEEEFP_H
25855 #include <ieeefp.h>
25856 #endif
25857 #include <math.h>
25860 if test "x$ac_cv_type_fp_rnd_t" = x""yes; then :
25862 cat >>confdefs.h <<_ACEOF
25863 #define HAVE_FP_RND_T 1
25864 _ACEOF
25870 # Check whether we have fpsetsticky or fpresetsticky
25871 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
25872 if test "x$ac_cv_func_fpsetsticky" = x""yes; then :
25873 have_fpsetsticky=yes
25874 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
25878 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
25879 if test "x$ac_cv_func_fpresetsticky" = x""yes; then :
25880 have_fpresetsticky=yes
25881 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
25886 # Check for AIX fp_trap and fp_enable
25887 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25888 if test "x$ac_cv_func_fp_trap" = x""yes; then :
25889 have_fp_trap=yes
25890 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25894 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25895 if test "x$ac_cv_func_fp_enable" = x""yes; then :
25896 have_fp_enable=yes
25897 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25902 # Check if _SOFT_FLOAT is defined
25904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
25905 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
25906 if test "${ac_cv_defined__SOFT_FLOAT+set}" = set; then :
25907 $as_echo_n "(cached) " >&6
25908 else
25909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25910 /* end confdefs.h. */
25913 main ()
25916 #ifdef _SOFT_FLOAT
25917 int ok;
25918 #else
25919 choke me
25920 #endif
25923 return 0;
25925 _ACEOF
25926 if ac_fn_c_try_compile "$LINENO"; then :
25927 ac_cv_defined__SOFT_FLOAT=yes
25928 else
25929 ac_cv_defined__SOFT_FLOAT=no
25931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
25934 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
25935 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
25936 have_soft_float=yes
25939 # Runs configure.host to set up necessary host-dependent shell variables.
25940 # We then display a message about it, and propagate them through the
25941 # build chain.
25942 . ${srcdir}/configure.host
25943 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25944 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
25946 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
25947 FPU_HOST_HEADER=config/${fpu_host}.h
25950 # Whether we will build the IEEE modules
25951 if test x${ieee_support} = xyes; then
25952 IEEE_SUPPORT_TRUE=
25953 IEEE_SUPPORT_FALSE='#'
25954 else
25955 IEEE_SUPPORT_TRUE='#'
25956 IEEE_SUPPORT_FALSE=
25961 # Some targets require additional compiler options for IEEE compatibility.
25962 IEEE_FLAGS="${ieee_flags}"
25966 # Check for POSIX getpwuid_r
25968 # There are two versions of getpwuid_r, the POSIX one with 5
25969 # arguments, and another one with 4 arguments used by at least HP-UX
25970 # 10.2.
25971 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25973 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25974 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25975 $as_echo_n "(cached) " >&6
25976 else
25978 if test x$gcc_no_link = xyes; then
25979 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25982 /* end confdefs.h. */
25984 #include <stdio.h>
25985 #include <sys/types.h>
25986 #include <pwd.h>
25988 main ()
25991 getpwuid_r(0, NULL, NULL, 0, NULL);
25994 return 0;
25996 _ACEOF
25997 if ac_fn_c_try_link "$LINENO"; then :
25998 libgfor_cv_posix_getpwuid_r="yes"
25999 else
26000 libgfor_cv_posix_getpwuid_r="no"
26002 rm -f core conftest.err conftest.$ac_objext \
26003 conftest$ac_exeext conftest.$ac_ext
26005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26006 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26008 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26010 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26015 # Check out attribute support.
26017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26018 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26019 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26020 $as_echo_n "(cached) " >&6
26021 else
26023 save_CFLAGS="$CFLAGS"
26024 CFLAGS="$CFLAGS -Werror"
26025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26026 /* end confdefs.h. */
26027 void __attribute__((visibility("hidden"))) foo(void) { }
26029 main ()
26033 return 0;
26035 _ACEOF
26036 if ac_fn_c_try_compile "$LINENO"; then :
26037 libgfor_cv_have_attribute_visibility=yes
26038 else
26039 libgfor_cv_have_attribute_visibility=no
26041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26042 CFLAGS="$save_CFLAGS"
26044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26045 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26046 if test $libgfor_cv_have_attribute_visibility = yes; then
26048 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26053 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26054 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26055 $as_echo_n "(cached) " >&6
26056 else
26058 if test x$gcc_no_link = xyes; then
26059 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26062 /* end confdefs.h. */
26064 void foo(void) { }
26065 extern void bar(void) __attribute__((alias("foo")));
26067 main ()
26069 bar();
26071 return 0;
26073 _ACEOF
26074 if ac_fn_c_try_link "$LINENO"; then :
26075 libgfor_cv_have_attribute_alias=yes
26076 else
26077 libgfor_cv_have_attribute_alias=no
26079 rm -f core conftest.err conftest.$ac_objext \
26080 conftest$ac_exeext conftest.$ac_ext
26082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26083 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26084 if test $libgfor_cv_have_attribute_alias = yes; then
26086 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26090 # Check out sync builtins support.
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26093 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26094 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26095 $as_echo_n "(cached) " >&6
26096 else
26098 if test x$gcc_no_link = xyes; then
26099 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26102 /* end confdefs.h. */
26103 int foovar = 0;
26105 main ()
26108 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26109 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26111 return 0;
26113 _ACEOF
26114 if ac_fn_c_try_link "$LINENO"; then :
26115 libgfor_cv_have_sync_fetch_and_add=yes
26116 else
26117 libgfor_cv_have_sync_fetch_and_add=no
26119 rm -f core conftest.err conftest.$ac_objext \
26120 conftest$ac_exeext conftest.$ac_ext
26122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26123 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26124 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26126 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26130 # Check out #pragma weak.
26132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26133 $as_echo_n "checking whether pragma weak works... " >&6; }
26134 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26135 $as_echo_n "(cached) " >&6
26136 else
26138 gfor_save_CFLAGS="$CFLAGS"
26139 CFLAGS="$CFLAGS -Wunknown-pragmas"
26140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h. */
26143 void foo (void);
26144 #pragma weak foo
26147 main ()
26149 if (foo) foo ();
26151 return 0;
26153 _ACEOF
26154 if ac_fn_c_try_compile "$LINENO"; then :
26155 libgfor_cv_have_pragma_weak=yes
26156 else
26157 libgfor_cv_have_pragma_weak=no
26159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26162 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26163 if test $libgfor_cv_have_pragma_weak = yes; then
26165 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26168 case "$host" in
26169 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
26171 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26174 esac
26176 # Check out weakref support.
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26179 $as_echo_n "checking whether the target supports weakref... " >&6; }
26180 if test "${libgfor_cv_have_weakref+set}" = set; then :
26181 $as_echo_n "(cached) " >&6
26182 else
26184 save_CFLAGS="$CFLAGS"
26185 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
26186 if test x$gcc_no_link = xyes; then
26187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26190 /* end confdefs.h. */
26192 static int mytoto (int) __attribute__((__weakref__("toto")));
26195 main ()
26197 return (mytoto != 0);
26199 return 0;
26201 _ACEOF
26202 if ac_fn_c_try_link "$LINENO"; then :
26203 libgfor_cv_have_weakref=yes
26204 else
26205 libgfor_cv_have_weakref=no
26207 rm -f core conftest.err conftest.$ac_objext \
26208 conftest$ac_exeext conftest.$ac_ext
26209 CFLAGS="$save_CFLAGS"
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26212 $as_echo "$libgfor_cv_have_weakref" >&6; }
26213 if test $libgfor_cv_have_weakref = yes; then
26215 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26219 # Various other checks on target
26221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26222 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26223 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26224 $as_echo_n "(cached) " >&6
26225 else
26227 if test "$cross_compiling" = yes; then :
26229 case "${target}" in
26230 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26231 *) libgfor_cv_have_unlink_open_file=yes;;
26232 esac
26233 else
26234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26235 /* end confdefs.h. */
26237 #include <errno.h>
26238 #include <fcntl.h>
26239 #include <unistd.h>
26240 #include <sys/stat.h>
26242 int main ()
26244 int fd;
26246 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26247 if (fd <= 0)
26248 return 0;
26249 if (unlink ("testfile") == -1)
26250 return 1;
26251 write (fd, "This is a test\n", 15);
26252 close (fd);
26254 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26255 return 0;
26256 else
26257 return 1;
26259 _ACEOF
26260 if ac_fn_c_try_run "$LINENO"; then :
26261 libgfor_cv_have_unlink_open_file=yes
26262 else
26263 libgfor_cv_have_unlink_open_file=no
26265 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26266 conftest.$ac_objext conftest.beam conftest.$ac_ext
26270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26271 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26272 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26274 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26278 # Check whether line terminator is LF or CRLF
26280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26281 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26282 if test "${libgfor_cv_have_crlf+set}" = set; then :
26283 $as_echo_n "(cached) " >&6
26284 else
26286 if test "$cross_compiling" = yes; then :
26288 case "${target}" in
26289 *mingw*) libgfor_cv_have_crlf=yes ;;
26290 *) libgfor_cv_have_crlf=no;;
26291 esac
26292 else
26293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26294 /* end confdefs.h. */
26296 /* This test program should exit with status 0 if system uses a CRLF as
26297 line terminator, and status 1 otherwise.
26298 Since it is used to check for mingw systems, and should return 0 in any
26299 other case, in case of a failure we will not use CRLF. */
26300 #include <sys/stat.h>
26301 #include <stdlib.h>
26302 #include <fcntl.h>
26303 #include <stdio.h>
26305 int main ()
26307 #ifndef O_BINARY
26308 exit(1);
26309 #else
26310 int fd, bytes;
26311 char buff[5];
26313 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26314 if (fd < 0)
26315 exit(1);
26316 if (write (fd, "\n", 1) < 0)
26317 perror ("write");
26319 close (fd);
26321 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26322 exit(1);
26323 bytes = read (fd, buff, 5);
26324 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26325 exit(0);
26326 else
26327 exit(1);
26328 #endif
26330 _ACEOF
26331 if ac_fn_c_try_run "$LINENO"; then :
26332 libgfor_cv_have_crlf=yes
26333 else
26334 libgfor_cv_have_crlf=no
26336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26337 conftest.$ac_objext conftest.beam conftest.$ac_ext
26341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26342 $as_echo "$libgfor_cv_have_crlf" >&6; }
26343 if test x"$libgfor_cv_have_crlf" = xyes; then
26345 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26349 # Check whether we support AVX extensions
26351 ac_save_CFLAGS="$CFLAGS"
26352 CFLAGS="-O2 -mavx"
26353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26354 /* end confdefs.h. */
26356 void _mm256_zeroall (void)
26358 __builtin_ia32_vzeroall ();
26361 main ()
26365 return 0;
26367 _ACEOF
26368 if ac_fn_c_try_compile "$LINENO"; then :
26370 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26374 CFLAGS="$ac_save_CFLAGS"
26377 # Check wether we support AVX2 extensions
26379 ac_save_CFLAGS="$CFLAGS"
26380 CFLAGS="-O2 -mavx2"
26381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26382 /* end confdefs.h. */
26384 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26385 __v4di
26386 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
26388 return __builtin_ia32_andnotsi256 (__X, __Y);
26391 main ()
26395 return 0;
26397 _ACEOF
26398 if ac_fn_c_try_compile "$LINENO"; then :
26400 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
26403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26404 CFLAGS="$ac_save_CFLAGS"
26407 # Check wether we support AVX512f extensions
26409 ac_save_CFLAGS="$CFLAGS"
26410 CFLAGS="-O2 -mavx512f"
26411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26412 /* end confdefs.h. */
26414 typedef double __m512d __attribute__ ((__vector_size__ (64)));
26415 __m512d _mm512_add (__m512d a)
26417 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26418 /* For -m64/-mx32 also verify that code will work even if
26419 the target uses call saved zmm16+ and needs to emit
26420 unwind info for them (e.g. on mingw). See PR79127. */
26421 #ifdef __x86_64__
26422 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
26423 #endif
26424 return b;
26427 main ()
26431 return 0;
26433 _ACEOF
26434 if ac_fn_c_try_compile "$LINENO"; then :
26436 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
26439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26440 CFLAGS="$ac_save_CFLAGS"
26443 # Check for FMA3 extensions
26445 ac_save_CFLAGS="$CFLAGS"
26446 CFLAGS="-O2 -mfma -mno-fma4"
26447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26448 /* end confdefs.h. */
26450 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26451 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26452 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26454 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26455 (__v4sf)__B,
26456 (__v4sf)__C);
26459 main ()
26463 return 0;
26465 _ACEOF
26466 if ac_fn_c_try_compile "$LINENO"; then :
26468 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
26471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26472 CFLAGS="$ac_save_CFLAGS"
26475 # Check for FMA4 extensions
26477 ac_save_CFLAGS="$CFLAGS"
26478 CFLAGS="-O2 -mfma4 -mno-fma"
26479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26480 /* end confdefs.h. */
26482 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26483 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26484 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26486 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26487 (__v4sf)__B,
26488 (__v4sf)__C);
26491 main ()
26495 return 0;
26497 _ACEOF
26498 if ac_fn_c_try_compile "$LINENO"; then :
26500 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
26503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26504 CFLAGS="$ac_save_CFLAGS"
26507 # Check if AVX128 works
26509 ac_save_CFLAGS="$CFLAGS"
26510 CFLAGS="-O2 -mavx -mprefer-avx128"
26511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26512 /* end confdefs.h. */
26514 void foo()
26518 main ()
26522 return 0;
26524 _ACEOF
26525 if ac_fn_c_try_compile "$LINENO"; then :
26527 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
26529 if true; then
26530 HAVE_AVX128_TRUE=
26531 HAVE_AVX128_FALSE='#'
26532 else
26533 HAVE_AVX128_TRUE='#'
26534 HAVE_AVX128_FALSE=
26537 else
26538 if false; then
26539 HAVE_AVX128_TRUE=
26540 HAVE_AVX128_FALSE='#'
26541 else
26542 HAVE_AVX128_TRUE='#'
26543 HAVE_AVX128_FALSE=
26547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26548 CFLAGS="$ac_save_CFLAGS"
26551 # Determine what GCC version number to use in filesystem paths.
26553 get_gcc_base_ver="cat"
26555 # Check whether --with-gcc-major-version-only was given.
26556 if test "${with_gcc_major_version_only+set}" = set; then :
26557 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
26558 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
26566 cat >confcache <<\_ACEOF
26567 # This file is a shell script that caches the results of configure
26568 # tests run on this system so they can be shared between configure
26569 # scripts and configure runs, see configure's option --config-cache.
26570 # It is not useful on other systems. If it contains results you don't
26571 # want to keep, you may remove or edit it.
26573 # config.status only pays attention to the cache file if you give it
26574 # the --recheck option to rerun configure.
26576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26578 # following values.
26580 _ACEOF
26582 # The following way of writing the cache mishandles newlines in values,
26583 # but we know of no workaround that is simple, portable, and efficient.
26584 # So, we kill variables containing newlines.
26585 # Ultrix sh set writes to stderr and can't be redirected directly,
26586 # and sets the high bit in the cache file unless we assign to the vars.
26588 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26589 eval ac_val=\$$ac_var
26590 case $ac_val in #(
26591 *${as_nl}*)
26592 case $ac_var in #(
26593 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26594 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26595 esac
26596 case $ac_var in #(
26597 _ | IFS | as_nl) ;; #(
26598 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26599 *) { eval $ac_var=; unset $ac_var;} ;;
26600 esac ;;
26601 esac
26602 done
26604 (set) 2>&1 |
26605 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26606 *${as_nl}ac_space=\ *)
26607 # `set' does not quote correctly, so add quotes: double-quote
26608 # substitution turns \\\\ into \\, and sed turns \\ into \.
26609 sed -n \
26610 "s/'/'\\\\''/g;
26611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26612 ;; #(
26614 # `set' quotes correctly as required by POSIX, so do not add quotes.
26615 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26617 esac |
26618 sort
26620 sed '
26621 /^ac_cv_env_/b end
26622 t clear
26623 :clear
26624 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26625 t end
26626 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26627 :end' >>confcache
26628 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26629 if test -w "$cache_file"; then
26630 test "x$cache_file" != "x/dev/null" &&
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26632 $as_echo "$as_me: updating cache $cache_file" >&6;}
26633 cat confcache >$cache_file
26634 else
26635 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26636 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26639 rm -f confcache
26641 if test ${multilib} = yes; then
26642 multilib_arg="--enable-multilib"
26643 else
26644 multilib_arg=
26647 # Write our Makefile and spec file.
26648 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26650 cat >confcache <<\_ACEOF
26651 # This file is a shell script that caches the results of configure
26652 # tests run on this system so they can be shared between configure
26653 # scripts and configure runs, see configure's option --config-cache.
26654 # It is not useful on other systems. If it contains results you don't
26655 # want to keep, you may remove or edit it.
26657 # config.status only pays attention to the cache file if you give it
26658 # the --recheck option to rerun configure.
26660 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26661 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26662 # following values.
26664 _ACEOF
26666 # The following way of writing the cache mishandles newlines in values,
26667 # but we know of no workaround that is simple, portable, and efficient.
26668 # So, we kill variables containing newlines.
26669 # Ultrix sh set writes to stderr and can't be redirected directly,
26670 # and sets the high bit in the cache file unless we assign to the vars.
26672 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26673 eval ac_val=\$$ac_var
26674 case $ac_val in #(
26675 *${as_nl}*)
26676 case $ac_var in #(
26677 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26678 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26679 esac
26680 case $ac_var in #(
26681 _ | IFS | as_nl) ;; #(
26682 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26683 *) { eval $ac_var=; unset $ac_var;} ;;
26684 esac ;;
26685 esac
26686 done
26688 (set) 2>&1 |
26689 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26690 *${as_nl}ac_space=\ *)
26691 # `set' does not quote correctly, so add quotes: double-quote
26692 # substitution turns \\\\ into \\, and sed turns \\ into \.
26693 sed -n \
26694 "s/'/'\\\\''/g;
26695 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26696 ;; #(
26698 # `set' quotes correctly as required by POSIX, so do not add quotes.
26699 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26701 esac |
26702 sort
26704 sed '
26705 /^ac_cv_env_/b end
26706 t clear
26707 :clear
26708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26709 t end
26710 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26711 :end' >>confcache
26712 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26713 if test -w "$cache_file"; then
26714 test "x$cache_file" != "x/dev/null" &&
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26716 $as_echo "$as_me: updating cache $cache_file" >&6;}
26717 cat confcache >$cache_file
26718 else
26719 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26720 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26723 rm -f confcache
26725 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26726 # Let make expand exec_prefix.
26727 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26729 DEFS=-DHAVE_CONFIG_H
26731 ac_libobjs=
26732 ac_ltlibobjs=
26733 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26734 # 1. Remove the extension, and $U if already installed.
26735 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26736 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26737 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26738 # will be set to the directory where LIBOBJS objects are built.
26739 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26740 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26741 done
26742 LIBOBJS=$ac_libobjs
26744 LTLIBOBJS=$ac_ltlibobjs
26747 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26748 as_fn_error "conditional \"onestep\" was never defined.
26749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26751 if test -n "$EXEEXT"; then
26752 am__EXEEXT_TRUE=
26753 am__EXEEXT_FALSE='#'
26754 else
26755 am__EXEEXT_TRUE='#'
26756 am__EXEEXT_FALSE=
26759 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26760 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26763 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26764 as_fn_error "conditional \"AMDEP\" was never defined.
26765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26767 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26768 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26771 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26772 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26775 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26776 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26779 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26780 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26783 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26784 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26787 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
26788 as_fn_error "conditional \"LIBGFOR_MINIMAL\" was never defined.
26789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26791 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
26792 as_fn_error "conditional \"HAVE_HWCAP\" was never defined.
26793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26795 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26796 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26799 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26800 as_fn_error "conditional \"IEEE_SUPPORT\" was never defined.
26801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26803 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
26804 as_fn_error "conditional \"HAVE_AVX128\" was never defined.
26805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26807 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
26808 as_fn_error "conditional \"HAVE_AVX128\" was never defined.
26809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26812 : ${CONFIG_STATUS=./config.status}
26813 ac_write_fail=0
26814 ac_clean_files_save=$ac_clean_files
26815 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26816 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26817 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26818 as_write_fail=0
26819 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26820 #! $SHELL
26821 # Generated by $as_me.
26822 # Run this file to recreate the current configuration.
26823 # Compiler output produced by configure, useful for debugging
26824 # configure, is in config.log if it exists.
26826 debug=false
26827 ac_cs_recheck=false
26828 ac_cs_silent=false
26830 SHELL=\${CONFIG_SHELL-$SHELL}
26831 export SHELL
26832 _ASEOF
26833 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26834 ## -------------------- ##
26835 ## M4sh Initialization. ##
26836 ## -------------------- ##
26838 # Be more Bourne compatible
26839 DUALCASE=1; export DUALCASE # for MKS sh
26840 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26841 emulate sh
26842 NULLCMD=:
26843 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26844 # is contrary to our usage. Disable this feature.
26845 alias -g '${1+"$@"}'='"$@"'
26846 setopt NO_GLOB_SUBST
26847 else
26848 case `(set -o) 2>/dev/null` in #(
26849 *posix*) :
26850 set -o posix ;; #(
26851 *) :
26853 esac
26857 as_nl='
26859 export as_nl
26860 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26861 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26862 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26863 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26864 # Prefer a ksh shell builtin over an external printf program on Solaris,
26865 # but without wasting forks for bash or zsh.
26866 if test -z "$BASH_VERSION$ZSH_VERSION" \
26867 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26868 as_echo='print -r --'
26869 as_echo_n='print -rn --'
26870 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26871 as_echo='printf %s\n'
26872 as_echo_n='printf %s'
26873 else
26874 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26875 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26876 as_echo_n='/usr/ucb/echo -n'
26877 else
26878 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26879 as_echo_n_body='eval
26880 arg=$1;
26881 case $arg in #(
26882 *"$as_nl"*)
26883 expr "X$arg" : "X\\(.*\\)$as_nl";
26884 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26885 esac;
26886 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26888 export as_echo_n_body
26889 as_echo_n='sh -c $as_echo_n_body as_echo'
26891 export as_echo_body
26892 as_echo='sh -c $as_echo_body as_echo'
26895 # The user is always right.
26896 if test "${PATH_SEPARATOR+set}" != set; then
26897 PATH_SEPARATOR=:
26898 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26899 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26900 PATH_SEPARATOR=';'
26905 # IFS
26906 # We need space, tab and new line, in precisely that order. Quoting is
26907 # there to prevent editors from complaining about space-tab.
26908 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26909 # splitting by setting IFS to empty value.)
26910 IFS=" "" $as_nl"
26912 # Find who we are. Look in the path if we contain no directory separator.
26913 case $0 in #((
26914 *[\\/]* ) as_myself=$0 ;;
26915 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26916 for as_dir in $PATH
26918 IFS=$as_save_IFS
26919 test -z "$as_dir" && as_dir=.
26920 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26921 done
26922 IFS=$as_save_IFS
26925 esac
26926 # We did not find ourselves, most probably we were run as `sh COMMAND'
26927 # in which case we are not to be found in the path.
26928 if test "x$as_myself" = x; then
26929 as_myself=$0
26931 if test ! -f "$as_myself"; then
26932 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26933 exit 1
26936 # Unset variables that we do not need and which cause bugs (e.g. in
26937 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26938 # suppresses any "Segmentation fault" message there. '((' could
26939 # trigger a bug in pdksh 5.2.14.
26940 for as_var in BASH_ENV ENV MAIL MAILPATH
26941 do eval test x\${$as_var+set} = xset \
26942 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26943 done
26944 PS1='$ '
26945 PS2='> '
26946 PS4='+ '
26948 # NLS nuisances.
26949 LC_ALL=C
26950 export LC_ALL
26951 LANGUAGE=C
26952 export LANGUAGE
26954 # CDPATH.
26955 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26958 # as_fn_error ERROR [LINENO LOG_FD]
26959 # ---------------------------------
26960 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26961 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26962 # script with status $?, using 1 if that was 0.
26963 as_fn_error ()
26965 as_status=$?; test $as_status -eq 0 && as_status=1
26966 if test "$3"; then
26967 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26968 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26970 $as_echo "$as_me: error: $1" >&2
26971 as_fn_exit $as_status
26972 } # as_fn_error
26975 # as_fn_set_status STATUS
26976 # -----------------------
26977 # Set $? to STATUS, without forking.
26978 as_fn_set_status ()
26980 return $1
26981 } # as_fn_set_status
26983 # as_fn_exit STATUS
26984 # -----------------
26985 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26986 as_fn_exit ()
26988 set +e
26989 as_fn_set_status $1
26990 exit $1
26991 } # as_fn_exit
26993 # as_fn_unset VAR
26994 # ---------------
26995 # Portably unset VAR.
26996 as_fn_unset ()
26998 { eval $1=; unset $1;}
27000 as_unset=as_fn_unset
27001 # as_fn_append VAR VALUE
27002 # ----------------------
27003 # Append the text in VALUE to the end of the definition contained in VAR. Take
27004 # advantage of any shell optimizations that allow amortized linear growth over
27005 # repeated appends, instead of the typical quadratic growth present in naive
27006 # implementations.
27007 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27008 eval 'as_fn_append ()
27010 eval $1+=\$2
27012 else
27013 as_fn_append ()
27015 eval $1=\$$1\$2
27017 fi # as_fn_append
27019 # as_fn_arith ARG...
27020 # ------------------
27021 # Perform arithmetic evaluation on the ARGs, and store the result in the
27022 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27023 # must be portable across $(()) and expr.
27024 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27025 eval 'as_fn_arith ()
27027 as_val=$(( $* ))
27029 else
27030 as_fn_arith ()
27032 as_val=`expr "$@" || test $? -eq 1`
27034 fi # as_fn_arith
27037 if expr a : '\(a\)' >/dev/null 2>&1 &&
27038 test "X`expr 00001 : '.*\(...\)'`" = X001; then
27039 as_expr=expr
27040 else
27041 as_expr=false
27044 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27045 as_basename=basename
27046 else
27047 as_basename=false
27050 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27051 as_dirname=dirname
27052 else
27053 as_dirname=false
27056 as_me=`$as_basename -- "$0" ||
27057 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27058 X"$0" : 'X\(//\)$' \| \
27059 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27060 $as_echo X/"$0" |
27061 sed '/^.*\/\([^/][^/]*\)\/*$/{
27062 s//\1/
27065 /^X\/\(\/\/\)$/{
27066 s//\1/
27069 /^X\/\(\/\).*/{
27070 s//\1/
27073 s/.*/./; q'`
27075 # Avoid depending upon Character Ranges.
27076 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27077 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27078 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27079 as_cr_digits='0123456789'
27080 as_cr_alnum=$as_cr_Letters$as_cr_digits
27082 ECHO_C= ECHO_N= ECHO_T=
27083 case `echo -n x` in #(((((
27084 -n*)
27085 case `echo 'xy\c'` in
27086 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27087 xy) ECHO_C='\c';;
27088 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27089 ECHO_T=' ';;
27090 esac;;
27092 ECHO_N='-n';;
27093 esac
27095 rm -f conf$$ conf$$.exe conf$$.file
27096 if test -d conf$$.dir; then
27097 rm -f conf$$.dir/conf$$.file
27098 else
27099 rm -f conf$$.dir
27100 mkdir conf$$.dir 2>/dev/null
27102 if (echo >conf$$.file) 2>/dev/null; then
27103 if ln -s conf$$.file conf$$ 2>/dev/null; then
27104 as_ln_s='ln -s'
27105 # ... but there are two gotchas:
27106 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27107 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27108 # In both cases, we have to default to `cp -p'.
27109 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27110 as_ln_s='cp -p'
27111 elif ln conf$$.file conf$$ 2>/dev/null; then
27112 as_ln_s=ln
27113 else
27114 as_ln_s='cp -p'
27116 else
27117 as_ln_s='cp -p'
27119 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27120 rmdir conf$$.dir 2>/dev/null
27123 # as_fn_mkdir_p
27124 # -------------
27125 # Create "$as_dir" as a directory, including parents if necessary.
27126 as_fn_mkdir_p ()
27129 case $as_dir in #(
27130 -*) as_dir=./$as_dir;;
27131 esac
27132 test -d "$as_dir" || eval $as_mkdir_p || {
27133 as_dirs=
27134 while :; do
27135 case $as_dir in #(
27136 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27137 *) as_qdir=$as_dir;;
27138 esac
27139 as_dirs="'$as_qdir' $as_dirs"
27140 as_dir=`$as_dirname -- "$as_dir" ||
27141 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27142 X"$as_dir" : 'X\(//\)[^/]' \| \
27143 X"$as_dir" : 'X\(//\)$' \| \
27144 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27145 $as_echo X"$as_dir" |
27146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27147 s//\1/
27150 /^X\(\/\/\)[^/].*/{
27151 s//\1/
27154 /^X\(\/\/\)$/{
27155 s//\1/
27158 /^X\(\/\).*/{
27159 s//\1/
27162 s/.*/./; q'`
27163 test -d "$as_dir" && break
27164 done
27165 test -z "$as_dirs" || eval "mkdir $as_dirs"
27166 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
27169 } # as_fn_mkdir_p
27170 if mkdir -p . 2>/dev/null; then
27171 as_mkdir_p='mkdir -p "$as_dir"'
27172 else
27173 test -d ./-p && rmdir ./-p
27174 as_mkdir_p=false
27177 if test -x / >/dev/null 2>&1; then
27178 as_test_x='test -x'
27179 else
27180 if ls -dL / >/dev/null 2>&1; then
27181 as_ls_L_option=L
27182 else
27183 as_ls_L_option=
27185 as_test_x='
27186 eval sh -c '\''
27187 if test -d "$1"; then
27188 test -d "$1/.";
27189 else
27190 case $1 in #(
27191 -*)set "./$1";;
27192 esac;
27193 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27194 ???[sx]*):;;*)false;;esac;fi
27195 '\'' sh
27198 as_executable_p=$as_test_x
27200 # Sed expression to map a string onto a valid CPP name.
27201 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27203 # Sed expression to map a string onto a valid variable name.
27204 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27207 exec 6>&1
27208 ## ----------------------------------- ##
27209 ## Main body of $CONFIG_STATUS script. ##
27210 ## ----------------------------------- ##
27211 _ASEOF
27212 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27215 # Save the log message, to keep $0 and so on meaningful, and to
27216 # report actual input values of CONFIG_FILES etc. instead of their
27217 # values after options handling.
27218 ac_log="
27219 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27220 generated by GNU Autoconf 2.64. Invocation command line was
27222 CONFIG_FILES = $CONFIG_FILES
27223 CONFIG_HEADERS = $CONFIG_HEADERS
27224 CONFIG_LINKS = $CONFIG_LINKS
27225 CONFIG_COMMANDS = $CONFIG_COMMANDS
27226 $ $0 $@
27228 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27231 _ACEOF
27233 case $ac_config_files in *"
27234 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27235 esac
27237 case $ac_config_headers in *"
27238 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27239 esac
27242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27243 # Files that config.status was made for.
27244 config_files="$ac_config_files"
27245 config_headers="$ac_config_headers"
27246 config_commands="$ac_config_commands"
27248 _ACEOF
27250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27251 ac_cs_usage="\
27252 \`$as_me' instantiates files and other configuration actions
27253 from templates according to the current configuration. Unless the files
27254 and actions are specified as TAGs, all are instantiated by default.
27256 Usage: $0 [OPTION]... [TAG]...
27258 -h, --help print this help, then exit
27259 -V, --version print version number and configuration settings, then exit
27260 -q, --quiet, --silent
27261 do not print progress messages
27262 -d, --debug don't remove temporary files
27263 --recheck update $as_me by reconfiguring in the same conditions
27264 --file=FILE[:TEMPLATE]
27265 instantiate the configuration file FILE
27266 --header=FILE[:TEMPLATE]
27267 instantiate the configuration header FILE
27269 Configuration files:
27270 $config_files
27272 Configuration headers:
27273 $config_headers
27275 Configuration commands:
27276 $config_commands
27278 Report bugs to the package provider.
27279 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27280 General help using GNU software: <http://www.gnu.org/gethelp/>."
27282 _ACEOF
27283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27284 ac_cs_version="\\
27285 GNU Fortran Runtime Library config.status 0.3
27286 configured by $0, generated by GNU Autoconf 2.64,
27287 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27289 Copyright (C) 2009 Free Software Foundation, Inc.
27290 This config.status script is free software; the Free Software Foundation
27291 gives unlimited permission to copy, distribute and modify it."
27293 ac_pwd='$ac_pwd'
27294 srcdir='$srcdir'
27295 INSTALL='$INSTALL'
27296 MKDIR_P='$MKDIR_P'
27297 AWK='$AWK'
27298 test -n "\$AWK" || AWK=awk
27299 _ACEOF
27301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27302 # The default lists apply if the user does not specify any file.
27303 ac_need_defaults=:
27304 while test $# != 0
27306 case $1 in
27307 --*=*)
27308 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27309 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27310 ac_shift=:
27313 ac_option=$1
27314 ac_optarg=$2
27315 ac_shift=shift
27317 esac
27319 case $ac_option in
27320 # Handling of the options.
27321 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27322 ac_cs_recheck=: ;;
27323 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27324 $as_echo "$ac_cs_version"; exit ;;
27325 --debug | --debu | --deb | --de | --d | -d )
27326 debug=: ;;
27327 --file | --fil | --fi | --f )
27328 $ac_shift
27329 case $ac_optarg in
27330 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27331 esac
27332 as_fn_append CONFIG_FILES " '$ac_optarg'"
27333 ac_need_defaults=false;;
27334 --header | --heade | --head | --hea )
27335 $ac_shift
27336 case $ac_optarg in
27337 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27338 esac
27339 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27340 ac_need_defaults=false;;
27341 --he | --h)
27342 # Conflict between --help and --header
27343 as_fn_error "ambiguous option: \`$1'
27344 Try \`$0 --help' for more information.";;
27345 --help | --hel | -h )
27346 $as_echo "$ac_cs_usage"; exit ;;
27347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27348 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27349 ac_cs_silent=: ;;
27351 # This is an error.
27352 -*) as_fn_error "unrecognized option: \`$1'
27353 Try \`$0 --help' for more information." ;;
27355 *) as_fn_append ac_config_targets " $1"
27356 ac_need_defaults=false ;;
27358 esac
27359 shift
27360 done
27362 ac_configure_extra_args=
27364 if $ac_cs_silent; then
27365 exec 6>/dev/null
27366 ac_configure_extra_args="$ac_configure_extra_args --silent"
27369 _ACEOF
27370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27371 if \$ac_cs_recheck; then
27372 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27373 shift
27374 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27375 CONFIG_SHELL='$SHELL'
27376 export CONFIG_SHELL
27377 exec "\$@"
27380 _ACEOF
27381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27382 exec 5>>config.log
27384 echo
27385 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27386 ## Running $as_me. ##
27387 _ASBOX
27388 $as_echo "$ac_log"
27389 } >&5
27391 _ACEOF
27392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27394 # INIT-COMMANDS
27397 srcdir="$srcdir"
27398 host="$host"
27399 target="$target"
27400 with_multisubdir="$with_multisubdir"
27401 with_multisrctop="$with_multisrctop"
27402 with_target_subdir="$with_target_subdir"
27403 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27404 multi_basedir="$multi_basedir"
27405 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27406 CC="$CC"
27407 CXX="$CXX"
27408 GFORTRAN="$GFORTRAN"
27409 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27412 # The HP-UX ksh and POSIX shell print the target directory to stdout
27413 # if CDPATH is set.
27414 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27416 sed_quote_subst='$sed_quote_subst'
27417 double_quote_subst='$double_quote_subst'
27418 delay_variable_subst='$delay_variable_subst'
27419 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27420 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27421 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27422 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27423 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27424 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27425 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27426 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27427 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27428 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27429 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27430 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27431 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27432 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27433 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27434 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27435 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27436 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27437 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27438 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27439 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27440 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27441 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27442 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27443 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27444 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27445 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27446 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27447 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27448 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27449 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27450 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27451 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27452 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27453 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27454 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27455 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27456 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27457 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27458 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27459 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27460 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27461 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27462 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27463 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27464 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27465 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27466 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27467 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"`'
27468 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27469 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27470 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27471 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27472 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27473 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27474 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27475 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27476 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27477 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27478 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27479 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27480 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27481 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27482 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27483 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27484 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27485 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27486 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27487 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27488 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27489 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27490 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27491 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27492 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27493 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27494 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27495 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27496 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27497 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27498 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27499 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27500 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27501 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27502 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27503 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27504 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27505 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27506 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27507 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27508 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27509 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27510 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27511 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27512 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27513 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27514 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27515 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27516 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27517 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27518 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27519 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27520 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27521 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27522 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27523 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27524 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27525 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27526 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27527 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27528 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27529 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27530 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27531 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27532 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27533 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27534 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27535 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27536 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27537 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27538 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27539 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27540 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27541 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27542 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27543 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27544 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27545 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27546 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27547 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27548 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27549 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27550 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27551 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27552 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27553 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27554 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27555 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27556 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27557 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27558 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27559 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27560 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27561 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27562 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27563 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27564 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27565 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27566 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27567 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27568 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27569 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27570 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27571 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27572 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27573 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27574 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27575 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27576 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27577 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27578 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27579 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27580 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27581 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27582 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27583 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27584 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27585 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27586 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27587 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27588 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27589 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27590 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27591 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27592 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27593 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27595 LTCC='$LTCC'
27596 LTCFLAGS='$LTCFLAGS'
27597 compiler='$compiler_DEFAULT'
27599 # A function that is used when there is no print builtin or printf.
27600 func_fallback_echo ()
27602 eval 'cat <<_LTECHO_EOF
27604 _LTECHO_EOF'
27607 # Quote evaled strings.
27608 for var in SED \
27609 GREP \
27610 EGREP \
27611 FGREP \
27612 SHELL \
27613 ECHO \
27614 LD \
27615 NM \
27616 LN_S \
27617 lt_SP2NL \
27618 lt_NL2SP \
27619 reload_flag \
27620 OBJDUMP \
27621 deplibs_check_method \
27622 file_magic_cmd \
27623 AR \
27624 AR_FLAGS \
27625 STRIP \
27626 RANLIB \
27627 CC \
27628 CFLAGS \
27629 compiler \
27630 lt_cv_sys_global_symbol_pipe \
27631 lt_cv_sys_global_symbol_to_cdecl \
27632 lt_cv_sys_global_symbol_to_c_name_address \
27633 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27634 lt_prog_compiler_no_builtin_flag \
27635 lt_prog_compiler_wl \
27636 lt_prog_compiler_pic \
27637 lt_prog_compiler_static \
27638 lt_cv_prog_compiler_c_o \
27639 need_locks \
27640 DSYMUTIL \
27641 NMEDIT \
27642 LIPO \
27643 OTOOL \
27644 OTOOL64 \
27645 shrext_cmds \
27646 export_dynamic_flag_spec \
27647 whole_archive_flag_spec \
27648 compiler_needs_object \
27649 with_gnu_ld \
27650 allow_undefined_flag \
27651 no_undefined_flag \
27652 hardcode_libdir_flag_spec \
27653 hardcode_libdir_flag_spec_ld \
27654 hardcode_libdir_separator \
27655 fix_srcfile_path \
27656 exclude_expsyms \
27657 include_expsyms \
27658 file_list_spec \
27659 variables_saved_for_relink \
27660 libname_spec \
27661 library_names_spec \
27662 soname_spec \
27663 install_override_mode \
27664 finish_eval \
27665 old_striplib \
27666 striplib \
27667 compiler_lib_search_dirs \
27668 predep_objects \
27669 postdep_objects \
27670 predeps \
27671 postdeps \
27672 compiler_lib_search_path \
27673 LD_FC \
27674 reload_flag_FC \
27675 compiler_FC \
27676 lt_prog_compiler_no_builtin_flag_FC \
27677 lt_prog_compiler_wl_FC \
27678 lt_prog_compiler_pic_FC \
27679 lt_prog_compiler_static_FC \
27680 lt_cv_prog_compiler_c_o_FC \
27681 export_dynamic_flag_spec_FC \
27682 whole_archive_flag_spec_FC \
27683 compiler_needs_object_FC \
27684 with_gnu_ld_FC \
27685 allow_undefined_flag_FC \
27686 no_undefined_flag_FC \
27687 hardcode_libdir_flag_spec_FC \
27688 hardcode_libdir_flag_spec_ld_FC \
27689 hardcode_libdir_separator_FC \
27690 fix_srcfile_path_FC \
27691 exclude_expsyms_FC \
27692 include_expsyms_FC \
27693 file_list_spec_FC \
27694 compiler_lib_search_dirs_FC \
27695 predep_objects_FC \
27696 postdep_objects_FC \
27697 predeps_FC \
27698 postdeps_FC \
27699 compiler_lib_search_path_FC; do
27700 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27701 *[\\\\\\\`\\"\\\$]*)
27702 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27705 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27707 esac
27708 done
27710 # Double-quote double-evaled strings.
27711 for var in reload_cmds \
27712 old_postinstall_cmds \
27713 old_postuninstall_cmds \
27714 old_archive_cmds \
27715 extract_expsyms_cmds \
27716 old_archive_from_new_cmds \
27717 old_archive_from_expsyms_cmds \
27718 archive_cmds \
27719 archive_expsym_cmds \
27720 module_cmds \
27721 module_expsym_cmds \
27722 export_symbols_cmds \
27723 prelink_cmds \
27724 postinstall_cmds \
27725 postuninstall_cmds \
27726 finish_cmds \
27727 sys_lib_search_path_spec \
27728 sys_lib_dlsearch_path_spec \
27729 reload_cmds_FC \
27730 old_archive_cmds_FC \
27731 old_archive_from_new_cmds_FC \
27732 old_archive_from_expsyms_cmds_FC \
27733 archive_cmds_FC \
27734 archive_expsym_cmds_FC \
27735 module_cmds_FC \
27736 module_expsym_cmds_FC \
27737 export_symbols_cmds_FC \
27738 prelink_cmds_FC; do
27739 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27740 *[\\\\\\\`\\"\\\$]*)
27741 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27744 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27746 esac
27747 done
27749 ac_aux_dir='$ac_aux_dir'
27750 xsi_shell='$xsi_shell'
27751 lt_shell_append='$lt_shell_append'
27753 # See if we are running on zsh, and set the options which allow our
27754 # commands through without removal of \ escapes INIT.
27755 if test -n "\${ZSH_VERSION+set}" ; then
27756 setopt NO_GLOB_SUBST
27760 PACKAGE='$PACKAGE'
27761 VERSION='$VERSION'
27762 TIMESTAMP='$TIMESTAMP'
27763 RM='$RM'
27764 ofile='$ofile'
27771 GCC="$GCC"
27772 CC="$CC"
27773 acx_cv_header_stdint="$acx_cv_header_stdint"
27774 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27775 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27776 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27777 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27778 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27779 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27780 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27781 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27782 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27783 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27784 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27785 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27786 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27789 _ACEOF
27791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27793 # Handling of arguments.
27794 for ac_config_target in $ac_config_targets
27796 case $ac_config_target in
27797 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27798 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27799 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27800 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27801 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27802 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27803 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27805 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27806 esac
27807 done
27810 # If the user did not use the arguments to specify the items to instantiate,
27811 # then the envvar interface is used. Set only those that are not.
27812 # We use the long form for the default assignment because of an extremely
27813 # bizarre bug on SunOS 4.1.3.
27814 if $ac_need_defaults; then
27815 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27816 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27817 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27820 # Have a temporary directory for convenience. Make it in the build tree
27821 # simply because there is no reason against having it here, and in addition,
27822 # creating and moving files from /tmp can sometimes cause problems.
27823 # Hook for its removal unless debugging.
27824 # Note that there is a small window in which the directory will not be cleaned:
27825 # after its creation but before its name has been assigned to `$tmp'.
27826 $debug ||
27828 tmp=
27829 trap 'exit_status=$?
27830 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27832 trap 'as_fn_exit 1' 1 2 13 15
27834 # Create a (secure) tmp directory for tmp files.
27837 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27838 test -n "$tmp" && test -d "$tmp"
27839 } ||
27841 tmp=./conf$$-$RANDOM
27842 (umask 077 && mkdir "$tmp")
27843 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27845 # Set up the scripts for CONFIG_FILES section.
27846 # No need to generate them if there are no CONFIG_FILES.
27847 # This happens for instance with `./config.status config.h'.
27848 if test -n "$CONFIG_FILES"; then
27851 ac_cr=`echo X | tr X '\015'`
27852 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27853 # But we know of no other shell where ac_cr would be empty at this
27854 # point, so we can use a bashism as a fallback.
27855 if test "x$ac_cr" = x; then
27856 eval ac_cr=\$\'\\r\'
27858 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27859 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27860 ac_cs_awk_cr='\r'
27861 else
27862 ac_cs_awk_cr=$ac_cr
27865 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27866 _ACEOF
27870 echo "cat >conf$$subs.awk <<_ACEOF" &&
27871 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27872 echo "_ACEOF"
27873 } >conf$$subs.sh ||
27874 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27875 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27876 ac_delim='%!_!# '
27877 for ac_last_try in false false false false false :; do
27878 . ./conf$$subs.sh ||
27879 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27881 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27882 if test $ac_delim_n = $ac_delim_num; then
27883 break
27884 elif $ac_last_try; then
27885 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27886 else
27887 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27889 done
27890 rm -f conf$$subs.sh
27892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27893 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27894 _ACEOF
27895 sed -n '
27897 s/^/S["/; s/!.*/"]=/
27900 s/^[^!]*!//
27901 :repl
27902 t repl
27903 s/'"$ac_delim"'$//
27904 t delim
27907 s/\(.\{148\}\).*/\1/
27908 t more1
27909 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27912 b repl
27913 :more1
27914 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27917 s/.\{148\}//
27918 t nl
27919 :delim
27921 s/\(.\{148\}\).*/\1/
27922 t more2
27923 s/["\\]/\\&/g; s/^/"/; s/$/"/
27926 :more2
27927 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27930 s/.\{148\}//
27931 t delim
27932 ' <conf$$subs.awk | sed '
27933 /^[^""]/{
27935 s/\n//
27937 ' >>$CONFIG_STATUS || ac_write_fail=1
27938 rm -f conf$$subs.awk
27939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27940 _ACAWK
27941 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27942 for (key in S) S_is_set[key] = 1
27943 FS = "\a"
27947 line = $ 0
27948 nfields = split(line, field, "@")
27949 substed = 0
27950 len = length(field[1])
27951 for (i = 2; i < nfields; i++) {
27952 key = field[i]
27953 keylen = length(key)
27954 if (S_is_set[key]) {
27955 value = S[key]
27956 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27957 len += length(value) + length(field[++i])
27958 substed = 1
27959 } else
27960 len += 1 + keylen
27963 print line
27966 _ACAWK
27967 _ACEOF
27968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27969 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27970 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27971 else
27973 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27974 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27975 _ACEOF
27977 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27978 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27979 # trailing colons and then remove the whole line if VPATH becomes empty
27980 # (actually we leave an empty line to preserve line numbers).
27981 if test "x$srcdir" = x.; then
27982 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27983 s/:*\$(srcdir):*/:/
27984 s/:*\${srcdir}:*/:/
27985 s/:*@srcdir@:*/:/
27986 s/^\([^=]*=[ ]*\):*/\1/
27987 s/:*$//
27988 s/^[^=]*=[ ]*$//
27992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27993 fi # test -n "$CONFIG_FILES"
27995 # Set up the scripts for CONFIG_HEADERS section.
27996 # No need to generate them if there are no CONFIG_HEADERS.
27997 # This happens for instance with `./config.status Makefile'.
27998 if test -n "$CONFIG_HEADERS"; then
27999 cat >"$tmp/defines.awk" <<\_ACAWK ||
28000 BEGIN {
28001 _ACEOF
28003 # Transform confdefs.h into an awk script `defines.awk', embedded as
28004 # here-document in config.status, that substitutes the proper values into
28005 # config.h.in to produce config.h.
28007 # Create a delimiter string that does not exist in confdefs.h, to ease
28008 # handling of long lines.
28009 ac_delim='%!_!# '
28010 for ac_last_try in false false :; do
28011 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
28012 if test -z "$ac_t"; then
28013 break
28014 elif $ac_last_try; then
28015 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
28016 else
28017 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28019 done
28021 # For the awk script, D is an array of macro values keyed by name,
28022 # likewise P contains macro parameters if any. Preserve backslash
28023 # newline sequences.
28025 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28026 sed -n '
28027 s/.\{148\}/&'"$ac_delim"'/g
28028 t rset
28029 :rset
28030 s/^[ ]*#[ ]*define[ ][ ]*/ /
28031 t def
28033 :def
28034 s/\\$//
28035 t bsnl
28036 s/["\\]/\\&/g
28037 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28038 D["\1"]=" \3"/p
28039 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
28041 :bsnl
28042 s/["\\]/\\&/g
28043 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28044 D["\1"]=" \3\\\\\\n"\\/p
28045 t cont
28046 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28047 t cont
28049 :cont
28051 s/.\{148\}/&'"$ac_delim"'/g
28052 t clear
28053 :clear
28054 s/\\$//
28055 t bsnlc
28056 s/["\\]/\\&/g; s/^/"/; s/$/"/p
28058 :bsnlc
28059 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28060 b cont
28061 ' <confdefs.h | sed '
28062 s/'"$ac_delim"'/"\\\
28063 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28066 for (key in D) D_is_set[key] = 1
28067 FS = "\a"
28069 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28070 line = \$ 0
28071 split(line, arg, " ")
28072 if (arg[1] == "#") {
28073 defundef = arg[2]
28074 mac1 = arg[3]
28075 } else {
28076 defundef = substr(arg[1], 2)
28077 mac1 = arg[2]
28079 split(mac1, mac2, "(") #)
28080 macro = mac2[1]
28081 prefix = substr(line, 1, index(line, defundef) - 1)
28082 if (D_is_set[macro]) {
28083 # Preserve the white space surrounding the "#".
28084 print prefix "define", macro P[macro] D[macro]
28085 next
28086 } else {
28087 # Replace #undef with comments. This is necessary, for example,
28088 # in the case of _POSIX_SOURCE, which is predefined and required
28089 # on some systems where configure will not decide to define it.
28090 if (defundef == "undef") {
28091 print "/*", prefix defundef, macro, "*/"
28092 next
28096 { print }
28097 _ACAWK
28098 _ACEOF
28099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28100 as_fn_error "could not setup config headers machinery" "$LINENO" 5
28101 fi # test -n "$CONFIG_HEADERS"
28104 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28105 shift
28106 for ac_tag
28108 case $ac_tag in
28109 :[FHLC]) ac_mode=$ac_tag; continue;;
28110 esac
28111 case $ac_mode$ac_tag in
28112 :[FHL]*:*);;
28113 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
28114 :[FH]-) ac_tag=-:-;;
28115 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28116 esac
28117 ac_save_IFS=$IFS
28118 IFS=:
28119 set x $ac_tag
28120 IFS=$ac_save_IFS
28121 shift
28122 ac_file=$1
28123 shift
28125 case $ac_mode in
28126 :L) ac_source=$1;;
28127 :[FH])
28128 ac_file_inputs=
28129 for ac_f
28131 case $ac_f in
28132 -) ac_f="$tmp/stdin";;
28133 *) # Look for the file first in the build tree, then in the source tree
28134 # (if the path is not absolute). The absolute path cannot be DOS-style,
28135 # because $ac_f cannot contain `:'.
28136 test -f "$ac_f" ||
28137 case $ac_f in
28138 [\\/$]*) false;;
28139 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28140 esac ||
28141 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28142 esac
28143 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28144 as_fn_append ac_file_inputs " '$ac_f'"
28145 done
28147 # Let's still pretend it is `configure' which instantiates (i.e., don't
28148 # use $as_me), people would be surprised to read:
28149 # /* config.h. Generated by config.status. */
28150 configure_input='Generated from '`
28151 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28152 `' by configure.'
28153 if test x"$ac_file" != x-; then
28154 configure_input="$ac_file. $configure_input"
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28156 $as_echo "$as_me: creating $ac_file" >&6;}
28158 # Neutralize special characters interpreted by sed in replacement strings.
28159 case $configure_input in #(
28160 *\&* | *\|* | *\\* )
28161 ac_sed_conf_input=`$as_echo "$configure_input" |
28162 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28163 *) ac_sed_conf_input=$configure_input;;
28164 esac
28166 case $ac_tag in
28167 *:-:* | *:-) cat >"$tmp/stdin" \
28168 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
28169 esac
28171 esac
28173 ac_dir=`$as_dirname -- "$ac_file" ||
28174 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28175 X"$ac_file" : 'X\(//\)[^/]' \| \
28176 X"$ac_file" : 'X\(//\)$' \| \
28177 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28178 $as_echo X"$ac_file" |
28179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28180 s//\1/
28183 /^X\(\/\/\)[^/].*/{
28184 s//\1/
28187 /^X\(\/\/\)$/{
28188 s//\1/
28191 /^X\(\/\).*/{
28192 s//\1/
28195 s/.*/./; q'`
28196 as_dir="$ac_dir"; as_fn_mkdir_p
28197 ac_builddir=.
28199 case "$ac_dir" in
28200 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28202 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28203 # A ".." for each directory in $ac_dir_suffix.
28204 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28205 case $ac_top_builddir_sub in
28206 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28207 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28208 esac ;;
28209 esac
28210 ac_abs_top_builddir=$ac_pwd
28211 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28212 # for backward compatibility:
28213 ac_top_builddir=$ac_top_build_prefix
28215 case $srcdir in
28216 .) # We are building in place.
28217 ac_srcdir=.
28218 ac_top_srcdir=$ac_top_builddir_sub
28219 ac_abs_top_srcdir=$ac_pwd ;;
28220 [\\/]* | ?:[\\/]* ) # Absolute name.
28221 ac_srcdir=$srcdir$ac_dir_suffix;
28222 ac_top_srcdir=$srcdir
28223 ac_abs_top_srcdir=$srcdir ;;
28224 *) # Relative name.
28225 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28226 ac_top_srcdir=$ac_top_build_prefix$srcdir
28227 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28228 esac
28229 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28232 case $ac_mode in
28235 # CONFIG_FILE
28238 case $INSTALL in
28239 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28240 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28241 esac
28242 ac_MKDIR_P=$MKDIR_P
28243 case $MKDIR_P in
28244 [\\/$]* | ?:[\\/]* ) ;;
28245 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28246 esac
28247 _ACEOF
28249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28250 # If the template does not know about datarootdir, expand it.
28251 # FIXME: This hack should be removed a few years after 2.60.
28252 ac_datarootdir_hack=; ac_datarootdir_seen=
28253 ac_sed_dataroot='
28254 /datarootdir/ {
28258 /@datadir@/p
28259 /@docdir@/p
28260 /@infodir@/p
28261 /@localedir@/p
28262 /@mandir@/p'
28263 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28264 *datarootdir*) ac_datarootdir_seen=yes;;
28265 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28267 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28268 _ACEOF
28269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28270 ac_datarootdir_hack='
28271 s&@datadir@&$datadir&g
28272 s&@docdir@&$docdir&g
28273 s&@infodir@&$infodir&g
28274 s&@localedir@&$localedir&g
28275 s&@mandir@&$mandir&g
28276 s&\\\${datarootdir}&$datarootdir&g' ;;
28277 esac
28278 _ACEOF
28280 # Neutralize VPATH when `$srcdir' = `.'.
28281 # Shell code in configure.ac might set extrasub.
28282 # FIXME: do we really want to maintain this feature?
28283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28284 ac_sed_extra="$ac_vpsub
28285 $extrasub
28286 _ACEOF
28287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28289 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28290 s|@configure_input@|$ac_sed_conf_input|;t t
28291 s&@top_builddir@&$ac_top_builddir_sub&;t t
28292 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28293 s&@srcdir@&$ac_srcdir&;t t
28294 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28295 s&@top_srcdir@&$ac_top_srcdir&;t t
28296 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28297 s&@builddir@&$ac_builddir&;t t
28298 s&@abs_builddir@&$ac_abs_builddir&;t t
28299 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28300 s&@INSTALL@&$ac_INSTALL&;t t
28301 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28302 $ac_datarootdir_hack
28304 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28305 || as_fn_error "could not create $ac_file" "$LINENO" 5
28307 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28308 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28309 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28311 which seems to be undefined. Please make sure it is defined." >&5
28312 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28313 which seems to be undefined. Please make sure it is defined." >&2;}
28315 rm -f "$tmp/stdin"
28316 case $ac_file in
28317 -) cat "$tmp/out" && rm -f "$tmp/out";;
28318 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28319 esac \
28320 || as_fn_error "could not create $ac_file" "$LINENO" 5
28324 # CONFIG_HEADER
28326 if test x"$ac_file" != x-; then
28328 $as_echo "/* $configure_input */" \
28329 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28330 } >"$tmp/config.h" \
28331 || as_fn_error "could not create $ac_file" "$LINENO" 5
28332 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28334 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28335 else
28336 rm -f "$ac_file"
28337 mv "$tmp/config.h" "$ac_file" \
28338 || as_fn_error "could not create $ac_file" "$LINENO" 5
28340 else
28341 $as_echo "/* $configure_input */" \
28342 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28343 || as_fn_error "could not create -" "$LINENO" 5
28345 # Compute "$ac_file"'s index in $config_headers.
28346 _am_arg="$ac_file"
28347 _am_stamp_count=1
28348 for _am_header in $config_headers :; do
28349 case $_am_header in
28350 $_am_arg | $_am_arg:* )
28351 break ;;
28353 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28354 esac
28355 done
28356 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28357 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28358 X"$_am_arg" : 'X\(//\)[^/]' \| \
28359 X"$_am_arg" : 'X\(//\)$' \| \
28360 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28361 $as_echo X"$_am_arg" |
28362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28363 s//\1/
28366 /^X\(\/\/\)[^/].*/{
28367 s//\1/
28370 /^X\(\/\/\)$/{
28371 s//\1/
28374 /^X\(\/\).*/{
28375 s//\1/
28378 s/.*/./; q'`/stamp-h$_am_stamp_count
28381 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28382 $as_echo "$as_me: executing $ac_file commands" >&6;}
28384 esac
28387 case $ac_file$ac_mode in
28388 "default-1":C)
28389 # Only add multilib support code if we just rebuilt the top-level
28390 # Makefile.
28391 case " $CONFIG_FILES " in
28392 *" Makefile "*)
28393 ac_file=Makefile . ${multi_basedir}/config-ml.in
28395 esac ;;
28396 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28397 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28398 # are listed without --file. Let's play safe and only enable the eval
28399 # if we detect the quoting.
28400 case $CONFIG_FILES in
28401 *\'*) eval set x "$CONFIG_FILES" ;;
28402 *) set x $CONFIG_FILES ;;
28403 esac
28404 shift
28405 for mf
28407 # Strip MF so we end up with the name of the file.
28408 mf=`echo "$mf" | sed -e 's/:.*$//'`
28409 # Check whether this is an Automake generated Makefile or not.
28410 # We used to match only the files named `Makefile.in', but
28411 # some people rename them; so instead we look at the file content.
28412 # Grep'ing the first line is not enough: some people post-process
28413 # each Makefile.in and add a new line on top of each file to say so.
28414 # Grep'ing the whole file is not good either: AIX grep has a line
28415 # limit of 2048, but all sed's we know have understand at least 4000.
28416 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28417 dirpart=`$as_dirname -- "$mf" ||
28418 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28419 X"$mf" : 'X\(//\)[^/]' \| \
28420 X"$mf" : 'X\(//\)$' \| \
28421 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28422 $as_echo X"$mf" |
28423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28424 s//\1/
28427 /^X\(\/\/\)[^/].*/{
28428 s//\1/
28431 /^X\(\/\/\)$/{
28432 s//\1/
28435 /^X\(\/\).*/{
28436 s//\1/
28439 s/.*/./; q'`
28440 else
28441 continue
28443 # Extract the definition of DEPDIR, am__include, and am__quote
28444 # from the Makefile without running `make'.
28445 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28446 test -z "$DEPDIR" && continue
28447 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28448 test -z "am__include" && continue
28449 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28450 # When using ansi2knr, U may be empty or an underscore; expand it
28451 U=`sed -n 's/^U = //p' < "$mf"`
28452 # Find all dependency output files, they are included files with
28453 # $(DEPDIR) in their names. We invoke sed twice because it is the
28454 # simplest approach to changing $(DEPDIR) to its actual value in the
28455 # expansion.
28456 for file in `sed -n "
28457 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28458 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28459 # Make sure the directory exists.
28460 test -f "$dirpart/$file" && continue
28461 fdir=`$as_dirname -- "$file" ||
28462 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28463 X"$file" : 'X\(//\)[^/]' \| \
28464 X"$file" : 'X\(//\)$' \| \
28465 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28466 $as_echo X"$file" |
28467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28468 s//\1/
28471 /^X\(\/\/\)[^/].*/{
28472 s//\1/
28475 /^X\(\/\/\)$/{
28476 s//\1/
28479 /^X\(\/\).*/{
28480 s//\1/
28483 s/.*/./; q'`
28484 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28485 # echo "creating $dirpart/$file"
28486 echo '# dummy' > "$dirpart/$file"
28487 done
28488 done
28491 "libtool":C)
28493 # See if we are running on zsh, and set the options which allow our
28494 # commands through without removal of \ escapes.
28495 if test -n "${ZSH_VERSION+set}" ; then
28496 setopt NO_GLOB_SUBST
28499 cfgfile="${ofile}T"
28500 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28501 $RM "$cfgfile"
28503 cat <<_LT_EOF >> "$cfgfile"
28504 #! $SHELL
28506 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28507 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28508 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28509 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28511 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28512 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28513 # Written by Gordon Matzigkeit, 1996
28515 # This file is part of GNU Libtool.
28517 # GNU Libtool is free software; you can redistribute it and/or
28518 # modify it under the terms of the GNU General Public License as
28519 # published by the Free Software Foundation; either version 2 of
28520 # the License, or (at your option) any later version.
28522 # As a special exception to the GNU General Public License,
28523 # if you distribute this file as part of a program or library that
28524 # is built using GNU Libtool, you may include this file under the
28525 # same distribution terms that you use for the rest of that program.
28527 # GNU Libtool is distributed in the hope that it will be useful,
28528 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28529 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28530 # GNU General Public License for more details.
28532 # You should have received a copy of the GNU General Public License
28533 # along with GNU Libtool; see the file COPYING. If not, a copy
28534 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28535 # obtained by writing to the Free Software Foundation, Inc.,
28536 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28539 # The names of the tagged configurations supported by this script.
28540 available_tags="FC "
28542 # ### BEGIN LIBTOOL CONFIG
28544 # A sed program that does not truncate output.
28545 SED=$lt_SED
28547 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28548 Xsed="\$SED -e 1s/^X//"
28550 # A grep program that handles long lines.
28551 GREP=$lt_GREP
28553 # An ERE matcher.
28554 EGREP=$lt_EGREP
28556 # A literal string matcher.
28557 FGREP=$lt_FGREP
28559 # Shell to use when invoking shell scripts.
28560 SHELL=$lt_SHELL
28562 # An echo program that protects backslashes.
28563 ECHO=$lt_ECHO
28565 # Which release of libtool.m4 was used?
28566 macro_version=$macro_version
28567 macro_revision=$macro_revision
28569 # Whether or not to build shared libraries.
28570 build_libtool_libs=$enable_shared
28572 # Whether or not to build static libraries.
28573 build_old_libs=$enable_static
28575 # What type of objects to build.
28576 pic_mode=$pic_mode
28578 # Whether or not to optimize for fast installation.
28579 fast_install=$enable_fast_install
28581 # The host system.
28582 host_alias=$host_alias
28583 host=$host
28584 host_os=$host_os
28586 # The build system.
28587 build_alias=$build_alias
28588 build=$build
28589 build_os=$build_os
28591 # A BSD- or MS-compatible name lister.
28592 NM=$lt_NM
28594 # Whether we need soft or hard links.
28595 LN_S=$lt_LN_S
28597 # What is the maximum length of a command?
28598 max_cmd_len=$max_cmd_len
28600 # Object file suffix (normally "o").
28601 objext=$ac_objext
28603 # Executable file suffix (normally "").
28604 exeext=$exeext
28606 # whether the shell understands "unset".
28607 lt_unset=$lt_unset
28609 # turn spaces into newlines.
28610 SP2NL=$lt_lt_SP2NL
28612 # turn newlines into spaces.
28613 NL2SP=$lt_lt_NL2SP
28615 # An object symbol dumper.
28616 OBJDUMP=$lt_OBJDUMP
28618 # Method to check whether dependent libraries are shared objects.
28619 deplibs_check_method=$lt_deplibs_check_method
28621 # Command to use when deplibs_check_method == "file_magic".
28622 file_magic_cmd=$lt_file_magic_cmd
28624 # The archiver.
28625 AR=$lt_AR
28626 AR_FLAGS=$lt_AR_FLAGS
28628 # A symbol stripping program.
28629 STRIP=$lt_STRIP
28631 # Commands used to install an old-style archive.
28632 RANLIB=$lt_RANLIB
28633 old_postinstall_cmds=$lt_old_postinstall_cmds
28634 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28636 # Whether to use a lock for old archive extraction.
28637 lock_old_archive_extraction=$lock_old_archive_extraction
28639 # A C compiler.
28640 LTCC=$lt_CC
28642 # LTCC compiler flags.
28643 LTCFLAGS=$lt_CFLAGS
28645 # Take the output of nm and produce a listing of raw symbols and C names.
28646 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28648 # Transform the output of nm in a proper C declaration.
28649 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28651 # Transform the output of nm in a C name address pair.
28652 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28654 # Transform the output of nm in a C name address pair when lib prefix is needed.
28655 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28657 # The name of the directory that contains temporary libtool files.
28658 objdir=$objdir
28660 # Used to examine libraries when file_magic_cmd begins with "file".
28661 MAGIC_CMD=$MAGIC_CMD
28663 # Must we lock files when doing compilation?
28664 need_locks=$lt_need_locks
28666 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28667 DSYMUTIL=$lt_DSYMUTIL
28669 # Tool to change global to local symbols on Mac OS X.
28670 NMEDIT=$lt_NMEDIT
28672 # Tool to manipulate fat objects and archives on Mac OS X.
28673 LIPO=$lt_LIPO
28675 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28676 OTOOL=$lt_OTOOL
28678 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28679 OTOOL64=$lt_OTOOL64
28681 # Old archive suffix (normally "a").
28682 libext=$libext
28684 # Shared library suffix (normally ".so").
28685 shrext_cmds=$lt_shrext_cmds
28687 # The commands to extract the exported symbol list from a shared archive.
28688 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28690 # Variables whose values should be saved in libtool wrapper scripts and
28691 # restored at link time.
28692 variables_saved_for_relink=$lt_variables_saved_for_relink
28694 # Do we need the "lib" prefix for modules?
28695 need_lib_prefix=$need_lib_prefix
28697 # Do we need a version for libraries?
28698 need_version=$need_version
28700 # Library versioning type.
28701 version_type=$version_type
28703 # Shared library runtime path variable.
28704 runpath_var=$runpath_var
28706 # Shared library path variable.
28707 shlibpath_var=$shlibpath_var
28709 # Is shlibpath searched before the hard-coded library search path?
28710 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28712 # Format of library name prefix.
28713 libname_spec=$lt_libname_spec
28715 # List of archive names. First name is the real one, the rest are links.
28716 # The last name is the one that the linker finds with -lNAME
28717 library_names_spec=$lt_library_names_spec
28719 # The coded name of the library, if different from the real name.
28720 soname_spec=$lt_soname_spec
28722 # Permission mode override for installation of shared libraries.
28723 install_override_mode=$lt_install_override_mode
28725 # Command to use after installation of a shared archive.
28726 postinstall_cmds=$lt_postinstall_cmds
28728 # Command to use after uninstallation of a shared archive.
28729 postuninstall_cmds=$lt_postuninstall_cmds
28731 # Commands used to finish a libtool library installation in a directory.
28732 finish_cmds=$lt_finish_cmds
28734 # As "finish_cmds", except a single script fragment to be evaled but
28735 # not shown.
28736 finish_eval=$lt_finish_eval
28738 # Whether we should hardcode library paths into libraries.
28739 hardcode_into_libs=$hardcode_into_libs
28741 # Compile-time system search path for libraries.
28742 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28744 # Run-time system search path for libraries.
28745 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28747 # Whether dlopen is supported.
28748 dlopen_support=$enable_dlopen
28750 # Whether dlopen of programs is supported.
28751 dlopen_self=$enable_dlopen_self
28753 # Whether dlopen of statically linked programs is supported.
28754 dlopen_self_static=$enable_dlopen_self_static
28756 # Commands to strip libraries.
28757 old_striplib=$lt_old_striplib
28758 striplib=$lt_striplib
28761 # The linker used to build libraries.
28762 LD=$lt_LD
28764 # How to create reloadable object files.
28765 reload_flag=$lt_reload_flag
28766 reload_cmds=$lt_reload_cmds
28768 # Commands used to build an old-style archive.
28769 old_archive_cmds=$lt_old_archive_cmds
28771 # A language specific compiler.
28772 CC=$lt_compiler
28774 # Is the compiler the GNU compiler?
28775 with_gcc=$GCC
28777 # Compiler flag to turn off builtin functions.
28778 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28780 # How to pass a linker flag through the compiler.
28781 wl=$lt_lt_prog_compiler_wl
28783 # Additional compiler flags for building library objects.
28784 pic_flag=$lt_lt_prog_compiler_pic
28786 # Compiler flag to prevent dynamic linking.
28787 link_static_flag=$lt_lt_prog_compiler_static
28789 # Does compiler simultaneously support -c and -o options?
28790 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28792 # Whether or not to add -lc for building shared libraries.
28793 build_libtool_need_lc=$archive_cmds_need_lc
28795 # Whether or not to disallow shared libs when runtime libs are static.
28796 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28798 # Compiler flag to allow reflexive dlopens.
28799 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28801 # Compiler flag to generate shared objects directly from archives.
28802 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28804 # Whether the compiler copes with passing no objects directly.
28805 compiler_needs_object=$lt_compiler_needs_object
28807 # Create an old-style archive from a shared archive.
28808 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28810 # Create a temporary old-style archive to link instead of a shared archive.
28811 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28813 # Commands used to build a shared archive.
28814 archive_cmds=$lt_archive_cmds
28815 archive_expsym_cmds=$lt_archive_expsym_cmds
28817 # Commands used to build a loadable module if different from building
28818 # a shared archive.
28819 module_cmds=$lt_module_cmds
28820 module_expsym_cmds=$lt_module_expsym_cmds
28822 # Whether we are building with GNU ld or not.
28823 with_gnu_ld=$lt_with_gnu_ld
28825 # Flag that allows shared libraries with undefined symbols to be built.
28826 allow_undefined_flag=$lt_allow_undefined_flag
28828 # Flag that enforces no undefined symbols.
28829 no_undefined_flag=$lt_no_undefined_flag
28831 # Flag to hardcode \$libdir into a binary during linking.
28832 # This must work even if \$libdir does not exist
28833 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28835 # If ld is used when linking, flag to hardcode \$libdir into a binary
28836 # during linking. This must work even if \$libdir does not exist.
28837 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28839 # Whether we need a single "-rpath" flag with a separated argument.
28840 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28842 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28843 # DIR into the resulting binary.
28844 hardcode_direct=$hardcode_direct
28846 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28847 # DIR into the resulting binary and the resulting library dependency is
28848 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28849 # library is relocated.
28850 hardcode_direct_absolute=$hardcode_direct_absolute
28852 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28853 # into the resulting binary.
28854 hardcode_minus_L=$hardcode_minus_L
28856 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28857 # into the resulting binary.
28858 hardcode_shlibpath_var=$hardcode_shlibpath_var
28860 # Set to "yes" if building a shared library automatically hardcodes DIR
28861 # into the library and all subsequent libraries and executables linked
28862 # against it.
28863 hardcode_automatic=$hardcode_automatic
28865 # Set to yes if linker adds runtime paths of dependent libraries
28866 # to runtime path list.
28867 inherit_rpath=$inherit_rpath
28869 # Whether libtool must link a program against all its dependency libraries.
28870 link_all_deplibs=$link_all_deplibs
28872 # Fix the shell variable \$srcfile for the compiler.
28873 fix_srcfile_path=$lt_fix_srcfile_path
28875 # Set to "yes" if exported symbols are required.
28876 always_export_symbols=$always_export_symbols
28878 # The commands to list exported symbols.
28879 export_symbols_cmds=$lt_export_symbols_cmds
28881 # Symbols that should not be listed in the preloaded symbols.
28882 exclude_expsyms=$lt_exclude_expsyms
28884 # Symbols that must always be exported.
28885 include_expsyms=$lt_include_expsyms
28887 # Commands necessary for linking programs (against libraries) with templates.
28888 prelink_cmds=$lt_prelink_cmds
28890 # Specify filename containing input files.
28891 file_list_spec=$lt_file_list_spec
28893 # How to hardcode a shared library path into an executable.
28894 hardcode_action=$hardcode_action
28896 # The directories searched by this compiler when creating a shared library.
28897 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28899 # Dependencies to place before and after the objects being linked to
28900 # create a shared library.
28901 predep_objects=$lt_predep_objects
28902 postdep_objects=$lt_postdep_objects
28903 predeps=$lt_predeps
28904 postdeps=$lt_postdeps
28906 # The library search path used internally by the compiler when linking
28907 # a shared library.
28908 compiler_lib_search_path=$lt_compiler_lib_search_path
28910 # ### END LIBTOOL CONFIG
28912 _LT_EOF
28914 case $host_os in
28915 aix3*)
28916 cat <<\_LT_EOF >> "$cfgfile"
28917 # AIX sometimes has problems with the GCC collect2 program. For some
28918 # reason, if we set the COLLECT_NAMES environment variable, the problems
28919 # vanish in a puff of smoke.
28920 if test "X${COLLECT_NAMES+set}" != Xset; then
28921 COLLECT_NAMES=
28922 export COLLECT_NAMES
28924 _LT_EOF
28926 esac
28929 ltmain="$ac_aux_dir/ltmain.sh"
28932 # We use sed instead of cat because bash on DJGPP gets confused if
28933 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28934 # text mode, it properly converts lines to CR/LF. This bash problem
28935 # is reportedly fixed, but why not run on old versions too?
28936 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28937 || (rm -f "$cfgfile"; exit 1)
28939 case $xsi_shell in
28940 yes)
28941 cat << \_LT_EOF >> "$cfgfile"
28943 # func_dirname file append nondir_replacement
28944 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28945 # otherwise set result to NONDIR_REPLACEMENT.
28946 func_dirname ()
28948 case ${1} in
28949 */*) func_dirname_result="${1%/*}${2}" ;;
28950 * ) func_dirname_result="${3}" ;;
28951 esac
28954 # func_basename file
28955 func_basename ()
28957 func_basename_result="${1##*/}"
28960 # func_dirname_and_basename file append nondir_replacement
28961 # perform func_basename and func_dirname in a single function
28962 # call:
28963 # dirname: Compute the dirname of FILE. If nonempty,
28964 # add APPEND to the result, otherwise set result
28965 # to NONDIR_REPLACEMENT.
28966 # value returned in "$func_dirname_result"
28967 # basename: Compute filename of FILE.
28968 # value retuned in "$func_basename_result"
28969 # Implementation must be kept synchronized with func_dirname
28970 # and func_basename. For efficiency, we do not delegate to
28971 # those functions but instead duplicate the functionality here.
28972 func_dirname_and_basename ()
28974 case ${1} in
28975 */*) func_dirname_result="${1%/*}${2}" ;;
28976 * ) func_dirname_result="${3}" ;;
28977 esac
28978 func_basename_result="${1##*/}"
28981 # func_stripname prefix suffix name
28982 # strip PREFIX and SUFFIX off of NAME.
28983 # PREFIX and SUFFIX must not contain globbing or regex special
28984 # characters, hashes, percent signs, but SUFFIX may contain a leading
28985 # dot (in which case that matches only a dot).
28986 func_stripname ()
28988 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28989 # positional parameters, so assign one to ordinary parameter first.
28990 func_stripname_result=${3}
28991 func_stripname_result=${func_stripname_result#"${1}"}
28992 func_stripname_result=${func_stripname_result%"${2}"}
28995 # func_opt_split
28996 func_opt_split ()
28998 func_opt_split_opt=${1%%=*}
28999 func_opt_split_arg=${1#*=}
29002 # func_lo2o object
29003 func_lo2o ()
29005 case ${1} in
29006 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
29007 *) func_lo2o_result=${1} ;;
29008 esac
29011 # func_xform libobj-or-source
29012 func_xform ()
29014 func_xform_result=${1%.*}.lo
29017 # func_arith arithmetic-term...
29018 func_arith ()
29020 func_arith_result=$(( $* ))
29023 # func_len string
29024 # STRING may not start with a hyphen.
29025 func_len ()
29027 func_len_result=${#1}
29030 _LT_EOF
29032 *) # Bourne compatible functions.
29033 cat << \_LT_EOF >> "$cfgfile"
29035 # func_dirname file append nondir_replacement
29036 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29037 # otherwise set result to NONDIR_REPLACEMENT.
29038 func_dirname ()
29040 # Extract subdirectory from the argument.
29041 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
29042 if test "X$func_dirname_result" = "X${1}"; then
29043 func_dirname_result="${3}"
29044 else
29045 func_dirname_result="$func_dirname_result${2}"
29049 # func_basename file
29050 func_basename ()
29052 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
29056 # func_stripname prefix suffix name
29057 # strip PREFIX and SUFFIX off of NAME.
29058 # PREFIX and SUFFIX must not contain globbing or regex special
29059 # characters, hashes, percent signs, but SUFFIX may contain a leading
29060 # dot (in which case that matches only a dot).
29061 # func_strip_suffix prefix name
29062 func_stripname ()
29064 case ${2} in
29065 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29066 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29067 esac
29070 # sed scripts:
29071 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
29072 my_sed_long_arg='1s/^-[^=]*=//'
29074 # func_opt_split
29075 func_opt_split ()
29077 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29078 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29081 # func_lo2o object
29082 func_lo2o ()
29084 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
29087 # func_xform libobj-or-source
29088 func_xform ()
29090 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29093 # func_arith arithmetic-term...
29094 func_arith ()
29096 func_arith_result=`expr "$@"`
29099 # func_len string
29100 # STRING may not start with a hyphen.
29101 func_len ()
29103 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29106 _LT_EOF
29107 esac
29109 case $lt_shell_append in
29110 yes)
29111 cat << \_LT_EOF >> "$cfgfile"
29113 # func_append var value
29114 # Append VALUE to the end of shell variable VAR.
29115 func_append ()
29117 eval "$1+=\$2"
29119 _LT_EOF
29122 cat << \_LT_EOF >> "$cfgfile"
29124 # func_append var value
29125 # Append VALUE to the end of shell variable VAR.
29126 func_append ()
29128 eval "$1=\$$1\$2"
29131 _LT_EOF
29133 esac
29136 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29137 || (rm -f "$cfgfile"; exit 1)
29139 mv -f "$cfgfile" "$ofile" ||
29140 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29141 chmod +x "$ofile"
29144 cat <<_LT_EOF >> "$ofile"
29146 # ### BEGIN LIBTOOL TAG CONFIG: FC
29148 # The linker used to build libraries.
29149 LD=$lt_LD_FC
29151 # How to create reloadable object files.
29152 reload_flag=$lt_reload_flag_FC
29153 reload_cmds=$lt_reload_cmds_FC
29155 # Commands used to build an old-style archive.
29156 old_archive_cmds=$lt_old_archive_cmds_FC
29158 # A language specific compiler.
29159 CC=$lt_compiler_FC
29161 # Is the compiler the GNU compiler?
29162 with_gcc=$GCC_FC
29164 # Compiler flag to turn off builtin functions.
29165 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29167 # How to pass a linker flag through the compiler.
29168 wl=$lt_lt_prog_compiler_wl_FC
29170 # Additional compiler flags for building library objects.
29171 pic_flag=$lt_lt_prog_compiler_pic_FC
29173 # Compiler flag to prevent dynamic linking.
29174 link_static_flag=$lt_lt_prog_compiler_static_FC
29176 # Does compiler simultaneously support -c and -o options?
29177 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29179 # Whether or not to add -lc for building shared libraries.
29180 build_libtool_need_lc=$archive_cmds_need_lc_FC
29182 # Whether or not to disallow shared libs when runtime libs are static.
29183 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29185 # Compiler flag to allow reflexive dlopens.
29186 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29188 # Compiler flag to generate shared objects directly from archives.
29189 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29191 # Whether the compiler copes with passing no objects directly.
29192 compiler_needs_object=$lt_compiler_needs_object_FC
29194 # Create an old-style archive from a shared archive.
29195 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29197 # Create a temporary old-style archive to link instead of a shared archive.
29198 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29200 # Commands used to build a shared archive.
29201 archive_cmds=$lt_archive_cmds_FC
29202 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29204 # Commands used to build a loadable module if different from building
29205 # a shared archive.
29206 module_cmds=$lt_module_cmds_FC
29207 module_expsym_cmds=$lt_module_expsym_cmds_FC
29209 # Whether we are building with GNU ld or not.
29210 with_gnu_ld=$lt_with_gnu_ld_FC
29212 # Flag that allows shared libraries with undefined symbols to be built.
29213 allow_undefined_flag=$lt_allow_undefined_flag_FC
29215 # Flag that enforces no undefined symbols.
29216 no_undefined_flag=$lt_no_undefined_flag_FC
29218 # Flag to hardcode \$libdir into a binary during linking.
29219 # This must work even if \$libdir does not exist
29220 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29222 # If ld is used when linking, flag to hardcode \$libdir into a binary
29223 # during linking. This must work even if \$libdir does not exist.
29224 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29226 # Whether we need a single "-rpath" flag with a separated argument.
29227 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29229 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29230 # DIR into the resulting binary.
29231 hardcode_direct=$hardcode_direct_FC
29233 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29234 # DIR into the resulting binary and the resulting library dependency is
29235 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29236 # library is relocated.
29237 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29239 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29240 # into the resulting binary.
29241 hardcode_minus_L=$hardcode_minus_L_FC
29243 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29244 # into the resulting binary.
29245 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29247 # Set to "yes" if building a shared library automatically hardcodes DIR
29248 # into the library and all subsequent libraries and executables linked
29249 # against it.
29250 hardcode_automatic=$hardcode_automatic_FC
29252 # Set to yes if linker adds runtime paths of dependent libraries
29253 # to runtime path list.
29254 inherit_rpath=$inherit_rpath_FC
29256 # Whether libtool must link a program against all its dependency libraries.
29257 link_all_deplibs=$link_all_deplibs_FC
29259 # Fix the shell variable \$srcfile for the compiler.
29260 fix_srcfile_path=$lt_fix_srcfile_path_FC
29262 # Set to "yes" if exported symbols are required.
29263 always_export_symbols=$always_export_symbols_FC
29265 # The commands to list exported symbols.
29266 export_symbols_cmds=$lt_export_symbols_cmds_FC
29268 # Symbols that should not be listed in the preloaded symbols.
29269 exclude_expsyms=$lt_exclude_expsyms_FC
29271 # Symbols that must always be exported.
29272 include_expsyms=$lt_include_expsyms_FC
29274 # Commands necessary for linking programs (against libraries) with templates.
29275 prelink_cmds=$lt_prelink_cmds_FC
29277 # Specify filename containing input files.
29278 file_list_spec=$lt_file_list_spec_FC
29280 # How to hardcode a shared library path into an executable.
29281 hardcode_action=$hardcode_action_FC
29283 # The directories searched by this compiler when creating a shared library.
29284 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29286 # Dependencies to place before and after the objects being linked to
29287 # create a shared library.
29288 predep_objects=$lt_predep_objects_FC
29289 postdep_objects=$lt_postdep_objects_FC
29290 predeps=$lt_predeps_FC
29291 postdeps=$lt_postdeps_FC
29293 # The library search path used internally by the compiler when linking
29294 # a shared library.
29295 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29297 # ### END LIBTOOL TAG CONFIG: FC
29298 _LT_EOF
29301 "gstdint.h":C)
29302 if test "$GCC" = yes; then
29303 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29304 else
29305 echo "/* generated for $CC */" > tmp-stdint.h
29308 sed 's/^ *//' >> tmp-stdint.h <<EOF
29310 #ifndef GCC_GENERATED_STDINT_H
29311 #define GCC_GENERATED_STDINT_H 1
29313 #include <sys/types.h>
29316 if test "$acx_cv_header_stdint" != stdint.h; then
29317 echo "#include <stddef.h>" >> tmp-stdint.h
29319 if test "$acx_cv_header_stdint" != stddef.h; then
29320 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29323 sed 's/^ *//' >> tmp-stdint.h <<EOF
29324 /* glibc uses these symbols as guards to prevent redefinitions. */
29325 #ifdef __int8_t_defined
29326 #define _INT8_T
29327 #define _INT16_T
29328 #define _INT32_T
29329 #endif
29330 #ifdef __uint32_t_defined
29331 #define _UINT32_T
29332 #endif
29336 # ----------------- done header, emit basic int types -------------
29337 if test "$acx_cv_header_stdint" = stddef.h; then
29338 sed 's/^ *//' >> tmp-stdint.h <<EOF
29340 #ifndef _UINT8_T
29341 #define _UINT8_T
29342 #ifndef __uint8_t_defined
29343 #define __uint8_t_defined
29344 #ifndef uint8_t
29345 typedef unsigned $acx_cv_type_int8_t uint8_t;
29346 #endif
29347 #endif
29348 #endif
29350 #ifndef _UINT16_T
29351 #define _UINT16_T
29352 #ifndef __uint16_t_defined
29353 #define __uint16_t_defined
29354 #ifndef uint16_t
29355 typedef unsigned $acx_cv_type_int16_t uint16_t;
29356 #endif
29357 #endif
29358 #endif
29360 #ifndef _UINT32_T
29361 #define _UINT32_T
29362 #ifndef __uint32_t_defined
29363 #define __uint32_t_defined
29364 #ifndef uint32_t
29365 typedef unsigned $acx_cv_type_int32_t uint32_t;
29366 #endif
29367 #endif
29368 #endif
29370 #ifndef _INT8_T
29371 #define _INT8_T
29372 #ifndef __int8_t_defined
29373 #define __int8_t_defined
29374 #ifndef int8_t
29375 typedef $acx_cv_type_int8_t int8_t;
29376 #endif
29377 #endif
29378 #endif
29380 #ifndef _INT16_T
29381 #define _INT16_T
29382 #ifndef __int16_t_defined
29383 #define __int16_t_defined
29384 #ifndef int16_t
29385 typedef $acx_cv_type_int16_t int16_t;
29386 #endif
29387 #endif
29388 #endif
29390 #ifndef _INT32_T
29391 #define _INT32_T
29392 #ifndef __int32_t_defined
29393 #define __int32_t_defined
29394 #ifndef int32_t
29395 typedef $acx_cv_type_int32_t int32_t;
29396 #endif
29397 #endif
29398 #endif
29400 elif test "$ac_cv_type_u_int32_t" = yes; then
29401 sed 's/^ *//' >> tmp-stdint.h <<EOF
29403 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29404 #ifndef _INT8_T
29405 #define _INT8_T
29406 #endif
29407 #ifndef _INT16_T
29408 #define _INT16_T
29409 #endif
29410 #ifndef _INT32_T
29411 #define _INT32_T
29412 #endif
29414 #ifndef _UINT8_T
29415 #define _UINT8_T
29416 #ifndef __uint8_t_defined
29417 #define __uint8_t_defined
29418 #ifndef uint8_t
29419 typedef u_int8_t uint8_t;
29420 #endif
29421 #endif
29422 #endif
29424 #ifndef _UINT16_T
29425 #define _UINT16_T
29426 #ifndef __uint16_t_defined
29427 #define __uint16_t_defined
29428 #ifndef uint16_t
29429 typedef u_int16_t uint16_t;
29430 #endif
29431 #endif
29432 #endif
29434 #ifndef _UINT32_T
29435 #define _UINT32_T
29436 #ifndef __uint32_t_defined
29437 #define __uint32_t_defined
29438 #ifndef uint32_t
29439 typedef u_int32_t uint32_t;
29440 #endif
29441 #endif
29442 #endif
29444 else
29445 sed 's/^ *//' >> tmp-stdint.h <<EOF
29447 /* Some systems have guard macros to prevent redefinitions, define them. */
29448 #ifndef _INT8_T
29449 #define _INT8_T
29450 #endif
29451 #ifndef _INT16_T
29452 #define _INT16_T
29453 #endif
29454 #ifndef _INT32_T
29455 #define _INT32_T
29456 #endif
29457 #ifndef _UINT8_T
29458 #define _UINT8_T
29459 #endif
29460 #ifndef _UINT16_T
29461 #define _UINT16_T
29462 #endif
29463 #ifndef _UINT32_T
29464 #define _UINT32_T
29465 #endif
29469 # ------------- done basic int types, emit int64_t types ------------
29470 if test "$ac_cv_type_uint64_t" = yes; then
29471 sed 's/^ *//' >> tmp-stdint.h <<EOF
29473 /* system headers have good uint64_t and int64_t */
29474 #ifndef _INT64_T
29475 #define _INT64_T
29476 #endif
29477 #ifndef _UINT64_T
29478 #define _UINT64_T
29479 #endif
29481 elif test "$ac_cv_type_u_int64_t" = yes; then
29482 sed 's/^ *//' >> tmp-stdint.h <<EOF
29484 /* system headers have an u_int64_t (and int64_t) */
29485 #ifndef _INT64_T
29486 #define _INT64_T
29487 #endif
29488 #ifndef _UINT64_T
29489 #define _UINT64_T
29490 #ifndef __uint64_t_defined
29491 #define __uint64_t_defined
29492 #ifndef uint64_t
29493 typedef u_int64_t uint64_t;
29494 #endif
29495 #endif
29496 #endif
29498 elif test -n "$acx_cv_type_int64_t"; then
29499 sed 's/^ *//' >> tmp-stdint.h <<EOF
29501 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29502 #ifndef _INT64_T
29503 #define _INT64_T
29504 #ifndef int64_t
29505 typedef $acx_cv_type_int64_t int64_t;
29506 #endif
29507 #endif
29508 #ifndef _UINT64_T
29509 #define _UINT64_T
29510 #ifndef __uint64_t_defined
29511 #define __uint64_t_defined
29512 #ifndef uint64_t
29513 typedef unsigned $acx_cv_type_int64_t uint64_t;
29514 #endif
29515 #endif
29516 #endif
29518 else
29519 sed 's/^ *//' >> tmp-stdint.h <<EOF
29521 /* some common heuristics for int64_t, using compiler-specific tests */
29522 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29523 #ifndef _INT64_T
29524 #define _INT64_T
29525 #ifndef __int64_t_defined
29526 #ifndef int64_t
29527 typedef long long int64_t;
29528 #endif
29529 #endif
29530 #endif
29531 #ifndef _UINT64_T
29532 #define _UINT64_T
29533 #ifndef uint64_t
29534 typedef unsigned long long uint64_t;
29535 #endif
29536 #endif
29538 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29539 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29540 does not implement __extension__. But that compiler doesn't define
29541 __GNUC_MINOR__. */
29542 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29543 # define __extension__
29544 # endif
29546 # ifndef _INT64_T
29547 # define _INT64_T
29548 # ifndef int64_t
29549 __extension__ typedef long long int64_t;
29550 # endif
29551 # endif
29552 # ifndef _UINT64_T
29553 # define _UINT64_T
29554 # ifndef uint64_t
29555 __extension__ typedef unsigned long long uint64_t;
29556 # endif
29557 # endif
29559 #elif !defined __STRICT_ANSI__
29560 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29562 # ifndef _INT64_T
29563 # define _INT64_T
29564 # ifndef int64_t
29565 typedef __int64 int64_t;
29566 # endif
29567 # endif
29568 # ifndef _UINT64_T
29569 # define _UINT64_T
29570 # ifndef uint64_t
29571 typedef unsigned __int64 uint64_t;
29572 # endif
29573 # endif
29574 # endif /* compiler */
29576 #endif /* ANSI version */
29580 # ------------- done int64_t types, emit intptr types ------------
29581 if test "$ac_cv_type_uintptr_t" != yes; then
29582 sed 's/^ *//' >> tmp-stdint.h <<EOF
29584 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29585 #ifndef __uintptr_t_defined
29586 #ifndef uintptr_t
29587 typedef u$acx_cv_type_intptr_t uintptr_t;
29588 #endif
29589 #endif
29590 #ifndef __intptr_t_defined
29591 #ifndef intptr_t
29592 typedef $acx_cv_type_intptr_t intptr_t;
29593 #endif
29594 #endif
29598 # ------------- done intptr types, emit int_least types ------------
29599 if test "$ac_cv_type_int_least32_t" != yes; then
29600 sed 's/^ *//' >> tmp-stdint.h <<EOF
29602 /* Define int_least types */
29603 typedef int8_t int_least8_t;
29604 typedef int16_t int_least16_t;
29605 typedef int32_t int_least32_t;
29606 #ifdef _INT64_T
29607 typedef int64_t int_least64_t;
29608 #endif
29610 typedef uint8_t uint_least8_t;
29611 typedef uint16_t uint_least16_t;
29612 typedef uint32_t uint_least32_t;
29613 #ifdef _UINT64_T
29614 typedef uint64_t uint_least64_t;
29615 #endif
29619 # ------------- done intptr types, emit int_fast types ------------
29620 if test "$ac_cv_type_int_fast32_t" != yes; then
29621 sed 's/^ *//' >> tmp-stdint.h <<EOF
29623 /* Define int_fast types. short is often slow */
29624 typedef int8_t int_fast8_t;
29625 typedef int int_fast16_t;
29626 typedef int32_t int_fast32_t;
29627 #ifdef _INT64_T
29628 typedef int64_t int_fast64_t;
29629 #endif
29631 typedef uint8_t uint_fast8_t;
29632 typedef unsigned int uint_fast16_t;
29633 typedef uint32_t uint_fast32_t;
29634 #ifdef _UINT64_T
29635 typedef uint64_t uint_fast64_t;
29636 #endif
29640 if test "$ac_cv_type_uintmax_t" != yes; then
29641 sed 's/^ *//' >> tmp-stdint.h <<EOF
29643 /* Define intmax based on what we found */
29644 #ifndef intmax_t
29645 #ifdef _INT64_T
29646 typedef int64_t intmax_t;
29647 #else
29648 typedef long intmax_t;
29649 #endif
29650 #endif
29651 #ifndef uintmax_t
29652 #ifdef _UINT64_T
29653 typedef uint64_t uintmax_t;
29654 #else
29655 typedef unsigned long uintmax_t;
29656 #endif
29657 #endif
29661 sed 's/^ *//' >> tmp-stdint.h <<EOF
29663 #endif /* GCC_GENERATED_STDINT_H */
29666 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29667 rm -f tmp-stdint.h
29668 else
29669 mv -f tmp-stdint.h gstdint.h
29674 esac
29675 done # for ac_tag
29678 as_fn_exit 0
29679 _ACEOF
29680 ac_clean_files=$ac_clean_files_save
29682 test $ac_write_fail = 0 ||
29683 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29686 # configure is writing to config.log, and then calls config.status.
29687 # config.status does its own redirection, appending to config.log.
29688 # Unfortunately, on DOS this fails, as config.log is still kept open
29689 # by configure, so config.status won't be able to write to it; its
29690 # output is simply discarded. So we exec the FD to /dev/null,
29691 # effectively closing config.log, so it can be properly (re)opened and
29692 # appended to by config.status. When coming back to configure, we
29693 # need to make the FD available again.
29694 if test "$no_create" != yes; then
29695 ac_cs_success=:
29696 ac_config_status_args=
29697 test "$silent" = yes &&
29698 ac_config_status_args="$ac_config_status_args --quiet"
29699 exec 5>/dev/null
29700 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29701 exec 5>>config.log
29702 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29703 # would make configure fail if this is the last instruction.
29704 $ac_cs_success || as_fn_exit $?
29706 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29708 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}