* config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
[official-gcc.git] / libgfortran / configure
blobbfb2408ffb827a90be211f4712ea7d550465c3ef
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 IEEE_FLAGS
609 FPU_HOST_HEADER
610 LIBGFOR_BUILD_QUAD_FALSE
611 LIBGFOR_BUILD_QUAD_TRUE
612 LIBQUADINCLUDE
613 LIBQUADLIB_DEP
614 LIBQUADLIB
615 LIBQUADSPEC
616 extra_ldflags_libgfortran
617 ac_ct_FC
618 FCFLAGS
620 enable_static
621 enable_shared
622 lt_host_flags
623 OTOOL64
624 OTOOL
625 LIPO
626 NMEDIT
627 DSYMUTIL
628 OBJDUMP
629 LN_S
631 ac_ct_DUMPBIN
632 DUMPBIN
634 FGREP
636 LIBTOOL
637 RANLIB
640 SECTION_FLAGS
641 LIBGFOR_USE_SYMVER_SUN_FALSE
642 LIBGFOR_USE_SYMVER_SUN_TRUE
643 LIBGFOR_USE_SYMVER_GNU_FALSE
644 LIBGFOR_USE_SYMVER_GNU_TRUE
645 LIBGFOR_USE_SYMVER_FALSE
646 LIBGFOR_USE_SYMVER_TRUE
647 AM_CFLAGS
648 AM_FCFLAGS
649 toolexeclibdir
650 toolexecdir
651 EGREP
652 GREP
654 am__fastdepCC_FALSE
655 am__fastdepCC_TRUE
656 CCDEPMODE
657 am__nodep
658 AMDEPBACKSLASH
659 AMDEP_FALSE
660 AMDEP_TRUE
661 am__quote
662 am__include
663 DEPDIR
664 OBJEXT
665 EXEEXT
666 ac_ct_CC
667 CPPFLAGS
668 LDFLAGS
669 CFLAGS
671 multi_basedir
672 MAINT
673 MAINTAINER_MODE_FALSE
674 MAINTAINER_MODE_TRUE
675 am__untar
676 am__tar
677 AMTAR
678 am__leading_dot
679 SET_MAKE
681 mkdir_p
682 MKDIR_P
683 INSTALL_STRIP_PROGRAM
684 STRIP
685 install_sh
686 MAKEINFO
687 AUTOHEADER
688 AUTOMAKE
689 AUTOCONF
690 ACLOCAL
691 VERSION
692 PACKAGE
693 CYGPATH_W
694 am__isrc
695 INSTALL_DATA
696 INSTALL_SCRIPT
697 INSTALL_PROGRAM
698 target_noncanonical
699 target_os
700 target_vendor
701 target_cpu
702 target
703 host_os
704 host_vendor
705 host_cpu
706 host
707 onestep
708 onestep_FALSE
709 onestep_TRUE
710 target_subdir
711 host_subdir
712 build_subdir
713 build_libsubdir
714 build_os
715 build_vendor
716 build_cpu
717 build
718 target_alias
719 host_alias
720 build_alias
721 LIBS
722 ECHO_T
723 ECHO_N
724 ECHO_C
725 DEFS
726 mandir
727 localedir
728 libdir
729 psdir
730 pdfdir
731 dvidir
732 htmldir
733 infodir
734 docdir
735 oldincludedir
736 includedir
737 localstatedir
738 sharedstatedir
739 sysconfdir
740 datadir
741 datarootdir
742 libexecdir
743 sbindir
744 bindir
745 program_transform_name
746 prefix
747 exec_prefix
748 PACKAGE_URL
749 PACKAGE_BUGREPORT
750 PACKAGE_STRING
751 PACKAGE_VERSION
752 PACKAGE_TARNAME
753 PACKAGE_NAME
754 PATH_SEPARATOR
755 SHELL'
756 ac_subst_files=''
757 ac_user_opts='
758 enable_option_checking
759 with_build_libsubdir
760 enable_version_specific_runtime_libs
761 enable_intermodule
762 enable_maintainer_mode
763 enable_multilib
764 enable_dependency_tracking
765 enable_symvers
766 enable_shared
767 enable_static
768 with_pic
769 enable_fast_install
770 with_gnu_ld
771 enable_libtool_lock
772 enable_largefile
773 enable_libquadmath_support
774 with_system_libunwind
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
786 FCFLAGS'
789 # Initialize some variables set by options.
790 ac_init_help=
791 ac_init_version=false
792 ac_unrecognized_opts=
793 ac_unrecognized_sep=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
796 cache_file=/dev/null
797 exec_prefix=NONE
798 no_create=
799 no_recursion=
800 prefix=NONE
801 program_prefix=NONE
802 program_suffix=NONE
803 program_transform_name=s,x,x,
804 silent=
805 site=
806 srcdir=
807 verbose=
808 x_includes=NONE
809 x_libraries=NONE
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
829 htmldir='${docdir}'
830 dvidir='${docdir}'
831 pdfdir='${docdir}'
832 psdir='${docdir}'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
837 ac_prev=
838 ac_dashdash=
839 for ac_option
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
844 ac_prev=
845 continue
848 case $ac_option in
849 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 *) ac_optarg=yes ;;
851 esac
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
857 ac_dashdash=yes ;;
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 ac_prev=bindir ;;
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 bindir=$ac_optarg ;;
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
876 --config-cache | -C)
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
880 ac_prev=datadir ;;
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
895 as_fn_error "invalid feature name: $ac_useropt"
896 ac_useropt_orig=$ac_useropt
897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
900 "enable_$ac_useropt"
901 "*) ;;
902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
903 ac_unrecognized_sep=', ';;
904 esac
905 eval enable_$ac_useropt=no ;;
907 -docdir | --docdir | --docdi | --doc | --do)
908 ac_prev=docdir ;;
909 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 docdir=$ac_optarg ;;
912 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
913 ac_prev=dvidir ;;
914 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 dvidir=$ac_optarg ;;
917 -enable-* | --enable-*)
918 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
921 as_fn_error "invalid feature name: $ac_useropt"
922 ac_useropt_orig=$ac_useropt
923 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
926 "enable_$ac_useropt"
927 "*) ;;
928 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
929 ac_unrecognized_sep=', ';;
930 esac
931 eval enable_$ac_useropt=\$ac_optarg ;;
933 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
934 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
935 | --exec | --exe | --ex)
936 ac_prev=exec_prefix ;;
937 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
938 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
939 | --exec=* | --exe=* | --ex=*)
940 exec_prefix=$ac_optarg ;;
942 -gas | --gas | --ga | --g)
943 # Obsolete; use --with-gas.
944 with_gas=yes ;;
946 -help | --help | --hel | --he | -h)
947 ac_init_help=long ;;
948 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
949 ac_init_help=recursive ;;
950 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
951 ac_init_help=short ;;
953 -host | --host | --hos | --ho)
954 ac_prev=host_alias ;;
955 -host=* | --host=* | --hos=* | --ho=*)
956 host_alias=$ac_optarg ;;
958 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
959 ac_prev=htmldir ;;
960 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
961 | --ht=*)
962 htmldir=$ac_optarg ;;
964 -includedir | --includedir | --includedi | --included | --include \
965 | --includ | --inclu | --incl | --inc)
966 ac_prev=includedir ;;
967 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
968 | --includ=* | --inclu=* | --incl=* | --inc=*)
969 includedir=$ac_optarg ;;
971 -infodir | --infodir | --infodi | --infod | --info | --inf)
972 ac_prev=infodir ;;
973 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
974 infodir=$ac_optarg ;;
976 -libdir | --libdir | --libdi | --libd)
977 ac_prev=libdir ;;
978 -libdir=* | --libdir=* | --libdi=* | --libd=*)
979 libdir=$ac_optarg ;;
981 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
982 | --libexe | --libex | --libe)
983 ac_prev=libexecdir ;;
984 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
985 | --libexe=* | --libex=* | --libe=*)
986 libexecdir=$ac_optarg ;;
988 -localedir | --localedir | --localedi | --localed | --locale)
989 ac_prev=localedir ;;
990 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
991 localedir=$ac_optarg ;;
993 -localstatedir | --localstatedir | --localstatedi | --localstated \
994 | --localstate | --localstat | --localsta | --localst | --locals)
995 ac_prev=localstatedir ;;
996 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
997 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
998 localstatedir=$ac_optarg ;;
1000 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1001 ac_prev=mandir ;;
1002 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1003 mandir=$ac_optarg ;;
1005 -nfp | --nfp | --nf)
1006 # Obsolete; use --without-fp.
1007 with_fp=no ;;
1009 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1010 | --no-cr | --no-c | -n)
1011 no_create=yes ;;
1013 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1014 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1015 no_recursion=yes ;;
1017 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1018 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1019 | --oldin | --oldi | --old | --ol | --o)
1020 ac_prev=oldincludedir ;;
1021 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1022 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1023 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1024 oldincludedir=$ac_optarg ;;
1026 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1027 ac_prev=prefix ;;
1028 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1029 prefix=$ac_optarg ;;
1031 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1032 | --program-pre | --program-pr | --program-p)
1033 ac_prev=program_prefix ;;
1034 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1035 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1036 program_prefix=$ac_optarg ;;
1038 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1039 | --program-suf | --program-su | --program-s)
1040 ac_prev=program_suffix ;;
1041 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1042 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1043 program_suffix=$ac_optarg ;;
1045 -program-transform-name | --program-transform-name \
1046 | --program-transform-nam | --program-transform-na \
1047 | --program-transform-n | --program-transform- \
1048 | --program-transform | --program-transfor \
1049 | --program-transfo | --program-transf \
1050 | --program-trans | --program-tran \
1051 | --progr-tra | --program-tr | --program-t)
1052 ac_prev=program_transform_name ;;
1053 -program-transform-name=* | --program-transform-name=* \
1054 | --program-transform-nam=* | --program-transform-na=* \
1055 | --program-transform-n=* | --program-transform-=* \
1056 | --program-transform=* | --program-transfor=* \
1057 | --program-transfo=* | --program-transf=* \
1058 | --program-trans=* | --program-tran=* \
1059 | --progr-tra=* | --program-tr=* | --program-t=*)
1060 program_transform_name=$ac_optarg ;;
1062 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1063 ac_prev=pdfdir ;;
1064 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1065 pdfdir=$ac_optarg ;;
1067 -psdir | --psdir | --psdi | --psd | --ps)
1068 ac_prev=psdir ;;
1069 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1070 psdir=$ac_optarg ;;
1072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1073 | -silent | --silent | --silen | --sile | --sil)
1074 silent=yes ;;
1076 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1077 ac_prev=sbindir ;;
1078 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1079 | --sbi=* | --sb=*)
1080 sbindir=$ac_optarg ;;
1082 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1083 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1084 | --sharedst | --shareds | --shared | --share | --shar \
1085 | --sha | --sh)
1086 ac_prev=sharedstatedir ;;
1087 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1088 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1089 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1090 | --sha=* | --sh=*)
1091 sharedstatedir=$ac_optarg ;;
1093 -site | --site | --sit)
1094 ac_prev=site ;;
1095 -site=* | --site=* | --sit=*)
1096 site=$ac_optarg ;;
1098 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1099 ac_prev=srcdir ;;
1100 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1101 srcdir=$ac_optarg ;;
1103 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1104 | --syscon | --sysco | --sysc | --sys | --sy)
1105 ac_prev=sysconfdir ;;
1106 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1107 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1108 sysconfdir=$ac_optarg ;;
1110 -target | --target | --targe | --targ | --tar | --ta | --t)
1111 ac_prev=target_alias ;;
1112 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1113 target_alias=$ac_optarg ;;
1115 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1116 verbose=yes ;;
1118 -version | --version | --versio | --versi | --vers | -V)
1119 ac_init_version=: ;;
1121 -with-* | --with-*)
1122 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1125 as_fn_error "invalid package name: $ac_useropt"
1126 ac_useropt_orig=$ac_useropt
1127 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1130 "with_$ac_useropt"
1131 "*) ;;
1132 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1133 ac_unrecognized_sep=', ';;
1134 esac
1135 eval with_$ac_useropt=\$ac_optarg ;;
1137 -without-* | --without-*)
1138 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141 as_fn_error "invalid package name: $ac_useropt"
1142 ac_useropt_orig=$ac_useropt
1143 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1146 "with_$ac_useropt"
1147 "*) ;;
1148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149 ac_unrecognized_sep=', ';;
1150 esac
1151 eval with_$ac_useropt=no ;;
1153 --x)
1154 # Obsolete; use --with-x.
1155 with_x=yes ;;
1157 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1158 | --x-incl | --x-inc | --x-in | --x-i)
1159 ac_prev=x_includes ;;
1160 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1161 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1162 x_includes=$ac_optarg ;;
1164 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1165 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1166 ac_prev=x_libraries ;;
1167 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1168 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1169 x_libraries=$ac_optarg ;;
1171 -*) as_fn_error "unrecognized option: \`$ac_option'
1172 Try \`$0 --help' for more information."
1175 *=*)
1176 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 case $ac_envvar in #(
1179 '' | [0-9]* | *[!_$as_cr_alnum]* )
1180 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1181 esac
1182 eval $ac_envvar=\$ac_optarg
1183 export $ac_envvar ;;
1186 # FIXME: should be removed in autoconf 3.0.
1187 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1188 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1189 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1190 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1193 esac
1194 done
1196 if test -n "$ac_prev"; then
1197 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1198 as_fn_error "missing argument to $ac_option"
1201 if test -n "$ac_unrecognized_opts"; then
1202 case $enable_option_checking in
1203 no) ;;
1204 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206 esac
1209 # Check all directory arguments for consistency.
1210 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val=\$$ac_var
1216 # Remove trailing slashes.
1217 case $ac_val in
1218 */ )
1219 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\$ac_val;;
1221 esac
1222 # Be sure to have absolute directory names.
1223 case $ac_val in
1224 [\\/$]* | ?:[\\/]* ) continue;;
1225 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1226 esac
1227 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1228 done
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1233 build=$build_alias
1234 host=$host_alias
1235 target=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x; then
1239 if test "x$build_alias" = x; then
1240 cross_compiling=maybe
1241 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1242 If a cross compiler is detected then cross compile mode will be used." >&2
1243 elif test "x$build_alias" != "x$host_alias"; then
1244 cross_compiling=yes
1248 ac_tool_prefix=
1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1251 test "$silent" = yes && exec 6>/dev/null
1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di=`ls -di .` &&
1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error "working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error "pwd does not report name of working directory"
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273 s//\1/
1276 /^X\(\/\/\)[^/].*/{
1277 s//\1/
1280 /^X\(\/\/\)$/{
1281 s//\1/
1284 /^X\(\/\).*/{
1285 s//\1/
1288 s/.*/./; q'`
1289 srcdir=$ac_confdir
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 srcdir=..
1293 else
1294 ac_srcdir_defaulted=no
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1298 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1301 ac_abs_confdir=`(
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1303 pwd)`
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 srcdir=.
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1311 case $srcdir in
1312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313 esac
1314 for ac_var in $ac_precious_vars; do
1315 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_${ac_var}_value=\$${ac_var}
1317 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1319 done
1322 # Report the --help message.
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1327 cat <<_ACEOF
1328 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1335 Defaults for the options are specified in brackets.
1337 Configuration:
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 [PREFIX]
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1359 For better control, use the options below.
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1381 _ACEOF
1383 cat <<\_ACEOF
1385 Program names:
1386 --program-prefix=PREFIX prepend PREFIX to installed program names
1387 --program-suffix=SUFFIX append SUFFIX to installed program names
1388 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1390 System types:
1391 --build=BUILD configure for building on BUILD [guessed]
1392 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1393 --target=TARGET configure for building compilers for TARGET [HOST]
1394 _ACEOF
1397 if test -n "$ac_init_help"; then
1398 case $ac_init_help in
1399 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1400 esac
1401 cat <<\_ACEOF
1403 Optional Features:
1404 --disable-option-checking ignore unrecognized --enable/--with options
1405 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1406 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1407 --enable-version-specific-runtime-libs
1408 specify that runtime libraries should be installed
1409 in a compiler-specific directory
1410 --enable-intermodule build the library in one step
1411 --enable-maintainer-mode enable make rules and dependencies not useful
1412 (and sometimes confusing) to the casual installer
1413 --enable-multilib build many library versions (default)
1414 --disable-dependency-tracking speeds up one-time build
1415 --enable-dependency-tracking do not reject slow dependency extractors
1416 --disable-symvers disable symbol versioning for libgfortran
1417 --enable-shared[=PKGS] build shared libraries [default=yes]
1418 --enable-static[=PKGS] build static libraries [default=yes]
1419 --enable-fast-install[=PKGS]
1420 optimize for fast installation [default=yes]
1421 --disable-libtool-lock avoid locking (might break parallel builds)
1422 --disable-largefile omit support for large files
1423 --disable-libquadmath-support
1424 disable libquadmath support for Fortran
1426 Optional Packages:
1427 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1428 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1429 --with-build-libsubdir=DIR Directory where to find libraries for build system
1430 --with-pic try to use only PIC/non-PIC objects [default=use
1431 both]
1432 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1433 --with-system-libunwind use installed libunwind
1435 Some influential environment variables:
1436 CC C compiler command
1437 CFLAGS C compiler flags
1438 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1439 nonstandard directory <lib dir>
1440 LIBS libraries to pass to the linker, e.g. -l<library>
1441 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1442 you have headers in a nonstandard directory <include dir>
1443 CPP C preprocessor
1444 FC Fortran compiler command
1445 FCFLAGS Fortran compiler flags
1447 Use these variables to override the choices made by `configure' or to help
1448 it to find libraries and programs with nonstandard names/locations.
1450 Report bugs to the package provider.
1451 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1452 General help using GNU software: <http://www.gnu.org/gethelp/>.
1453 _ACEOF
1454 ac_status=$?
1457 if test "$ac_init_help" = "recursive"; then
1458 # If there are subdirs, report their specific --help.
1459 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1460 test -d "$ac_dir" ||
1461 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1462 continue
1463 ac_builddir=.
1465 case "$ac_dir" in
1466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1468 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1474 esac ;;
1475 esac
1476 ac_abs_top_builddir=$ac_pwd
1477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1478 # for backward compatibility:
1479 ac_top_builddir=$ac_top_build_prefix
1481 case $srcdir in
1482 .) # We are building in place.
1483 ac_srcdir=.
1484 ac_top_srcdir=$ac_top_builddir_sub
1485 ac_abs_top_srcdir=$ac_pwd ;;
1486 [\\/]* | ?:[\\/]* ) # Absolute name.
1487 ac_srcdir=$srcdir$ac_dir_suffix;
1488 ac_top_srcdir=$srcdir
1489 ac_abs_top_srcdir=$srcdir ;;
1490 *) # Relative name.
1491 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492 ac_top_srcdir=$ac_top_build_prefix$srcdir
1493 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1494 esac
1495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1497 cd "$ac_dir" || { ac_status=$?; continue; }
1498 # Check for guested configure.
1499 if test -f "$ac_srcdir/configure.gnu"; then
1500 echo &&
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then
1503 echo &&
1504 $SHELL "$ac_srcdir/configure" --help=recursive
1505 else
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1507 fi || ac_status=$?
1508 cd "$ac_pwd" || { ac_status=$?; break; }
1509 done
1512 test -n "$ac_init_help" && exit $ac_status
1513 if $ac_init_version; then
1514 cat <<\_ACEOF
1515 GNU Fortran Runtime Library configure 0.3
1516 generated by GNU Autoconf 2.64
1518 Copyright (C) 2009 Free Software Foundation, Inc.
1519 This configure script is free software; the Free Software Foundation
1520 gives unlimited permission to copy, distribute and modify it.
1521 _ACEOF
1522 exit
1525 ## ------------------------ ##
1526 ## Autoconf initialization. ##
1527 ## ------------------------ ##
1529 # ac_fn_c_try_compile LINENO
1530 # --------------------------
1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile ()
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext
1536 if { { ac_try="$ac_compile"
1537 case "(($ac_try" in
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1540 esac
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1544 ac_status=$?
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.$ac_objext; then :
1555 ac_retval=0
1556 else
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1560 ac_retval=1
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1563 return $ac_retval
1565 } # ac_fn_c_try_compile
1567 # ac_fn_c_try_cpp LINENO
1568 # ----------------------
1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1570 ac_fn_c_try_cpp ()
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 if { { ac_try="$ac_cpp conftest.$ac_ext"
1574 case "(($ac_try" in
1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1577 esac
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1581 ac_status=$?
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } >/dev/null && {
1589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1591 }; then :
1592 ac_retval=0
1593 else
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1597 ac_retval=1
1599 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1600 return $ac_retval
1602 } # ac_fn_c_try_cpp
1604 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1607 # the include files in INCLUDES and setting the cache variable VAR
1608 # accordingly.
1609 ac_fn_c_check_header_mongrel ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 $as_echo_n "(cached) " >&6
1618 eval ac_res=\$$3
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1621 else
1622 # Is the header compilable?
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1624 $as_echo_n "checking $2 usability... " >&6; }
1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1628 #include <$2>
1629 _ACEOF
1630 if ac_fn_c_try_compile "$LINENO"; then :
1631 ac_header_compiler=yes
1632 else
1633 ac_header_compiler=no
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1637 $as_echo "$ac_header_compiler" >&6; }
1639 # Is the header present?
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1641 $as_echo_n "checking $2 presence... " >&6; }
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1644 #include <$2>
1645 _ACEOF
1646 if ac_fn_c_try_cpp "$LINENO"; then :
1647 ac_header_preproc=yes
1648 else
1649 ac_header_preproc=no
1651 rm -f conftest.err conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1653 $as_echo "$ac_header_preproc" >&6; }
1655 # So? What about this header?
1656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1657 yes:no: )
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1659 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1663 no:yes:* )
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1665 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1667 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1669 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1671 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1675 esac
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1679 $as_echo_n "(cached) " >&6
1680 else
1681 eval "$3=\$ac_header_compiler"
1683 eval ac_res=\$$3
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689 } # ac_fn_c_check_header_mongrel
1691 # ac_fn_c_try_run LINENO
1692 # ----------------------
1693 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1694 # that executables *can* be run.
1695 ac_fn_c_try_run ()
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if { { ac_try="$ac_link"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_link") 2>&5
1706 ac_status=$?
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1709 { { case "(($ac_try" in
1710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1712 esac
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_try") 2>&5
1716 ac_status=$?
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; }; }; then :
1719 ac_retval=0
1720 else
1721 $as_echo "$as_me: program exited with status $ac_status" >&5
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1725 ac_retval=$ac_status
1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729 return $ac_retval
1731 } # ac_fn_c_try_run
1733 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1734 # -------------------------------------------------------
1735 # Tests whether HEADER exists and can be compiled using the include files in
1736 # INCLUDES, setting the cache variable VAR accordingly.
1737 ac_fn_c_check_header_compile ()
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1743 $as_echo_n "(cached) " >&6
1744 else
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1748 #include <$2>
1749 _ACEOF
1750 if ac_fn_c_try_compile "$LINENO"; then :
1751 eval "$3=yes"
1752 else
1753 eval "$3=no"
1755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757 eval ac_res=\$$3
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 } # ac_fn_c_check_header_compile
1764 # ac_fn_c_try_link LINENO
1765 # -----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded.
1767 ac_fn_c_try_link ()
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 rm -f conftest.$ac_objext conftest$ac_exeext
1771 if { { ac_try="$ac_link"
1772 case "(($ac_try" in
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1775 esac
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_link") 2>conftest.err
1779 ac_status=$?
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1782 cat conftest.er1 >&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } && {
1787 test -z "$ac_c_werror_flag" ||
1788 test ! -s conftest.err
1789 } && test -s conftest$ac_exeext && {
1790 test "$cross_compiling" = yes ||
1791 $as_test_x conftest$ac_exeext
1792 }; then :
1793 ac_retval=0
1794 else
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1798 ac_retval=1
1800 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1801 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1802 # interfere with the next link command; also delete a directory that is
1803 # left behind by Apple's compiler. We do this before executing the actions.
1804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806 return $ac_retval
1808 } # ac_fn_c_try_link
1810 # ac_fn_c_check_func LINENO FUNC VAR
1811 # ----------------------------------
1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1813 ac_fn_c_check_func ()
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1819 $as_echo_n "(cached) " >&6
1820 else
1821 if test x$gcc_no_link = xyes; then
1822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1828 #define $2 innocuous_$2
1830 /* System header to define __stub macros and hopefully few prototypes,
1831 which can conflict with char $2 (); below.
1832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833 <limits.h> exists even on freestanding compilers. */
1835 #ifdef __STDC__
1836 # include <limits.h>
1837 #else
1838 # include <assert.h>
1839 #endif
1841 #undef $2
1843 /* Override any GCC internal prototype to avoid an error.
1844 Use char because int might match the return type of a GCC
1845 builtin and then its argument prototype would still apply. */
1846 #ifdef __cplusplus
1847 extern "C"
1848 #endif
1849 char $2 ();
1850 /* The GNU C library defines this for functions which it implements
1851 to always fail with ENOSYS. Some functions are actually named
1852 something starting with __ and the normal name is an alias. */
1853 #if defined __stub_$2 || defined __stub___$2
1854 choke me
1855 #endif
1858 main ()
1860 return $2 ();
1862 return 0;
1864 _ACEOF
1865 if ac_fn_c_try_link "$LINENO"; then :
1866 eval "$3=yes"
1867 else
1868 eval "$3=no"
1870 rm -f core conftest.err conftest.$ac_objext \
1871 conftest$ac_exeext conftest.$ac_ext
1873 eval ac_res=\$$3
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878 } # ac_fn_c_check_func
1880 # ac_fn_fc_try_compile LINENO
1881 # ---------------------------
1882 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1883 ac_fn_fc_try_compile ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 rm -f conftest.$ac_objext
1887 if { { ac_try="$ac_compile"
1888 case "(($ac_try" in
1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1891 esac
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_compile") 2>conftest.err
1895 ac_status=$?
1896 if test -s conftest.err; then
1897 grep -v '^ *+' conftest.err >conftest.er1
1898 cat conftest.er1 >&5
1899 mv -f conftest.er1 conftest.err
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } && {
1903 test -z "$ac_fc_werror_flag" ||
1904 test ! -s conftest.err
1905 } && test -s conftest.$ac_objext; then :
1906 ac_retval=0
1907 else
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1911 ac_retval=1
1913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 return $ac_retval
1916 } # ac_fn_fc_try_compile
1918 # ac_fn_fc_try_link LINENO
1919 # ------------------------
1920 # Try to link conftest.$ac_ext, and return whether this succeeded.
1921 ac_fn_fc_try_link ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 rm -f conftest.$ac_objext conftest$ac_exeext
1925 if { { ac_try="$ac_link"
1926 case "(($ac_try" in
1927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1928 *) ac_try_echo=$ac_try;;
1929 esac
1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_link") 2>conftest.err
1933 ac_status=$?
1934 if test -s conftest.err; then
1935 grep -v '^ *+' conftest.err >conftest.er1
1936 cat conftest.er1 >&5
1937 mv -f conftest.er1 conftest.err
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; } && {
1941 test -z "$ac_fc_werror_flag" ||
1942 test ! -s conftest.err
1943 } && test -s conftest$ac_exeext && {
1944 test "$cross_compiling" = yes ||
1945 $as_test_x conftest$ac_exeext
1946 }; then :
1947 ac_retval=0
1948 else
1949 $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.$ac_ext >&5
1952 ac_retval=1
1954 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1955 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1956 # interfere with the next link command; also delete a directory that is
1957 # left behind by Apple's compiler. We do this before executing the actions.
1958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1959 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1960 return $ac_retval
1962 } # ac_fn_fc_try_link
1964 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1965 # -------------------------------------------
1966 # Tests whether TYPE exists after having included INCLUDES, setting cache
1967 # variable VAR accordingly.
1968 ac_fn_c_check_type ()
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1972 $as_echo_n "checking for $2... " >&6; }
1973 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1974 $as_echo_n "(cached) " >&6
1975 else
1976 eval "$3=no"
1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1981 main ()
1983 if (sizeof ($2))
1984 return 0;
1986 return 0;
1988 _ACEOF
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
1994 main ()
1996 if (sizeof (($2)))
1997 return 0;
1999 return 0;
2001 _ACEOF
2002 if ac_fn_c_try_compile "$LINENO"; then :
2004 else
2005 eval "$3=yes"
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011 eval ac_res=\$$3
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2016 } # ac_fn_c_check_type
2018 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2019 # --------------------------------------------
2020 # Tries to find the compile-time value of EXPR in a program that includes
2021 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2022 # computed
2023 ac_fn_c_compute_int ()
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 if test "$cross_compiling" = yes; then
2027 # Depending upon the size, compute the lo and hi bounds.
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2032 main ()
2034 static int test_array [1 - 2 * !(($2) >= 0)];
2035 test_array [0] = 0
2038 return 0;
2040 _ACEOF
2041 if ac_fn_c_try_compile "$LINENO"; then :
2042 ac_lo=0 ac_mid=0
2043 while :; do
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2048 main ()
2050 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2051 test_array [0] = 0
2054 return 0;
2056 _ACEOF
2057 if ac_fn_c_try_compile "$LINENO"; then :
2058 ac_hi=$ac_mid; break
2059 else
2060 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2061 if test $ac_lo -le $ac_mid; then
2062 ac_lo= ac_hi=
2063 break
2065 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068 done
2069 else
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2074 main ()
2076 static int test_array [1 - 2 * !(($2) < 0)];
2077 test_array [0] = 0
2080 return 0;
2082 _ACEOF
2083 if ac_fn_c_try_compile "$LINENO"; then :
2084 ac_hi=-1 ac_mid=-1
2085 while :; do
2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2090 main ()
2092 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2093 test_array [0] = 0
2096 return 0;
2098 _ACEOF
2099 if ac_fn_c_try_compile "$LINENO"; then :
2100 ac_lo=$ac_mid; break
2101 else
2102 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2103 if test $ac_mid -le $ac_hi; then
2104 ac_lo= ac_hi=
2105 break
2107 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2110 done
2111 else
2112 ac_lo= ac_hi=
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117 # Binary search between lo and hi bounds.
2118 while test "x$ac_lo" != "x$ac_hi"; do
2119 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2124 main ()
2126 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2127 test_array [0] = 0
2130 return 0;
2132 _ACEOF
2133 if ac_fn_c_try_compile "$LINENO"; then :
2134 ac_hi=$ac_mid
2135 else
2136 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2139 done
2140 case $ac_lo in #((
2141 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2142 '') ac_retval=1 ;;
2143 esac
2144 else
2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2148 static long int longval () { return $2; }
2149 static unsigned long int ulongval () { return $2; }
2150 #include <stdio.h>
2151 #include <stdlib.h>
2153 main ()
2156 FILE *f = fopen ("conftest.val", "w");
2157 if (! f)
2158 return 1;
2159 if (($2) < 0)
2161 long int i = longval ();
2162 if (i != ($2))
2163 return 1;
2164 fprintf (f, "%ld", i);
2166 else
2168 unsigned long int i = ulongval ();
2169 if (i != ($2))
2170 return 1;
2171 fprintf (f, "%lu", i);
2173 /* Do not output a trailing newline, as this causes \r\n confusion
2174 on some platforms. */
2175 return ferror (f) || fclose (f) != 0;
2178 return 0;
2180 _ACEOF
2181 if ac_fn_c_try_run "$LINENO"; then :
2182 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2183 else
2184 ac_retval=1
2186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2187 conftest.$ac_objext conftest.beam conftest.$ac_ext
2188 rm -f conftest.val
2191 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2192 return $ac_retval
2194 } # ac_fn_c_compute_int
2196 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2197 # ----------------------------------------------------
2198 # Tries to find if the field MEMBER exists in type AGGR, after including
2199 # INCLUDES, setting cache variable VAR accordingly.
2200 ac_fn_c_check_member ()
2202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2204 $as_echo_n "checking for $2.$3... " >&6; }
2205 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 $as_echo_n "(cached) " >&6
2207 else
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2212 main ()
2214 static $2 ac_aggr;
2215 if (ac_aggr.$3)
2216 return 0;
2218 return 0;
2220 _ACEOF
2221 if ac_fn_c_try_compile "$LINENO"; then :
2222 eval "$4=yes"
2223 else
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2228 main ()
2230 static $2 ac_aggr;
2231 if (sizeof ac_aggr.$3)
2232 return 0;
2234 return 0;
2236 _ACEOF
2237 if ac_fn_c_try_compile "$LINENO"; then :
2238 eval "$4=yes"
2239 else
2240 eval "$4=no"
2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2246 eval ac_res=\$$4
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2248 $as_echo "$ac_res" >&6; }
2249 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2251 } # ac_fn_c_check_member
2252 cat >config.log <<_ACEOF
2253 This file contains any messages produced by compilers while
2254 running configure, to aid debugging if configure makes a mistake.
2256 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2257 generated by GNU Autoconf 2.64. Invocation command line was
2259 $ $0 $@
2261 _ACEOF
2262 exec 5>>config.log
2264 cat <<_ASUNAME
2265 ## --------- ##
2266 ## Platform. ##
2267 ## --------- ##
2269 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2270 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2271 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2272 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2273 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2275 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2276 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2278 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2279 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2280 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2281 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2282 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2283 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2284 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2286 _ASUNAME
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 $as_echo "PATH: $as_dir"
2294 done
2295 IFS=$as_save_IFS
2297 } >&5
2299 cat >&5 <<_ACEOF
2302 ## ----------- ##
2303 ## Core tests. ##
2304 ## ----------- ##
2306 _ACEOF
2309 # Keep a trace of the command line.
2310 # Strip out --no-create and --no-recursion so they do not pile up.
2311 # Strip out --silent because we don't want to record it for future runs.
2312 # Also quote any args containing shell meta-characters.
2313 # Make two passes to allow for proper duplicate-argument suppression.
2314 ac_configure_args=
2315 ac_configure_args0=
2316 ac_configure_args1=
2317 ac_must_keep_next=false
2318 for ac_pass in 1 2
2320 for ac_arg
2322 case $ac_arg in
2323 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2325 | -silent | --silent | --silen | --sile | --sil)
2326 continue ;;
2327 *\'*)
2328 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2329 esac
2330 case $ac_pass in
2331 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2333 as_fn_append ac_configure_args1 " '$ac_arg'"
2334 if test $ac_must_keep_next = true; then
2335 ac_must_keep_next=false # Got value, back to normal.
2336 else
2337 case $ac_arg in
2338 *=* | --config-cache | -C | -disable-* | --disable-* \
2339 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2340 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2341 | -with-* | --with-* | -without-* | --without-* | --x)
2342 case "$ac_configure_args0 " in
2343 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2344 esac
2346 -* ) ac_must_keep_next=true ;;
2347 esac
2349 as_fn_append ac_configure_args " '$ac_arg'"
2351 esac
2352 done
2353 done
2354 { ac_configure_args0=; unset ac_configure_args0;}
2355 { ac_configure_args1=; unset ac_configure_args1;}
2357 # When interrupted or exit'd, cleanup temporary files, and complete
2358 # config.log. We remove comments because anyway the quotes in there
2359 # would cause problems or look ugly.
2360 # WARNING: Use '\'' to represent an apostrophe within the trap.
2361 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2362 trap 'exit_status=$?
2363 # Save into config.log some information that might help in debugging.
2365 echo
2367 cat <<\_ASBOX
2368 ## ---------------- ##
2369 ## Cache variables. ##
2370 ## ---------------- ##
2371 _ASBOX
2372 echo
2373 # The following way of writing the cache mishandles newlines in values,
2375 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2376 eval ac_val=\$$ac_var
2377 case $ac_val in #(
2378 *${as_nl}*)
2379 case $ac_var in #(
2380 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2381 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2382 esac
2383 case $ac_var in #(
2384 _ | IFS | as_nl) ;; #(
2385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2386 *) { eval $ac_var=; unset $ac_var;} ;;
2387 esac ;;
2388 esac
2389 done
2390 (set) 2>&1 |
2391 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2392 *${as_nl}ac_space=\ *)
2393 sed -n \
2394 "s/'\''/'\''\\\\'\'''\''/g;
2395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2396 ;; #(
2398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2400 esac |
2401 sort
2403 echo
2405 cat <<\_ASBOX
2406 ## ----------------- ##
2407 ## Output variables. ##
2408 ## ----------------- ##
2409 _ASBOX
2410 echo
2411 for ac_var in $ac_subst_vars
2413 eval ac_val=\$$ac_var
2414 case $ac_val in
2415 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2416 esac
2417 $as_echo "$ac_var='\''$ac_val'\''"
2418 done | sort
2419 echo
2421 if test -n "$ac_subst_files"; then
2422 cat <<\_ASBOX
2423 ## ------------------- ##
2424 ## File substitutions. ##
2425 ## ------------------- ##
2426 _ASBOX
2427 echo
2428 for ac_var in $ac_subst_files
2430 eval ac_val=\$$ac_var
2431 case $ac_val in
2432 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2433 esac
2434 $as_echo "$ac_var='\''$ac_val'\''"
2435 done | sort
2436 echo
2439 if test -s confdefs.h; then
2440 cat <<\_ASBOX
2441 ## ----------- ##
2442 ## confdefs.h. ##
2443 ## ----------- ##
2444 _ASBOX
2445 echo
2446 cat confdefs.h
2447 echo
2449 test "$ac_signal" != 0 &&
2450 $as_echo "$as_me: caught signal $ac_signal"
2451 $as_echo "$as_me: exit $exit_status"
2452 } >&5
2453 rm -f core *.core core.conftest.* &&
2454 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2455 exit $exit_status
2457 for ac_signal in 1 2 13 15; do
2458 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2459 done
2460 ac_signal=0
2462 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2463 rm -f -r conftest* confdefs.h
2465 $as_echo "/* confdefs.h */" > confdefs.h
2467 # Predefined preprocessor variables.
2469 cat >>confdefs.h <<_ACEOF
2470 #define PACKAGE_NAME "$PACKAGE_NAME"
2471 _ACEOF
2473 cat >>confdefs.h <<_ACEOF
2474 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2475 _ACEOF
2477 cat >>confdefs.h <<_ACEOF
2478 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2479 _ACEOF
2481 cat >>confdefs.h <<_ACEOF
2482 #define PACKAGE_STRING "$PACKAGE_STRING"
2483 _ACEOF
2485 cat >>confdefs.h <<_ACEOF
2486 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2487 _ACEOF
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_URL "$PACKAGE_URL"
2491 _ACEOF
2494 # Let the site file select an alternate cache file if it wants to.
2495 # Prefer an explicitly selected file to automatically selected ones.
2496 ac_site_file1=NONE
2497 ac_site_file2=NONE
2498 if test -n "$CONFIG_SITE"; then
2499 ac_site_file1=$CONFIG_SITE
2500 elif test "x$prefix" != xNONE; then
2501 ac_site_file1=$prefix/share/config.site
2502 ac_site_file2=$prefix/etc/config.site
2503 else
2504 ac_site_file1=$ac_default_prefix/share/config.site
2505 ac_site_file2=$ac_default_prefix/etc/config.site
2507 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2509 test "x$ac_site_file" = xNONE && continue
2510 if test -r "$ac_site_file"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2512 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2513 sed 's/^/| /' "$ac_site_file" >&5
2514 . "$ac_site_file"
2516 done
2518 if test -r "$cache_file"; then
2519 # Some versions of bash will fail to source /dev/null (special
2520 # files actually), so we avoid doing that.
2521 if test -f "$cache_file"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2523 $as_echo "$as_me: loading cache $cache_file" >&6;}
2524 case $cache_file in
2525 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2526 *) . "./$cache_file";;
2527 esac
2529 else
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2531 $as_echo "$as_me: creating cache $cache_file" >&6;}
2532 >$cache_file
2535 as_fn_append ac_header_list " unistd.h"
2536 as_fn_append ac_header_list " sys/time.h"
2537 as_fn_append ac_header_list " sys/times.h"
2538 as_fn_append ac_header_list " sys/resource.h"
2539 as_fn_append ac_header_list " sys/types.h"
2540 as_fn_append ac_header_list " sys/stat.h"
2541 as_fn_append ac_header_list " sys/wait.h"
2542 as_fn_append ac_header_list " floatingpoint.h"
2543 as_fn_append ac_header_list " ieeefp.h"
2544 as_fn_append ac_header_list " fenv.h"
2545 as_fn_append ac_header_list " fptrap.h"
2546 as_fn_append ac_header_list " fpxcp.h"
2547 as_fn_append ac_header_list " pwd.h"
2548 as_fn_append ac_header_list " complex.h"
2549 as_fn_append ac_func_list " getrusage"
2550 as_fn_append ac_func_list " times"
2551 as_fn_append ac_func_list " mkstemp"
2552 as_fn_append ac_func_list " strtof"
2553 as_fn_append ac_func_list " strtold"
2554 as_fn_append ac_func_list " snprintf"
2555 as_fn_append ac_func_list " ftruncate"
2556 as_fn_append ac_func_list " chsize"
2557 as_fn_append ac_func_list " chdir"
2558 as_fn_append ac_func_list " getlogin"
2559 as_fn_append ac_func_list " gethostname"
2560 as_fn_append ac_func_list " kill"
2561 as_fn_append ac_func_list " link"
2562 as_fn_append ac_func_list " symlink"
2563 as_fn_append ac_func_list " sleep"
2564 as_fn_append ac_func_list " ttyname"
2565 as_fn_append ac_func_list " alarm"
2566 as_fn_append ac_func_list " access"
2567 as_fn_append ac_func_list " fork"
2568 as_fn_append ac_func_list " execl"
2569 as_fn_append ac_func_list " wait"
2570 as_fn_append ac_func_list " setmode"
2571 as_fn_append ac_func_list " execve"
2572 as_fn_append ac_func_list " pipe"
2573 as_fn_append ac_func_list " dup2"
2574 as_fn_append ac_func_list " close"
2575 as_fn_append ac_func_list " strcasestr"
2576 as_fn_append ac_func_list " getrlimit"
2577 as_fn_append ac_func_list " gettimeofday"
2578 as_fn_append ac_func_list " stat"
2579 as_fn_append ac_func_list " fstat"
2580 as_fn_append ac_func_list " lstat"
2581 as_fn_append ac_func_list " getpwuid"
2582 as_fn_append ac_func_list " vsnprintf"
2583 as_fn_append ac_func_list " dup"
2584 as_fn_append ac_func_list " getcwd"
2585 as_fn_append ac_func_list " localtime_r"
2586 as_fn_append ac_func_list " gmtime_r"
2587 as_fn_append ac_func_list " getpwuid_r"
2588 as_fn_append ac_func_list " ttyname_r"
2589 as_fn_append ac_func_list " clock_gettime"
2590 as_fn_append ac_func_list " readlink"
2591 as_fn_append ac_func_list " getgid"
2592 as_fn_append ac_func_list " getpid"
2593 as_fn_append ac_func_list " getppid"
2594 as_fn_append ac_func_list " getuid"
2595 as_fn_append ac_func_list " geteuid"
2596 as_fn_append ac_func_list " umask"
2597 as_fn_append ac_func_list " getegid"
2598 as_fn_append ac_func_list " secure_getenv"
2599 as_fn_append ac_func_list " __secure_getenv"
2600 as_fn_append ac_func_list " mkostemp"
2601 as_fn_append ac_header_list " math.h"
2602 # Check that the precious variables saved in the cache have kept the same
2603 # value.
2604 ac_cache_corrupted=false
2605 for ac_var in $ac_precious_vars; do
2606 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2607 eval ac_new_set=\$ac_env_${ac_var}_set
2608 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2609 eval ac_new_val=\$ac_env_${ac_var}_value
2610 case $ac_old_set,$ac_new_set in
2611 set,)
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2613 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2614 ac_cache_corrupted=: ;;
2615 ,set)
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2617 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2618 ac_cache_corrupted=: ;;
2619 ,);;
2621 if test "x$ac_old_val" != "x$ac_new_val"; then
2622 # differences in whitespace do not lead to failure.
2623 ac_old_val_w=`echo x $ac_old_val`
2624 ac_new_val_w=`echo x $ac_new_val`
2625 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2627 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2628 ac_cache_corrupted=:
2629 else
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2631 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2632 eval $ac_var=\$ac_old_val
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2635 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2637 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2638 fi;;
2639 esac
2640 # Pass precious variables to config.status.
2641 if test "$ac_new_set" = set; then
2642 case $ac_new_val in
2643 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2644 *) ac_arg=$ac_var=$ac_new_val ;;
2645 esac
2646 case " $ac_configure_args " in
2647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2648 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2649 esac
2651 done
2652 if $ac_cache_corrupted; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2656 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2657 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2659 ## -------------------- ##
2660 ## Main body of script. ##
2661 ## -------------------- ##
2663 ac_ext=c
2664 ac_cpp='$CPP $CPPFLAGS'
2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2673 ac_config_headers="$ac_config_headers config.h"
2675 ac_aux_dir=
2676 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2677 for ac_t in install-sh install.sh shtool; do
2678 if test -f "$ac_dir/$ac_t"; then
2679 ac_aux_dir=$ac_dir
2680 ac_install_sh="$ac_aux_dir/$ac_t -c"
2681 break 2
2683 done
2684 done
2685 if test -z "$ac_aux_dir"; then
2686 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2689 # These three variables are undocumented and unsupported,
2690 # and are intended to be withdrawn in a future Autoconf release.
2691 # They can cause serious problems if a builder's source tree is in a directory
2692 # whose full name contains unusual characters.
2693 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2694 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2695 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2698 # Make sure we can run config.sub.
2699 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2700 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2703 $as_echo_n "checking build system type... " >&6; }
2704 if test "${ac_cv_build+set}" = set; then :
2705 $as_echo_n "(cached) " >&6
2706 else
2707 ac_build_alias=$build_alias
2708 test "x$ac_build_alias" = x &&
2709 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2710 test "x$ac_build_alias" = x &&
2711 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2712 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2713 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2717 $as_echo "$ac_cv_build" >&6; }
2718 case $ac_cv_build in
2719 *-*-*) ;;
2720 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2721 esac
2722 build=$ac_cv_build
2723 ac_save_IFS=$IFS; IFS='-'
2724 set x $ac_cv_build
2725 shift
2726 build_cpu=$1
2727 build_vendor=$2
2728 shift; shift
2729 # Remember, the first character of IFS is used to create $*,
2730 # except with old shells:
2731 build_os=$*
2732 IFS=$ac_save_IFS
2733 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2736 case ${build_alias} in
2737 "") build_noncanonical=${build} ;;
2738 *) build_noncanonical=${build_alias} ;;
2739 esac
2741 case ${host_alias} in
2742 "") host_noncanonical=${build_noncanonical} ;;
2743 *) host_noncanonical=${host_alias} ;;
2744 esac
2746 case ${target_alias} in
2747 "") target_noncanonical=${host_noncanonical} ;;
2748 *) target_noncanonical=${target_alias} ;;
2749 esac
2752 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2753 # have matching libraries, they should use host libraries: Makefile.tpl
2754 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2755 # However, they still use the build modules, because the corresponding
2756 # host modules (e.g. bison) are only built for the host when bootstrap
2757 # finishes. So:
2758 # - build_subdir is where we find build modules, and never changes.
2759 # - build_libsubdir is where we find build libraries, and can be overridden.
2761 # Prefix 'build-' so this never conflicts with target_subdir.
2762 build_subdir="build-${build_noncanonical}"
2764 # Check whether --with-build-libsubdir was given.
2765 if test "${with_build_libsubdir+set}" = set; then :
2766 withval=$with_build_libsubdir; build_libsubdir="$withval"
2767 else
2768 build_libsubdir="$build_subdir"
2771 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2772 if ( test $srcdir = . && test -d gcc ) \
2773 || test -d $srcdir/../host-${host_noncanonical}; then
2774 host_subdir="host-${host_noncanonical}"
2775 else
2776 host_subdir=.
2778 # No prefix.
2779 target_subdir=${target_noncanonical}
2782 # -------
2783 # Options
2784 # -------
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2787 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2788 # Check whether --enable-version-specific-runtime-libs was given.
2789 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2790 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2791 yes) version_specific_libs=yes ;;
2792 no) version_specific_libs=no ;;
2793 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2794 esac
2795 else
2796 version_specific_libs=no
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2800 $as_echo "$version_specific_libs" >&6; }
2802 # Build with intermodule optimisations
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2804 $as_echo_n "checking for --enable-intermodule... " >&6; }
2805 # Check whether --enable-intermodule was given.
2806 if test "${enable_intermodule+set}" = set; then :
2807 enableval=$enable_intermodule; case "$enable_intermodule" in
2808 yes) onestep="-onestep";;
2809 *) onestep="";;
2810 esac
2811 else
2812 onestep=""
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2816 $as_echo "$enable_intermodule" >&6; }
2817 if test x$onestep = x-onestep; then
2818 onestep_TRUE=
2819 onestep_FALSE='#'
2820 else
2821 onestep_TRUE='#'
2822 onestep_FALSE=
2827 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2829 # You will slowly go insane if you do not grok the following fact: when
2830 # building this library, the top-level /target/ becomes the library's /host/.
2832 # configure then causes --target to default to --host, exactly like any
2833 # other package using autoconf. Therefore, 'target' and 'host' will
2834 # always be the same. This makes sense both for native and cross compilers
2835 # just think about it for a little while. :-)
2837 # Also, if this library is being configured as part of a cross compiler, the
2838 # top-level configure script will pass the "real" host as $with_cross_host.
2840 # Do not delete or change the following two lines. For why, see
2841 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2843 $as_echo_n "checking host system type... " >&6; }
2844 if test "${ac_cv_host+set}" = set; then :
2845 $as_echo_n "(cached) " >&6
2846 else
2847 if test "x$host_alias" = x; then
2848 ac_cv_host=$ac_cv_build
2849 else
2850 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2851 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2856 $as_echo "$ac_cv_host" >&6; }
2857 case $ac_cv_host in
2858 *-*-*) ;;
2859 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2860 esac
2861 host=$ac_cv_host
2862 ac_save_IFS=$IFS; IFS='-'
2863 set x $ac_cv_host
2864 shift
2865 host_cpu=$1
2866 host_vendor=$2
2867 shift; shift
2868 # Remember, the first character of IFS is used to create $*,
2869 # except with old shells:
2870 host_os=$*
2871 IFS=$ac_save_IFS
2872 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2876 $as_echo_n "checking target system type... " >&6; }
2877 if test "${ac_cv_target+set}" = set; then :
2878 $as_echo_n "(cached) " >&6
2879 else
2880 if test "x$target_alias" = x; then
2881 ac_cv_target=$ac_cv_host
2882 else
2883 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2884 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2889 $as_echo "$ac_cv_target" >&6; }
2890 case $ac_cv_target in
2891 *-*-*) ;;
2892 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2893 esac
2894 target=$ac_cv_target
2895 ac_save_IFS=$IFS; IFS='-'
2896 set x $ac_cv_target
2897 shift
2898 target_cpu=$1
2899 target_vendor=$2
2900 shift; shift
2901 # Remember, the first character of IFS is used to create $*,
2902 # except with old shells:
2903 target_os=$*
2904 IFS=$ac_save_IFS
2905 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2908 # The aliases save the names the user supplied, while $host etc.
2909 # will get canonicalized.
2910 test -n "$target_alias" &&
2911 test "$program_prefix$program_suffix$program_transform_name" = \
2912 NONENONEs,x,x, &&
2913 program_prefix=${target_alias}-
2918 target_alias=${target_alias-$host_alias}
2921 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2922 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2923 # 1.9.6: minimum required version
2924 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2925 # of other PACKAGE_* variables will, however, and there's nothing
2926 # we can do about that; they come from AC_INIT).
2927 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2928 # file in the top srcdir, etc, etc), so stop complaining.
2929 # no-dist: we don't want 'dist' and related rules.
2930 # -Wall: turns on all automake warnings...
2931 # -Wno-portability: ...except this one, since GNU make is required.
2932 am__api_version='1.11'
2934 # Find a good install program. We prefer a C program (faster),
2935 # so one script is as good as another. But avoid the broken or
2936 # incompatible versions:
2937 # SysV /etc/install, /usr/sbin/install
2938 # SunOS /usr/etc/install
2939 # IRIX /sbin/install
2940 # AIX /bin/install
2941 # AmigaOS /C/install, which installs bootblocks on floppy discs
2942 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2943 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2944 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2945 # OS/2's system install, which has a completely different semantic
2946 # ./install, which can be erroneously created by make from ./install.sh.
2947 # Reject install programs that cannot install multiple files.
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2949 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2950 if test -z "$INSTALL"; then
2951 if test "${ac_cv_path_install+set}" = set; then :
2952 $as_echo_n "(cached) " >&6
2953 else
2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 for as_dir in $PATH
2957 IFS=$as_save_IFS
2958 test -z "$as_dir" && as_dir=.
2959 # Account for people who put trailing slashes in PATH elements.
2960 case $as_dir/ in #((
2961 ./ | .// | /[cC]/* | \
2962 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2963 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2964 /usr/ucb/* ) ;;
2966 # OSF1 and SCO ODT 3.0 have their own names for install.
2967 # Don't use installbsd from OSF since it installs stuff as root
2968 # by default.
2969 for ac_prog in ginstall scoinst install; do
2970 for ac_exec_ext in '' $ac_executable_extensions; do
2971 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2972 if test $ac_prog = install &&
2973 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2974 # AIX install. It has an incompatible calling convention.
2976 elif test $ac_prog = install &&
2977 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2978 # program-specific install script used by HP pwplus--don't use.
2980 else
2981 rm -rf conftest.one conftest.two conftest.dir
2982 echo one > conftest.one
2983 echo two > conftest.two
2984 mkdir conftest.dir
2985 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2986 test -s conftest.one && test -s conftest.two &&
2987 test -s conftest.dir/conftest.one &&
2988 test -s conftest.dir/conftest.two
2989 then
2990 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2991 break 3
2995 done
2996 done
2998 esac
3000 done
3001 IFS=$as_save_IFS
3003 rm -rf conftest.one conftest.two conftest.dir
3006 if test "${ac_cv_path_install+set}" = set; then
3007 INSTALL=$ac_cv_path_install
3008 else
3009 # As a last resort, use the slow shell script. Don't cache a
3010 # value for INSTALL within a source directory, because that will
3011 # break other packages using the cache if that directory is
3012 # removed, or if the value is a relative name.
3013 INSTALL=$ac_install_sh
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3017 $as_echo "$INSTALL" >&6; }
3019 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3020 # It thinks the first close brace ends the variable substitution.
3021 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3023 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3025 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3028 $as_echo_n "checking whether build environment is sane... " >&6; }
3029 # Just in case
3030 sleep 1
3031 echo timestamp > conftest.file
3032 # Reject unsafe characters in $srcdir or the absolute working directory
3033 # name. Accept space and tab only in the latter.
3034 am_lf='
3036 case `pwd` in
3037 *[\\\"\#\$\&\'\`$am_lf]*)
3038 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3039 esac
3040 case $srcdir in
3041 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3042 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3043 esac
3045 # Do `set' in a subshell so we don't clobber the current shell's
3046 # arguments. Must try -L first in case configure is actually a
3047 # symlink; some systems play weird games with the mod time of symlinks
3048 # (eg FreeBSD returns the mod time of the symlink's containing
3049 # directory).
3050 if (
3051 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3052 if test "$*" = "X"; then
3053 # -L didn't work.
3054 set X `ls -t "$srcdir/configure" conftest.file`
3056 rm -f conftest.file
3057 if test "$*" != "X $srcdir/configure conftest.file" \
3058 && test "$*" != "X conftest.file $srcdir/configure"; then
3060 # If neither matched, then we have a broken ls. This can happen
3061 # if, for instance, CONFIG_SHELL is bash and it inherits a
3062 # broken ls alias from the environment. This has actually
3063 # happened. Such a system could not be considered "sane".
3064 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3065 alias in your environment" "$LINENO" 5
3068 test "$2" = conftest.file
3070 then
3071 # Ok.
3073 else
3074 as_fn_error "newly created file is older than distributed files!
3075 Check your system clock" "$LINENO" 5
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3078 $as_echo "yes" >&6; }
3079 test "$program_prefix" != NONE &&
3080 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3081 # Use a double $ so make ignores it.
3082 test "$program_suffix" != NONE &&
3083 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3084 # Double any \ or $.
3085 # By default was `s,x,x', remove it if useless.
3086 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3087 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3089 # expand $ac_aux_dir to an absolute path
3090 am_aux_dir=`cd $ac_aux_dir && pwd`
3092 if test x"${MISSING+set}" != xset; then
3093 case $am_aux_dir in
3094 *\ * | *\ *)
3095 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3097 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3098 esac
3100 # Use eval to expand $SHELL
3101 if eval "$MISSING --run true"; then
3102 am_missing_run="$MISSING --run "
3103 else
3104 am_missing_run=
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3106 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3109 if test x"${install_sh}" != xset; then
3110 case $am_aux_dir in
3111 *\ * | *\ *)
3112 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3114 install_sh="\${SHELL} $am_aux_dir/install-sh"
3115 esac
3118 # Installed binaries are usually stripped using `strip' when the user
3119 # run `make install-strip'. However `strip' might not be the right
3120 # tool to use in cross-compilation environments, therefore Automake
3121 # will honor the `STRIP' environment variable to overrule this program.
3122 if test "$cross_compiling" != no; then
3123 if test -n "$ac_tool_prefix"; then
3124 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3125 set dummy ${ac_tool_prefix}strip; ac_word=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if test "${ac_cv_prog_STRIP+set}" = set; then :
3129 $as_echo_n "(cached) " >&6
3130 else
3131 if test -n "$STRIP"; then
3132 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3133 else
3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 for as_dir in $PATH
3137 IFS=$as_save_IFS
3138 test -z "$as_dir" && as_dir=.
3139 for ac_exec_ext in '' $ac_executable_extensions; do
3140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3141 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 break 2
3145 done
3146 done
3147 IFS=$as_save_IFS
3151 STRIP=$ac_cv_prog_STRIP
3152 if test -n "$STRIP"; then
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3154 $as_echo "$STRIP" >&6; }
3155 else
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3157 $as_echo "no" >&6; }
3162 if test -z "$ac_cv_prog_STRIP"; then
3163 ac_ct_STRIP=$STRIP
3164 # Extract the first word of "strip", so it can be a program name with args.
3165 set dummy strip; ac_word=$2
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 $as_echo_n "checking for $ac_word... " >&6; }
3168 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3170 else
3171 if test -n "$ac_ct_STRIP"; then
3172 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3173 else
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH
3177 IFS=$as_save_IFS
3178 test -z "$as_dir" && as_dir=.
3179 for ac_exec_ext in '' $ac_executable_extensions; do
3180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3181 ac_cv_prog_ac_ct_STRIP="strip"
3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 break 2
3185 done
3186 done
3187 IFS=$as_save_IFS
3191 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3192 if test -n "$ac_ct_STRIP"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3194 $as_echo "$ac_ct_STRIP" >&6; }
3195 else
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3200 if test "x$ac_ct_STRIP" = x; then
3201 STRIP=":"
3202 else
3203 case $cross_compiling:$ac_tool_warned in
3204 yes:)
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3207 ac_tool_warned=yes ;;
3208 esac
3209 STRIP=$ac_ct_STRIP
3211 else
3212 STRIP="$ac_cv_prog_STRIP"
3216 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3219 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3220 if test -z "$MKDIR_P"; then
3221 if test "${ac_cv_path_mkdir+set}" = set; then :
3222 $as_echo_n "(cached) " >&6
3223 else
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3227 IFS=$as_save_IFS
3228 test -z "$as_dir" && as_dir=.
3229 for ac_prog in mkdir gmkdir; do
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3232 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3233 'mkdir (GNU coreutils) '* | \
3234 'mkdir (coreutils) '* | \
3235 'mkdir (fileutils) '4.1*)
3236 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3237 break 3;;
3238 esac
3239 done
3240 done
3241 done
3242 IFS=$as_save_IFS
3246 if test "${ac_cv_path_mkdir+set}" = set; then
3247 MKDIR_P="$ac_cv_path_mkdir -p"
3248 else
3249 # As a last resort, use the slow shell script. Don't cache a
3250 # value for MKDIR_P within a source directory, because that will
3251 # break other packages using the cache if that directory is
3252 # removed, or if the value is a relative name.
3253 test -d ./--version && rmdir ./--version
3254 MKDIR_P="$ac_install_sh -d"
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3258 $as_echo "$MKDIR_P" >&6; }
3260 mkdir_p="$MKDIR_P"
3261 case $mkdir_p in
3262 [\\/$]* | ?:[\\/]*) ;;
3263 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3264 esac
3266 for ac_prog in gawk mawk nawk awk
3268 # Extract the first word of "$ac_prog", so it can be a program name with args.
3269 set dummy $ac_prog; ac_word=$2
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 $as_echo_n "checking for $ac_word... " >&6; }
3272 if test "${ac_cv_prog_AWK+set}" = set; then :
3273 $as_echo_n "(cached) " >&6
3274 else
3275 if test -n "$AWK"; then
3276 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3277 else
3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3279 for as_dir in $PATH
3281 IFS=$as_save_IFS
3282 test -z "$as_dir" && as_dir=.
3283 for ac_exec_ext in '' $ac_executable_extensions; do
3284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3285 ac_cv_prog_AWK="$ac_prog"
3286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 break 2
3289 done
3290 done
3291 IFS=$as_save_IFS
3295 AWK=$ac_cv_prog_AWK
3296 if test -n "$AWK"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3298 $as_echo "$AWK" >&6; }
3299 else
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3305 test -n "$AWK" && break
3306 done
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3309 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3310 set x ${MAKE-make}
3311 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3312 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3313 $as_echo_n "(cached) " >&6
3314 else
3315 cat >conftest.make <<\_ACEOF
3316 SHELL = /bin/sh
3317 all:
3318 @echo '@@@%%%=$(MAKE)=@@@%%%'
3319 _ACEOF
3320 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3321 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3322 *@@@%%%=?*=@@@%%%*)
3323 eval ac_cv_prog_make_${ac_make}_set=yes;;
3325 eval ac_cv_prog_make_${ac_make}_set=no;;
3326 esac
3327 rm -f conftest.make
3329 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3331 $as_echo "yes" >&6; }
3332 SET_MAKE=
3333 else
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3336 SET_MAKE="MAKE=${MAKE-make}"
3339 rm -rf .tst 2>/dev/null
3340 mkdir .tst 2>/dev/null
3341 if test -d .tst; then
3342 am__leading_dot=.
3343 else
3344 am__leading_dot=_
3346 rmdir .tst 2>/dev/null
3348 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3349 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3350 # is not polluted with repeated "-I."
3351 am__isrc=' -I$(srcdir)'
3352 # test to see if srcdir already configured
3353 if test -f $srcdir/config.status; then
3354 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3358 # test whether we have cygpath
3359 if test -z "$CYGPATH_W"; then
3360 if (cygpath --version) >/dev/null 2>/dev/null; then
3361 CYGPATH_W='cygpath -w'
3362 else
3363 CYGPATH_W=echo
3368 # Define the identity of the package.
3369 PACKAGE='libgfortran'
3370 VERSION='0.3'
3373 # Some tools Automake needs.
3375 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3378 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3381 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3384 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3387 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3389 # We need awk for the "check" target. The system "awk" is bad on
3390 # some platforms.
3391 # Always define AMTAR for backward compatibility. Yes, it's still used
3392 # in the wild :-( We should find a proper way to deprecate it ...
3393 AMTAR='$${TAR-tar}'
3395 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3404 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3405 # Check whether --enable-maintainer-mode was given.
3406 if test "${enable_maintainer_mode+set}" = set; then :
3407 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3408 else
3409 USE_MAINTAINER_MODE=no
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3413 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3414 if test $USE_MAINTAINER_MODE = yes; then
3415 MAINTAINER_MODE_TRUE=
3416 MAINTAINER_MODE_FALSE='#'
3417 else
3418 MAINTAINER_MODE_TRUE='#'
3419 MAINTAINER_MODE_FALSE=
3422 MAINT=$MAINTAINER_MODE_TRUE
3425 # Default to --enable-multilib
3426 # Check whether --enable-multilib was given.
3427 if test "${enable_multilib+set}" = set; then :
3428 enableval=$enable_multilib; case "$enableval" in
3429 yes) multilib=yes ;;
3430 no) multilib=no ;;
3431 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3432 esac
3433 else
3434 multilib=yes
3438 # We may get other options which we leave undocumented:
3439 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3440 # See config-ml.in if you want the gory details.
3442 if test "$srcdir" = "."; then
3443 if test "$with_target_subdir" != "."; then
3444 multi_basedir="$srcdir/$with_multisrctop../.."
3445 else
3446 multi_basedir="$srcdir/$with_multisrctop.."
3448 else
3449 multi_basedir="$srcdir/.."
3453 # Even if the default multilib is not a cross compilation,
3454 # it may be that some of the other multilibs are.
3455 if test $cross_compiling = no && test $multilib = yes \
3456 && test "x${with_multisubdir}" != x ; then
3457 cross_compiling=maybe
3460 ac_config_commands="$ac_config_commands default-1"
3463 # Handy for debugging:
3464 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3466 # Are we being configured with some form of cross compiler?
3467 # NB: We don't actually need to know this just now, but when, say, a test
3468 # suite is included, we'll have to know.
3469 if test "$build" != "$host"; then
3470 LIBGFOR_IS_NATIVE=false
3472 else
3473 LIBGFOR_IS_NATIVE=true
3476 DEPDIR="${am__leading_dot}deps"
3478 ac_config_commands="$ac_config_commands depfiles"
3481 am_make=${MAKE-make}
3482 cat > confinc << 'END'
3483 am__doit:
3484 @echo this is the am__doit target
3485 .PHONY: am__doit
3487 # If we don't find an include directive, just comment out the code.
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3489 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3490 am__include="#"
3491 am__quote=
3492 _am_result=none
3493 # First try GNU make style include.
3494 echo "include confinc" > confmf
3495 # Ignore all kinds of additional output from `make'.
3496 case `$am_make -s -f confmf 2> /dev/null` in #(
3497 *the\ am__doit\ target*)
3498 am__include=include
3499 am__quote=
3500 _am_result=GNU
3502 esac
3503 # Now try BSD make style include.
3504 if test "$am__include" = "#"; then
3505 echo '.include "confinc"' > confmf
3506 case `$am_make -s -f confmf 2> /dev/null` in #(
3507 *the\ am__doit\ target*)
3508 am__include=.include
3509 am__quote="\""
3510 _am_result=BSD
3512 esac
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3517 $as_echo "$_am_result" >&6; }
3518 rm -f confinc confmf
3520 # Check whether --enable-dependency-tracking was given.
3521 if test "${enable_dependency_tracking+set}" = set; then :
3522 enableval=$enable_dependency_tracking;
3525 if test "x$enable_dependency_tracking" != xno; then
3526 am_depcomp="$ac_aux_dir/depcomp"
3527 AMDEPBACKSLASH='\'
3528 am__nodep='_no'
3530 if test "x$enable_dependency_tracking" != xno; then
3531 AMDEP_TRUE=
3532 AMDEP_FALSE='#'
3533 else
3534 AMDEP_TRUE='#'
3535 AMDEP_FALSE=
3539 ac_ext=c
3540 ac_cpp='$CPP $CPPFLAGS'
3541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3544 if test -n "$ac_tool_prefix"; then
3545 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3546 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if test "${ac_cv_prog_CC+set}" = set; then :
3550 $as_echo_n "(cached) " >&6
3551 else
3552 if test -n "$CC"; then
3553 ac_cv_prog_CC="$CC" # Let the user override the test.
3554 else
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 for as_dir in $PATH
3558 IFS=$as_save_IFS
3559 test -z "$as_dir" && as_dir=.
3560 for ac_exec_ext in '' $ac_executable_extensions; do
3561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 break 2
3566 done
3567 done
3568 IFS=$as_save_IFS
3572 CC=$ac_cv_prog_CC
3573 if test -n "$CC"; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3575 $as_echo "$CC" >&6; }
3576 else
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3583 if test -z "$ac_cv_prog_CC"; then
3584 ac_ct_CC=$CC
3585 # Extract the first word of "gcc", so it can be a program name with args.
3586 set dummy gcc; ac_word=$2
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588 $as_echo_n "checking for $ac_word... " >&6; }
3589 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3590 $as_echo_n "(cached) " >&6
3591 else
3592 if test -n "$ac_ct_CC"; then
3593 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3594 else
3595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 for as_dir in $PATH
3598 IFS=$as_save_IFS
3599 test -z "$as_dir" && as_dir=.
3600 for ac_exec_ext in '' $ac_executable_extensions; do
3601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3602 ac_cv_prog_ac_ct_CC="gcc"
3603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 break 2
3606 done
3607 done
3608 IFS=$as_save_IFS
3612 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3613 if test -n "$ac_ct_CC"; then
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3615 $as_echo "$ac_ct_CC" >&6; }
3616 else
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3621 if test "x$ac_ct_CC" = x; then
3622 CC=""
3623 else
3624 case $cross_compiling:$ac_tool_warned in
3625 yes:)
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3628 ac_tool_warned=yes ;;
3629 esac
3630 CC=$ac_ct_CC
3632 else
3633 CC="$ac_cv_prog_CC"
3636 if test -z "$CC"; then
3637 if test -n "$ac_tool_prefix"; then
3638 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3639 set dummy ${ac_tool_prefix}cc; ac_word=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if test "${ac_cv_prog_CC+set}" = set; then :
3643 $as_echo_n "(cached) " >&6
3644 else
3645 if test -n "$CC"; then
3646 ac_cv_prog_CC="$CC" # Let the user override the test.
3647 else
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 for as_dir in $PATH
3651 IFS=$as_save_IFS
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655 ac_cv_prog_CC="${ac_tool_prefix}cc"
3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3657 break 2
3659 done
3660 done
3661 IFS=$as_save_IFS
3665 CC=$ac_cv_prog_CC
3666 if test -n "$CC"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3668 $as_echo "$CC" >&6; }
3669 else
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3677 if test -z "$CC"; then
3678 # Extract the first word of "cc", so it can be a program name with args.
3679 set dummy cc; ac_word=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if test "${ac_cv_prog_CC+set}" = set; then :
3683 $as_echo_n "(cached) " >&6
3684 else
3685 if test -n "$CC"; then
3686 ac_cv_prog_CC="$CC" # Let the user override the test.
3687 else
3688 ac_prog_rejected=no
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 for as_dir in $PATH
3692 IFS=$as_save_IFS
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3696 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3697 ac_prog_rejected=yes
3698 continue
3700 ac_cv_prog_CC="cc"
3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 break 2
3704 done
3705 done
3706 IFS=$as_save_IFS
3708 if test $ac_prog_rejected = yes; then
3709 # We found a bogon in the path, so make sure we never use it.
3710 set dummy $ac_cv_prog_CC
3711 shift
3712 if test $# != 0; then
3713 # We chose a different compiler from the bogus one.
3714 # However, it has the same basename, so the bogon will be chosen
3715 # first if we set CC to just the basename; use the full file name.
3716 shift
3717 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3722 CC=$ac_cv_prog_CC
3723 if test -n "$CC"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3726 else
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3733 if test -z "$CC"; then
3734 if test -n "$ac_tool_prefix"; then
3735 for ac_prog in cl.exe
3737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3738 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if test "${ac_cv_prog_CC+set}" = set; then :
3742 $as_echo_n "(cached) " >&6
3743 else
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3746 else
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 for as_dir in $PATH
3750 IFS=$as_save_IFS
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 break 2
3758 done
3759 done
3760 IFS=$as_save_IFS
3764 CC=$ac_cv_prog_CC
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3768 else
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3774 test -n "$CC" && break
3775 done
3777 if test -z "$CC"; then
3778 ac_ct_CC=$CC
3779 for ac_prog in cl.exe
3781 # Extract the first word of "$ac_prog", so it can be a program name with args.
3782 set dummy $ac_prog; ac_word=$2
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3784 $as_echo_n "checking for $ac_word... " >&6; }
3785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3786 $as_echo_n "(cached) " >&6
3787 else
3788 if test -n "$ac_ct_CC"; then
3789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3790 else
3791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 for as_dir in $PATH
3794 IFS=$as_save_IFS
3795 test -z "$as_dir" && as_dir=.
3796 for ac_exec_ext in '' $ac_executable_extensions; do
3797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3798 ac_cv_prog_ac_ct_CC="$ac_prog"
3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 break 2
3802 done
3803 done
3804 IFS=$as_save_IFS
3808 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3809 if test -n "$ac_ct_CC"; then
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3811 $as_echo "$ac_ct_CC" >&6; }
3812 else
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 $as_echo "no" >&6; }
3818 test -n "$ac_ct_CC" && break
3819 done
3821 if test "x$ac_ct_CC" = x; then
3822 CC=""
3823 else
3824 case $cross_compiling:$ac_tool_warned in
3825 yes:)
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3828 ac_tool_warned=yes ;;
3829 esac
3830 CC=$ac_ct_CC
3837 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3839 as_fn_error "no acceptable C compiler found in \$PATH
3840 See \`config.log' for more details." "$LINENO" 5; }
3842 # Provide some information about the compiler.
3843 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3844 set X $ac_compile
3845 ac_compiler=$2
3846 for ac_option in --version -v -V -qversion; do
3847 { { ac_try="$ac_compiler $ac_option >&5"
3848 case "(($ac_try" in
3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3851 esac
3852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3853 $as_echo "$ac_try_echo"; } >&5
3854 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3855 ac_status=$?
3856 if test -s conftest.err; then
3857 sed '10a\
3858 ... rest of stderr output deleted ...
3859 10q' conftest.err >conftest.er1
3860 cat conftest.er1 >&5
3861 rm -f conftest.er1 conftest.err
3863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3864 test $ac_status = 0; }
3865 done
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3871 main ()
3875 return 0;
3877 _ACEOF
3878 # FIXME: Cleanup?
3879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3880 (eval $ac_link) 2>&5
3881 ac_status=$?
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }; then :
3884 gcc_no_link=no
3885 else
3886 gcc_no_link=yes
3888 if test x$gcc_no_link = xyes; then
3889 # Setting cross_compile will disable run tests; it will
3890 # also disable AC_CHECK_FILE but that's generally
3891 # correct if we can't link.
3892 cross_compiling=yes
3893 EXEEXT=
3894 else
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3899 main ()
3903 return 0;
3905 _ACEOF
3906 ac_clean_files_save=$ac_clean_files
3907 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3908 # Try to create an executable without -o first, disregard a.out.
3909 # It will help us diagnose broken compilers, and finding out an intuition
3910 # of exeext.
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3912 $as_echo_n "checking for C compiler default output file name... " >&6; }
3913 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3915 # The possible output files:
3916 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3918 ac_rmfiles=
3919 for ac_file in $ac_files
3921 case $ac_file in
3922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3923 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3924 esac
3925 done
3926 rm -f $ac_rmfiles
3928 if { { ac_try="$ac_link_default"
3929 case "(($ac_try" in
3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3931 *) ac_try_echo=$ac_try;;
3932 esac
3933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934 $as_echo "$ac_try_echo"; } >&5
3935 (eval "$ac_link_default") 2>&5
3936 ac_status=$?
3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938 test $ac_status = 0; }; then :
3939 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3940 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3941 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3942 # so that the user can short-circuit this test for compilers unknown to
3943 # Autoconf.
3944 for ac_file in $ac_files ''
3946 test -f "$ac_file" || continue
3947 case $ac_file in
3948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3950 [ab].out )
3951 # We found the default executable, but exeext='' is most
3952 # certainly right.
3953 break;;
3954 *.* )
3955 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3956 then :; else
3957 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3959 # We set ac_cv_exeext here because the later test for it is not
3960 # safe: cross compilers may not add the suffix if given an `-o'
3961 # argument, so we may need to know it at that point already.
3962 # Even if this section looks crufty: it has the advantage of
3963 # actually working.
3964 break;;
3966 break;;
3967 esac
3968 done
3969 test "$ac_cv_exeext" = no && ac_cv_exeext=
3971 else
3972 ac_file=''
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3975 $as_echo "$ac_file" >&6; }
3976 if test -z "$ac_file"; then :
3977 $as_echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.$ac_ext >&5
3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 { as_fn_set_status 77
3983 as_fn_error "C compiler cannot create executables
3984 See \`config.log' for more details." "$LINENO" 5; }; }
3986 ac_exeext=$ac_cv_exeext
3988 # Check that the compiler produces executables we can run. If not, either
3989 # the compiler is broken, or we cross compile.
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3991 $as_echo_n "checking whether the C compiler works... " >&6; }
3992 # If not cross compiling, check that we can run a simple program.
3993 if test "$cross_compiling" != yes; then
3994 if { ac_try='./$ac_file'
3995 { { case "(($ac_try" in
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3998 esac
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001 (eval "$ac_try") 2>&5
4002 ac_status=$?
4003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 test $ac_status = 0; }; }; then
4005 cross_compiling=no
4006 else
4007 if test "$cross_compiling" = maybe; then
4008 cross_compiling=yes
4009 else
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error "cannot run C compiled programs.
4013 If you meant to cross compile, use \`--host'.
4014 See \`config.log' for more details." "$LINENO" 5; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4019 $as_echo "yes" >&6; }
4021 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4022 ac_clean_files=$ac_clean_files_save
4023 # Check that the compiler produces executables we can run. If not, either
4024 # the compiler is broken, or we cross compile.
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4026 $as_echo_n "checking whether we are cross compiling... " >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4028 $as_echo "$cross_compiling" >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4031 $as_echo_n "checking for suffix of executables... " >&6; }
4032 if { { ac_try="$ac_link"
4033 case "(($ac_try" in
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4036 esac
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_link") 2>&5
4040 ac_status=$?
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; then :
4043 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4044 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4045 # work properly (i.e., refer to `conftest.exe'), while it won't with
4046 # `rm'.
4047 for ac_file in conftest.exe conftest conftest.*; do
4048 test -f "$ac_file" || continue
4049 case $ac_file in
4050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4051 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4052 break;;
4053 * ) break;;
4054 esac
4055 done
4056 else
4057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4059 as_fn_error "cannot compute suffix of executables: cannot compile and link
4060 See \`config.log' for more details." "$LINENO" 5; }
4062 rm -f conftest$ac_cv_exeext
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4064 $as_echo "$ac_cv_exeext" >&6; }
4066 rm -f conftest.$ac_ext
4067 EXEEXT=$ac_cv_exeext
4068 ac_exeext=$EXEEXT
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4071 $as_echo_n "checking for suffix of object files... " >&6; }
4072 if test "${ac_cv_objext+set}" = set; then :
4073 $as_echo_n "(cached) " >&6
4074 else
4075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h. */
4079 main ()
4083 return 0;
4085 _ACEOF
4086 rm -f conftest.o conftest.obj
4087 if { { ac_try="$ac_compile"
4088 case "(($ac_try" in
4089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4091 esac
4092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 $as_echo "$ac_try_echo"; } >&5
4094 (eval "$ac_compile") 2>&5
4095 ac_status=$?
4096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 test $ac_status = 0; }; then :
4098 for ac_file in conftest.o conftest.obj conftest.*; do
4099 test -f "$ac_file" || continue;
4100 case $ac_file in
4101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4102 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4103 break;;
4104 esac
4105 done
4106 else
4107 $as_echo "$as_me: failed program was:" >&5
4108 sed 's/^/| /' conftest.$ac_ext >&5
4110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error "cannot compute suffix of object files: cannot compile
4113 See \`config.log' for more details." "$LINENO" 5; }
4115 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4118 $as_echo "$ac_cv_objext" >&6; }
4119 OBJEXT=$ac_cv_objext
4120 ac_objext=$OBJEXT
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4122 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4123 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4124 $as_echo_n "(cached) " >&6
4125 else
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4130 main ()
4132 #ifndef __GNUC__
4133 choke me
4134 #endif
4137 return 0;
4139 _ACEOF
4140 if ac_fn_c_try_compile "$LINENO"; then :
4141 ac_compiler_gnu=yes
4142 else
4143 ac_compiler_gnu=no
4145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4146 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4150 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4151 if test $ac_compiler_gnu = yes; then
4152 GCC=yes
4153 else
4154 GCC=
4156 ac_test_CFLAGS=${CFLAGS+set}
4157 ac_save_CFLAGS=$CFLAGS
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4159 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4160 if test "${ac_cv_prog_cc_g+set}" = set; then :
4161 $as_echo_n "(cached) " >&6
4162 else
4163 ac_save_c_werror_flag=$ac_c_werror_flag
4164 ac_c_werror_flag=yes
4165 ac_cv_prog_cc_g=no
4166 CFLAGS="-g"
4167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4171 main ()
4175 return 0;
4177 _ACEOF
4178 if ac_fn_c_try_compile "$LINENO"; then :
4179 ac_cv_prog_cc_g=yes
4180 else
4181 CFLAGS=""
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4186 main ()
4190 return 0;
4192 _ACEOF
4193 if ac_fn_c_try_compile "$LINENO"; then :
4195 else
4196 ac_c_werror_flag=$ac_save_c_werror_flag
4197 CFLAGS="-g"
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4202 main ()
4206 return 0;
4208 _ACEOF
4209 if ac_fn_c_try_compile "$LINENO"; then :
4210 ac_cv_prog_cc_g=yes
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 ac_c_werror_flag=$ac_save_c_werror_flag
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4220 $as_echo "$ac_cv_prog_cc_g" >&6; }
4221 if test "$ac_test_CFLAGS" = set; then
4222 CFLAGS=$ac_save_CFLAGS
4223 elif test $ac_cv_prog_cc_g = yes; then
4224 if test "$GCC" = yes; then
4225 CFLAGS="-g -O2"
4226 else
4227 CFLAGS="-g"
4229 else
4230 if test "$GCC" = yes; then
4231 CFLAGS="-O2"
4232 else
4233 CFLAGS=
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4237 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4238 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4239 $as_echo_n "(cached) " >&6
4240 else
4241 ac_cv_prog_cc_c89=no
4242 ac_save_CC=$CC
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4245 #include <stdarg.h>
4246 #include <stdio.h>
4247 #include <sys/types.h>
4248 #include <sys/stat.h>
4249 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4250 struct buf { int x; };
4251 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4252 static char *e (p, i)
4253 char **p;
4254 int i;
4256 return p[i];
4258 static char *f (char * (*g) (char **, int), char **p, ...)
4260 char *s;
4261 va_list v;
4262 va_start (v,p);
4263 s = g (p, va_arg (v,int));
4264 va_end (v);
4265 return s;
4268 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4269 function prototypes and stuff, but not '\xHH' hex character constants.
4270 These don't provoke an error unfortunately, instead are silently treated
4271 as 'x'. The following induces an error, until -std is added to get
4272 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4273 array size at least. It's necessary to write '\x00'==0 to get something
4274 that's true only with -std. */
4275 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4277 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4278 inside strings and character constants. */
4279 #define FOO(x) 'x'
4280 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4282 int test (int i, double x);
4283 struct s1 {int (*f) (int a);};
4284 struct s2 {int (*f) (double a);};
4285 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4286 int argc;
4287 char **argv;
4289 main ()
4291 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4293 return 0;
4295 _ACEOF
4296 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4297 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4299 CC="$ac_save_CC $ac_arg"
4300 if ac_fn_c_try_compile "$LINENO"; then :
4301 ac_cv_prog_cc_c89=$ac_arg
4303 rm -f core conftest.err conftest.$ac_objext
4304 test "x$ac_cv_prog_cc_c89" != "xno" && break
4305 done
4306 rm -f conftest.$ac_ext
4307 CC=$ac_save_CC
4310 # AC_CACHE_VAL
4311 case "x$ac_cv_prog_cc_c89" in
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4314 $as_echo "none needed" >&6; } ;;
4315 xno)
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4317 $as_echo "unsupported" >&6; } ;;
4319 CC="$CC $ac_cv_prog_cc_c89"
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4321 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4322 esac
4323 if test "x$ac_cv_prog_cc_c89" != xno; then :
4327 ac_ext=c
4328 ac_cpp='$CPP $CPPFLAGS'
4329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4333 depcc="$CC" am_compiler_list=
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4336 $as_echo_n "checking dependency style of $depcc... " >&6; }
4337 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4338 $as_echo_n "(cached) " >&6
4339 else
4340 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4341 # We make a subdir and do the tests there. Otherwise we can end up
4342 # making bogus files that we don't know about and never remove. For
4343 # instance it was reported that on HP-UX the gcc test will end up
4344 # making a dummy file named `D' -- because `-MD' means `put the output
4345 # in D'.
4346 rm -rf conftest.dir
4347 mkdir conftest.dir
4348 # Copy depcomp to subdir because otherwise we won't find it if we're
4349 # using a relative directory.
4350 cp "$am_depcomp" conftest.dir
4351 cd conftest.dir
4352 # We will build objects and dependencies in a subdirectory because
4353 # it helps to detect inapplicable dependency modes. For instance
4354 # both Tru64's cc and ICC support -MD to output dependencies as a
4355 # side effect of compilation, but ICC will put the dependencies in
4356 # the current directory while Tru64 will put them in the object
4357 # directory.
4358 mkdir sub
4360 am_cv_CC_dependencies_compiler_type=none
4361 if test "$am_compiler_list" = ""; then
4362 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4364 am__universal=false
4365 case " $depcc " in #(
4366 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4367 esac
4369 for depmode in $am_compiler_list; do
4370 # Setup a source with many dependencies, because some compilers
4371 # like to wrap large dependency lists on column 80 (with \), and
4372 # we should not choose a depcomp mode which is confused by this.
4374 # We need to recreate these files for each test, as the compiler may
4375 # overwrite some of them when testing with obscure command lines.
4376 # This happens at least with the AIX C compiler.
4377 : > sub/conftest.c
4378 for i in 1 2 3 4 5 6; do
4379 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4380 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4381 # Solaris 8's {/usr,}/bin/sh.
4382 touch sub/conftst$i.h
4383 done
4384 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4386 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4387 # mode. It turns out that the SunPro C++ compiler does not properly
4388 # handle `-M -o', and we need to detect this. Also, some Intel
4389 # versions had trouble with output in subdirs
4390 am__obj=sub/conftest.${OBJEXT-o}
4391 am__minus_obj="-o $am__obj"
4392 case $depmode in
4393 gcc)
4394 # This depmode causes a compiler race in universal mode.
4395 test "$am__universal" = false || continue
4397 nosideeffect)
4398 # after this tag, mechanisms are not by side-effect, so they'll
4399 # only be used when explicitly requested
4400 if test "x$enable_dependency_tracking" = xyes; then
4401 continue
4402 else
4403 break
4406 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4407 # This compiler won't grok `-c -o', but also, the minuso test has
4408 # not run yet. These depmodes are late enough in the game, and
4409 # so weak that their functioning should not be impacted.
4410 am__obj=conftest.${OBJEXT-o}
4411 am__minus_obj=
4413 none) break ;;
4414 esac
4415 if depmode=$depmode \
4416 source=sub/conftest.c object=$am__obj \
4417 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4418 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4419 >/dev/null 2>conftest.err &&
4420 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4421 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4422 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4423 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4424 # icc doesn't choke on unknown options, it will just issue warnings
4425 # or remarks (even with -Werror). So we grep stderr for any message
4426 # that says an option was ignored or not supported.
4427 # When given -MP, icc 7.0 and 7.1 complain thusly:
4428 # icc: Command line warning: ignoring option '-M'; no argument required
4429 # The diagnosis changed in icc 8.0:
4430 # icc: Command line remark: option '-MP' not supported
4431 if (grep 'ignoring option' conftest.err ||
4432 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4433 am_cv_CC_dependencies_compiler_type=$depmode
4434 break
4437 done
4439 cd ..
4440 rm -rf conftest.dir
4441 else
4442 am_cv_CC_dependencies_compiler_type=none
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4447 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4448 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4451 test "x$enable_dependency_tracking" != xno \
4452 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4453 am__fastdepCC_TRUE=
4454 am__fastdepCC_FALSE='#'
4455 else
4456 am__fastdepCC_TRUE='#'
4457 am__fastdepCC_FALSE=
4462 ac_ext=c
4463 ac_cpp='$CPP $CPPFLAGS'
4464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4468 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4469 # On Suns, sometimes $CPP names a directory.
4470 if test -n "$CPP" && test -d "$CPP"; then
4471 CPP=
4473 if test -z "$CPP"; then
4474 if test "${ac_cv_prog_CPP+set}" = set; then :
4475 $as_echo_n "(cached) " >&6
4476 else
4477 # Double quotes because CPP needs to be expanded
4478 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4480 ac_preproc_ok=false
4481 for ac_c_preproc_warn_flag in '' yes
4483 # Use a header file that comes with gcc, so configuring glibc
4484 # with a fresh cross-compiler works.
4485 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4486 # <limits.h> exists even on freestanding compilers.
4487 # On the NeXT, cc -E runs the code through the compiler's parser,
4488 # not just through cpp. "Syntax error" is here to catch this case.
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4491 #ifdef __STDC__
4492 # include <limits.h>
4493 #else
4494 # include <assert.h>
4495 #endif
4496 Syntax error
4497 _ACEOF
4498 if ac_fn_c_try_cpp "$LINENO"; then :
4500 else
4501 # Broken: fails on valid input.
4502 continue
4504 rm -f conftest.err conftest.$ac_ext
4506 # OK, works on sane cases. Now check whether nonexistent headers
4507 # can be detected and how.
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4510 #include <ac_nonexistent.h>
4511 _ACEOF
4512 if ac_fn_c_try_cpp "$LINENO"; then :
4513 # Broken: success on invalid input.
4514 continue
4515 else
4516 # Passes both tests.
4517 ac_preproc_ok=:
4518 break
4520 rm -f conftest.err conftest.$ac_ext
4522 done
4523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4524 rm -f conftest.err conftest.$ac_ext
4525 if $ac_preproc_ok; then :
4526 break
4529 done
4530 ac_cv_prog_CPP=$CPP
4533 CPP=$ac_cv_prog_CPP
4534 else
4535 ac_cv_prog_CPP=$CPP
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4538 $as_echo "$CPP" >&6; }
4539 ac_preproc_ok=false
4540 for ac_c_preproc_warn_flag in '' yes
4542 # Use a header file that comes with gcc, so configuring glibc
4543 # with a fresh cross-compiler works.
4544 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4545 # <limits.h> exists even on freestanding compilers.
4546 # On the NeXT, cc -E runs the code through the compiler's parser,
4547 # not just through cpp. "Syntax error" is here to catch this case.
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4550 #ifdef __STDC__
4551 # include <limits.h>
4552 #else
4553 # include <assert.h>
4554 #endif
4555 Syntax error
4556 _ACEOF
4557 if ac_fn_c_try_cpp "$LINENO"; then :
4559 else
4560 # Broken: fails on valid input.
4561 continue
4563 rm -f conftest.err conftest.$ac_ext
4565 # OK, works on sane cases. Now check whether nonexistent headers
4566 # can be detected and how.
4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4569 #include <ac_nonexistent.h>
4570 _ACEOF
4571 if ac_fn_c_try_cpp "$LINENO"; then :
4572 # Broken: success on invalid input.
4573 continue
4574 else
4575 # Passes both tests.
4576 ac_preproc_ok=:
4577 break
4579 rm -f conftest.err conftest.$ac_ext
4581 done
4582 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4583 rm -f conftest.err conftest.$ac_ext
4584 if $ac_preproc_ok; then :
4586 else
4587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4589 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4590 See \`config.log' for more details." "$LINENO" 5; }
4593 ac_ext=c
4594 ac_cpp='$CPP $CPPFLAGS'
4595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4601 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4602 if test "${ac_cv_path_GREP+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 if test -z "$GREP"; then
4606 ac_path_GREP_found=false
4607 # Loop through the user's path and test for each of PROGNAME-LIST
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4611 IFS=$as_save_IFS
4612 test -z "$as_dir" && as_dir=.
4613 for ac_prog in grep ggrep; do
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4616 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4617 # Check for GNU ac_path_GREP and select it if it is found.
4618 # Check for GNU $ac_path_GREP
4619 case `"$ac_path_GREP" --version 2>&1` in
4620 *GNU*)
4621 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4623 ac_count=0
4624 $as_echo_n 0123456789 >"conftest.in"
4625 while :
4627 cat "conftest.in" "conftest.in" >"conftest.tmp"
4628 mv "conftest.tmp" "conftest.in"
4629 cp "conftest.in" "conftest.nl"
4630 $as_echo 'GREP' >> "conftest.nl"
4631 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4632 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4633 as_fn_arith $ac_count + 1 && ac_count=$as_val
4634 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4635 # Best one so far, save it but keep looking for a better one
4636 ac_cv_path_GREP="$ac_path_GREP"
4637 ac_path_GREP_max=$ac_count
4639 # 10*(2^10) chars as input seems more than enough
4640 test $ac_count -gt 10 && break
4641 done
4642 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4643 esac
4645 $ac_path_GREP_found && break 3
4646 done
4647 done
4648 done
4649 IFS=$as_save_IFS
4650 if test -z "$ac_cv_path_GREP"; then
4651 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4653 else
4654 ac_cv_path_GREP=$GREP
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4659 $as_echo "$ac_cv_path_GREP" >&6; }
4660 GREP="$ac_cv_path_GREP"
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4664 $as_echo_n "checking for egrep... " >&6; }
4665 if test "${ac_cv_path_EGREP+set}" = set; then :
4666 $as_echo_n "(cached) " >&6
4667 else
4668 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4669 then ac_cv_path_EGREP="$GREP -E"
4670 else
4671 if test -z "$EGREP"; then
4672 ac_path_EGREP_found=false
4673 # Loop through the user's path and test for each of PROGNAME-LIST
4674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4677 IFS=$as_save_IFS
4678 test -z "$as_dir" && as_dir=.
4679 for ac_prog in egrep; do
4680 for ac_exec_ext in '' $ac_executable_extensions; do
4681 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4682 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4683 # Check for GNU ac_path_EGREP and select it if it is found.
4684 # Check for GNU $ac_path_EGREP
4685 case `"$ac_path_EGREP" --version 2>&1` in
4686 *GNU*)
4687 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4689 ac_count=0
4690 $as_echo_n 0123456789 >"conftest.in"
4691 while :
4693 cat "conftest.in" "conftest.in" >"conftest.tmp"
4694 mv "conftest.tmp" "conftest.in"
4695 cp "conftest.in" "conftest.nl"
4696 $as_echo 'EGREP' >> "conftest.nl"
4697 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4698 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4699 as_fn_arith $ac_count + 1 && ac_count=$as_val
4700 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4701 # Best one so far, save it but keep looking for a better one
4702 ac_cv_path_EGREP="$ac_path_EGREP"
4703 ac_path_EGREP_max=$ac_count
4705 # 10*(2^10) chars as input seems more than enough
4706 test $ac_count -gt 10 && break
4707 done
4708 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4709 esac
4711 $ac_path_EGREP_found && break 3
4712 done
4713 done
4714 done
4715 IFS=$as_save_IFS
4716 if test -z "$ac_cv_path_EGREP"; then
4717 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4719 else
4720 ac_cv_path_EGREP=$EGREP
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4726 $as_echo "$ac_cv_path_EGREP" >&6; }
4727 EGREP="$ac_cv_path_EGREP"
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4731 $as_echo_n "checking for ANSI C header files... " >&6; }
4732 if test "${ac_cv_header_stdc+set}" = set; then :
4733 $as_echo_n "(cached) " >&6
4734 else
4735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4737 #include <stdlib.h>
4738 #include <stdarg.h>
4739 #include <string.h>
4740 #include <float.h>
4743 main ()
4747 return 0;
4749 _ACEOF
4750 if ac_fn_c_try_compile "$LINENO"; then :
4751 ac_cv_header_stdc=yes
4752 else
4753 ac_cv_header_stdc=no
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 if test $ac_cv_header_stdc = yes; then
4758 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4761 #include <string.h>
4763 _ACEOF
4764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4765 $EGREP "memchr" >/dev/null 2>&1; then :
4767 else
4768 ac_cv_header_stdc=no
4770 rm -f conftest*
4774 if test $ac_cv_header_stdc = yes; then
4775 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4778 #include <stdlib.h>
4780 _ACEOF
4781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4782 $EGREP "free" >/dev/null 2>&1; then :
4784 else
4785 ac_cv_header_stdc=no
4787 rm -f conftest*
4791 if test $ac_cv_header_stdc = yes; then
4792 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4793 if test "$cross_compiling" = yes; then :
4795 else
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4798 #include <ctype.h>
4799 #include <stdlib.h>
4800 #if ((' ' & 0x0FF) == 0x020)
4801 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4802 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4803 #else
4804 # define ISLOWER(c) \
4805 (('a' <= (c) && (c) <= 'i') \
4806 || ('j' <= (c) && (c) <= 'r') \
4807 || ('s' <= (c) && (c) <= 'z'))
4808 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4809 #endif
4811 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4813 main ()
4815 int i;
4816 for (i = 0; i < 256; i++)
4817 if (XOR (islower (i), ISLOWER (i))
4818 || toupper (i) != TOUPPER (i))
4819 return 2;
4820 return 0;
4822 _ACEOF
4823 if ac_fn_c_try_run "$LINENO"; then :
4825 else
4826 ac_cv_header_stdc=no
4828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4829 conftest.$ac_objext conftest.beam conftest.$ac_ext
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4835 $as_echo "$ac_cv_header_stdc" >&6; }
4836 if test $ac_cv_header_stdc = yes; then
4838 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4842 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4843 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4844 inttypes.h stdint.h unistd.h
4845 do :
4846 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4847 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4849 eval as_val=\$$as_ac_Header
4850 if test "x$as_val" = x""yes; then :
4851 cat >>confdefs.h <<_ACEOF
4852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4853 _ACEOF
4857 done
4861 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4862 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4863 MINIX=yes
4864 else
4865 MINIX=
4869 if test "$MINIX" = yes; then
4871 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4874 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4877 $as_echo "#define _MINIX 1" >>confdefs.h
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4883 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4884 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4885 $as_echo_n "(cached) " >&6
4886 else
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4890 # define __EXTENSIONS__ 1
4891 $ac_includes_default
4893 main ()
4897 return 0;
4899 _ACEOF
4900 if ac_fn_c_try_compile "$LINENO"; then :
4901 ac_cv_safe_to_define___extensions__=yes
4902 else
4903 ac_cv_safe_to_define___extensions__=no
4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4908 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4909 test $ac_cv_safe_to_define___extensions__ = yes &&
4910 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4912 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4914 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4916 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4918 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4922 # Calculate toolexeclibdir
4923 # Also toolexecdir, though it's only used in toolexeclibdir
4924 case ${version_specific_libs} in
4925 yes)
4926 # Need the gcc compiler version to know where to install libraries
4927 # and header files if --enable-version-specific-runtime-libs option
4928 # is selected.
4929 toolexecdir='$(libdir)/gcc/$(target_alias)'
4930 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4933 if test -n "$with_cross_host" &&
4934 test x"$with_cross_host" != x"no"; then
4935 # Install a library built with a cross compiler in tooldir, not libdir.
4936 toolexecdir='$(exec_prefix)/$(target_alias)'
4937 toolexeclibdir='$(toolexecdir)/lib'
4938 else
4939 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4940 toolexeclibdir='$(libdir)'
4942 multi_os_directory=`$CC -print-multi-os-directory`
4943 case $multi_os_directory in
4944 .) ;; # Avoid trailing /.
4945 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4946 esac
4948 esac
4952 # Create a spec file, so that compile/link tests don't fail
4953 test -f libgfortran.spec || touch libgfortran.spec
4955 ac_ext=c
4956 ac_cpp='$CPP $CPPFLAGS'
4957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4961 # Check the compiler.
4962 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4963 # We must force CC to /not/ be precious variables; otherwise
4964 # the wrong, non-multilib-adjusted value will be used in multilibs.
4965 # As a side effect, we have to subst CFLAGS ourselves.
4969 ac_ext=c
4970 ac_cpp='$CPP $CPPFLAGS'
4971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4974 if test -n "$ac_tool_prefix"; then
4975 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4976 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if test "${ac_cv_prog_CC+set}" = set; then :
4980 $as_echo_n "(cached) " >&6
4981 else
4982 if test -n "$CC"; then
4983 ac_cv_prog_CC="$CC" # Let the user override the test.
4984 else
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 for as_dir in $PATH
4988 IFS=$as_save_IFS
4989 test -z "$as_dir" && as_dir=.
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 break 2
4996 done
4997 done
4998 IFS=$as_save_IFS
5002 CC=$ac_cv_prog_CC
5003 if test -n "$CC"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5005 $as_echo "$CC" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5013 if test -z "$ac_cv_prog_CC"; then
5014 ac_ct_CC=$CC
5015 # Extract the first word of "gcc", so it can be a program name with args.
5016 set dummy gcc; ac_word=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5020 $as_echo_n "(cached) " >&6
5021 else
5022 if test -n "$ac_ct_CC"; then
5023 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5024 else
5025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5026 for as_dir in $PATH
5028 IFS=$as_save_IFS
5029 test -z "$as_dir" && as_dir=.
5030 for ac_exec_ext in '' $ac_executable_extensions; do
5031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5032 ac_cv_prog_ac_ct_CC="gcc"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 break 2
5036 done
5037 done
5038 IFS=$as_save_IFS
5042 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5043 if test -n "$ac_ct_CC"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5045 $as_echo "$ac_ct_CC" >&6; }
5046 else
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5051 if test "x$ac_ct_CC" = x; then
5052 CC=""
5053 else
5054 case $cross_compiling:$ac_tool_warned in
5055 yes:)
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5058 ac_tool_warned=yes ;;
5059 esac
5060 CC=$ac_ct_CC
5062 else
5063 CC="$ac_cv_prog_CC"
5066 if test -z "$CC"; then
5067 if test -n "$ac_tool_prefix"; then
5068 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5069 set dummy ${ac_tool_prefix}cc; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_CC+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$CC"; then
5076 ac_cv_prog_CC="$CC" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_CC="${ac_tool_prefix}cc"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 CC=$ac_cv_prog_CC
5096 if test -n "$CC"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5098 $as_echo "$CC" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5107 if test -z "$CC"; then
5108 # Extract the first word of "cc", so it can be a program name with args.
5109 set dummy cc; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if test "${ac_cv_prog_CC+set}" = set; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 if test -n "$CC"; then
5116 ac_cv_prog_CC="$CC" # Let the user override the test.
5117 else
5118 ac_prog_rejected=no
5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 for as_dir in $PATH
5122 IFS=$as_save_IFS
5123 test -z "$as_dir" && as_dir=.
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5126 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5127 ac_prog_rejected=yes
5128 continue
5130 ac_cv_prog_CC="cc"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 break 2
5134 done
5135 done
5136 IFS=$as_save_IFS
5138 if test $ac_prog_rejected = yes; then
5139 # We found a bogon in the path, so make sure we never use it.
5140 set dummy $ac_cv_prog_CC
5141 shift
5142 if test $# != 0; then
5143 # We chose a different compiler from the bogus one.
5144 # However, it has the same basename, so the bogon will be chosen
5145 # first if we set CC to just the basename; use the full file name.
5146 shift
5147 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5152 CC=$ac_cv_prog_CC
5153 if test -n "$CC"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5155 $as_echo "$CC" >&6; }
5156 else
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5163 if test -z "$CC"; then
5164 if test -n "$ac_tool_prefix"; then
5165 for ac_prog in cl.exe
5167 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5168 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_CC+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if test -n "$CC"; then
5175 ac_cv_prog_CC="$CC" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5180 IFS=$as_save_IFS
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 CC=$ac_cv_prog_CC
5195 if test -n "$CC"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5197 $as_echo "$CC" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5204 test -n "$CC" && break
5205 done
5207 if test -z "$CC"; then
5208 ac_ct_CC=$CC
5209 for ac_prog in cl.exe
5211 # Extract the first word of "$ac_prog", so it can be a program name with args.
5212 set dummy $ac_prog; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5216 $as_echo_n "(cached) " >&6
5217 else
5218 if test -n "$ac_ct_CC"; then
5219 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5220 else
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH
5224 IFS=$as_save_IFS
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5228 ac_cv_prog_ac_ct_CC="$ac_prog"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 break 2
5232 done
5233 done
5234 IFS=$as_save_IFS
5238 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5239 if test -n "$ac_ct_CC"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5241 $as_echo "$ac_ct_CC" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5248 test -n "$ac_ct_CC" && break
5249 done
5251 if test "x$ac_ct_CC" = x; then
5252 CC=""
5253 else
5254 case $cross_compiling:$ac_tool_warned in
5255 yes:)
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5258 ac_tool_warned=yes ;;
5259 esac
5260 CC=$ac_ct_CC
5267 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5269 as_fn_error "no acceptable C compiler found in \$PATH
5270 See \`config.log' for more details." "$LINENO" 5; }
5272 # Provide some information about the compiler.
5273 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5274 set X $ac_compile
5275 ac_compiler=$2
5276 for ac_option in --version -v -V -qversion; do
5277 { { ac_try="$ac_compiler $ac_option >&5"
5278 case "(($ac_try" in
5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
5281 esac
5282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5283 $as_echo "$ac_try_echo"; } >&5
5284 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5285 ac_status=$?
5286 if test -s conftest.err; then
5287 sed '10a\
5288 ... rest of stderr output deleted ...
5289 10q' conftest.err >conftest.er1
5290 cat conftest.er1 >&5
5291 rm -f conftest.er1 conftest.err
5293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }
5295 done
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5298 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5299 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5300 $as_echo_n "(cached) " >&6
5301 else
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5306 main ()
5308 #ifndef __GNUC__
5309 choke me
5310 #endif
5313 return 0;
5315 _ACEOF
5316 if ac_fn_c_try_compile "$LINENO"; then :
5317 ac_compiler_gnu=yes
5318 else
5319 ac_compiler_gnu=no
5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5322 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5326 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5327 if test $ac_compiler_gnu = yes; then
5328 GCC=yes
5329 else
5330 GCC=
5332 ac_test_CFLAGS=${CFLAGS+set}
5333 ac_save_CFLAGS=$CFLAGS
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5335 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5336 if test "${ac_cv_prog_cc_g+set}" = set; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 ac_save_c_werror_flag=$ac_c_werror_flag
5340 ac_c_werror_flag=yes
5341 ac_cv_prog_cc_g=no
5342 CFLAGS="-g"
5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5347 main ()
5351 return 0;
5353 _ACEOF
5354 if ac_fn_c_try_compile "$LINENO"; then :
5355 ac_cv_prog_cc_g=yes
5356 else
5357 CFLAGS=""
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5362 main ()
5366 return 0;
5368 _ACEOF
5369 if ac_fn_c_try_compile "$LINENO"; then :
5371 else
5372 ac_c_werror_flag=$ac_save_c_werror_flag
5373 CFLAGS="-g"
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 main ()
5382 return 0;
5384 _ACEOF
5385 if ac_fn_c_try_compile "$LINENO"; then :
5386 ac_cv_prog_cc_g=yes
5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 ac_c_werror_flag=$ac_save_c_werror_flag
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5396 $as_echo "$ac_cv_prog_cc_g" >&6; }
5397 if test "$ac_test_CFLAGS" = set; then
5398 CFLAGS=$ac_save_CFLAGS
5399 elif test $ac_cv_prog_cc_g = yes; then
5400 if test "$GCC" = yes; then
5401 CFLAGS="-g -O2"
5402 else
5403 CFLAGS="-g"
5405 else
5406 if test "$GCC" = yes; then
5407 CFLAGS="-O2"
5408 else
5409 CFLAGS=
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5413 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5414 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5415 $as_echo_n "(cached) " >&6
5416 else
5417 ac_cv_prog_cc_c89=no
5418 ac_save_CC=$CC
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5421 #include <stdarg.h>
5422 #include <stdio.h>
5423 #include <sys/types.h>
5424 #include <sys/stat.h>
5425 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5426 struct buf { int x; };
5427 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5428 static char *e (p, i)
5429 char **p;
5430 int i;
5432 return p[i];
5434 static char *f (char * (*g) (char **, int), char **p, ...)
5436 char *s;
5437 va_list v;
5438 va_start (v,p);
5439 s = g (p, va_arg (v,int));
5440 va_end (v);
5441 return s;
5444 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5445 function prototypes and stuff, but not '\xHH' hex character constants.
5446 These don't provoke an error unfortunately, instead are silently treated
5447 as 'x'. The following induces an error, until -std is added to get
5448 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5449 array size at least. It's necessary to write '\x00'==0 to get something
5450 that's true only with -std. */
5451 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5453 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5454 inside strings and character constants. */
5455 #define FOO(x) 'x'
5456 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5458 int test (int i, double x);
5459 struct s1 {int (*f) (int a);};
5460 struct s2 {int (*f) (double a);};
5461 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5462 int argc;
5463 char **argv;
5465 main ()
5467 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5469 return 0;
5471 _ACEOF
5472 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5473 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5475 CC="$ac_save_CC $ac_arg"
5476 if ac_fn_c_try_compile "$LINENO"; then :
5477 ac_cv_prog_cc_c89=$ac_arg
5479 rm -f core conftest.err conftest.$ac_objext
5480 test "x$ac_cv_prog_cc_c89" != "xno" && break
5481 done
5482 rm -f conftest.$ac_ext
5483 CC=$ac_save_CC
5486 # AC_CACHE_VAL
5487 case "x$ac_cv_prog_cc_c89" in
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5490 $as_echo "none needed" >&6; } ;;
5491 xno)
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5493 $as_echo "unsupported" >&6; } ;;
5495 CC="$CC $ac_cv_prog_cc_c89"
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5497 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5498 esac
5499 if test "x$ac_cv_prog_cc_c89" != xno; then :
5503 ac_ext=c
5504 ac_cpp='$CPP $CPPFLAGS'
5505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5509 depcc="$CC" am_compiler_list=
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5512 $as_echo_n "checking dependency style of $depcc... " >&6; }
5513 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5517 # We make a subdir and do the tests there. Otherwise we can end up
5518 # making bogus files that we don't know about and never remove. For
5519 # instance it was reported that on HP-UX the gcc test will end up
5520 # making a dummy file named `D' -- because `-MD' means `put the output
5521 # in D'.
5522 rm -rf conftest.dir
5523 mkdir conftest.dir
5524 # Copy depcomp to subdir because otherwise we won't find it if we're
5525 # using a relative directory.
5526 cp "$am_depcomp" conftest.dir
5527 cd conftest.dir
5528 # We will build objects and dependencies in a subdirectory because
5529 # it helps to detect inapplicable dependency modes. For instance
5530 # both Tru64's cc and ICC support -MD to output dependencies as a
5531 # side effect of compilation, but ICC will put the dependencies in
5532 # the current directory while Tru64 will put them in the object
5533 # directory.
5534 mkdir sub
5536 am_cv_CC_dependencies_compiler_type=none
5537 if test "$am_compiler_list" = ""; then
5538 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5540 am__universal=false
5541 case " $depcc " in #(
5542 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5543 esac
5545 for depmode in $am_compiler_list; do
5546 # Setup a source with many dependencies, because some compilers
5547 # like to wrap large dependency lists on column 80 (with \), and
5548 # we should not choose a depcomp mode which is confused by this.
5550 # We need to recreate these files for each test, as the compiler may
5551 # overwrite some of them when testing with obscure command lines.
5552 # This happens at least with the AIX C compiler.
5553 : > sub/conftest.c
5554 for i in 1 2 3 4 5 6; do
5555 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5556 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5557 # Solaris 8's {/usr,}/bin/sh.
5558 touch sub/conftst$i.h
5559 done
5560 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5562 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5563 # mode. It turns out that the SunPro C++ compiler does not properly
5564 # handle `-M -o', and we need to detect this. Also, some Intel
5565 # versions had trouble with output in subdirs
5566 am__obj=sub/conftest.${OBJEXT-o}
5567 am__minus_obj="-o $am__obj"
5568 case $depmode in
5569 gcc)
5570 # This depmode causes a compiler race in universal mode.
5571 test "$am__universal" = false || continue
5573 nosideeffect)
5574 # after this tag, mechanisms are not by side-effect, so they'll
5575 # only be used when explicitly requested
5576 if test "x$enable_dependency_tracking" = xyes; then
5577 continue
5578 else
5579 break
5582 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5583 # This compiler won't grok `-c -o', but also, the minuso test has
5584 # not run yet. These depmodes are late enough in the game, and
5585 # so weak that their functioning should not be impacted.
5586 am__obj=conftest.${OBJEXT-o}
5587 am__minus_obj=
5589 none) break ;;
5590 esac
5591 if depmode=$depmode \
5592 source=sub/conftest.c object=$am__obj \
5593 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5594 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5595 >/dev/null 2>conftest.err &&
5596 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5597 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5598 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5599 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5600 # icc doesn't choke on unknown options, it will just issue warnings
5601 # or remarks (even with -Werror). So we grep stderr for any message
5602 # that says an option was ignored or not supported.
5603 # When given -MP, icc 7.0 and 7.1 complain thusly:
5604 # icc: Command line warning: ignoring option '-M'; no argument required
5605 # The diagnosis changed in icc 8.0:
5606 # icc: Command line remark: option '-MP' not supported
5607 if (grep 'ignoring option' conftest.err ||
5608 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5609 am_cv_CC_dependencies_compiler_type=$depmode
5610 break
5613 done
5615 cd ..
5616 rm -rf conftest.dir
5617 else
5618 am_cv_CC_dependencies_compiler_type=none
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5623 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5624 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5627 test "x$enable_dependency_tracking" != xno \
5628 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5629 am__fastdepCC_TRUE=
5630 am__fastdepCC_FALSE='#'
5631 else
5632 am__fastdepCC_TRUE='#'
5633 am__fastdepCC_FALSE=
5641 if test "x$CC" != xcc; then
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5643 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5644 else
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5646 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5648 set dummy $CC; ac_cc=`$as_echo "$2" |
5649 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5650 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5651 $as_echo_n "(cached) " >&6
5652 else
5653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5654 /* end confdefs.h. */
5657 main ()
5661 return 0;
5663 _ACEOF
5664 # Make sure it works both with $CC and with simple cc.
5665 # We do the test twice because some compilers refuse to overwrite an
5666 # existing .o file with -o, though they will create one.
5667 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5668 rm -f conftest2.*
5669 if { { case "(($ac_try" in
5670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5671 *) ac_try_echo=$ac_try;;
5672 esac
5673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5674 $as_echo "$ac_try_echo"; } >&5
5675 (eval "$ac_try") 2>&5
5676 ac_status=$?
5677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5678 test $ac_status = 0; } &&
5679 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5681 *) ac_try_echo=$ac_try;;
5682 esac
5683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5684 $as_echo "$ac_try_echo"; } >&5
5685 (eval "$ac_try") 2>&5
5686 ac_status=$?
5687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5688 test $ac_status = 0; };
5689 then
5690 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5691 if test "x$CC" != xcc; then
5692 # Test first that cc exists at all.
5693 if { ac_try='cc -c conftest.$ac_ext >&5'
5694 { { case "(($ac_try" in
5695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5696 *) ac_try_echo=$ac_try;;
5697 esac
5698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5699 $as_echo "$ac_try_echo"; } >&5
5700 (eval "$ac_try") 2>&5
5701 ac_status=$?
5702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5703 test $ac_status = 0; }; }; then
5704 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5705 rm -f conftest2.*
5706 if { { case "(($ac_try" in
5707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5708 *) ac_try_echo=$ac_try;;
5709 esac
5710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5711 $as_echo "$ac_try_echo"; } >&5
5712 (eval "$ac_try") 2>&5
5713 ac_status=$?
5714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5715 test $ac_status = 0; } &&
5716 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5718 *) ac_try_echo=$ac_try;;
5719 esac
5720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5721 $as_echo "$ac_try_echo"; } >&5
5722 (eval "$ac_try") 2>&5
5723 ac_status=$?
5724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5725 test $ac_status = 0; };
5726 then
5727 # cc works too.
5729 else
5730 # cc exists but doesn't like -o.
5731 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5735 else
5736 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5738 rm -f core conftest*
5741 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5743 $as_echo "yes" >&6; }
5744 else
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5748 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5752 # FIXME: we rely on the cache variable name because
5753 # there is no other way.
5754 set dummy $CC
5755 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5756 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5757 if test "$am_t" != yes; then
5758 # Losing compiler, so override with the script.
5759 # FIXME: It is wrong to rewrite CC.
5760 # But if we don't then we get into trouble of one sort or another.
5761 # A longer-term fix would be to have automake use am__CC in this case,
5762 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5763 CC="$am_aux_dir/compile $CC"
5768 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5769 if test "x$GCC" = "xyes"; then
5770 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5771 ## We like to use C99 routines when available. This makes sure that
5772 ## __STDC_VERSION__ is set such that libc includes make them available.
5773 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5774 ## Compile the following tests with the same system header contents
5775 ## that we'll encounter when compiling our own source files.
5776 CFLAGS="-std=gnu99 $CFLAGS"
5782 # Check for symbol versioning (copied from libssp).
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5784 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5785 # Check whether --enable-symvers was given.
5786 if test "${enable_symvers+set}" = set; then :
5787 enableval=$enable_symvers; gfortran_use_symver=$enableval
5788 else
5789 gfortran_use_symver=yes
5792 if test "x$gfortran_use_symver" != xno; then
5793 save_LDFLAGS="$LDFLAGS"
5794 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5795 cat > conftest.map <<EOF
5796 FOO_1.0 {
5797 global: *foo*; bar; local: *;
5800 if test x$gcc_no_link = xyes; then
5801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5805 int foo;
5807 main ()
5811 return 0;
5813 _ACEOF
5814 if ac_fn_c_try_link "$LINENO"; then :
5815 gfortran_use_symver=gnu
5816 else
5817 gfortran_use_symver=no
5819 rm -f core conftest.err conftest.$ac_objext \
5820 conftest$ac_exeext conftest.$ac_ext
5821 if test x$gfortran_use_symver = xno; then
5822 case "$target_os" in
5823 solaris2*)
5824 LDFLAGS="$save_LDFLAGS"
5825 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5826 # Sun ld cannot handle wildcards and treats all entries as undefined.
5827 cat > conftest.map <<EOF
5828 FOO_1.0 {
5829 global: foo; local: *;
5832 if test x$gcc_no_link = xyes; then
5833 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5836 /* end confdefs.h. */
5837 int foo;
5839 main ()
5843 return 0;
5845 _ACEOF
5846 if ac_fn_c_try_link "$LINENO"; then :
5847 gfortran_use_symver=sun
5848 else
5849 gfortran_use_symver=no
5851 rm -f core conftest.err conftest.$ac_objext \
5852 conftest$ac_exeext conftest.$ac_ext
5854 esac
5856 LDFLAGS="$save_LDFLAGS"
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5859 $as_echo "$gfortran_use_symver" >&6; }
5860 if test "x$gfortran_use_symver" != xno; then
5861 LIBGFOR_USE_SYMVER_TRUE=
5862 LIBGFOR_USE_SYMVER_FALSE='#'
5863 else
5864 LIBGFOR_USE_SYMVER_TRUE='#'
5865 LIBGFOR_USE_SYMVER_FALSE=
5868 if test "x$gfortran_use_symver" = xgnu; then
5869 LIBGFOR_USE_SYMVER_GNU_TRUE=
5870 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5871 else
5872 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5873 LIBGFOR_USE_SYMVER_GNU_FALSE=
5876 if test "x$gfortran_use_symver" = xsun; then
5877 LIBGFOR_USE_SYMVER_SUN_TRUE=
5878 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5879 else
5880 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5881 LIBGFOR_USE_SYMVER_SUN_FALSE=
5885 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5886 # similarly to how libstdc++ does it
5887 ac_test_CFLAGS="${CFLAGS+set}"
5888 ac_save_CFLAGS="$CFLAGS"
5890 # Check for -ffunction-sections -fdata-sections
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5892 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5893 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5895 /* end confdefs.h. */
5898 main ()
5900 int foo;
5902 return 0;
5904 _ACEOF
5905 if ac_fn_c_try_compile "$LINENO"; then :
5906 ac_fdsections=yes
5907 else
5908 ac_fdsections=no
5910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5911 if test "$ac_test_CFLAGS" = set; then
5912 CFLAGS="$ac_save_CFLAGS"
5913 else
5914 # this is the suspicious part
5915 CFLAGS=""
5917 if test x"$ac_fdsections" = x"yes"; then
5918 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5921 $as_echo "$ac_fdsections" >&6; }
5924 # Find other programs we need.
5925 if test -n "$ac_tool_prefix"; then
5926 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5927 set dummy ${ac_tool_prefix}as; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if test "${ac_cv_prog_AS+set}" = set; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 if test -n "$AS"; then
5934 ac_cv_prog_AS="$AS" # Let the user override the test.
5935 else
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 for as_dir in $PATH
5939 IFS=$as_save_IFS
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5943 ac_cv_prog_AS="${ac_tool_prefix}as"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 break 2
5947 done
5948 done
5949 IFS=$as_save_IFS
5953 AS=$ac_cv_prog_AS
5954 if test -n "$AS"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5956 $as_echo "$AS" >&6; }
5957 else
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5964 if test -z "$ac_cv_prog_AS"; then
5965 ac_ct_AS=$AS
5966 # Extract the first word of "as", so it can be a program name with args.
5967 set dummy as; ac_word=$2
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5969 $as_echo_n "checking for $ac_word... " >&6; }
5970 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5971 $as_echo_n "(cached) " >&6
5972 else
5973 if test -n "$ac_ct_AS"; then
5974 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5975 else
5976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 for as_dir in $PATH
5979 IFS=$as_save_IFS
5980 test -z "$as_dir" && as_dir=.
5981 for ac_exec_ext in '' $ac_executable_extensions; do
5982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5983 ac_cv_prog_ac_ct_AS="as"
5984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5985 break 2
5987 done
5988 done
5989 IFS=$as_save_IFS
5993 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5994 if test -n "$ac_ct_AS"; then
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5996 $as_echo "$ac_ct_AS" >&6; }
5997 else
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 $as_echo "no" >&6; }
6002 if test "x$ac_ct_AS" = x; then
6003 AS=""
6004 else
6005 case $cross_compiling:$ac_tool_warned in
6006 yes:)
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6009 ac_tool_warned=yes ;;
6010 esac
6011 AS=$ac_ct_AS
6013 else
6014 AS="$ac_cv_prog_AS"
6017 if test -n "$ac_tool_prefix"; then
6018 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6019 set dummy ${ac_tool_prefix}ar; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if test "${ac_cv_prog_AR+set}" = set; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if test -n "$AR"; then
6026 ac_cv_prog_AR="$AR" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6035 ac_cv_prog_AR="${ac_tool_prefix}ar"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 AR=$ac_cv_prog_AR
6046 if test -n "$AR"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6048 $as_echo "$AR" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6056 if test -z "$ac_cv_prog_AR"; then
6057 ac_ct_AR=$AR
6058 # Extract the first word of "ar", so it can be a program name with args.
6059 set dummy ar; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 if test -n "$ac_ct_AR"; then
6066 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6075 ac_cv_prog_ac_ct_AR="ar"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6086 if test -n "$ac_ct_AR"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6088 $as_echo "$ac_ct_AR" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6094 if test "x$ac_ct_AR" = x; then
6095 AR=""
6096 else
6097 case $cross_compiling:$ac_tool_warned in
6098 yes:)
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6101 ac_tool_warned=yes ;;
6102 esac
6103 AR=$ac_ct_AR
6105 else
6106 AR="$ac_cv_prog_AR"
6109 if test -n "$ac_tool_prefix"; then
6110 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6111 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6113 $as_echo_n "checking for $ac_word... " >&6; }
6114 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6115 $as_echo_n "(cached) " >&6
6116 else
6117 if test -n "$RANLIB"; then
6118 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6119 else
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 for as_dir in $PATH
6123 IFS=$as_save_IFS
6124 test -z "$as_dir" && as_dir=.
6125 for ac_exec_ext in '' $ac_executable_extensions; do
6126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6127 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 break 2
6131 done
6132 done
6133 IFS=$as_save_IFS
6137 RANLIB=$ac_cv_prog_RANLIB
6138 if test -n "$RANLIB"; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6140 $as_echo "$RANLIB" >&6; }
6141 else
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 $as_echo "no" >&6; }
6148 if test -z "$ac_cv_prog_RANLIB"; then
6149 ac_ct_RANLIB=$RANLIB
6150 # Extract the first word of "ranlib", so it can be a program name with args.
6151 set dummy ranlib; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 if test -n "$ac_ct_RANLIB"; then
6158 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6159 else
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6167 ac_cv_prog_ac_ct_RANLIB="ranlib"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 break 2
6171 done
6172 done
6173 IFS=$as_save_IFS
6177 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6178 if test -n "$ac_ct_RANLIB"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6180 $as_echo "$ac_ct_RANLIB" >&6; }
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6186 if test "x$ac_ct_RANLIB" = x; then
6187 RANLIB="ranlib-not-found-in-path-error"
6188 else
6189 case $cross_compiling:$ac_tool_warned in
6190 yes:)
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6193 ac_tool_warned=yes ;;
6194 esac
6195 RANLIB=$ac_ct_RANLIB
6197 else
6198 RANLIB="$ac_cv_prog_RANLIB"
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6202 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6203 set x ${MAKE-make}
6204 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6205 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6206 $as_echo_n "(cached) " >&6
6207 else
6208 cat >conftest.make <<\_ACEOF
6209 SHELL = /bin/sh
6210 all:
6211 @echo '@@@%%%=$(MAKE)=@@@%%%'
6212 _ACEOF
6213 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6214 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6215 *@@@%%%=?*=@@@%%%*)
6216 eval ac_cv_prog_make_${ac_make}_set=yes;;
6218 eval ac_cv_prog_make_${ac_make}_set=no;;
6219 esac
6220 rm -f conftest.make
6222 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6224 $as_echo "yes" >&6; }
6225 SET_MAKE=
6226 else
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6229 SET_MAKE="MAKE=${MAKE-make}"
6234 # Configure libtool
6235 #AC_MSG_NOTICE([====== Starting libtool configuration])
6236 enable_dlopen=yes
6240 case `pwd` in
6241 *\ * | *\ *)
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6243 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6244 esac
6248 macro_version='2.2.7a'
6249 macro_revision='1.3134'
6263 ltmain="$ac_aux_dir/ltmain.sh"
6265 # Backslashify metacharacters that are still active within
6266 # double-quoted strings.
6267 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6269 # Same as above, but do not quote variable references.
6270 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6272 # Sed substitution to delay expansion of an escaped shell variable in a
6273 # double_quote_subst'ed string.
6274 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6276 # Sed substitution to delay expansion of an escaped single quote.
6277 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6279 # Sed substitution to avoid accidental globbing in evaled expressions
6280 no_glob_subst='s/\*/\\\*/g'
6282 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6283 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6284 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6287 $as_echo_n "checking how to print strings... " >&6; }
6288 # Test print first, because it will be a builtin if present.
6289 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6290 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6291 ECHO='print -r --'
6292 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6293 ECHO='printf %s\n'
6294 else
6295 # Use this function as a fallback that always works.
6296 func_fallback_echo ()
6298 eval 'cat <<_LTECHO_EOF
6300 _LTECHO_EOF'
6302 ECHO='func_fallback_echo'
6305 # func_echo_all arg...
6306 # Invoke $ECHO with all args, space-separated.
6307 func_echo_all ()
6309 $ECHO ""
6312 case "$ECHO" in
6313 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6314 $as_echo "printf" >&6; } ;;
6315 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6316 $as_echo "print -r" >&6; } ;;
6317 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6318 $as_echo "cat" >&6; } ;;
6319 esac
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6335 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6336 if test "${ac_cv_path_SED+set}" = set; then :
6337 $as_echo_n "(cached) " >&6
6338 else
6339 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6340 for ac_i in 1 2 3 4 5 6 7; do
6341 ac_script="$ac_script$as_nl$ac_script"
6342 done
6343 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6344 { ac_script=; unset ac_script;}
6345 if test -z "$SED"; then
6346 ac_path_SED_found=false
6347 # Loop through the user's path and test for each of PROGNAME-LIST
6348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 for as_dir in $PATH
6351 IFS=$as_save_IFS
6352 test -z "$as_dir" && as_dir=.
6353 for ac_prog in sed gsed; do
6354 for ac_exec_ext in '' $ac_executable_extensions; do
6355 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6356 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6357 # Check for GNU ac_path_SED and select it if it is found.
6358 # Check for GNU $ac_path_SED
6359 case `"$ac_path_SED" --version 2>&1` in
6360 *GNU*)
6361 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6363 ac_count=0
6364 $as_echo_n 0123456789 >"conftest.in"
6365 while :
6367 cat "conftest.in" "conftest.in" >"conftest.tmp"
6368 mv "conftest.tmp" "conftest.in"
6369 cp "conftest.in" "conftest.nl"
6370 $as_echo '' >> "conftest.nl"
6371 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6372 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6373 as_fn_arith $ac_count + 1 && ac_count=$as_val
6374 if test $ac_count -gt ${ac_path_SED_max-0}; then
6375 # Best one so far, save it but keep looking for a better one
6376 ac_cv_path_SED="$ac_path_SED"
6377 ac_path_SED_max=$ac_count
6379 # 10*(2^10) chars as input seems more than enough
6380 test $ac_count -gt 10 && break
6381 done
6382 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6383 esac
6385 $ac_path_SED_found && break 3
6386 done
6387 done
6388 done
6389 IFS=$as_save_IFS
6390 if test -z "$ac_cv_path_SED"; then
6391 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6393 else
6394 ac_cv_path_SED=$SED
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6399 $as_echo "$ac_cv_path_SED" >&6; }
6400 SED="$ac_cv_path_SED"
6401 rm -f conftest.sed
6403 test -z "$SED" && SED=sed
6404 Xsed="$SED -e 1s/^X//"
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6417 $as_echo_n "checking for fgrep... " >&6; }
6418 if test "${ac_cv_path_FGREP+set}" = set; then :
6419 $as_echo_n "(cached) " >&6
6420 else
6421 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6422 then ac_cv_path_FGREP="$GREP -F"
6423 else
6424 if test -z "$FGREP"; then
6425 ac_path_FGREP_found=false
6426 # Loop through the user's path and test for each of PROGNAME-LIST
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6430 IFS=$as_save_IFS
6431 test -z "$as_dir" && as_dir=.
6432 for ac_prog in fgrep; do
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6435 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6436 # Check for GNU ac_path_FGREP and select it if it is found.
6437 # Check for GNU $ac_path_FGREP
6438 case `"$ac_path_FGREP" --version 2>&1` in
6439 *GNU*)
6440 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6442 ac_count=0
6443 $as_echo_n 0123456789 >"conftest.in"
6444 while :
6446 cat "conftest.in" "conftest.in" >"conftest.tmp"
6447 mv "conftest.tmp" "conftest.in"
6448 cp "conftest.in" "conftest.nl"
6449 $as_echo 'FGREP' >> "conftest.nl"
6450 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6451 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6452 as_fn_arith $ac_count + 1 && ac_count=$as_val
6453 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6454 # Best one so far, save it but keep looking for a better one
6455 ac_cv_path_FGREP="$ac_path_FGREP"
6456 ac_path_FGREP_max=$ac_count
6458 # 10*(2^10) chars as input seems more than enough
6459 test $ac_count -gt 10 && break
6460 done
6461 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6462 esac
6464 $ac_path_FGREP_found && break 3
6465 done
6466 done
6467 done
6468 IFS=$as_save_IFS
6469 if test -z "$ac_cv_path_FGREP"; then
6470 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6472 else
6473 ac_cv_path_FGREP=$FGREP
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6479 $as_echo "$ac_cv_path_FGREP" >&6; }
6480 FGREP="$ac_cv_path_FGREP"
6483 test -z "$GREP" && GREP=grep
6503 # Check whether --with-gnu-ld was given.
6504 if test "${with_gnu_ld+set}" = set; then :
6505 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6506 else
6507 with_gnu_ld=no
6510 ac_prog=ld
6511 if test "$GCC" = yes; then
6512 # Check if gcc -print-prog-name=ld gives a path.
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6514 $as_echo_n "checking for ld used by $CC... " >&6; }
6515 case $host in
6516 *-*-mingw*)
6517 # gcc leaves a trailing carriage return which upsets mingw
6518 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6520 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6521 esac
6522 case $ac_prog in
6523 # Accept absolute paths.
6524 [\\/]* | ?:[\\/]*)
6525 re_direlt='/[^/][^/]*/\.\./'
6526 # Canonicalize the pathname of ld
6527 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6528 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6529 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6530 done
6531 test -z "$LD" && LD="$ac_prog"
6534 # If it fails, then pretend we aren't using GCC.
6535 ac_prog=ld
6538 # If it is relative, then search for the first ld in PATH.
6539 with_gnu_ld=unknown
6541 esac
6542 elif test "$with_gnu_ld" = yes; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6544 $as_echo_n "checking for GNU ld... " >&6; }
6545 else
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6547 $as_echo_n "checking for non-GNU ld... " >&6; }
6549 if test "${lt_cv_path_LD+set}" = set; then :
6550 $as_echo_n "(cached) " >&6
6551 else
6552 if test -z "$LD"; then
6553 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6554 for ac_dir in $PATH; do
6555 IFS="$lt_save_ifs"
6556 test -z "$ac_dir" && ac_dir=.
6557 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6558 lt_cv_path_LD="$ac_dir/$ac_prog"
6559 # Check to see if the program is GNU ld. I'd rather use --version,
6560 # but apparently some variants of GNU ld only accept -v.
6561 # Break only if it was the GNU/non-GNU ld that we prefer.
6562 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6563 *GNU* | *'with BFD'*)
6564 test "$with_gnu_ld" != no && break
6567 test "$with_gnu_ld" != yes && break
6569 esac
6571 done
6572 IFS="$lt_save_ifs"
6573 else
6574 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6578 LD="$lt_cv_path_LD"
6579 if test -n "$LD"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6581 $as_echo "$LD" >&6; }
6582 else
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6586 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6588 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6589 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6590 $as_echo_n "(cached) " >&6
6591 else
6592 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6593 case `$LD -v 2>&1 </dev/null` in
6594 *GNU* | *'with BFD'*)
6595 lt_cv_prog_gnu_ld=yes
6598 lt_cv_prog_gnu_ld=no
6600 esac
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6603 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6604 with_gnu_ld=$lt_cv_prog_gnu_ld
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6615 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6616 if test "${lt_cv_path_NM+set}" = set; then :
6617 $as_echo_n "(cached) " >&6
6618 else
6619 if test -n "$NM"; then
6620 # Let the user override the test.
6621 lt_cv_path_NM="$NM"
6622 else
6623 lt_nm_to_check="${ac_tool_prefix}nm"
6624 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6625 lt_nm_to_check="$lt_nm_to_check nm"
6627 for lt_tmp_nm in $lt_nm_to_check; do
6628 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6629 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6630 IFS="$lt_save_ifs"
6631 test -z "$ac_dir" && ac_dir=.
6632 tmp_nm="$ac_dir/$lt_tmp_nm"
6633 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6634 # Check to see if the nm accepts a BSD-compat flag.
6635 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6636 # nm: unknown option "B" ignored
6637 # Tru64's nm complains that /dev/null is an invalid object file
6638 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6639 */dev/null* | *'Invalid file or object type'*)
6640 lt_cv_path_NM="$tmp_nm -B"
6641 break
6644 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6645 */dev/null*)
6646 lt_cv_path_NM="$tmp_nm -p"
6647 break
6650 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6651 continue # so that we can try to find one that supports BSD flags
6653 esac
6655 esac
6657 done
6658 IFS="$lt_save_ifs"
6659 done
6660 : ${lt_cv_path_NM=no}
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6664 $as_echo "$lt_cv_path_NM" >&6; }
6665 if test "$lt_cv_path_NM" != "no"; then
6666 NM="$lt_cv_path_NM"
6667 else
6668 # Didn't find any BSD compatible name lister, look for dumpbin.
6669 if test -n "$DUMPBIN"; then :
6670 # Let the user override the test.
6671 else
6672 if test -n "$ac_tool_prefix"; then
6673 for ac_prog in dumpbin "link -dump"
6675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6676 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 $as_echo_n "checking for $ac_word... " >&6; }
6679 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6680 $as_echo_n "(cached) " >&6
6681 else
6682 if test -n "$DUMPBIN"; then
6683 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6688 IFS=$as_save_IFS
6689 test -z "$as_dir" && as_dir=.
6690 for ac_exec_ext in '' $ac_executable_extensions; do
6691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6692 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694 break 2
6696 done
6697 done
6698 IFS=$as_save_IFS
6702 DUMPBIN=$ac_cv_prog_DUMPBIN
6703 if test -n "$DUMPBIN"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6705 $as_echo "$DUMPBIN" >&6; }
6706 else
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6712 test -n "$DUMPBIN" && break
6713 done
6715 if test -z "$DUMPBIN"; then
6716 ac_ct_DUMPBIN=$DUMPBIN
6717 for ac_prog in dumpbin "link -dump"
6719 # Extract the first word of "$ac_prog", so it can be a program name with args.
6720 set dummy $ac_prog; ac_word=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722 $as_echo_n "checking for $ac_word... " >&6; }
6723 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6724 $as_echo_n "(cached) " >&6
6725 else
6726 if test -n "$ac_ct_DUMPBIN"; then
6727 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6728 else
6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730 for as_dir in $PATH
6732 IFS=$as_save_IFS
6733 test -z "$as_dir" && as_dir=.
6734 for ac_exec_ext in '' $ac_executable_extensions; do
6735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6736 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6738 break 2
6740 done
6741 done
6742 IFS=$as_save_IFS
6746 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6747 if test -n "$ac_ct_DUMPBIN"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6749 $as_echo "$ac_ct_DUMPBIN" >&6; }
6750 else
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6752 $as_echo "no" >&6; }
6756 test -n "$ac_ct_DUMPBIN" && break
6757 done
6759 if test "x$ac_ct_DUMPBIN" = x; then
6760 DUMPBIN=":"
6761 else
6762 case $cross_compiling:$ac_tool_warned in
6763 yes:)
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6766 ac_tool_warned=yes ;;
6767 esac
6768 DUMPBIN=$ac_ct_DUMPBIN
6772 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6773 *COFF*)
6774 DUMPBIN="$DUMPBIN -symbols"
6777 DUMPBIN=:
6779 esac
6782 if test "$DUMPBIN" != ":"; then
6783 NM="$DUMPBIN"
6786 test -z "$NM" && NM=nm
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6794 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6795 if test "${lt_cv_nm_interface+set}" = set; then :
6796 $as_echo_n "(cached) " >&6
6797 else
6798 lt_cv_nm_interface="BSD nm"
6799 echo "int some_variable = 0;" > conftest.$ac_ext
6800 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6801 (eval "$ac_compile" 2>conftest.err)
6802 cat conftest.err >&5
6803 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6804 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6805 cat conftest.err >&5
6806 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6807 cat conftest.out >&5
6808 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6809 lt_cv_nm_interface="MS dumpbin"
6811 rm -f conftest*
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6814 $as_echo "$lt_cv_nm_interface" >&6; }
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6817 $as_echo_n "checking whether ln -s works... " >&6; }
6818 LN_S=$as_ln_s
6819 if test "$LN_S" = "ln -s"; then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6821 $as_echo "yes" >&6; }
6822 else
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6824 $as_echo "no, using $LN_S" >&6; }
6827 # find the maximum length of command line arguments
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6829 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6830 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6831 $as_echo_n "(cached) " >&6
6832 else
6834 teststring="ABCD"
6836 case $build_os in
6837 msdosdjgpp*)
6838 # On DJGPP, this test can blow up pretty badly due to problems in libc
6839 # (any single argument exceeding 2000 bytes causes a buffer overrun
6840 # during glob expansion). Even if it were fixed, the result of this
6841 # check would be larger than it should be.
6842 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6845 gnu*)
6846 # Under GNU Hurd, this test is not required because there is
6847 # no limit to the length of command line arguments.
6848 # Libtool will interpret -1 as no limit whatsoever
6849 lt_cv_sys_max_cmd_len=-1;
6852 cygwin* | mingw* | cegcc*)
6853 # On Win9x/ME, this test blows up -- it succeeds, but takes
6854 # about 5 minutes as the teststring grows exponentially.
6855 # Worse, since 9x/ME are not pre-emptively multitasking,
6856 # you end up with a "frozen" computer, even though with patience
6857 # the test eventually succeeds (with a max line length of 256k).
6858 # Instead, let's just punt: use the minimum linelength reported by
6859 # all of the supported platforms: 8192 (on NT/2K/XP).
6860 lt_cv_sys_max_cmd_len=8192;
6863 mint*)
6864 # On MiNT this can take a long time and run out of memory.
6865 lt_cv_sys_max_cmd_len=8192;
6868 amigaos*)
6869 # On AmigaOS with pdksh, this test takes hours, literally.
6870 # So we just punt and use a minimum line length of 8192.
6871 lt_cv_sys_max_cmd_len=8192;
6874 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6875 # This has been around since 386BSD, at least. Likely further.
6876 if test -x /sbin/sysctl; then
6877 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6878 elif test -x /usr/sbin/sysctl; then
6879 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6880 else
6881 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6883 # And add a safety zone
6884 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6885 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6888 interix*)
6889 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6890 lt_cv_sys_max_cmd_len=196608
6893 osf*)
6894 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6895 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6896 # nice to cause kernel panics so lets avoid the loop below.
6897 # First set a reasonable default.
6898 lt_cv_sys_max_cmd_len=16384
6900 if test -x /sbin/sysconfig; then
6901 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6902 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6903 esac
6906 sco3.2v5*)
6907 lt_cv_sys_max_cmd_len=102400
6909 sysv5* | sco5v6* | sysv4.2uw2*)
6910 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6911 if test -n "$kargmax"; then
6912 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6913 else
6914 lt_cv_sys_max_cmd_len=32768
6918 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6919 if test -n "$lt_cv_sys_max_cmd_len"; then
6920 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6921 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6922 else
6923 # Make teststring a little bigger before we do anything with it.
6924 # a 1K string should be a reasonable start.
6925 for i in 1 2 3 4 5 6 7 8 ; do
6926 teststring=$teststring$teststring
6927 done
6928 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6929 # If test is not a shell built-in, we'll probably end up computing a
6930 # maximum length that is only half of the actual maximum length, but
6931 # we can't tell.
6932 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6933 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6934 test $i != 17 # 1/2 MB should be enough
6936 i=`expr $i + 1`
6937 teststring=$teststring$teststring
6938 done
6939 # Only check the string length outside the loop.
6940 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6941 teststring=
6942 # Add a significant safety factor because C++ compilers can tack on
6943 # massive amounts of additional arguments before passing them to the
6944 # linker. It appears as though 1/2 is a usable value.
6945 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6948 esac
6952 if test -n $lt_cv_sys_max_cmd_len ; then
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6954 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6955 else
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6957 $as_echo "none" >&6; }
6959 max_cmd_len=$lt_cv_sys_max_cmd_len
6966 : ${CP="cp -f"}
6967 : ${MV="mv -f"}
6968 : ${RM="rm -f"}
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6971 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6972 # Try some XSI features
6973 xsi_shell=no
6974 ( _lt_dummy="a/b/c"
6975 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6976 = c,a/b,, \
6977 && eval 'test $(( 1 + 1 )) -eq 2 \
6978 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6979 && xsi_shell=yes
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6981 $as_echo "$xsi_shell" >&6; }
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6985 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6986 lt_shell_append=no
6987 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6988 >/dev/null 2>&1 \
6989 && lt_shell_append=yes
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6991 $as_echo "$lt_shell_append" >&6; }
6994 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6995 lt_unset=unset
6996 else
6997 lt_unset=false
7004 # test EBCDIC or ASCII
7005 case `echo X|tr X '\101'` in
7006 A) # ASCII based system
7007 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7008 lt_SP2NL='tr \040 \012'
7009 lt_NL2SP='tr \015\012 \040\040'
7011 *) # EBCDIC based system
7012 lt_SP2NL='tr \100 \n'
7013 lt_NL2SP='tr \r\n \100\100'
7015 esac
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7026 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7027 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7028 $as_echo_n "(cached) " >&6
7029 else
7030 lt_cv_ld_reload_flag='-r'
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7033 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7034 reload_flag=$lt_cv_ld_reload_flag
7035 case $reload_flag in
7036 "" | " "*) ;;
7037 *) reload_flag=" $reload_flag" ;;
7038 esac
7039 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7040 case $host_os in
7041 darwin*)
7042 if test "$GCC" = yes; then
7043 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7044 else
7045 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7048 esac
7058 if test -n "$ac_tool_prefix"; then
7059 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7060 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7064 $as_echo_n "(cached) " >&6
7065 else
7066 if test -n "$OBJDUMP"; then
7067 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7068 else
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 for as_dir in $PATH
7072 IFS=$as_save_IFS
7073 test -z "$as_dir" && as_dir=.
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7076 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 break 2
7080 done
7081 done
7082 IFS=$as_save_IFS
7086 OBJDUMP=$ac_cv_prog_OBJDUMP
7087 if test -n "$OBJDUMP"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7089 $as_echo "$OBJDUMP" >&6; }
7090 else
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7097 if test -z "$ac_cv_prog_OBJDUMP"; then
7098 ac_ct_OBJDUMP=$OBJDUMP
7099 # Extract the first word of "objdump", so it can be a program name with args.
7100 set dummy objdump; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7104 $as_echo_n "(cached) " >&6
7105 else
7106 if test -n "$ac_ct_OBJDUMP"; then
7107 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7108 else
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 for as_dir in $PATH
7112 IFS=$as_save_IFS
7113 test -z "$as_dir" && as_dir=.
7114 for ac_exec_ext in '' $ac_executable_extensions; do
7115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7116 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118 break 2
7120 done
7121 done
7122 IFS=$as_save_IFS
7126 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7127 if test -n "$ac_ct_OBJDUMP"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7129 $as_echo "$ac_ct_OBJDUMP" >&6; }
7130 else
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7135 if test "x$ac_ct_OBJDUMP" = x; then
7136 OBJDUMP="false"
7137 else
7138 case $cross_compiling:$ac_tool_warned in
7139 yes:)
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7142 ac_tool_warned=yes ;;
7143 esac
7144 OBJDUMP=$ac_ct_OBJDUMP
7146 else
7147 OBJDUMP="$ac_cv_prog_OBJDUMP"
7150 test -z "$OBJDUMP" && OBJDUMP=objdump
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7161 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7162 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7163 $as_echo_n "(cached) " >&6
7164 else
7165 lt_cv_file_magic_cmd='$MAGIC_CMD'
7166 lt_cv_file_magic_test_file=
7167 lt_cv_deplibs_check_method='unknown'
7168 # Need to set the preceding variable on all platforms that support
7169 # interlibrary dependencies.
7170 # 'none' -- dependencies not supported.
7171 # `unknown' -- same as none, but documents that we really don't know.
7172 # 'pass_all' -- all dependencies passed with no checks.
7173 # 'test_compile' -- check by making test program.
7174 # 'file_magic [[regex]]' -- check by looking for files in library path
7175 # which responds to the $file_magic_cmd with a given extended regex.
7176 # If you have `file' or equivalent on your system and you're not sure
7177 # whether `pass_all' will *always* work, you probably want this one.
7179 case $host_os in
7180 aix[4-9]*)
7181 lt_cv_deplibs_check_method=pass_all
7184 beos*)
7185 lt_cv_deplibs_check_method=pass_all
7188 bsdi[45]*)
7189 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7190 lt_cv_file_magic_cmd='/usr/bin/file -L'
7191 lt_cv_file_magic_test_file=/shlib/libc.so
7194 cygwin*)
7195 # func_win32_libid is a shell function defined in ltmain.sh
7196 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7197 lt_cv_file_magic_cmd='func_win32_libid'
7200 mingw* | pw32*)
7201 # Base MSYS/MinGW do not provide the 'file' command needed by
7202 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7203 # unless we find 'file', for example because we are cross-compiling.
7204 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7205 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7206 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7207 lt_cv_file_magic_cmd='func_win32_libid'
7208 else
7209 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7210 lt_cv_file_magic_cmd='$OBJDUMP -f'
7214 cegcc*)
7215 # use the weaker test based on 'objdump'. See mingw*.
7216 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7217 lt_cv_file_magic_cmd='$OBJDUMP -f'
7220 darwin* | rhapsody*)
7221 lt_cv_deplibs_check_method=pass_all
7224 freebsd* | dragonfly*)
7225 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7226 case $host_cpu in
7227 i*86 )
7228 # Not sure whether the presence of OpenBSD here was a mistake.
7229 # Let's accept both of them until this is cleared up.
7230 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7231 lt_cv_file_magic_cmd=/usr/bin/file
7232 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7234 esac
7235 else
7236 lt_cv_deplibs_check_method=pass_all
7240 gnu*)
7241 lt_cv_deplibs_check_method=pass_all
7244 haiku*)
7245 lt_cv_deplibs_check_method=pass_all
7248 hpux10.20* | hpux11*)
7249 lt_cv_file_magic_cmd=/usr/bin/file
7250 case $host_cpu in
7251 ia64*)
7252 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7253 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7255 hppa*64*)
7256 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]'
7257 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7260 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7261 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7263 esac
7266 interix[3-9]*)
7267 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7268 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7271 irix5* | irix6* | nonstopux*)
7272 case $LD in
7273 *-32|*"-32 ") libmagic=32-bit;;
7274 *-n32|*"-n32 ") libmagic=N32;;
7275 *-64|*"-64 ") libmagic=64-bit;;
7276 *) libmagic=never-match;;
7277 esac
7278 lt_cv_deplibs_check_method=pass_all
7281 # This must be Linux ELF.
7282 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7283 lt_cv_deplibs_check_method=pass_all
7286 netbsd*)
7287 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7288 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7289 else
7290 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7294 newos6*)
7295 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7296 lt_cv_file_magic_cmd=/usr/bin/file
7297 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7300 *nto* | *qnx*)
7301 lt_cv_deplibs_check_method=pass_all
7304 openbsd*)
7305 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7306 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7307 else
7308 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7312 osf3* | osf4* | osf5*)
7313 lt_cv_deplibs_check_method=pass_all
7316 rdos*)
7317 lt_cv_deplibs_check_method=pass_all
7320 solaris*)
7321 lt_cv_deplibs_check_method=pass_all
7324 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7325 lt_cv_deplibs_check_method=pass_all
7328 sysv4 | sysv4.3*)
7329 case $host_vendor in
7330 motorola)
7331 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]'
7332 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7334 ncr)
7335 lt_cv_deplibs_check_method=pass_all
7337 sequent)
7338 lt_cv_file_magic_cmd='/bin/file'
7339 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7341 sni)
7342 lt_cv_file_magic_cmd='/bin/file'
7343 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7344 lt_cv_file_magic_test_file=/lib/libc.so
7346 siemens)
7347 lt_cv_deplibs_check_method=pass_all
7350 lt_cv_deplibs_check_method=pass_all
7352 esac
7355 tpf*)
7356 lt_cv_deplibs_check_method=pass_all
7358 esac
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7362 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7363 file_magic_cmd=$lt_cv_file_magic_cmd
7364 deplibs_check_method=$lt_cv_deplibs_check_method
7365 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7378 if test -n "$ac_tool_prefix"; then
7379 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7380 set dummy ${ac_tool_prefix}ar; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_AR+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 if test -n "$AR"; then
7387 ac_cv_prog_AR="$AR" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7392 IFS=$as_save_IFS
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_AR="${ac_tool_prefix}ar"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 break 2
7400 done
7401 done
7402 IFS=$as_save_IFS
7406 AR=$ac_cv_prog_AR
7407 if test -n "$AR"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7409 $as_echo "$AR" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7417 if test -z "$ac_cv_prog_AR"; then
7418 ac_ct_AR=$AR
7419 # Extract the first word of "ar", so it can be a program name with args.
7420 set dummy ar; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7424 $as_echo_n "(cached) " >&6
7425 else
7426 if test -n "$ac_ct_AR"; then
7427 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7428 else
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 for as_dir in $PATH
7432 IFS=$as_save_IFS
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436 ac_cv_prog_ac_ct_AR="ar"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438 break 2
7440 done
7441 done
7442 IFS=$as_save_IFS
7446 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7447 if test -n "$ac_ct_AR"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7449 $as_echo "$ac_ct_AR" >&6; }
7450 else
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7455 if test "x$ac_ct_AR" = x; then
7456 AR="false"
7457 else
7458 case $cross_compiling:$ac_tool_warned in
7459 yes:)
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7462 ac_tool_warned=yes ;;
7463 esac
7464 AR=$ac_ct_AR
7466 else
7467 AR="$ac_cv_prog_AR"
7470 test -z "$AR" && AR=ar
7471 test -z "$AR_FLAGS" && AR_FLAGS=cru
7483 if test -n "$ac_tool_prefix"; then
7484 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7485 set dummy ${ac_tool_prefix}strip; ac_word=$2
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7487 $as_echo_n "checking for $ac_word... " >&6; }
7488 if test "${ac_cv_prog_STRIP+set}" = set; then :
7489 $as_echo_n "(cached) " >&6
7490 else
7491 if test -n "$STRIP"; then
7492 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7493 else
7494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7495 for as_dir in $PATH
7497 IFS=$as_save_IFS
7498 test -z "$as_dir" && as_dir=.
7499 for ac_exec_ext in '' $ac_executable_extensions; do
7500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7501 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7503 break 2
7505 done
7506 done
7507 IFS=$as_save_IFS
7511 STRIP=$ac_cv_prog_STRIP
7512 if test -n "$STRIP"; then
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7514 $as_echo "$STRIP" >&6; }
7515 else
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517 $as_echo "no" >&6; }
7522 if test -z "$ac_cv_prog_STRIP"; then
7523 ac_ct_STRIP=$STRIP
7524 # Extract the first word of "strip", so it can be a program name with args.
7525 set dummy strip; ac_word=$2
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7527 $as_echo_n "checking for $ac_word... " >&6; }
7528 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7529 $as_echo_n "(cached) " >&6
7530 else
7531 if test -n "$ac_ct_STRIP"; then
7532 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7533 else
7534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7535 for as_dir in $PATH
7537 IFS=$as_save_IFS
7538 test -z "$as_dir" && as_dir=.
7539 for ac_exec_ext in '' $ac_executable_extensions; do
7540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7541 ac_cv_prog_ac_ct_STRIP="strip"
7542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7543 break 2
7545 done
7546 done
7547 IFS=$as_save_IFS
7551 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7552 if test -n "$ac_ct_STRIP"; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7554 $as_echo "$ac_ct_STRIP" >&6; }
7555 else
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7557 $as_echo "no" >&6; }
7560 if test "x$ac_ct_STRIP" = x; then
7561 STRIP=":"
7562 else
7563 case $cross_compiling:$ac_tool_warned in
7564 yes:)
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7567 ac_tool_warned=yes ;;
7568 esac
7569 STRIP=$ac_ct_STRIP
7571 else
7572 STRIP="$ac_cv_prog_STRIP"
7575 test -z "$STRIP" && STRIP=:
7582 if test -n "$ac_tool_prefix"; then
7583 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7584 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7588 $as_echo_n "(cached) " >&6
7589 else
7590 if test -n "$RANLIB"; then
7591 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7592 else
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 for as_dir in $PATH
7596 IFS=$as_save_IFS
7597 test -z "$as_dir" && as_dir=.
7598 for ac_exec_ext in '' $ac_executable_extensions; do
7599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7600 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602 break 2
7604 done
7605 done
7606 IFS=$as_save_IFS
7610 RANLIB=$ac_cv_prog_RANLIB
7611 if test -n "$RANLIB"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7613 $as_echo "$RANLIB" >&6; }
7614 else
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7621 if test -z "$ac_cv_prog_RANLIB"; then
7622 ac_ct_RANLIB=$RANLIB
7623 # Extract the first word of "ranlib", so it can be a program name with args.
7624 set dummy ranlib; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$ac_ct_RANLIB"; then
7631 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_ac_ct_RANLIB="ranlib"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7644 done
7645 done
7646 IFS=$as_save_IFS
7650 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7651 if test -n "$ac_ct_RANLIB"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7653 $as_echo "$ac_ct_RANLIB" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7659 if test "x$ac_ct_RANLIB" = x; then
7660 RANLIB=":"
7661 else
7662 case $cross_compiling:$ac_tool_warned in
7663 yes:)
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7666 ac_tool_warned=yes ;;
7667 esac
7668 RANLIB=$ac_ct_RANLIB
7670 else
7671 RANLIB="$ac_cv_prog_RANLIB"
7674 test -z "$RANLIB" && RANLIB=:
7681 # Determine commands to create old-style static archives.
7682 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7683 old_postinstall_cmds='chmod 644 $oldlib'
7684 old_postuninstall_cmds=
7686 if test -n "$RANLIB"; then
7687 case $host_os in
7688 openbsd*)
7689 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7692 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7694 esac
7695 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7698 case $host_os in
7699 darwin*)
7700 lock_old_archive_extraction=yes ;;
7702 lock_old_archive_extraction=no ;;
7703 esac
7743 # If no C compiler was specified, use CC.
7744 LTCC=${LTCC-"$CC"}
7746 # If no C compiler flags were specified, use CFLAGS.
7747 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7749 # Allow CC to be a program name with arguments.
7750 compiler=$CC
7753 # Check for command to grab the raw symbol name followed by C symbol from nm.
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7755 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7756 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7757 $as_echo_n "(cached) " >&6
7758 else
7760 # These are sane defaults that work on at least a few old systems.
7761 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7763 # Character class describing NM global symbol codes.
7764 symcode='[BCDEGRST]'
7766 # Regexp to match symbols that can be accessed directly from C.
7767 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7769 # Define system-specific variables.
7770 case $host_os in
7771 aix*)
7772 symcode='[BCDT]'
7774 cygwin* | mingw* | pw32* | cegcc*)
7775 symcode='[ABCDGISTW]'
7777 hpux*)
7778 if test "$host_cpu" = ia64; then
7779 symcode='[ABCDEGRST]'
7782 irix* | nonstopux*)
7783 symcode='[BCDEGRST]'
7785 osf*)
7786 symcode='[BCDEGQRST]'
7788 solaris*)
7789 symcode='[BDRT]'
7791 sco3.2v5*)
7792 symcode='[DT]'
7794 sysv4.2uw2*)
7795 symcode='[DT]'
7797 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7798 symcode='[ABDT]'
7800 sysv4)
7801 symcode='[DFNSTU]'
7803 esac
7805 # If we're using GNU nm, then use its standard symbol codes.
7806 case `$NM -V 2>&1` in
7807 *GNU* | *'with BFD'*)
7808 symcode='[ABCDGIRSTW]' ;;
7809 esac
7811 # Transform an extracted symbol line into a proper C declaration.
7812 # Some systems (esp. on ia64) link data and code symbols differently,
7813 # so use this general approach.
7814 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7816 # Transform an extracted symbol line into symbol name and symbol address
7817 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7818 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'"
7820 # Handle CRLF in mingw tool chain
7821 opt_cr=
7822 case $build_os in
7823 mingw*)
7824 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7826 esac
7828 # Try without a prefix underscore, then with it.
7829 for ac_symprfx in "" "_"; do
7831 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7832 symxfrm="\\1 $ac_symprfx\\2 \\2"
7834 # Write the raw and C identifiers.
7835 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7836 # Fake it for dumpbin and say T for any non-static function
7837 # and D for any global variable.
7838 # Also find C++ and __fastcall symbols from MSVC++,
7839 # which start with @ or ?.
7840 lt_cv_sys_global_symbol_pipe="$AWK '"\
7841 " {last_section=section; section=\$ 3};"\
7842 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7843 " \$ 0!~/External *\|/{next};"\
7844 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7845 " {if(hide[section]) next};"\
7846 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7847 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7848 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7849 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7850 " ' prfx=^$ac_symprfx"
7851 else
7852 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7855 # Check to see that the pipe works correctly.
7856 pipe_works=no
7858 rm -f conftest*
7859 cat > conftest.$ac_ext <<_LT_EOF
7860 #ifdef __cplusplus
7861 extern "C" {
7862 #endif
7863 char nm_test_var;
7864 void nm_test_func(void);
7865 void nm_test_func(void){}
7866 #ifdef __cplusplus
7868 #endif
7869 int main(){nm_test_var='a';nm_test_func();return(0);}
7870 _LT_EOF
7872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7873 (eval $ac_compile) 2>&5
7874 ac_status=$?
7875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7876 test $ac_status = 0; }; then
7877 # Now try to grab the symbols.
7878 nlist=conftest.nm
7879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7880 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7881 ac_status=$?
7882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7883 test $ac_status = 0; } && test -s "$nlist"; then
7884 # Try sorting and uniquifying the output.
7885 if sort "$nlist" | uniq > "$nlist"T; then
7886 mv -f "$nlist"T "$nlist"
7887 else
7888 rm -f "$nlist"T
7891 # Make sure that we snagged all the symbols we need.
7892 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7893 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7894 cat <<_LT_EOF > conftest.$ac_ext
7895 #ifdef __cplusplus
7896 extern "C" {
7897 #endif
7899 _LT_EOF
7900 # Now generate the symbol file.
7901 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7903 cat <<_LT_EOF >> conftest.$ac_ext
7905 /* The mapping between symbol names and symbols. */
7906 const struct {
7907 const char *name;
7908 void *address;
7910 lt__PROGRAM__LTX_preloaded_symbols[] =
7912 { "@PROGRAM@", (void *) 0 },
7913 _LT_EOF
7914 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7915 cat <<\_LT_EOF >> conftest.$ac_ext
7916 {0, (void *) 0}
7919 /* This works around a problem in FreeBSD linker */
7920 #ifdef FREEBSD_WORKAROUND
7921 static const void *lt_preloaded_setup() {
7922 return lt__PROGRAM__LTX_preloaded_symbols;
7924 #endif
7926 #ifdef __cplusplus
7928 #endif
7929 _LT_EOF
7930 # Now try linking the two files.
7931 mv conftest.$ac_objext conftstm.$ac_objext
7932 lt_save_LIBS="$LIBS"
7933 lt_save_CFLAGS="$CFLAGS"
7934 LIBS="conftstm.$ac_objext"
7935 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7937 (eval $ac_link) 2>&5
7938 ac_status=$?
7939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7940 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7941 pipe_works=yes
7943 LIBS="$lt_save_LIBS"
7944 CFLAGS="$lt_save_CFLAGS"
7945 else
7946 echo "cannot find nm_test_func in $nlist" >&5
7948 else
7949 echo "cannot find nm_test_var in $nlist" >&5
7951 else
7952 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7954 else
7955 echo "$progname: failed program was:" >&5
7956 cat conftest.$ac_ext >&5
7958 rm -rf conftest* conftst*
7960 # Do not use the global_symbol_pipe unless it works.
7961 if test "$pipe_works" = yes; then
7962 break
7963 else
7964 lt_cv_sys_global_symbol_pipe=
7966 done
7970 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7971 lt_cv_sys_global_symbol_to_cdecl=
7973 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7975 $as_echo "failed" >&6; }
7976 else
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7978 $as_echo "ok" >&6; }
8002 # Check whether --enable-libtool-lock was given.
8003 if test "${enable_libtool_lock+set}" = set; then :
8004 enableval=$enable_libtool_lock;
8007 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8009 # Some flags need to be propagated to the compiler or linker for good
8010 # libtool support.
8011 case $host in
8012 ia64-*-hpux*)
8013 # Find out which ABI we are using.
8014 echo 'int i;' > conftest.$ac_ext
8015 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8016 (eval $ac_compile) 2>&5
8017 ac_status=$?
8018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8019 test $ac_status = 0; }; then
8020 case `/usr/bin/file conftest.$ac_objext` in
8021 *ELF-32*)
8022 HPUX_IA64_MODE="32"
8024 *ELF-64*)
8025 HPUX_IA64_MODE="64"
8027 esac
8029 rm -rf conftest*
8031 *-*-irix6*)
8032 # Find out which ABI we are using.
8033 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8035 (eval $ac_compile) 2>&5
8036 ac_status=$?
8037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8038 test $ac_status = 0; }; then
8039 if test "$lt_cv_prog_gnu_ld" = yes; then
8040 case `/usr/bin/file conftest.$ac_objext` in
8041 *32-bit*)
8042 LD="${LD-ld} -melf32bsmip"
8044 *N32*)
8045 LD="${LD-ld} -melf32bmipn32"
8047 *64-bit*)
8048 LD="${LD-ld} -melf64bmip"
8050 esac
8051 else
8052 case `/usr/bin/file conftest.$ac_objext` in
8053 *32-bit*)
8054 LD="${LD-ld} -32"
8056 *N32*)
8057 LD="${LD-ld} -n32"
8059 *64-bit*)
8060 LD="${LD-ld} -64"
8062 esac
8065 rm -rf conftest*
8068 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8069 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8070 # Find out which ABI we are using.
8071 echo 'int i;' > conftest.$ac_ext
8072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8073 (eval $ac_compile) 2>&5
8074 ac_status=$?
8075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8076 test $ac_status = 0; }; then
8077 case `/usr/bin/file conftest.o` in
8078 *32-bit*)
8079 case $host in
8080 x86_64-*kfreebsd*-gnu)
8081 LD="${LD-ld} -m elf_i386_fbsd"
8083 x86_64-*linux*)
8084 case `/usr/bin/file conftest.o` in
8085 *x86-64*)
8086 LD="${LD-ld} -m elf32_x86_64"
8089 LD="${LD-ld} -m elf_i386"
8091 esac
8093 powerpc64le-*linux*)
8094 LD="${LD-ld} -m elf32lppclinux"
8096 powerpc64-*linux*)
8097 LD="${LD-ld} -m elf32ppclinux"
8099 s390x-*linux*)
8100 LD="${LD-ld} -m elf_s390"
8102 sparc64-*linux*)
8103 LD="${LD-ld} -m elf32_sparc"
8105 esac
8107 *64-bit*)
8108 case $host in
8109 x86_64-*kfreebsd*-gnu)
8110 LD="${LD-ld} -m elf_x86_64_fbsd"
8112 x86_64-*linux*)
8113 LD="${LD-ld} -m elf_x86_64"
8115 powerpcle-*linux*)
8116 LD="${LD-ld} -m elf64lppc"
8118 powerpc-*linux*)
8119 LD="${LD-ld} -m elf64ppc"
8121 s390*-*linux*|s390*-*tpf*)
8122 LD="${LD-ld} -m elf64_s390"
8124 sparc*-*linux*)
8125 LD="${LD-ld} -m elf64_sparc"
8127 esac
8129 esac
8131 rm -rf conftest*
8134 *-*-sco3.2v5*)
8135 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8136 SAVE_CFLAGS="$CFLAGS"
8137 CFLAGS="$CFLAGS -belf"
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8139 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8140 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8141 $as_echo_n "(cached) " >&6
8142 else
8143 ac_ext=c
8144 ac_cpp='$CPP $CPPFLAGS'
8145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8149 if test x$gcc_no_link = xyes; then
8150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8153 /* end confdefs.h. */
8156 main ()
8160 return 0;
8162 _ACEOF
8163 if ac_fn_c_try_link "$LINENO"; then :
8164 lt_cv_cc_needs_belf=yes
8165 else
8166 lt_cv_cc_needs_belf=no
8168 rm -f core conftest.err conftest.$ac_objext \
8169 conftest$ac_exeext conftest.$ac_ext
8170 ac_ext=c
8171 ac_cpp='$CPP $CPPFLAGS'
8172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8178 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8179 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8180 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8181 CFLAGS="$SAVE_CFLAGS"
8184 sparc*-*solaris*)
8185 # Find out which ABI we are using.
8186 echo 'int i;' > conftest.$ac_ext
8187 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8188 (eval $ac_compile) 2>&5
8189 ac_status=$?
8190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8191 test $ac_status = 0; }; then
8192 case `/usr/bin/file conftest.o` in
8193 *64-bit*)
8194 case $lt_cv_prog_gnu_ld in
8195 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8197 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8198 LD="${LD-ld} -64"
8201 esac
8203 esac
8205 rm -rf conftest*
8207 esac
8209 need_locks="$enable_libtool_lock"
8212 case $host_os in
8213 rhapsody* | darwin*)
8214 if test -n "$ac_tool_prefix"; then
8215 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8216 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8218 $as_echo_n "checking for $ac_word... " >&6; }
8219 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8220 $as_echo_n "(cached) " >&6
8221 else
8222 if test -n "$DSYMUTIL"; then
8223 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8224 else
8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8226 for as_dir in $PATH
8228 IFS=$as_save_IFS
8229 test -z "$as_dir" && as_dir=.
8230 for ac_exec_ext in '' $ac_executable_extensions; do
8231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8232 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8234 break 2
8236 done
8237 done
8238 IFS=$as_save_IFS
8242 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8243 if test -n "$DSYMUTIL"; then
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8245 $as_echo "$DSYMUTIL" >&6; }
8246 else
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8248 $as_echo "no" >&6; }
8253 if test -z "$ac_cv_prog_DSYMUTIL"; then
8254 ac_ct_DSYMUTIL=$DSYMUTIL
8255 # Extract the first word of "dsymutil", so it can be a program name with args.
8256 set dummy dsymutil; ac_word=$2
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8258 $as_echo_n "checking for $ac_word... " >&6; }
8259 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 if test -n "$ac_ct_DSYMUTIL"; then
8263 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8264 else
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8266 for as_dir in $PATH
8268 IFS=$as_save_IFS
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8272 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8274 break 2
8276 done
8277 done
8278 IFS=$as_save_IFS
8282 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8283 if test -n "$ac_ct_DSYMUTIL"; then
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8285 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8286 else
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8288 $as_echo "no" >&6; }
8291 if test "x$ac_ct_DSYMUTIL" = x; then
8292 DSYMUTIL=":"
8293 else
8294 case $cross_compiling:$ac_tool_warned in
8295 yes:)
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8298 ac_tool_warned=yes ;;
8299 esac
8300 DSYMUTIL=$ac_ct_DSYMUTIL
8302 else
8303 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8306 if test -n "$ac_tool_prefix"; then
8307 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8308 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8310 $as_echo_n "checking for $ac_word... " >&6; }
8311 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8312 $as_echo_n "(cached) " >&6
8313 else
8314 if test -n "$NMEDIT"; then
8315 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8316 else
8317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8318 for as_dir in $PATH
8320 IFS=$as_save_IFS
8321 test -z "$as_dir" && as_dir=.
8322 for ac_exec_ext in '' $ac_executable_extensions; do
8323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8324 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8326 break 2
8328 done
8329 done
8330 IFS=$as_save_IFS
8334 NMEDIT=$ac_cv_prog_NMEDIT
8335 if test -n "$NMEDIT"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8337 $as_echo "$NMEDIT" >&6; }
8338 else
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 $as_echo "no" >&6; }
8345 if test -z "$ac_cv_prog_NMEDIT"; then
8346 ac_ct_NMEDIT=$NMEDIT
8347 # Extract the first word of "nmedit", so it can be a program name with args.
8348 set dummy nmedit; ac_word=$2
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8350 $as_echo_n "checking for $ac_word... " >&6; }
8351 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 if test -n "$ac_ct_NMEDIT"; then
8355 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8356 else
8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8358 for as_dir in $PATH
8360 IFS=$as_save_IFS
8361 test -z "$as_dir" && as_dir=.
8362 for ac_exec_ext in '' $ac_executable_extensions; do
8363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8364 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8366 break 2
8368 done
8369 done
8370 IFS=$as_save_IFS
8374 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8375 if test -n "$ac_ct_NMEDIT"; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8377 $as_echo "$ac_ct_NMEDIT" >&6; }
8378 else
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8380 $as_echo "no" >&6; }
8383 if test "x$ac_ct_NMEDIT" = x; then
8384 NMEDIT=":"
8385 else
8386 case $cross_compiling:$ac_tool_warned in
8387 yes:)
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8390 ac_tool_warned=yes ;;
8391 esac
8392 NMEDIT=$ac_ct_NMEDIT
8394 else
8395 NMEDIT="$ac_cv_prog_NMEDIT"
8398 if test -n "$ac_tool_prefix"; then
8399 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8400 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8402 $as_echo_n "checking for $ac_word... " >&6; }
8403 if test "${ac_cv_prog_LIPO+set}" = set; then :
8404 $as_echo_n "(cached) " >&6
8405 else
8406 if test -n "$LIPO"; then
8407 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8408 else
8409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8410 for as_dir in $PATH
8412 IFS=$as_save_IFS
8413 test -z "$as_dir" && as_dir=.
8414 for ac_exec_ext in '' $ac_executable_extensions; do
8415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8416 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8418 break 2
8420 done
8421 done
8422 IFS=$as_save_IFS
8426 LIPO=$ac_cv_prog_LIPO
8427 if test -n "$LIPO"; then
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8429 $as_echo "$LIPO" >&6; }
8430 else
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8432 $as_echo "no" >&6; }
8437 if test -z "$ac_cv_prog_LIPO"; then
8438 ac_ct_LIPO=$LIPO
8439 # Extract the first word of "lipo", so it can be a program name with args.
8440 set dummy lipo; ac_word=$2
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8442 $as_echo_n "checking for $ac_word... " >&6; }
8443 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 if test -n "$ac_ct_LIPO"; then
8447 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8448 else
8449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8450 for as_dir in $PATH
8452 IFS=$as_save_IFS
8453 test -z "$as_dir" && as_dir=.
8454 for ac_exec_ext in '' $ac_executable_extensions; do
8455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8456 ac_cv_prog_ac_ct_LIPO="lipo"
8457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8458 break 2
8460 done
8461 done
8462 IFS=$as_save_IFS
8466 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8467 if test -n "$ac_ct_LIPO"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8469 $as_echo "$ac_ct_LIPO" >&6; }
8470 else
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8472 $as_echo "no" >&6; }
8475 if test "x$ac_ct_LIPO" = x; then
8476 LIPO=":"
8477 else
8478 case $cross_compiling:$ac_tool_warned in
8479 yes:)
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8482 ac_tool_warned=yes ;;
8483 esac
8484 LIPO=$ac_ct_LIPO
8486 else
8487 LIPO="$ac_cv_prog_LIPO"
8490 if test -n "$ac_tool_prefix"; then
8491 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8492 set dummy ${ac_tool_prefix}otool; ac_word=$2
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8494 $as_echo_n "checking for $ac_word... " >&6; }
8495 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 if test -n "$OTOOL"; then
8499 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8500 else
8501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8502 for as_dir in $PATH
8504 IFS=$as_save_IFS
8505 test -z "$as_dir" && as_dir=.
8506 for ac_exec_ext in '' $ac_executable_extensions; do
8507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8508 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8510 break 2
8512 done
8513 done
8514 IFS=$as_save_IFS
8518 OTOOL=$ac_cv_prog_OTOOL
8519 if test -n "$OTOOL"; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8521 $as_echo "$OTOOL" >&6; }
8522 else
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8524 $as_echo "no" >&6; }
8529 if test -z "$ac_cv_prog_OTOOL"; then
8530 ac_ct_OTOOL=$OTOOL
8531 # Extract the first word of "otool", so it can be a program name with args.
8532 set dummy otool; ac_word=$2
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8534 $as_echo_n "checking for $ac_word... " >&6; }
8535 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8536 $as_echo_n "(cached) " >&6
8537 else
8538 if test -n "$ac_ct_OTOOL"; then
8539 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8540 else
8541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8542 for as_dir in $PATH
8544 IFS=$as_save_IFS
8545 test -z "$as_dir" && as_dir=.
8546 for ac_exec_ext in '' $ac_executable_extensions; do
8547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8548 ac_cv_prog_ac_ct_OTOOL="otool"
8549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8550 break 2
8552 done
8553 done
8554 IFS=$as_save_IFS
8558 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8559 if test -n "$ac_ct_OTOOL"; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8561 $as_echo "$ac_ct_OTOOL" >&6; }
8562 else
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8564 $as_echo "no" >&6; }
8567 if test "x$ac_ct_OTOOL" = x; then
8568 OTOOL=":"
8569 else
8570 case $cross_compiling:$ac_tool_warned in
8571 yes:)
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8574 ac_tool_warned=yes ;;
8575 esac
8576 OTOOL=$ac_ct_OTOOL
8578 else
8579 OTOOL="$ac_cv_prog_OTOOL"
8582 if test -n "$ac_tool_prefix"; then
8583 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8584 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8586 $as_echo_n "checking for $ac_word... " >&6; }
8587 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 if test -n "$OTOOL64"; then
8591 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8592 else
8593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8594 for as_dir in $PATH
8596 IFS=$as_save_IFS
8597 test -z "$as_dir" && as_dir=.
8598 for ac_exec_ext in '' $ac_executable_extensions; do
8599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8600 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8602 break 2
8604 done
8605 done
8606 IFS=$as_save_IFS
8610 OTOOL64=$ac_cv_prog_OTOOL64
8611 if test -n "$OTOOL64"; then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8613 $as_echo "$OTOOL64" >&6; }
8614 else
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8616 $as_echo "no" >&6; }
8621 if test -z "$ac_cv_prog_OTOOL64"; then
8622 ac_ct_OTOOL64=$OTOOL64
8623 # Extract the first word of "otool64", so it can be a program name with args.
8624 set dummy otool64; ac_word=$2
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8626 $as_echo_n "checking for $ac_word... " >&6; }
8627 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8628 $as_echo_n "(cached) " >&6
8629 else
8630 if test -n "$ac_ct_OTOOL64"; then
8631 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8632 else
8633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8634 for as_dir in $PATH
8636 IFS=$as_save_IFS
8637 test -z "$as_dir" && as_dir=.
8638 for ac_exec_ext in '' $ac_executable_extensions; do
8639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8640 ac_cv_prog_ac_ct_OTOOL64="otool64"
8641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8642 break 2
8644 done
8645 done
8646 IFS=$as_save_IFS
8650 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8651 if test -n "$ac_ct_OTOOL64"; then
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8653 $as_echo "$ac_ct_OTOOL64" >&6; }
8654 else
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8656 $as_echo "no" >&6; }
8659 if test "x$ac_ct_OTOOL64" = x; then
8660 OTOOL64=":"
8661 else
8662 case $cross_compiling:$ac_tool_warned in
8663 yes:)
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8666 ac_tool_warned=yes ;;
8667 esac
8668 OTOOL64=$ac_ct_OTOOL64
8670 else
8671 OTOOL64="$ac_cv_prog_OTOOL64"
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8701 $as_echo_n "checking for -single_module linker flag... " >&6; }
8702 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8703 $as_echo_n "(cached) " >&6
8704 else
8705 lt_cv_apple_cc_single_mod=no
8706 if test -z "${LT_MULTI_MODULE}"; then
8707 # By default we will add the -single_module flag. You can override
8708 # by either setting the environment variable LT_MULTI_MODULE
8709 # non-empty at configure time, or by adding -multi_module to the
8710 # link flags.
8711 rm -rf libconftest.dylib*
8712 echo "int foo(void){return 1;}" > conftest.c
8713 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8714 -dynamiclib -Wl,-single_module conftest.c" >&5
8715 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8716 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8717 _lt_result=$?
8718 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8719 lt_cv_apple_cc_single_mod=yes
8720 else
8721 cat conftest.err >&5
8723 rm -rf libconftest.dylib*
8724 rm -f conftest.*
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8728 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8730 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8731 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8732 $as_echo_n "(cached) " >&6
8733 else
8734 lt_cv_ld_exported_symbols_list=no
8735 save_LDFLAGS=$LDFLAGS
8736 echo "_main" > conftest.sym
8737 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8738 if test x$gcc_no_link = xyes; then
8739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8745 main ()
8749 return 0;
8751 _ACEOF
8752 if ac_fn_c_try_link "$LINENO"; then :
8753 lt_cv_ld_exported_symbols_list=yes
8754 else
8755 lt_cv_ld_exported_symbols_list=no
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
8759 LDFLAGS="$save_LDFLAGS"
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8763 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8765 $as_echo_n "checking for -force_load linker flag... " >&6; }
8766 if test "${lt_cv_ld_force_load+set}" = set; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 lt_cv_ld_force_load=no
8770 cat > conftest.c << _LT_EOF
8771 int forced_loaded() { return 2;}
8772 _LT_EOF
8773 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8774 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8775 echo "$AR cru libconftest.a conftest.o" >&5
8776 $AR cru libconftest.a conftest.o 2>&5
8777 cat > conftest.c << _LT_EOF
8778 int main() { return 0;}
8779 _LT_EOF
8780 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8781 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8782 _lt_result=$?
8783 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8784 lt_cv_ld_force_load=yes
8785 else
8786 cat conftest.err >&5
8788 rm -f conftest.err libconftest.a conftest conftest.c
8789 rm -rf conftest.dSYM
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8793 $as_echo "$lt_cv_ld_force_load" >&6; }
8794 case $host_os in
8795 rhapsody* | darwin1.[012])
8796 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8797 darwin1.*)
8798 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8799 darwin*) # darwin 5.x on
8800 # if running on 10.5 or later, the deployment target defaults
8801 # to the OS version, if on x86, and 10.4, the deployment
8802 # target defaults to 10.4. Don't you love it?
8803 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8804 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8805 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8806 10.[012]*)
8807 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8808 10.*)
8809 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8810 esac
8812 esac
8813 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8814 _lt_dar_single_mod='$single_module'
8816 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8817 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8818 else
8819 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8821 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8822 _lt_dsymutil='~$DSYMUTIL $lib || :'
8823 else
8824 _lt_dsymutil=
8827 esac
8829 for ac_header in dlfcn.h
8830 do :
8831 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8833 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8834 cat >>confdefs.h <<_ACEOF
8835 #define HAVE_DLFCN_H 1
8836 _ACEOF
8840 done
8846 # Set options
8851 enable_win32_dll=no
8854 # Check whether --enable-shared was given.
8855 if test "${enable_shared+set}" = set; then :
8856 enableval=$enable_shared; p=${PACKAGE-default}
8857 case $enableval in
8858 yes) enable_shared=yes ;;
8859 no) enable_shared=no ;;
8861 enable_shared=no
8862 # Look at the argument we got. We use all the common list separators.
8863 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8864 for pkg in $enableval; do
8865 IFS="$lt_save_ifs"
8866 if test "X$pkg" = "X$p"; then
8867 enable_shared=yes
8869 done
8870 IFS="$lt_save_ifs"
8872 esac
8873 else
8874 enable_shared=yes
8885 # Check whether --enable-static was given.
8886 if test "${enable_static+set}" = set; then :
8887 enableval=$enable_static; p=${PACKAGE-default}
8888 case $enableval in
8889 yes) enable_static=yes ;;
8890 no) enable_static=no ;;
8892 enable_static=no
8893 # Look at the argument we got. We use all the common list separators.
8894 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8895 for pkg in $enableval; do
8896 IFS="$lt_save_ifs"
8897 if test "X$pkg" = "X$p"; then
8898 enable_static=yes
8900 done
8901 IFS="$lt_save_ifs"
8903 esac
8904 else
8905 enable_static=yes
8917 # Check whether --with-pic was given.
8918 if test "${with_pic+set}" = set; then :
8919 withval=$with_pic; pic_mode="$withval"
8920 else
8921 pic_mode=default
8925 test -z "$pic_mode" && pic_mode=default
8933 # Check whether --enable-fast-install was given.
8934 if test "${enable_fast_install+set}" = set; then :
8935 enableval=$enable_fast_install; p=${PACKAGE-default}
8936 case $enableval in
8937 yes) enable_fast_install=yes ;;
8938 no) enable_fast_install=no ;;
8940 enable_fast_install=no
8941 # Look at the argument we got. We use all the common list separators.
8942 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8943 for pkg in $enableval; do
8944 IFS="$lt_save_ifs"
8945 if test "X$pkg" = "X$p"; then
8946 enable_fast_install=yes
8948 done
8949 IFS="$lt_save_ifs"
8951 esac
8952 else
8953 enable_fast_install=yes
8966 # This can be used to rebuild libtool when needed
8967 LIBTOOL_DEPS="$ltmain"
8969 # Always use our own libtool.
8970 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8997 test -z "$LN_S" && LN_S="ln -s"
9012 if test -n "${ZSH_VERSION+set}" ; then
9013 setopt NO_GLOB_SUBST
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9017 $as_echo_n "checking for objdir... " >&6; }
9018 if test "${lt_cv_objdir+set}" = set; then :
9019 $as_echo_n "(cached) " >&6
9020 else
9021 rm -f .libs 2>/dev/null
9022 mkdir .libs 2>/dev/null
9023 if test -d .libs; then
9024 lt_cv_objdir=.libs
9025 else
9026 # MS-DOS does not allow filenames that begin with a dot.
9027 lt_cv_objdir=_libs
9029 rmdir .libs 2>/dev/null
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9032 $as_echo "$lt_cv_objdir" >&6; }
9033 objdir=$lt_cv_objdir
9039 cat >>confdefs.h <<_ACEOF
9040 #define LT_OBJDIR "$lt_cv_objdir/"
9041 _ACEOF
9046 case $host_os in
9047 aix3*)
9048 # AIX sometimes has problems with the GCC collect2 program. For some
9049 # reason, if we set the COLLECT_NAMES environment variable, the problems
9050 # vanish in a puff of smoke.
9051 if test "X${COLLECT_NAMES+set}" != Xset; then
9052 COLLECT_NAMES=
9053 export COLLECT_NAMES
9056 esac
9058 # Global variables:
9059 ofile=libtool
9060 can_build_shared=yes
9062 # All known linkers require a `.a' archive for static linking (except MSVC,
9063 # which needs '.lib').
9064 libext=a
9066 with_gnu_ld="$lt_cv_prog_gnu_ld"
9068 old_CC="$CC"
9069 old_CFLAGS="$CFLAGS"
9071 # Set sane defaults for various variables
9072 test -z "$CC" && CC=cc
9073 test -z "$LTCC" && LTCC=$CC
9074 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9075 test -z "$LD" && LD=ld
9076 test -z "$ac_objext" && ac_objext=o
9078 for cc_temp in $compiler""; do
9079 case $cc_temp in
9080 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9081 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9082 \-*) ;;
9083 *) break;;
9084 esac
9085 done
9086 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9089 # Only perform the check for file, if the check method requires it
9090 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9091 case $deplibs_check_method in
9092 file_magic*)
9093 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9095 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9096 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9097 $as_echo_n "(cached) " >&6
9098 else
9099 case $MAGIC_CMD in
9100 [\\/*] | ?:[\\/]*)
9101 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9104 lt_save_MAGIC_CMD="$MAGIC_CMD"
9105 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9106 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9107 for ac_dir in $ac_dummy; do
9108 IFS="$lt_save_ifs"
9109 test -z "$ac_dir" && ac_dir=.
9110 if test -f $ac_dir/${ac_tool_prefix}file; then
9111 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9112 if test -n "$file_magic_test_file"; then
9113 case $deplibs_check_method in
9114 "file_magic "*)
9115 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9116 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9117 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9118 $EGREP "$file_magic_regex" > /dev/null; then
9120 else
9121 cat <<_LT_EOF 1>&2
9123 *** Warning: the command libtool uses to detect shared libraries,
9124 *** $file_magic_cmd, produces output that libtool cannot recognize.
9125 *** The result is that libtool may fail to recognize shared libraries
9126 *** as such. This will affect the creation of libtool libraries that
9127 *** depend on shared libraries, but programs linked with such libtool
9128 *** libraries will work regardless of this problem. Nevertheless, you
9129 *** may want to report the problem to your system manager and/or to
9130 *** bug-libtool@gnu.org
9132 _LT_EOF
9133 fi ;;
9134 esac
9136 break
9138 done
9139 IFS="$lt_save_ifs"
9140 MAGIC_CMD="$lt_save_MAGIC_CMD"
9142 esac
9145 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9146 if test -n "$MAGIC_CMD"; then
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9148 $as_echo "$MAGIC_CMD" >&6; }
9149 else
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9151 $as_echo "no" >&6; }
9158 if test -z "$lt_cv_path_MAGIC_CMD"; then
9159 if test -n "$ac_tool_prefix"; then
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9161 $as_echo_n "checking for file... " >&6; }
9162 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9163 $as_echo_n "(cached) " >&6
9164 else
9165 case $MAGIC_CMD in
9166 [\\/*] | ?:[\\/]*)
9167 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9170 lt_save_MAGIC_CMD="$MAGIC_CMD"
9171 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9172 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9173 for ac_dir in $ac_dummy; do
9174 IFS="$lt_save_ifs"
9175 test -z "$ac_dir" && ac_dir=.
9176 if test -f $ac_dir/file; then
9177 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9178 if test -n "$file_magic_test_file"; then
9179 case $deplibs_check_method in
9180 "file_magic "*)
9181 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9182 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9183 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9184 $EGREP "$file_magic_regex" > /dev/null; then
9186 else
9187 cat <<_LT_EOF 1>&2
9189 *** Warning: the command libtool uses to detect shared libraries,
9190 *** $file_magic_cmd, produces output that libtool cannot recognize.
9191 *** The result is that libtool may fail to recognize shared libraries
9192 *** as such. This will affect the creation of libtool libraries that
9193 *** depend on shared libraries, but programs linked with such libtool
9194 *** libraries will work regardless of this problem. Nevertheless, you
9195 *** may want to report the problem to your system manager and/or to
9196 *** bug-libtool@gnu.org
9198 _LT_EOF
9199 fi ;;
9200 esac
9202 break
9204 done
9205 IFS="$lt_save_ifs"
9206 MAGIC_CMD="$lt_save_MAGIC_CMD"
9208 esac
9211 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9212 if test -n "$MAGIC_CMD"; then
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9214 $as_echo "$MAGIC_CMD" >&6; }
9215 else
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9217 $as_echo "no" >&6; }
9221 else
9222 MAGIC_CMD=:
9228 esac
9230 # Use C for the default configuration in the libtool script
9232 lt_save_CC="$CC"
9233 ac_ext=c
9234 ac_cpp='$CPP $CPPFLAGS'
9235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9240 # Source file extension for C test sources.
9241 ac_ext=c
9243 # Object file extension for compiled C test sources.
9244 objext=o
9245 objext=$objext
9247 # Code to be used in simple compile tests
9248 lt_simple_compile_test_code="int some_variable = 0;"
9250 # Code to be used in simple link tests
9251 lt_simple_link_test_code='int main(){return(0);}'
9259 # If no C compiler was specified, use CC.
9260 LTCC=${LTCC-"$CC"}
9262 # If no C compiler flags were specified, use CFLAGS.
9263 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9265 # Allow CC to be a program name with arguments.
9266 compiler=$CC
9268 # Save the default compiler, since it gets overwritten when the other
9269 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9270 compiler_DEFAULT=$CC
9272 # save warnings/boilerplate of simple test code
9273 ac_outfile=conftest.$ac_objext
9274 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9275 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9276 _lt_compiler_boilerplate=`cat conftest.err`
9277 $RM conftest*
9279 ac_outfile=conftest.$ac_objext
9280 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9281 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9282 _lt_linker_boilerplate=`cat conftest.err`
9283 $RM -r conftest*
9286 ## CAVEAT EMPTOR:
9287 ## There is no encapsulation within the following macros, do not change
9288 ## the running order or otherwise move them around unless you know exactly
9289 ## what you are doing...
9290 if test -n "$compiler"; then
9292 lt_prog_compiler_no_builtin_flag=
9294 if test "$GCC" = yes; then
9295 case $cc_basename in
9296 nvcc*)
9297 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9299 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9300 esac
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9303 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9304 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9305 $as_echo_n "(cached) " >&6
9306 else
9307 lt_cv_prog_compiler_rtti_exceptions=no
9308 ac_outfile=conftest.$ac_objext
9309 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9310 lt_compiler_flag="-fno-rtti -fno-exceptions"
9311 # Insert the option either (1) after the last *FLAGS variable, or
9312 # (2) before a word containing "conftest.", or (3) at the end.
9313 # Note that $ac_compile itself does not contain backslashes and begins
9314 # with a dollar sign (not a hyphen), so the echo should work correctly.
9315 # The option is referenced via a variable to avoid confusing sed.
9316 lt_compile=`echo "$ac_compile" | $SED \
9317 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9318 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9319 -e 's:$: $lt_compiler_flag:'`
9320 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9321 (eval "$lt_compile" 2>conftest.err)
9322 ac_status=$?
9323 cat conftest.err >&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 if (exit $ac_status) && test -s "$ac_outfile"; then
9326 # The compiler can only warn and ignore the option if not recognized
9327 # So say no if there are warnings other than the usual output.
9328 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9329 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9330 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9331 lt_cv_prog_compiler_rtti_exceptions=yes
9334 $RM conftest*
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9338 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9340 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9341 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9342 else
9353 lt_prog_compiler_wl=
9354 lt_prog_compiler_pic=
9355 lt_prog_compiler_static=
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9358 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9360 if test "$GCC" = yes; then
9361 lt_prog_compiler_wl='-Wl,'
9362 lt_prog_compiler_static='-static'
9364 case $host_os in
9365 aix*)
9366 # All AIX code is PIC.
9367 if test "$host_cpu" = ia64; then
9368 # AIX 5 now supports IA64 processor
9369 lt_prog_compiler_static='-Bstatic'
9371 lt_prog_compiler_pic='-fPIC'
9374 amigaos*)
9375 case $host_cpu in
9376 powerpc)
9377 # see comment about AmigaOS4 .so support
9378 lt_prog_compiler_pic='-fPIC'
9380 m68k)
9381 # FIXME: we need at least 68020 code to build shared libraries, but
9382 # adding the `-m68020' flag to GCC prevents building anything better,
9383 # like `-m68040'.
9384 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9386 esac
9389 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9390 # PIC is the default for these OSes.
9393 mingw* | cygwin* | pw32* | os2* | cegcc*)
9394 # This hack is so that the source file can tell whether it is being
9395 # built for inclusion in a dll (and should export symbols for example).
9396 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9397 # (--disable-auto-import) libraries
9398 lt_prog_compiler_pic='-DDLL_EXPORT'
9401 darwin* | rhapsody*)
9402 # PIC is the default on this platform
9403 # Common symbols not allowed in MH_DYLIB files
9404 lt_prog_compiler_pic='-fno-common'
9407 haiku*)
9408 # PIC is the default for Haiku.
9409 # The "-static" flag exists, but is broken.
9410 lt_prog_compiler_static=
9413 hpux*)
9414 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9415 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9416 # sets the default TLS model and affects inlining.
9417 case $host_cpu in
9418 hppa*64*)
9419 # +Z the default
9422 lt_prog_compiler_pic='-fPIC'
9424 esac
9427 interix[3-9]*)
9428 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9429 # Instead, we relocate shared libraries at runtime.
9432 msdosdjgpp*)
9433 # Just because we use GCC doesn't mean we suddenly get shared libraries
9434 # on systems that don't support them.
9435 lt_prog_compiler_can_build_shared=no
9436 enable_shared=no
9439 *nto* | *qnx*)
9440 # QNX uses GNU C++, but need to define -shared option too, otherwise
9441 # it will coredump.
9442 lt_prog_compiler_pic='-fPIC -shared'
9445 sysv4*MP*)
9446 if test -d /usr/nec; then
9447 lt_prog_compiler_pic=-Kconform_pic
9452 lt_prog_compiler_pic='-fPIC'
9454 esac
9456 case $cc_basename in
9457 nvcc*) # Cuda Compiler Driver 2.2
9458 lt_prog_compiler_wl='-Xlinker '
9459 lt_prog_compiler_pic='-Xcompiler -fPIC'
9461 esac
9462 else
9463 # PORTME Check for flag to pass linker flags through the system compiler.
9464 case $host_os in
9465 aix*)
9466 lt_prog_compiler_wl='-Wl,'
9467 if test "$host_cpu" = ia64; then
9468 # AIX 5 now supports IA64 processor
9469 lt_prog_compiler_static='-Bstatic'
9470 else
9471 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9475 mingw* | cygwin* | pw32* | os2* | cegcc*)
9476 # This hack is so that the source file can tell whether it is being
9477 # built for inclusion in a dll (and should export symbols for example).
9478 lt_prog_compiler_pic='-DDLL_EXPORT'
9481 hpux9* | hpux10* | hpux11*)
9482 lt_prog_compiler_wl='-Wl,'
9483 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9484 # not for PA HP-UX.
9485 case $host_cpu in
9486 hppa*64*|ia64*)
9487 # +Z the default
9490 lt_prog_compiler_pic='+Z'
9492 esac
9493 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9494 lt_prog_compiler_static='${wl}-a ${wl}archive'
9497 irix5* | irix6* | nonstopux*)
9498 lt_prog_compiler_wl='-Wl,'
9499 # PIC (with -KPIC) is the default.
9500 lt_prog_compiler_static='-non_shared'
9503 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9504 case $cc_basename in
9505 # old Intel for x86_64 which still supported -KPIC.
9506 ecc*)
9507 lt_prog_compiler_wl='-Wl,'
9508 lt_prog_compiler_pic='-KPIC'
9509 lt_prog_compiler_static='-static'
9511 # icc used to be incompatible with GCC.
9512 # ICC 10 doesn't accept -KPIC any more.
9513 icc* | ifort*)
9514 lt_prog_compiler_wl='-Wl,'
9515 lt_prog_compiler_pic='-fPIC'
9516 lt_prog_compiler_static='-static'
9518 # Lahey Fortran 8.1.
9519 lf95*)
9520 lt_prog_compiler_wl='-Wl,'
9521 lt_prog_compiler_pic='--shared'
9522 lt_prog_compiler_static='--static'
9524 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9525 # Portland Group compilers (*not* the Pentium gcc compiler,
9526 # which looks to be a dead project)
9527 lt_prog_compiler_wl='-Wl,'
9528 lt_prog_compiler_pic='-fpic'
9529 lt_prog_compiler_static='-Bstatic'
9531 ccc*)
9532 lt_prog_compiler_wl='-Wl,'
9533 # All Alpha code is PIC.
9534 lt_prog_compiler_static='-non_shared'
9536 xl* | bgxl* | bgf* | mpixl*)
9537 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9538 lt_prog_compiler_wl='-Wl,'
9539 lt_prog_compiler_pic='-qpic'
9540 lt_prog_compiler_static='-qstaticlink'
9543 case `$CC -V 2>&1 | sed 5q` in
9544 *Sun\ F* | *Sun*Fortran*)
9545 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9546 lt_prog_compiler_pic='-KPIC'
9547 lt_prog_compiler_static='-Bstatic'
9548 lt_prog_compiler_wl=''
9550 *Sun\ C*)
9551 # Sun C 5.9
9552 lt_prog_compiler_pic='-KPIC'
9553 lt_prog_compiler_static='-Bstatic'
9554 lt_prog_compiler_wl='-Wl,'
9556 esac
9558 esac
9561 newsos6)
9562 lt_prog_compiler_pic='-KPIC'
9563 lt_prog_compiler_static='-Bstatic'
9566 *nto* | *qnx*)
9567 # QNX uses GNU C++, but need to define -shared option too, otherwise
9568 # it will coredump.
9569 lt_prog_compiler_pic='-fPIC -shared'
9572 osf3* | osf4* | osf5*)
9573 lt_prog_compiler_wl='-Wl,'
9574 # All OSF/1 code is PIC.
9575 lt_prog_compiler_static='-non_shared'
9578 rdos*)
9579 lt_prog_compiler_static='-non_shared'
9582 solaris*)
9583 lt_prog_compiler_pic='-KPIC'
9584 lt_prog_compiler_static='-Bstatic'
9585 case $cc_basename in
9586 f77* | f90* | f95*)
9587 lt_prog_compiler_wl='-Qoption ld ';;
9589 lt_prog_compiler_wl='-Wl,';;
9590 esac
9593 sunos4*)
9594 lt_prog_compiler_wl='-Qoption ld '
9595 lt_prog_compiler_pic='-PIC'
9596 lt_prog_compiler_static='-Bstatic'
9599 sysv4 | sysv4.2uw2* | sysv4.3*)
9600 lt_prog_compiler_wl='-Wl,'
9601 lt_prog_compiler_pic='-KPIC'
9602 lt_prog_compiler_static='-Bstatic'
9605 sysv4*MP*)
9606 if test -d /usr/nec ;then
9607 lt_prog_compiler_pic='-Kconform_pic'
9608 lt_prog_compiler_static='-Bstatic'
9612 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9613 lt_prog_compiler_wl='-Wl,'
9614 lt_prog_compiler_pic='-KPIC'
9615 lt_prog_compiler_static='-Bstatic'
9618 unicos*)
9619 lt_prog_compiler_wl='-Wl,'
9620 lt_prog_compiler_can_build_shared=no
9623 uts4*)
9624 lt_prog_compiler_pic='-pic'
9625 lt_prog_compiler_static='-Bstatic'
9629 lt_prog_compiler_can_build_shared=no
9631 esac
9634 case $host_os in
9635 # For platforms which do not support PIC, -DPIC is meaningless:
9636 *djgpp*)
9637 lt_prog_compiler_pic=
9640 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9642 esac
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9644 $as_echo "$lt_prog_compiler_pic" >&6; }
9652 # Check to make sure the PIC flag actually works.
9654 if test -n "$lt_prog_compiler_pic"; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9656 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9657 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 lt_cv_prog_compiler_pic_works=no
9661 ac_outfile=conftest.$ac_objext
9662 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9663 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9664 # Insert the option either (1) after the last *FLAGS variable, or
9665 # (2) before a word containing "conftest.", or (3) at the end.
9666 # Note that $ac_compile itself does not contain backslashes and begins
9667 # with a dollar sign (not a hyphen), so the echo should work correctly.
9668 # The option is referenced via a variable to avoid confusing sed.
9669 lt_compile=`echo "$ac_compile" | $SED \
9670 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9671 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9672 -e 's:$: $lt_compiler_flag:'`
9673 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9674 (eval "$lt_compile" 2>conftest.err)
9675 ac_status=$?
9676 cat conftest.err >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 if (exit $ac_status) && test -s "$ac_outfile"; then
9679 # The compiler can only warn and ignore the option if not recognized
9680 # So say no if there are warnings other than the usual output.
9681 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9682 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9683 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9684 lt_cv_prog_compiler_pic_works=yes
9687 $RM conftest*
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9691 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9693 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9694 case $lt_prog_compiler_pic in
9695 "" | " "*) ;;
9696 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9697 esac
9698 else
9699 lt_prog_compiler_pic=
9700 lt_prog_compiler_can_build_shared=no
9711 # Check to make sure the static flag actually works.
9713 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9715 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9716 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9717 $as_echo_n "(cached) " >&6
9718 else
9719 lt_cv_prog_compiler_static_works=no
9720 save_LDFLAGS="$LDFLAGS"
9721 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9722 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9723 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9724 # The linker can only warn and ignore the option if not recognized
9725 # So say no if there are warnings
9726 if test -s conftest.err; then
9727 # Append any errors to the config.log.
9728 cat conftest.err 1>&5
9729 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9730 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9731 if diff conftest.exp conftest.er2 >/dev/null; then
9732 lt_cv_prog_compiler_static_works=yes
9734 else
9735 lt_cv_prog_compiler_static_works=yes
9738 $RM -r conftest*
9739 LDFLAGS="$save_LDFLAGS"
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9743 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9745 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9747 else
9748 lt_prog_compiler_static=
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9758 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9759 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9760 $as_echo_n "(cached) " >&6
9761 else
9762 lt_cv_prog_compiler_c_o=no
9763 $RM -r conftest 2>/dev/null
9764 mkdir conftest
9765 cd conftest
9766 mkdir out
9767 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9769 lt_compiler_flag="-o out/conftest2.$ac_objext"
9770 # Insert the option either (1) after the last *FLAGS variable, or
9771 # (2) before a word containing "conftest.", or (3) at the end.
9772 # Note that $ac_compile itself does not contain backslashes and begins
9773 # with a dollar sign (not a hyphen), so the echo should work correctly.
9774 lt_compile=`echo "$ac_compile" | $SED \
9775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9777 -e 's:$: $lt_compiler_flag:'`
9778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9779 (eval "$lt_compile" 2>out/conftest.err)
9780 ac_status=$?
9781 cat out/conftest.err >&5
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9784 then
9785 # The compiler can only warn and ignore the option if not recognized
9786 # So say no if there are warnings
9787 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9788 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9789 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9790 lt_cv_prog_compiler_c_o=yes
9793 chmod u+w . 2>&5
9794 $RM conftest*
9795 # SGI C++ compiler will create directory out/ii_files/ for
9796 # template instantiation
9797 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9798 $RM out/* && rmdir out
9799 cd ..
9800 $RM -r conftest
9801 $RM conftest*
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9805 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9814 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9815 $as_echo_n "(cached) " >&6
9816 else
9817 lt_cv_prog_compiler_c_o=no
9818 $RM -r conftest 2>/dev/null
9819 mkdir conftest
9820 cd conftest
9821 mkdir out
9822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9824 lt_compiler_flag="-o out/conftest2.$ac_objext"
9825 # Insert the option either (1) after the last *FLAGS variable, or
9826 # (2) before a word containing "conftest.", or (3) at the end.
9827 # Note that $ac_compile itself does not contain backslashes and begins
9828 # with a dollar sign (not a hyphen), so the echo should work correctly.
9829 lt_compile=`echo "$ac_compile" | $SED \
9830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9832 -e 's:$: $lt_compiler_flag:'`
9833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9834 (eval "$lt_compile" 2>out/conftest.err)
9835 ac_status=$?
9836 cat out/conftest.err >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9839 then
9840 # The compiler can only warn and ignore the option if not recognized
9841 # So say no if there are warnings
9842 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9843 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9844 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9845 lt_cv_prog_compiler_c_o=yes
9848 chmod u+w . 2>&5
9849 $RM conftest*
9850 # SGI C++ compiler will create directory out/ii_files/ for
9851 # template instantiation
9852 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9853 $RM out/* && rmdir out
9854 cd ..
9855 $RM -r conftest
9856 $RM conftest*
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9860 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9865 hard_links="nottested"
9866 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9867 # do not overwrite the value of need_locks provided by the user
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9869 $as_echo_n "checking if we can lock with hard links... " >&6; }
9870 hard_links=yes
9871 $RM conftest*
9872 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9873 touch conftest.a
9874 ln conftest.a conftest.b 2>&5 || hard_links=no
9875 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9877 $as_echo "$hard_links" >&6; }
9878 if test "$hard_links" = no; then
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9880 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9881 need_locks=warn
9883 else
9884 need_locks=no
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9893 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9895 runpath_var=
9896 allow_undefined_flag=
9897 always_export_symbols=no
9898 archive_cmds=
9899 archive_expsym_cmds=
9900 compiler_needs_object=no
9901 enable_shared_with_static_runtimes=no
9902 export_dynamic_flag_spec=
9903 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9904 hardcode_automatic=no
9905 hardcode_direct=no
9906 hardcode_direct_absolute=no
9907 hardcode_libdir_flag_spec=
9908 hardcode_libdir_flag_spec_ld=
9909 hardcode_libdir_separator=
9910 hardcode_minus_L=no
9911 hardcode_shlibpath_var=unsupported
9912 inherit_rpath=no
9913 link_all_deplibs=unknown
9914 module_cmds=
9915 module_expsym_cmds=
9916 old_archive_from_new_cmds=
9917 old_archive_from_expsyms_cmds=
9918 thread_safe_flag_spec=
9919 whole_archive_flag_spec=
9920 # include_expsyms should be a list of space-separated symbols to be *always*
9921 # included in the symbol list
9922 include_expsyms=
9923 # exclude_expsyms can be an extended regexp of symbols to exclude
9924 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9925 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9926 # as well as any symbol that contains `d'.
9927 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9928 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9929 # platforms (ab)use it in PIC code, but their linkers get confused if
9930 # the symbol is explicitly referenced. Since portable code cannot
9931 # rely on this symbol name, it's probably fine to never include it in
9932 # preloaded symbol tables.
9933 # Exclude shared library initialization/finalization symbols.
9934 extract_expsyms_cmds=
9936 case $host_os in
9937 cygwin* | mingw* | pw32* | cegcc*)
9938 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9939 # When not using gcc, we currently assume that we are using
9940 # Microsoft Visual C++.
9941 if test "$GCC" != yes; then
9942 with_gnu_ld=no
9945 interix*)
9946 # we just hope/assume this is gcc and not c89 (= MSVC++)
9947 with_gnu_ld=yes
9949 openbsd*)
9950 with_gnu_ld=no
9952 esac
9954 ld_shlibs=yes
9956 # On some targets, GNU ld is compatible enough with the native linker
9957 # that we're better off using the native interface for both.
9958 lt_use_gnu_ld_interface=no
9959 if test "$with_gnu_ld" = yes; then
9960 case $host_os in
9961 aix*)
9962 # The AIX port of GNU ld has always aspired to compatibility
9963 # with the native linker. However, as the warning in the GNU ld
9964 # block says, versions before 2.19.5* couldn't really create working
9965 # shared libraries, regardless of the interface used.
9966 case `$LD -v 2>&1` in
9967 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9968 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9969 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9971 lt_use_gnu_ld_interface=yes
9973 esac
9976 lt_use_gnu_ld_interface=yes
9978 esac
9981 if test "$lt_use_gnu_ld_interface" = yes; then
9982 # If archive_cmds runs LD, not CC, wlarc should be empty
9983 wlarc='${wl}'
9985 # Set some defaults for GNU ld with shared library support. These
9986 # are reset later if shared libraries are not supported. Putting them
9987 # here allows them to be overridden if necessary.
9988 runpath_var=LD_RUN_PATH
9989 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9990 export_dynamic_flag_spec='${wl}--export-dynamic'
9991 # ancient GNU ld didn't support --whole-archive et. al.
9992 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9993 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9994 else
9995 whole_archive_flag_spec=
9997 supports_anon_versioning=no
9998 case `$LD -v 2>&1` in
9999 *GNU\ gold*) supports_anon_versioning=yes ;;
10000 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10001 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10002 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10003 *\ 2.11.*) ;; # other 2.11 versions
10004 *) supports_anon_versioning=yes ;;
10005 esac
10007 # See if GNU ld supports shared libraries.
10008 case $host_os in
10009 aix[3-9]*)
10010 # On AIX/PPC, the GNU linker is very broken
10011 if test "$host_cpu" != ia64; then
10012 ld_shlibs=no
10013 cat <<_LT_EOF 1>&2
10015 *** Warning: the GNU linker, at least up to release 2.19, is reported
10016 *** to be unable to reliably create shared libraries on AIX.
10017 *** Therefore, libtool is disabling shared libraries support. If you
10018 *** really care for shared libraries, you may want to install binutils
10019 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10020 *** You will then need to restart the configuration process.
10022 _LT_EOF
10026 amigaos*)
10027 case $host_cpu in
10028 powerpc)
10029 # see comment about AmigaOS4 .so support
10030 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10031 archive_expsym_cmds=''
10033 m68k)
10034 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)'
10035 hardcode_libdir_flag_spec='-L$libdir'
10036 hardcode_minus_L=yes
10038 esac
10041 beos*)
10042 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10043 allow_undefined_flag=unsupported
10044 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10045 # support --undefined. This deserves some investigation. FIXME
10046 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10047 else
10048 ld_shlibs=no
10052 cygwin* | mingw* | pw32* | cegcc*)
10053 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10054 # as there is no search path for DLLs.
10055 hardcode_libdir_flag_spec='-L$libdir'
10056 export_dynamic_flag_spec='${wl}--export-all-symbols'
10057 allow_undefined_flag=unsupported
10058 always_export_symbols=no
10059 enable_shared_with_static_runtimes=yes
10060 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10062 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10063 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10064 # If the export-symbols file already is a .def file (1st line
10065 # is EXPORTS), use it as is; otherwise, prepend...
10066 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10067 cp $export_symbols $output_objdir/$soname.def;
10068 else
10069 echo EXPORTS > $output_objdir/$soname.def;
10070 cat $export_symbols >> $output_objdir/$soname.def;
10072 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10073 else
10074 ld_shlibs=no
10078 haiku*)
10079 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10080 link_all_deplibs=yes
10083 interix[3-9]*)
10084 hardcode_direct=no
10085 hardcode_shlibpath_var=no
10086 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10087 export_dynamic_flag_spec='${wl}-E'
10088 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10089 # Instead, shared libraries are loaded at an image base (0x10000000 by
10090 # default) and relocated if they conflict, which is a slow very memory
10091 # consuming and fragmenting process. To avoid this, we pick a random,
10092 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10093 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10094 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10095 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'
10098 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10099 tmp_diet=no
10100 if test "$host_os" = linux-dietlibc; then
10101 case $cc_basename in
10102 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10103 esac
10105 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10106 && test "$tmp_diet" = no
10107 then
10108 tmp_addflag=
10109 tmp_sharedflag='-shared'
10110 case $cc_basename,$host_cpu in
10111 pgcc*) # Portland Group C compiler
10112 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'
10113 tmp_addflag=' $pic_flag'
10115 pgf77* | pgf90* | pgf95* | pgfortran*)
10116 # Portland Group f77 and f90 compilers
10117 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'
10118 tmp_addflag=' $pic_flag -Mnomain' ;;
10119 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10120 tmp_addflag=' -i_dynamic' ;;
10121 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10122 tmp_addflag=' -i_dynamic -nofor_main' ;;
10123 ifc* | ifort*) # Intel Fortran compiler
10124 tmp_addflag=' -nofor_main' ;;
10125 lf95*) # Lahey Fortran 8.1
10126 whole_archive_flag_spec=
10127 tmp_sharedflag='--shared' ;;
10128 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10129 tmp_sharedflag='-qmkshrobj'
10130 tmp_addflag= ;;
10131 nvcc*) # Cuda Compiler Driver 2.2
10132 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'
10133 compiler_needs_object=yes
10135 esac
10136 case `$CC -V 2>&1 | sed 5q` in
10137 *Sun\ C*) # Sun C 5.9
10138 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'
10139 compiler_needs_object=yes
10140 tmp_sharedflag='-G' ;;
10141 *Sun\ F*) # Sun Fortran 8.3
10142 tmp_sharedflag='-G' ;;
10143 esac
10144 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10146 if test "x$supports_anon_versioning" = xyes; then
10147 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10148 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10149 echo "local: *; };" >> $output_objdir/$libname.ver~
10150 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10153 case $cc_basename in
10154 xlf* | bgf* | bgxlf* | mpixlf*)
10155 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10156 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10157 hardcode_libdir_flag_spec=
10158 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10159 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10160 if test "x$supports_anon_versioning" = xyes; then
10161 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10162 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10163 echo "local: *; };" >> $output_objdir/$libname.ver~
10164 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10167 esac
10168 else
10169 ld_shlibs=no
10173 netbsd*)
10174 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10175 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10176 wlarc=
10177 else
10178 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10179 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10183 solaris*)
10184 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10185 ld_shlibs=no
10186 cat <<_LT_EOF 1>&2
10188 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10189 *** create shared libraries on Solaris systems. Therefore, libtool
10190 *** is disabling shared libraries support. We urge you to upgrade GNU
10191 *** binutils to release 2.9.1 or newer. Another option is to modify
10192 *** your PATH or compiler configuration so that the native linker is
10193 *** used, and then restart.
10195 _LT_EOF
10196 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10197 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10198 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10199 else
10200 ld_shlibs=no
10204 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10205 case `$LD -v 2>&1` in
10206 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10207 ld_shlibs=no
10208 cat <<_LT_EOF 1>&2
10210 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10211 *** reliably create shared libraries on SCO systems. Therefore, libtool
10212 *** is disabling shared libraries support. We urge you to upgrade GNU
10213 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10214 *** your PATH or compiler configuration so that the native linker is
10215 *** used, and then restart.
10217 _LT_EOF
10220 # For security reasons, it is highly recommended that you always
10221 # use absolute paths for naming shared libraries, and exclude the
10222 # DT_RUNPATH tag from executables and libraries. But doing so
10223 # requires that you compile everything twice, which is a pain.
10224 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10225 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10226 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10227 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10228 else
10229 ld_shlibs=no
10232 esac
10235 sunos4*)
10236 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10237 wlarc=
10238 hardcode_direct=yes
10239 hardcode_shlibpath_var=no
10243 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10244 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10245 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10246 else
10247 ld_shlibs=no
10250 esac
10252 if test "$ld_shlibs" = no; then
10253 runpath_var=
10254 hardcode_libdir_flag_spec=
10255 export_dynamic_flag_spec=
10256 whole_archive_flag_spec=
10258 else
10259 # PORTME fill in a description of your system's linker (not GNU ld)
10260 case $host_os in
10261 aix3*)
10262 allow_undefined_flag=unsupported
10263 always_export_symbols=yes
10264 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'
10265 # Note: this linker hardcodes the directories in LIBPATH if there
10266 # are no directories specified by -L.
10267 hardcode_minus_L=yes
10268 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10269 # Neither direct hardcoding nor static linking is supported with a
10270 # broken collect2.
10271 hardcode_direct=unsupported
10275 aix[4-9]*)
10276 if test "$host_cpu" = ia64; then
10277 # On IA64, the linker does run time linking by default, so we don't
10278 # have to do anything special.
10279 aix_use_runtimelinking=no
10280 exp_sym_flag='-Bexport'
10281 no_entry_flag=""
10282 else
10283 # If we're using GNU nm, then we don't want the "-C" option.
10284 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10285 # Also, AIX nm treats weak defined symbols like other global
10286 # defined symbols, whereas GNU nm marks them as "W".
10287 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10288 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'
10289 else
10290 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10292 aix_use_runtimelinking=no
10294 # Test if we are trying to use run time linking or normal
10295 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10296 # need to do runtime linking.
10297 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10298 for ld_flag in $LDFLAGS; do
10299 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10300 aix_use_runtimelinking=yes
10301 break
10303 done
10305 esac
10307 exp_sym_flag='-bexport'
10308 no_entry_flag='-bnoentry'
10311 # When large executables or shared objects are built, AIX ld can
10312 # have problems creating the table of contents. If linking a library
10313 # or program results in "error TOC overflow" add -mminimal-toc to
10314 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10315 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10317 archive_cmds=''
10318 hardcode_direct=yes
10319 hardcode_direct_absolute=yes
10320 hardcode_libdir_separator=':'
10321 link_all_deplibs=yes
10322 file_list_spec='${wl}-f,'
10324 if test "$GCC" = yes; then
10325 case $host_os in aix4.[012]|aix4.[012].*)
10326 # We only want to do this on AIX 4.2 and lower, the check
10327 # below for broken collect2 doesn't work under 4.3+
10328 collect2name=`${CC} -print-prog-name=collect2`
10329 if test -f "$collect2name" &&
10330 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10331 then
10332 # We have reworked collect2
10334 else
10335 # We have old collect2
10336 hardcode_direct=unsupported
10337 # It fails to find uninstalled libraries when the uninstalled
10338 # path is not listed in the libpath. Setting hardcode_minus_L
10339 # to unsupported forces relinking
10340 hardcode_minus_L=yes
10341 hardcode_libdir_flag_spec='-L$libdir'
10342 hardcode_libdir_separator=
10345 esac
10346 shared_flag='-shared'
10347 if test "$aix_use_runtimelinking" = yes; then
10348 shared_flag="$shared_flag "'${wl}-G'
10350 else
10351 # not using gcc
10352 if test "$host_cpu" = ia64; then
10353 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10354 # chokes on -Wl,-G. The following line is correct:
10355 shared_flag='-G'
10356 else
10357 if test "$aix_use_runtimelinking" = yes; then
10358 shared_flag='${wl}-G'
10359 else
10360 shared_flag='${wl}-bM:SRE'
10365 export_dynamic_flag_spec='${wl}-bexpall'
10366 # It seems that -bexpall does not export symbols beginning with
10367 # underscore (_), so it is better to generate a list of symbols to export.
10368 always_export_symbols=yes
10369 if test "$aix_use_runtimelinking" = yes; then
10370 # Warning - without using the other runtime loading flags (-brtl),
10371 # -berok will link without error, but may produce a broken library.
10372 allow_undefined_flag='-berok'
10373 # Determine the default libpath from the value encoded in an
10374 # empty executable.
10375 if test x$gcc_no_link = xyes; then
10376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10382 main ()
10386 return 0;
10388 _ACEOF
10389 if ac_fn_c_try_link "$LINENO"; then :
10391 lt_aix_libpath_sed='
10392 /Import File Strings/,/^$/ {
10393 /^0/ {
10394 s/^0 *\(.*\)$/\1/
10398 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10399 # Check for a 64-bit object if we didn't find anything.
10400 if test -z "$aix_libpath"; then
10401 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10404 rm -f core conftest.err conftest.$ac_objext \
10405 conftest$ac_exeext conftest.$ac_ext
10406 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10408 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10409 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"
10410 else
10411 if test "$host_cpu" = ia64; then
10412 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10413 allow_undefined_flag="-z nodefs"
10414 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"
10415 else
10416 # Determine the default libpath from the value encoded in an
10417 # empty executable.
10418 if test x$gcc_no_link = xyes; then
10419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10425 main ()
10429 return 0;
10431 _ACEOF
10432 if ac_fn_c_try_link "$LINENO"; then :
10434 lt_aix_libpath_sed='
10435 /Import File Strings/,/^$/ {
10436 /^0/ {
10437 s/^0 *\(.*\)$/\1/
10441 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10442 # Check for a 64-bit object if we didn't find anything.
10443 if test -z "$aix_libpath"; then
10444 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10447 rm -f core conftest.err conftest.$ac_objext \
10448 conftest$ac_exeext conftest.$ac_ext
10449 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10451 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10452 # Warning - without using the other run time loading flags,
10453 # -berok will link without error, but may produce a broken library.
10454 no_undefined_flag=' ${wl}-bernotok'
10455 allow_undefined_flag=' ${wl}-berok'
10456 if test "$with_gnu_ld" = yes; then
10457 # We only use this code for GNU lds that support --whole-archive.
10458 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10459 else
10460 # Exported symbols can be pulled into shared objects from archives
10461 whole_archive_flag_spec='$convenience'
10463 archive_cmds_need_lc=yes
10464 # This is similar to how AIX traditionally builds its shared libraries.
10465 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'
10470 amigaos*)
10471 case $host_cpu in
10472 powerpc)
10473 # see comment about AmigaOS4 .so support
10474 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10475 archive_expsym_cmds=''
10477 m68k)
10478 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)'
10479 hardcode_libdir_flag_spec='-L$libdir'
10480 hardcode_minus_L=yes
10482 esac
10485 bsdi[45]*)
10486 export_dynamic_flag_spec=-rdynamic
10489 cygwin* | mingw* | pw32* | cegcc*)
10490 # When not using gcc, we currently assume that we are using
10491 # Microsoft Visual C++.
10492 # hardcode_libdir_flag_spec is actually meaningless, as there is
10493 # no search path for DLLs.
10494 hardcode_libdir_flag_spec=' '
10495 allow_undefined_flag=unsupported
10496 # Tell ltmain to make .lib files, not .a files.
10497 libext=lib
10498 # Tell ltmain to make .dll files, not .so files.
10499 shrext_cmds=".dll"
10500 # FIXME: Setting linknames here is a bad hack.
10501 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10502 # The linker will automatically build a .lib file if we build a DLL.
10503 old_archive_from_new_cmds='true'
10504 # FIXME: Should let the user specify the lib program.
10505 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10506 fix_srcfile_path='`cygpath -w "$srcfile"`'
10507 enable_shared_with_static_runtimes=yes
10510 darwin* | rhapsody*)
10513 archive_cmds_need_lc=no
10514 hardcode_direct=no
10515 hardcode_automatic=yes
10516 hardcode_shlibpath_var=unsupported
10517 if test "$lt_cv_ld_force_load" = "yes"; then
10518 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\"`'
10519 else
10520 whole_archive_flag_spec=''
10522 link_all_deplibs=yes
10523 allow_undefined_flag="$_lt_dar_allow_undefined"
10524 case $cc_basename in
10525 ifort*) _lt_dar_can_shared=yes ;;
10526 *) _lt_dar_can_shared=$GCC ;;
10527 esac
10528 if test "$_lt_dar_can_shared" = "yes"; then
10529 output_verbose_link_cmd=func_echo_all
10530 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10531 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10532 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}"
10533 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}"
10535 else
10536 ld_shlibs=no
10541 dgux*)
10542 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10543 hardcode_libdir_flag_spec='-L$libdir'
10544 hardcode_shlibpath_var=no
10547 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10548 # support. Future versions do this automatically, but an explicit c++rt0.o
10549 # does not break anything, and helps significantly (at the cost of a little
10550 # extra space).
10551 freebsd2.2*)
10552 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10553 hardcode_libdir_flag_spec='-R$libdir'
10554 hardcode_direct=yes
10555 hardcode_shlibpath_var=no
10558 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10559 freebsd2.*)
10560 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10561 hardcode_direct=yes
10562 hardcode_minus_L=yes
10563 hardcode_shlibpath_var=no
10566 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10567 freebsd* | dragonfly*)
10568 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10569 hardcode_libdir_flag_spec='-R$libdir'
10570 hardcode_direct=yes
10571 hardcode_shlibpath_var=no
10574 hpux9*)
10575 if test "$GCC" = yes; then
10576 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'
10577 else
10578 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'
10580 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10581 hardcode_libdir_separator=:
10582 hardcode_direct=yes
10584 # hardcode_minus_L: Not really in the search PATH,
10585 # but as the default location of the library.
10586 hardcode_minus_L=yes
10587 export_dynamic_flag_spec='${wl}-E'
10590 hpux10*)
10591 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10592 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10593 else
10594 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10596 if test "$with_gnu_ld" = no; then
10597 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10598 hardcode_libdir_flag_spec_ld='+b $libdir'
10599 hardcode_libdir_separator=:
10600 hardcode_direct=yes
10601 hardcode_direct_absolute=yes
10602 export_dynamic_flag_spec='${wl}-E'
10603 # hardcode_minus_L: Not really in the search PATH,
10604 # but as the default location of the library.
10605 hardcode_minus_L=yes
10609 hpux11*)
10610 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10611 case $host_cpu in
10612 hppa*64*)
10613 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10615 ia64*)
10616 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10619 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10621 esac
10622 else
10623 case $host_cpu in
10624 hppa*64*)
10625 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10627 ia64*)
10628 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10632 # Older versions of the 11.00 compiler do not understand -b yet
10633 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10635 $as_echo_n "checking if $CC understands -b... " >&6; }
10636 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10637 $as_echo_n "(cached) " >&6
10638 else
10639 lt_cv_prog_compiler__b=no
10640 save_LDFLAGS="$LDFLAGS"
10641 LDFLAGS="$LDFLAGS -b"
10642 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10643 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10644 # The linker can only warn and ignore the option if not recognized
10645 # So say no if there are warnings
10646 if test -s conftest.err; then
10647 # Append any errors to the config.log.
10648 cat conftest.err 1>&5
10649 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10650 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10651 if diff conftest.exp conftest.er2 >/dev/null; then
10652 lt_cv_prog_compiler__b=yes
10654 else
10655 lt_cv_prog_compiler__b=yes
10658 $RM -r conftest*
10659 LDFLAGS="$save_LDFLAGS"
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10663 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10665 if test x"$lt_cv_prog_compiler__b" = xyes; then
10666 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10667 else
10668 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10672 esac
10674 if test "$with_gnu_ld" = no; then
10675 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10676 hardcode_libdir_separator=:
10678 case $host_cpu in
10679 hppa*64*|ia64*)
10680 hardcode_direct=no
10681 hardcode_shlibpath_var=no
10684 hardcode_direct=yes
10685 hardcode_direct_absolute=yes
10686 export_dynamic_flag_spec='${wl}-E'
10688 # hardcode_minus_L: Not really in the search PATH,
10689 # but as the default location of the library.
10690 hardcode_minus_L=yes
10692 esac
10696 irix5* | irix6* | nonstopux*)
10697 if test "$GCC" = yes; then
10698 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'
10699 # Try to use the -exported_symbol ld option, if it does not
10700 # work, assume that -exports_file does not work either and
10701 # implicitly export all symbols.
10702 save_LDFLAGS="$LDFLAGS"
10703 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10704 if test x$gcc_no_link = xyes; then
10705 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10709 int foo(void) {}
10710 _ACEOF
10711 if ac_fn_c_try_link "$LINENO"; then :
10712 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'
10715 rm -f core conftest.err conftest.$ac_objext \
10716 conftest$ac_exeext conftest.$ac_ext
10717 LDFLAGS="$save_LDFLAGS"
10718 else
10719 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'
10720 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'
10722 archive_cmds_need_lc='no'
10723 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10724 hardcode_libdir_separator=:
10725 inherit_rpath=yes
10726 link_all_deplibs=yes
10729 netbsd*)
10730 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10732 else
10733 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10735 hardcode_libdir_flag_spec='-R$libdir'
10736 hardcode_direct=yes
10737 hardcode_shlibpath_var=no
10740 newsos6)
10741 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10742 hardcode_direct=yes
10743 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10744 hardcode_libdir_separator=:
10745 hardcode_shlibpath_var=no
10748 *nto* | *qnx*)
10751 openbsd*)
10752 if test -f /usr/libexec/ld.so; then
10753 hardcode_direct=yes
10754 hardcode_shlibpath_var=no
10755 hardcode_direct_absolute=yes
10756 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10757 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10758 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10759 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10760 export_dynamic_flag_spec='${wl}-E'
10761 else
10762 case $host_os in
10763 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10764 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10765 hardcode_libdir_flag_spec='-R$libdir'
10768 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10769 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10771 esac
10773 else
10774 ld_shlibs=no
10778 os2*)
10779 hardcode_libdir_flag_spec='-L$libdir'
10780 hardcode_minus_L=yes
10781 allow_undefined_flag=unsupported
10782 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'
10783 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10786 osf3*)
10787 if test "$GCC" = yes; then
10788 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10789 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'
10790 else
10791 allow_undefined_flag=' -expect_unresolved \*'
10792 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'
10794 archive_cmds_need_lc='no'
10795 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10796 hardcode_libdir_separator=:
10799 osf4* | osf5*) # as osf3* with the addition of -msym flag
10800 if test "$GCC" = yes; then
10801 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10802 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'
10803 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10804 else
10805 allow_undefined_flag=' -expect_unresolved \*'
10806 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'
10807 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~
10808 $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'
10810 # Both c and cxx compiler support -rpath directly
10811 hardcode_libdir_flag_spec='-rpath $libdir'
10813 archive_cmds_need_lc='no'
10814 hardcode_libdir_separator=:
10817 solaris*)
10818 no_undefined_flag=' -z defs'
10819 if test "$GCC" = yes; then
10820 wlarc='${wl}'
10821 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10822 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10823 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10824 else
10825 case `$CC -V 2>&1` in
10826 *"Compilers 5.0"*)
10827 wlarc=''
10828 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10829 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10830 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10833 wlarc='${wl}'
10834 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10835 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10836 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10838 esac
10840 hardcode_libdir_flag_spec='-R$libdir'
10841 hardcode_shlibpath_var=no
10842 case $host_os in
10843 solaris2.[0-5] | solaris2.[0-5].*) ;;
10845 # The compiler driver will combine and reorder linker options,
10846 # but understands `-z linker_flag'. GCC discards it without `$wl',
10847 # but is careful enough not to reorder.
10848 # Supported since Solaris 2.6 (maybe 2.5.1?)
10849 if test "$GCC" = yes; then
10850 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10851 else
10852 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10855 esac
10856 link_all_deplibs=yes
10859 sunos4*)
10860 if test "x$host_vendor" = xsequent; then
10861 # Use $CC to link under sequent, because it throws in some extra .o
10862 # files that make .init and .fini sections work.
10863 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10864 else
10865 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10867 hardcode_libdir_flag_spec='-L$libdir'
10868 hardcode_direct=yes
10869 hardcode_minus_L=yes
10870 hardcode_shlibpath_var=no
10873 sysv4)
10874 case $host_vendor in
10875 sni)
10876 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10877 hardcode_direct=yes # is this really true???
10879 siemens)
10880 ## LD is ld it makes a PLAMLIB
10881 ## CC just makes a GrossModule.
10882 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10883 reload_cmds='$CC -r -o $output$reload_objs'
10884 hardcode_direct=no
10886 motorola)
10887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10888 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10890 esac
10891 runpath_var='LD_RUN_PATH'
10892 hardcode_shlibpath_var=no
10895 sysv4.3*)
10896 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10897 hardcode_shlibpath_var=no
10898 export_dynamic_flag_spec='-Bexport'
10901 sysv4*MP*)
10902 if test -d /usr/nec; then
10903 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10904 hardcode_shlibpath_var=no
10905 runpath_var=LD_RUN_PATH
10906 hardcode_runpath_var=yes
10907 ld_shlibs=yes
10911 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10912 no_undefined_flag='${wl}-z,text'
10913 archive_cmds_need_lc=no
10914 hardcode_shlibpath_var=no
10915 runpath_var='LD_RUN_PATH'
10917 if test "$GCC" = yes; then
10918 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10919 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10920 else
10921 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10922 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10926 sysv5* | sco3.2v5* | sco5v6*)
10927 # Note: We can NOT use -z defs as we might desire, because we do not
10928 # link with -lc, and that would cause any symbols used from libc to
10929 # always be unresolved, which means just about no library would
10930 # ever link correctly. If we're not using GNU ld we use -z text
10931 # though, which does catch some bad symbols but isn't as heavy-handed
10932 # as -z defs.
10933 no_undefined_flag='${wl}-z,text'
10934 allow_undefined_flag='${wl}-z,nodefs'
10935 archive_cmds_need_lc=no
10936 hardcode_shlibpath_var=no
10937 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10938 hardcode_libdir_separator=':'
10939 link_all_deplibs=yes
10940 export_dynamic_flag_spec='${wl}-Bexport'
10941 runpath_var='LD_RUN_PATH'
10943 if test "$GCC" = yes; then
10944 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10945 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10946 else
10947 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10948 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10952 uts4*)
10953 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10954 hardcode_libdir_flag_spec='-L$libdir'
10955 hardcode_shlibpath_var=no
10959 ld_shlibs=no
10961 esac
10963 if test x$host_vendor = xsni; then
10964 case $host in
10965 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10966 export_dynamic_flag_spec='${wl}-Blargedynsym'
10968 esac
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10973 $as_echo "$ld_shlibs" >&6; }
10974 test "$ld_shlibs" = no && can_build_shared=no
10976 with_gnu_ld=$with_gnu_ld
10993 # Do we need to explicitly link libc?
10995 case "x$archive_cmds_need_lc" in
10996 x|xyes)
10997 # Assume -lc should be added
10998 archive_cmds_need_lc=yes
11000 if test "$enable_shared" = yes && test "$GCC" = yes; then
11001 case $archive_cmds in
11002 *'~'*)
11003 # FIXME: we may have to deal with multi-command sequences.
11005 '$CC '*)
11006 # Test whether the compiler implicitly links with -lc since on some
11007 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11008 # to ld, don't add -lc before -lgcc.
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11010 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11011 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11012 $as_echo_n "(cached) " >&6
11013 else
11014 $RM conftest*
11015 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11018 (eval $ac_compile) 2>&5
11019 ac_status=$?
11020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11021 test $ac_status = 0; } 2>conftest.err; then
11022 soname=conftest
11023 lib=conftest
11024 libobjs=conftest.$ac_objext
11025 deplibs=
11026 wl=$lt_prog_compiler_wl
11027 pic_flag=$lt_prog_compiler_pic
11028 compiler_flags=-v
11029 linker_flags=-v
11030 verstring=
11031 output_objdir=.
11032 libname=conftest
11033 lt_save_allow_undefined_flag=$allow_undefined_flag
11034 allow_undefined_flag=
11035 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11036 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11037 ac_status=$?
11038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11039 test $ac_status = 0; }
11040 then
11041 lt_cv_archive_cmds_need_lc=no
11042 else
11043 lt_cv_archive_cmds_need_lc=yes
11045 allow_undefined_flag=$lt_save_allow_undefined_flag
11046 else
11047 cat conftest.err 1>&5
11049 $RM conftest*
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11053 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11054 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11056 esac
11059 esac
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11218 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11220 if test "$GCC" = yes; then
11221 case $host_os in
11222 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11223 *) lt_awk_arg="/^libraries:/" ;;
11224 esac
11225 case $host_os in
11226 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11227 *) lt_sed_strip_eq="s,=/,/,g" ;;
11228 esac
11229 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11230 case $lt_search_path_spec in
11231 *\;*)
11232 # if the path contains ";" then we assume it to be the separator
11233 # otherwise default to the standard path separator (i.e. ":") - it is
11234 # assumed that no part of a normal pathname contains ";" but that should
11235 # okay in the real world where ";" in dirpaths is itself problematic.
11236 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11239 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11241 esac
11242 # Ok, now we have the path, separated by spaces, we can step through it
11243 # and add multilib dir if necessary.
11244 lt_tmp_lt_search_path_spec=
11245 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11246 for lt_sys_path in $lt_search_path_spec; do
11247 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11248 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11249 else
11250 test -d "$lt_sys_path" && \
11251 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11253 done
11254 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11255 BEGIN {RS=" "; FS="/|\n";} {
11256 lt_foo="";
11257 lt_count=0;
11258 for (lt_i = NF; lt_i > 0; lt_i--) {
11259 if ($lt_i != "" && $lt_i != ".") {
11260 if ($lt_i == "..") {
11261 lt_count++;
11262 } else {
11263 if (lt_count == 0) {
11264 lt_foo="/" $lt_i lt_foo;
11265 } else {
11266 lt_count--;
11271 if (lt_foo != "") { lt_freq[lt_foo]++; }
11272 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11274 # AWK program above erroneously prepends '/' to C:/dos/paths
11275 # for these hosts.
11276 case $host_os in
11277 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11278 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11279 esac
11280 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11281 else
11282 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11284 library_names_spec=
11285 libname_spec='lib$name'
11286 soname_spec=
11287 shrext_cmds=".so"
11288 postinstall_cmds=
11289 postuninstall_cmds=
11290 finish_cmds=
11291 finish_eval=
11292 shlibpath_var=
11293 shlibpath_overrides_runpath=unknown
11294 version_type=none
11295 dynamic_linker="$host_os ld.so"
11296 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11297 need_lib_prefix=unknown
11298 hardcode_into_libs=no
11300 # when you set need_version to no, make sure it does not cause -set_version
11301 # flags to be left without arguments
11302 need_version=unknown
11304 case $host_os in
11305 aix3*)
11306 version_type=linux
11307 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11308 shlibpath_var=LIBPATH
11310 # AIX 3 has no versioning support, so we append a major version to the name.
11311 soname_spec='${libname}${release}${shared_ext}$major'
11314 aix[4-9]*)
11315 version_type=linux
11316 need_lib_prefix=no
11317 need_version=no
11318 hardcode_into_libs=yes
11319 if test "$host_cpu" = ia64; then
11320 # AIX 5 supports IA64
11321 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11322 shlibpath_var=LD_LIBRARY_PATH
11323 else
11324 # With GCC up to 2.95.x, collect2 would create an import file
11325 # for dependence libraries. The import file would start with
11326 # the line `#! .'. This would cause the generated library to
11327 # depend on `.', always an invalid library. This was fixed in
11328 # development snapshots of GCC prior to 3.0.
11329 case $host_os in
11330 aix4 | aix4.[01] | aix4.[01].*)
11331 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11332 echo ' yes '
11333 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11335 else
11336 can_build_shared=no
11339 esac
11340 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11341 # soname into executable. Probably we can add versioning support to
11342 # collect2, so additional links can be useful in future.
11343 if test "$aix_use_runtimelinking" = yes; then
11344 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11345 # instead of lib<name>.a to let people know that these are not
11346 # typical AIX shared libraries.
11347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11348 else
11349 # We preserve .a as extension for shared libraries through AIX4.2
11350 # and later when we are not doing run time linking.
11351 library_names_spec='${libname}${release}.a $libname.a'
11352 soname_spec='${libname}${release}${shared_ext}$major'
11354 shlibpath_var=LIBPATH
11358 amigaos*)
11359 case $host_cpu in
11360 powerpc)
11361 # Since July 2007 AmigaOS4 officially supports .so libraries.
11362 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11365 m68k)
11366 library_names_spec='$libname.ixlibrary $libname.a'
11367 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11368 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'
11370 esac
11373 beos*)
11374 library_names_spec='${libname}${shared_ext}'
11375 dynamic_linker="$host_os ld.so"
11376 shlibpath_var=LIBRARY_PATH
11379 bsdi[45]*)
11380 version_type=linux
11381 need_version=no
11382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11383 soname_spec='${libname}${release}${shared_ext}$major'
11384 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11385 shlibpath_var=LD_LIBRARY_PATH
11386 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11387 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11388 # the default ld.so.conf also contains /usr/contrib/lib and
11389 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11390 # libtool to hard-code these into programs
11393 cygwin* | mingw* | pw32* | cegcc*)
11394 version_type=windows
11395 shrext_cmds=".dll"
11396 need_version=no
11397 need_lib_prefix=no
11399 case $GCC,$host_os in
11400 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11401 library_names_spec='$libname.dll.a'
11402 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11403 postinstall_cmds='base_file=`basename \${file}`~
11404 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11405 dldir=$destdir/`dirname \$dlpath`~
11406 test -d \$dldir || mkdir -p \$dldir~
11407 $install_prog $dir/$dlname \$dldir/$dlname~
11408 chmod a+x \$dldir/$dlname~
11409 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11410 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11412 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11413 dlpath=$dir/\$dldll~
11414 $RM \$dlpath'
11415 shlibpath_overrides_runpath=yes
11417 case $host_os in
11418 cygwin*)
11419 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11420 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11422 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11424 mingw* | cegcc*)
11425 # MinGW DLLs use traditional 'lib' prefix
11426 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11428 pw32*)
11429 # pw32 DLLs use 'pw' prefix rather than 'lib'
11430 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11432 esac
11436 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11438 esac
11439 dynamic_linker='Win32 ld.exe'
11440 # FIXME: first we should search . and the directory the executable is in
11441 shlibpath_var=PATH
11444 darwin* | rhapsody*)
11445 dynamic_linker="$host_os dyld"
11446 version_type=darwin
11447 need_lib_prefix=no
11448 need_version=no
11449 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11450 soname_spec='${libname}${release}${major}$shared_ext'
11451 shlibpath_overrides_runpath=yes
11452 shlibpath_var=DYLD_LIBRARY_PATH
11453 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11455 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11456 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11459 dgux*)
11460 version_type=linux
11461 need_lib_prefix=no
11462 need_version=no
11463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11464 soname_spec='${libname}${release}${shared_ext}$major'
11465 shlibpath_var=LD_LIBRARY_PATH
11468 freebsd* | dragonfly*)
11469 # DragonFly does not have aout. When/if they implement a new
11470 # versioning mechanism, adjust this.
11471 if test -x /usr/bin/objformat; then
11472 objformat=`/usr/bin/objformat`
11473 else
11474 case $host_os in
11475 freebsd[23].*) objformat=aout ;;
11476 *) objformat=elf ;;
11477 esac
11479 version_type=freebsd-$objformat
11480 case $version_type in
11481 freebsd-elf*)
11482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11483 need_version=no
11484 need_lib_prefix=no
11486 freebsd-*)
11487 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11488 need_version=yes
11490 esac
11491 shlibpath_var=LD_LIBRARY_PATH
11492 case $host_os in
11493 freebsd2.*)
11494 shlibpath_overrides_runpath=yes
11496 freebsd3.[01]* | freebsdelf3.[01]*)
11497 shlibpath_overrides_runpath=yes
11498 hardcode_into_libs=yes
11500 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11501 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11502 shlibpath_overrides_runpath=no
11503 hardcode_into_libs=yes
11505 *) # from 4.6 on, and DragonFly
11506 shlibpath_overrides_runpath=yes
11507 hardcode_into_libs=yes
11509 esac
11512 gnu*)
11513 version_type=linux
11514 need_lib_prefix=no
11515 need_version=no
11516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11517 soname_spec='${libname}${release}${shared_ext}$major'
11518 shlibpath_var=LD_LIBRARY_PATH
11519 hardcode_into_libs=yes
11522 haiku*)
11523 version_type=linux
11524 need_lib_prefix=no
11525 need_version=no
11526 dynamic_linker="$host_os runtime_loader"
11527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11528 soname_spec='${libname}${release}${shared_ext}$major'
11529 shlibpath_var=LIBRARY_PATH
11530 shlibpath_overrides_runpath=yes
11531 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11532 hardcode_into_libs=yes
11535 hpux9* | hpux10* | hpux11*)
11536 # Give a soname corresponding to the major version so that dld.sl refuses to
11537 # link against other versions.
11538 version_type=sunos
11539 need_lib_prefix=no
11540 need_version=no
11541 case $host_cpu in
11542 ia64*)
11543 shrext_cmds='.so'
11544 hardcode_into_libs=yes
11545 dynamic_linker="$host_os dld.so"
11546 shlibpath_var=LD_LIBRARY_PATH
11547 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11549 soname_spec='${libname}${release}${shared_ext}$major'
11550 if test "X$HPUX_IA64_MODE" = X32; then
11551 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11552 else
11553 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11555 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11557 hppa*64*)
11558 shrext_cmds='.sl'
11559 hardcode_into_libs=yes
11560 dynamic_linker="$host_os dld.sl"
11561 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11562 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11564 soname_spec='${libname}${release}${shared_ext}$major'
11565 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11566 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11569 shrext_cmds='.sl'
11570 dynamic_linker="$host_os dld.sl"
11571 shlibpath_var=SHLIB_PATH
11572 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11574 soname_spec='${libname}${release}${shared_ext}$major'
11576 esac
11577 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11578 postinstall_cmds='chmod 555 $lib'
11579 # or fails outright, so override atomically:
11580 install_override_mode=555
11583 interix[3-9]*)
11584 version_type=linux
11585 need_lib_prefix=no
11586 need_version=no
11587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11588 soname_spec='${libname}${release}${shared_ext}$major'
11589 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11590 shlibpath_var=LD_LIBRARY_PATH
11591 shlibpath_overrides_runpath=no
11592 hardcode_into_libs=yes
11595 irix5* | irix6* | nonstopux*)
11596 case $host_os in
11597 nonstopux*) version_type=nonstopux ;;
11599 if test "$lt_cv_prog_gnu_ld" = yes; then
11600 version_type=linux
11601 else
11602 version_type=irix
11603 fi ;;
11604 esac
11605 need_lib_prefix=no
11606 need_version=no
11607 soname_spec='${libname}${release}${shared_ext}$major'
11608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11609 case $host_os in
11610 irix5* | nonstopux*)
11611 libsuff= shlibsuff=
11614 case $LD in # libtool.m4 will add one of these switches to LD
11615 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11616 libsuff= shlibsuff= libmagic=32-bit;;
11617 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11618 libsuff=32 shlibsuff=N32 libmagic=N32;;
11619 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11620 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11621 *) libsuff= shlibsuff= libmagic=never-match;;
11622 esac
11624 esac
11625 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11626 shlibpath_overrides_runpath=no
11627 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11628 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11629 hardcode_into_libs=yes
11632 # No shared lib support for Linux oldld, aout, or coff.
11633 linux*oldld* | linux*aout* | linux*coff*)
11634 dynamic_linker=no
11637 # This must be Linux ELF.
11638 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11639 version_type=linux
11640 need_lib_prefix=no
11641 need_version=no
11642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11643 soname_spec='${libname}${release}${shared_ext}$major'
11644 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11645 shlibpath_var=LD_LIBRARY_PATH
11646 shlibpath_overrides_runpath=no
11648 # Some binutils ld are patched to set DT_RUNPATH
11649 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11650 $as_echo_n "(cached) " >&6
11651 else
11652 lt_cv_shlibpath_overrides_runpath=no
11653 save_LDFLAGS=$LDFLAGS
11654 save_libdir=$libdir
11655 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11656 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11657 if test x$gcc_no_link = xyes; then
11658 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11664 main ()
11668 return 0;
11670 _ACEOF
11671 if ac_fn_c_try_link "$LINENO"; then :
11672 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11673 lt_cv_shlibpath_overrides_runpath=yes
11676 rm -f core conftest.err conftest.$ac_objext \
11677 conftest$ac_exeext conftest.$ac_ext
11678 LDFLAGS=$save_LDFLAGS
11679 libdir=$save_libdir
11683 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11685 # This implies no fast_install, which is unacceptable.
11686 # Some rework will be needed to allow for fast_install
11687 # before this can be enabled.
11688 hardcode_into_libs=yes
11690 # Append ld.so.conf contents to the search path
11691 if test -f /etc/ld.so.conf; then
11692 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' ' '`
11693 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11696 # We used to test for /lib/ld.so.1 and disable shared libraries on
11697 # powerpc, because MkLinux only supported shared libraries with the
11698 # GNU dynamic linker. Since this was broken with cross compilers,
11699 # most powerpc-linux boxes support dynamic linking these days and
11700 # people can always --disable-shared, the test was removed, and we
11701 # assume the GNU/Linux dynamic linker is in use.
11702 dynamic_linker='GNU/Linux ld.so'
11705 netbsd*)
11706 version_type=sunos
11707 need_lib_prefix=no
11708 need_version=no
11709 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11711 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11712 dynamic_linker='NetBSD (a.out) ld.so'
11713 else
11714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11715 soname_spec='${libname}${release}${shared_ext}$major'
11716 dynamic_linker='NetBSD ld.elf_so'
11718 shlibpath_var=LD_LIBRARY_PATH
11719 shlibpath_overrides_runpath=yes
11720 hardcode_into_libs=yes
11723 newsos6)
11724 version_type=linux
11725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11726 shlibpath_var=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath=yes
11730 *nto* | *qnx*)
11731 version_type=qnx
11732 need_lib_prefix=no
11733 need_version=no
11734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11735 soname_spec='${libname}${release}${shared_ext}$major'
11736 shlibpath_var=LD_LIBRARY_PATH
11737 shlibpath_overrides_runpath=no
11738 hardcode_into_libs=yes
11739 dynamic_linker='ldqnx.so'
11742 openbsd*)
11743 version_type=sunos
11744 sys_lib_dlsearch_path_spec="/usr/lib"
11745 need_lib_prefix=no
11746 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11747 case $host_os in
11748 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11749 *) need_version=no ;;
11750 esac
11751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11752 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11753 shlibpath_var=LD_LIBRARY_PATH
11754 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11755 case $host_os in
11756 openbsd2.[89] | openbsd2.[89].*)
11757 shlibpath_overrides_runpath=no
11760 shlibpath_overrides_runpath=yes
11762 esac
11763 else
11764 shlibpath_overrides_runpath=yes
11768 os2*)
11769 libname_spec='$name'
11770 shrext_cmds=".dll"
11771 need_lib_prefix=no
11772 library_names_spec='$libname${shared_ext} $libname.a'
11773 dynamic_linker='OS/2 ld.exe'
11774 shlibpath_var=LIBPATH
11777 osf3* | osf4* | osf5*)
11778 version_type=osf
11779 need_lib_prefix=no
11780 need_version=no
11781 soname_spec='${libname}${release}${shared_ext}$major'
11782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11783 shlibpath_var=LD_LIBRARY_PATH
11784 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11785 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11788 rdos*)
11789 dynamic_linker=no
11792 solaris*)
11793 version_type=linux
11794 need_lib_prefix=no
11795 need_version=no
11796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11797 soname_spec='${libname}${release}${shared_ext}$major'
11798 shlibpath_var=LD_LIBRARY_PATH
11799 shlibpath_overrides_runpath=yes
11800 hardcode_into_libs=yes
11801 # ldd complains unless libraries are executable
11802 postinstall_cmds='chmod +x $lib'
11805 sunos4*)
11806 version_type=sunos
11807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11808 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11809 shlibpath_var=LD_LIBRARY_PATH
11810 shlibpath_overrides_runpath=yes
11811 if test "$with_gnu_ld" = yes; then
11812 need_lib_prefix=no
11814 need_version=yes
11817 sysv4 | sysv4.3*)
11818 version_type=linux
11819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11820 soname_spec='${libname}${release}${shared_ext}$major'
11821 shlibpath_var=LD_LIBRARY_PATH
11822 case $host_vendor in
11823 sni)
11824 shlibpath_overrides_runpath=no
11825 need_lib_prefix=no
11826 runpath_var=LD_RUN_PATH
11828 siemens)
11829 need_lib_prefix=no
11831 motorola)
11832 need_lib_prefix=no
11833 need_version=no
11834 shlibpath_overrides_runpath=no
11835 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11837 esac
11840 sysv4*MP*)
11841 if test -d /usr/nec ;then
11842 version_type=linux
11843 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11844 soname_spec='$libname${shared_ext}.$major'
11845 shlibpath_var=LD_LIBRARY_PATH
11849 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11850 version_type=freebsd-elf
11851 need_lib_prefix=no
11852 need_version=no
11853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11854 soname_spec='${libname}${release}${shared_ext}$major'
11855 shlibpath_var=LD_LIBRARY_PATH
11856 shlibpath_overrides_runpath=yes
11857 hardcode_into_libs=yes
11858 if test "$with_gnu_ld" = yes; then
11859 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11860 else
11861 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11862 case $host_os in
11863 sco3.2v5*)
11864 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11866 esac
11868 sys_lib_dlsearch_path_spec='/usr/lib'
11871 tpf*)
11872 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11873 version_type=linux
11874 need_lib_prefix=no
11875 need_version=no
11876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11877 shlibpath_var=LD_LIBRARY_PATH
11878 shlibpath_overrides_runpath=no
11879 hardcode_into_libs=yes
11882 uts4*)
11883 version_type=linux
11884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11885 soname_spec='${libname}${release}${shared_ext}$major'
11886 shlibpath_var=LD_LIBRARY_PATH
11890 dynamic_linker=no
11892 esac
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11894 $as_echo "$dynamic_linker" >&6; }
11895 test "$dynamic_linker" = no && can_build_shared=no
11897 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11898 if test "$GCC" = yes; then
11899 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11902 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11903 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11905 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11906 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12001 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12002 hardcode_action=
12003 if test -n "$hardcode_libdir_flag_spec" ||
12004 test -n "$runpath_var" ||
12005 test "X$hardcode_automatic" = "Xyes" ; then
12007 # We can hardcode non-existent directories.
12008 if test "$hardcode_direct" != no &&
12009 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12010 # have to relink, otherwise we might link with an installed library
12011 # when we should be linking with a yet-to-be-installed one
12012 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12013 test "$hardcode_minus_L" != no; then
12014 # Linking always hardcodes the temporary library directory.
12015 hardcode_action=relink
12016 else
12017 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12018 hardcode_action=immediate
12020 else
12021 # We cannot hardcode anything, or else we can only hardcode existing
12022 # directories.
12023 hardcode_action=unsupported
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12026 $as_echo "$hardcode_action" >&6; }
12028 if test "$hardcode_action" = relink ||
12029 test "$inherit_rpath" = yes; then
12030 # Fast installation is not supported
12031 enable_fast_install=no
12032 elif test "$shlibpath_overrides_runpath" = yes ||
12033 test "$enable_shared" = no; then
12034 # Fast installation is not necessary
12035 enable_fast_install=needless
12043 if test "x$enable_dlopen" != xyes; then
12044 enable_dlopen=unknown
12045 enable_dlopen_self=unknown
12046 enable_dlopen_self_static=unknown
12047 else
12048 lt_cv_dlopen=no
12049 lt_cv_dlopen_libs=
12051 case $host_os in
12052 beos*)
12053 lt_cv_dlopen="load_add_on"
12054 lt_cv_dlopen_libs=
12055 lt_cv_dlopen_self=yes
12058 mingw* | pw32* | cegcc*)
12059 lt_cv_dlopen="LoadLibrary"
12060 lt_cv_dlopen_libs=
12063 cygwin*)
12064 lt_cv_dlopen="dlopen"
12065 lt_cv_dlopen_libs=
12068 darwin*)
12069 # if libdl is installed we need to link against it
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12071 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12072 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12073 $as_echo_n "(cached) " >&6
12074 else
12075 ac_check_lib_save_LIBS=$LIBS
12076 LIBS="-ldl $LIBS"
12077 if test x$gcc_no_link = xyes; then
12078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12081 /* end confdefs.h. */
12083 /* Override any GCC internal prototype to avoid an error.
12084 Use char because int might match the return type of a GCC
12085 builtin and then its argument prototype would still apply. */
12086 #ifdef __cplusplus
12087 extern "C"
12088 #endif
12089 char dlopen ();
12091 main ()
12093 return dlopen ();
12095 return 0;
12097 _ACEOF
12098 if ac_fn_c_try_link "$LINENO"; then :
12099 ac_cv_lib_dl_dlopen=yes
12100 else
12101 ac_cv_lib_dl_dlopen=no
12103 rm -f core conftest.err conftest.$ac_objext \
12104 conftest$ac_exeext conftest.$ac_ext
12105 LIBS=$ac_check_lib_save_LIBS
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12108 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12109 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12110 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12111 else
12113 lt_cv_dlopen="dyld"
12114 lt_cv_dlopen_libs=
12115 lt_cv_dlopen_self=yes
12122 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12123 if test "x$ac_cv_func_shl_load" = x""yes; then :
12124 lt_cv_dlopen="shl_load"
12125 else
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12127 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12128 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12129 $as_echo_n "(cached) " >&6
12130 else
12131 ac_check_lib_save_LIBS=$LIBS
12132 LIBS="-ldld $LIBS"
12133 if test x$gcc_no_link = xyes; then
12134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12139 /* Override any GCC internal prototype to avoid an error.
12140 Use char because int might match the return type of a GCC
12141 builtin and then its argument prototype would still apply. */
12142 #ifdef __cplusplus
12143 extern "C"
12144 #endif
12145 char shl_load ();
12147 main ()
12149 return shl_load ();
12151 return 0;
12153 _ACEOF
12154 if ac_fn_c_try_link "$LINENO"; then :
12155 ac_cv_lib_dld_shl_load=yes
12156 else
12157 ac_cv_lib_dld_shl_load=no
12159 rm -f core conftest.err conftest.$ac_objext \
12160 conftest$ac_exeext conftest.$ac_ext
12161 LIBS=$ac_check_lib_save_LIBS
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12164 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12165 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12166 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12167 else
12168 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12169 if test "x$ac_cv_func_dlopen" = x""yes; then :
12170 lt_cv_dlopen="dlopen"
12171 else
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12173 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12174 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12175 $as_echo_n "(cached) " >&6
12176 else
12177 ac_check_lib_save_LIBS=$LIBS
12178 LIBS="-ldl $LIBS"
12179 if test x$gcc_no_link = xyes; then
12180 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12183 /* end confdefs.h. */
12185 /* Override any GCC internal prototype to avoid an error.
12186 Use char because int might match the return type of a GCC
12187 builtin and then its argument prototype would still apply. */
12188 #ifdef __cplusplus
12189 extern "C"
12190 #endif
12191 char dlopen ();
12193 main ()
12195 return dlopen ();
12197 return 0;
12199 _ACEOF
12200 if ac_fn_c_try_link "$LINENO"; then :
12201 ac_cv_lib_dl_dlopen=yes
12202 else
12203 ac_cv_lib_dl_dlopen=no
12205 rm -f core conftest.err conftest.$ac_objext \
12206 conftest$ac_exeext conftest.$ac_ext
12207 LIBS=$ac_check_lib_save_LIBS
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12210 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12211 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12212 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12213 else
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12215 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12216 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12217 $as_echo_n "(cached) " >&6
12218 else
12219 ac_check_lib_save_LIBS=$LIBS
12220 LIBS="-lsvld $LIBS"
12221 if test x$gcc_no_link = xyes; then
12222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12227 /* Override any GCC internal prototype to avoid an error.
12228 Use char because int might match the return type of a GCC
12229 builtin and then its argument prototype would still apply. */
12230 #ifdef __cplusplus
12231 extern "C"
12232 #endif
12233 char dlopen ();
12235 main ()
12237 return dlopen ();
12239 return 0;
12241 _ACEOF
12242 if ac_fn_c_try_link "$LINENO"; then :
12243 ac_cv_lib_svld_dlopen=yes
12244 else
12245 ac_cv_lib_svld_dlopen=no
12247 rm -f core conftest.err conftest.$ac_objext \
12248 conftest$ac_exeext conftest.$ac_ext
12249 LIBS=$ac_check_lib_save_LIBS
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12252 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12253 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12254 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12255 else
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12257 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12258 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12259 $as_echo_n "(cached) " >&6
12260 else
12261 ac_check_lib_save_LIBS=$LIBS
12262 LIBS="-ldld $LIBS"
12263 if test x$gcc_no_link = xyes; then
12264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12269 /* Override any GCC internal prototype to avoid an error.
12270 Use char because int might match the return type of a GCC
12271 builtin and then its argument prototype would still apply. */
12272 #ifdef __cplusplus
12273 extern "C"
12274 #endif
12275 char dld_link ();
12277 main ()
12279 return dld_link ();
12281 return 0;
12283 _ACEOF
12284 if ac_fn_c_try_link "$LINENO"; then :
12285 ac_cv_lib_dld_dld_link=yes
12286 else
12287 ac_cv_lib_dld_dld_link=no
12289 rm -f core conftest.err conftest.$ac_objext \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_lib_save_LIBS
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12294 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12295 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12296 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12315 esac
12317 if test "x$lt_cv_dlopen" != xno; then
12318 enable_dlopen=yes
12319 else
12320 enable_dlopen=no
12323 case $lt_cv_dlopen in
12324 dlopen)
12325 save_CPPFLAGS="$CPPFLAGS"
12326 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12328 save_LDFLAGS="$LDFLAGS"
12329 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12331 save_LIBS="$LIBS"
12332 LIBS="$lt_cv_dlopen_libs $LIBS"
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12335 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12336 if test "${lt_cv_dlopen_self+set}" = set; then :
12337 $as_echo_n "(cached) " >&6
12338 else
12339 if test "$cross_compiling" = yes; then :
12340 lt_cv_dlopen_self=cross
12341 else
12342 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12343 lt_status=$lt_dlunknown
12344 cat > conftest.$ac_ext <<_LT_EOF
12345 #line 12345 "configure"
12346 #include "confdefs.h"
12348 #if HAVE_DLFCN_H
12349 #include <dlfcn.h>
12350 #endif
12352 #include <stdio.h>
12354 #ifdef RTLD_GLOBAL
12355 # define LT_DLGLOBAL RTLD_GLOBAL
12356 #else
12357 # ifdef DL_GLOBAL
12358 # define LT_DLGLOBAL DL_GLOBAL
12359 # else
12360 # define LT_DLGLOBAL 0
12361 # endif
12362 #endif
12364 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12365 find out it does not work in some platform. */
12366 #ifndef LT_DLLAZY_OR_NOW
12367 # ifdef RTLD_LAZY
12368 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12369 # else
12370 # ifdef DL_LAZY
12371 # define LT_DLLAZY_OR_NOW DL_LAZY
12372 # else
12373 # ifdef RTLD_NOW
12374 # define LT_DLLAZY_OR_NOW RTLD_NOW
12375 # else
12376 # ifdef DL_NOW
12377 # define LT_DLLAZY_OR_NOW DL_NOW
12378 # else
12379 # define LT_DLLAZY_OR_NOW 0
12380 # endif
12381 # endif
12382 # endif
12383 # endif
12384 #endif
12386 /* When -fvisbility=hidden is used, assume the code has been annotated
12387 correspondingly for the symbols needed. */
12388 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12389 void fnord () __attribute__((visibility("default")));
12390 #endif
12392 void fnord () { int i=42; }
12393 int main ()
12395 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12396 int status = $lt_dlunknown;
12398 if (self)
12400 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12401 else
12403 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12404 else puts (dlerror ());
12406 /* dlclose (self); */
12408 else
12409 puts (dlerror ());
12411 return status;
12413 _LT_EOF
12414 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12415 (eval $ac_link) 2>&5
12416 ac_status=$?
12417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12418 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12419 (./conftest; exit; ) >&5 2>/dev/null
12420 lt_status=$?
12421 case x$lt_status in
12422 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12423 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12424 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12425 esac
12426 else :
12427 # compilation failed
12428 lt_cv_dlopen_self=no
12431 rm -fr conftest*
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12436 $as_echo "$lt_cv_dlopen_self" >&6; }
12438 if test "x$lt_cv_dlopen_self" = xyes; then
12439 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12441 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12442 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12443 $as_echo_n "(cached) " >&6
12444 else
12445 if test "$cross_compiling" = yes; then :
12446 lt_cv_dlopen_self_static=cross
12447 else
12448 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12449 lt_status=$lt_dlunknown
12450 cat > conftest.$ac_ext <<_LT_EOF
12451 #line 12451 "configure"
12452 #include "confdefs.h"
12454 #if HAVE_DLFCN_H
12455 #include <dlfcn.h>
12456 #endif
12458 #include <stdio.h>
12460 #ifdef RTLD_GLOBAL
12461 # define LT_DLGLOBAL RTLD_GLOBAL
12462 #else
12463 # ifdef DL_GLOBAL
12464 # define LT_DLGLOBAL DL_GLOBAL
12465 # else
12466 # define LT_DLGLOBAL 0
12467 # endif
12468 #endif
12470 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12471 find out it does not work in some platform. */
12472 #ifndef LT_DLLAZY_OR_NOW
12473 # ifdef RTLD_LAZY
12474 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12475 # else
12476 # ifdef DL_LAZY
12477 # define LT_DLLAZY_OR_NOW DL_LAZY
12478 # else
12479 # ifdef RTLD_NOW
12480 # define LT_DLLAZY_OR_NOW RTLD_NOW
12481 # else
12482 # ifdef DL_NOW
12483 # define LT_DLLAZY_OR_NOW DL_NOW
12484 # else
12485 # define LT_DLLAZY_OR_NOW 0
12486 # endif
12487 # endif
12488 # endif
12489 # endif
12490 #endif
12492 /* When -fvisbility=hidden is used, assume the code has been annotated
12493 correspondingly for the symbols needed. */
12494 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12495 void fnord () __attribute__((visibility("default")));
12496 #endif
12498 void fnord () { int i=42; }
12499 int main ()
12501 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12502 int status = $lt_dlunknown;
12504 if (self)
12506 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12507 else
12509 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12510 else puts (dlerror ());
12512 /* dlclose (self); */
12514 else
12515 puts (dlerror ());
12517 return status;
12519 _LT_EOF
12520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12521 (eval $ac_link) 2>&5
12522 ac_status=$?
12523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12524 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12525 (./conftest; exit; ) >&5 2>/dev/null
12526 lt_status=$?
12527 case x$lt_status in
12528 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12529 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12530 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12531 esac
12532 else :
12533 # compilation failed
12534 lt_cv_dlopen_self_static=no
12537 rm -fr conftest*
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12542 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12545 CPPFLAGS="$save_CPPFLAGS"
12546 LDFLAGS="$save_LDFLAGS"
12547 LIBS="$save_LIBS"
12549 esac
12551 case $lt_cv_dlopen_self in
12552 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12553 *) enable_dlopen_self=unknown ;;
12554 esac
12556 case $lt_cv_dlopen_self_static in
12557 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12558 *) enable_dlopen_self_static=unknown ;;
12559 esac
12578 striplib=
12579 old_striplib=
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12581 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12582 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12583 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12584 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12586 $as_echo "yes" >&6; }
12587 else
12588 # FIXME - insert some real tests, host_os isn't really good enough
12589 case $host_os in
12590 darwin*)
12591 if test -n "$STRIP" ; then
12592 striplib="$STRIP -x"
12593 old_striplib="$STRIP -S"
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12595 $as_echo "yes" >&6; }
12596 else
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12598 $as_echo "no" >&6; }
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12603 $as_echo "no" >&6; }
12605 esac
12619 # Report which library types will actually be built
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12621 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12623 $as_echo "$can_build_shared" >&6; }
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12626 $as_echo_n "checking whether to build shared libraries... " >&6; }
12627 test "$can_build_shared" = "no" && enable_shared=no
12629 # On AIX, shared libraries and static libraries use the same namespace, and
12630 # are all built from PIC.
12631 case $host_os in
12632 aix3*)
12633 test "$enable_shared" = yes && enable_static=no
12634 if test -n "$RANLIB"; then
12635 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12636 postinstall_cmds='$RANLIB $lib'
12640 aix[4-9]*)
12641 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12642 test "$enable_shared" = yes && enable_static=no
12645 esac
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12647 $as_echo "$enable_shared" >&6; }
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12650 $as_echo_n "checking whether to build static libraries... " >&6; }
12651 # Make sure either enable_shared or enable_static is yes.
12652 test "$enable_shared" = yes || enable_static=yes
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12654 $as_echo "$enable_static" >&6; }
12660 ac_ext=c
12661 ac_cpp='$CPP $CPPFLAGS'
12662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12666 CC="$lt_save_CC"
12680 ac_config_commands="$ac_config_commands libtool"
12685 # Only expand once:
12691 case $host in
12692 *-cygwin* | *-mingw*)
12693 # 'host' will be top-level target in the case of a target lib,
12694 # we must compare to with_cross_host to decide if this is a native
12695 # or cross-compiler and select where to install dlls appropriately.
12696 if test -n "$with_cross_host" &&
12697 test x"$with_cross_host" != x"no"; then
12698 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12699 else
12700 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12704 lt_host_flags=
12706 esac
12712 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12714 # We need gfortran to compile parts of the library
12715 #AC_PROG_FC(gfortran)
12716 FC="$GFORTRAN"
12717 ac_ext=${ac_fc_srcext-f}
12718 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12719 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12720 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12721 if test -n "$ac_tool_prefix"; then
12722 for ac_prog in gfortran
12724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if test "${ac_cv_prog_FC+set}" = set; then :
12729 $as_echo_n "(cached) " >&6
12730 else
12731 if test -n "$FC"; then
12732 ac_cv_prog_FC="$FC" # Let the user override the test.
12733 else
12734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12735 for as_dir in $PATH
12737 IFS=$as_save_IFS
12738 test -z "$as_dir" && as_dir=.
12739 for ac_exec_ext in '' $ac_executable_extensions; do
12740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12741 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12743 break 2
12745 done
12746 done
12747 IFS=$as_save_IFS
12751 FC=$ac_cv_prog_FC
12752 if test -n "$FC"; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12754 $as_echo "$FC" >&6; }
12755 else
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12757 $as_echo "no" >&6; }
12761 test -n "$FC" && break
12762 done
12764 if test -z "$FC"; then
12765 ac_ct_FC=$FC
12766 for ac_prog in gfortran
12768 # Extract the first word of "$ac_prog", so it can be a program name with args.
12769 set dummy $ac_prog; ac_word=$2
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12771 $as_echo_n "checking for $ac_word... " >&6; }
12772 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12773 $as_echo_n "(cached) " >&6
12774 else
12775 if test -n "$ac_ct_FC"; then
12776 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12777 else
12778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12779 for as_dir in $PATH
12781 IFS=$as_save_IFS
12782 test -z "$as_dir" && as_dir=.
12783 for ac_exec_ext in '' $ac_executable_extensions; do
12784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12785 ac_cv_prog_ac_ct_FC="$ac_prog"
12786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12787 break 2
12789 done
12790 done
12791 IFS=$as_save_IFS
12795 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12796 if test -n "$ac_ct_FC"; then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12798 $as_echo "$ac_ct_FC" >&6; }
12799 else
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12801 $as_echo "no" >&6; }
12805 test -n "$ac_ct_FC" && break
12806 done
12808 if test "x$ac_ct_FC" = x; then
12809 FC=""
12810 else
12811 case $cross_compiling:$ac_tool_warned in
12812 yes:)
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12815 ac_tool_warned=yes ;;
12816 esac
12817 FC=$ac_ct_FC
12822 # Provide some information about the compiler.
12823 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12824 set X $ac_compile
12825 ac_compiler=$2
12826 for ac_option in --version -v -V -qversion; do
12827 { { ac_try="$ac_compiler $ac_option >&5"
12828 case "(($ac_try" in
12829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12830 *) ac_try_echo=$ac_try;;
12831 esac
12832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12833 $as_echo "$ac_try_echo"; } >&5
12834 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12835 ac_status=$?
12836 if test -s conftest.err; then
12837 sed '10a\
12838 ... rest of stderr output deleted ...
12839 10q' conftest.err >conftest.er1
12840 cat conftest.er1 >&5
12841 rm -f conftest.er1 conftest.err
12843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12844 test $ac_status = 0; }
12845 done
12846 rm -f a.out
12848 # If we don't use `.F' as extension, the preprocessor is not run on the
12849 # input file. (Note that this only needs to work for GNU compilers.)
12850 ac_save_ext=$ac_ext
12851 ac_ext=F
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12853 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12854 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12855 $as_echo_n "(cached) " >&6
12856 else
12857 cat > conftest.$ac_ext <<_ACEOF
12858 program main
12859 #ifndef __GNUC__
12860 choke me
12861 #endif
12864 _ACEOF
12865 if ac_fn_fc_try_compile "$LINENO"; then :
12866 ac_compiler_gnu=yes
12867 else
12868 ac_compiler_gnu=no
12870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12871 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12875 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12876 ac_ext=$ac_save_ext
12877 ac_test_FCFLAGS=${FCFLAGS+set}
12878 ac_save_FCFLAGS=$FCFLAGS
12879 FCFLAGS=
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12881 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12882 if test "${ac_cv_prog_fc_g+set}" = set; then :
12883 $as_echo_n "(cached) " >&6
12884 else
12885 FCFLAGS=-g
12886 cat > conftest.$ac_ext <<_ACEOF
12887 program main
12890 _ACEOF
12891 if ac_fn_fc_try_compile "$LINENO"; then :
12892 ac_cv_prog_fc_g=yes
12893 else
12894 ac_cv_prog_fc_g=no
12896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12900 $as_echo "$ac_cv_prog_fc_g" >&6; }
12901 if test "$ac_test_FCFLAGS" = set; then
12902 FCFLAGS=$ac_save_FCFLAGS
12903 elif test $ac_cv_prog_fc_g = yes; then
12904 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12905 FCFLAGS="-g -O2"
12906 else
12907 FCFLAGS="-g"
12909 else
12910 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12911 FCFLAGS="-O2"
12912 else
12913 FCFLAGS=
12917 ac_ext=c
12918 ac_cpp='$CPP $CPPFLAGS'
12919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12923 ac_ext=${ac_fc_srcext-f}
12924 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12925 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12926 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12929 if test -z "$FC" || test "X$FC" = "Xno"; then
12930 _lt_disable_FC=yes
12933 archive_cmds_need_lc_FC=no
12934 allow_undefined_flag_FC=
12935 always_export_symbols_FC=no
12936 archive_expsym_cmds_FC=
12937 export_dynamic_flag_spec_FC=
12938 hardcode_direct_FC=no
12939 hardcode_direct_absolute_FC=no
12940 hardcode_libdir_flag_spec_FC=
12941 hardcode_libdir_flag_spec_ld_FC=
12942 hardcode_libdir_separator_FC=
12943 hardcode_minus_L_FC=no
12944 hardcode_automatic_FC=no
12945 inherit_rpath_FC=no
12946 module_cmds_FC=
12947 module_expsym_cmds_FC=
12948 link_all_deplibs_FC=unknown
12949 old_archive_cmds_FC=$old_archive_cmds
12950 reload_flag_FC=$reload_flag
12951 reload_cmds_FC=$reload_cmds
12952 no_undefined_flag_FC=
12953 whole_archive_flag_spec_FC=
12954 enable_shared_with_static_runtimes_FC=no
12956 # Source file extension for fc test sources.
12957 ac_ext=${ac_fc_srcext-f}
12959 # Object file extension for compiled fc test sources.
12960 objext=o
12961 objext_FC=$objext
12963 # No sense in running all these tests if we already determined that
12964 # the FC compiler isn't working. Some variables (like enable_shared)
12965 # are currently assumed to apply to all compilers on this platform,
12966 # and will be corrupted by setting them based on a non-working compiler.
12967 if test "$_lt_disable_FC" != yes; then
12968 # Code to be used in simple compile tests
12969 lt_simple_compile_test_code="\
12970 subroutine t
12971 return
12975 # Code to be used in simple link tests
12976 lt_simple_link_test_code="\
12977 program t
12981 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12988 # If no C compiler was specified, use CC.
12989 LTCC=${LTCC-"$CC"}
12991 # If no C compiler flags were specified, use CFLAGS.
12992 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12994 # Allow CC to be a program name with arguments.
12995 compiler=$CC
12998 # save warnings/boilerplate of simple test code
12999 ac_outfile=conftest.$ac_objext
13000 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13001 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13002 _lt_compiler_boilerplate=`cat conftest.err`
13003 $RM conftest*
13005 ac_outfile=conftest.$ac_objext
13006 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13007 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13008 _lt_linker_boilerplate=`cat conftest.err`
13009 $RM -r conftest*
13012 # Allow CC to be a program name with arguments.
13013 lt_save_CC="$CC"
13014 lt_save_GCC=$GCC
13015 CC=${FC-"f95"}
13016 compiler=$CC
13017 GCC=$ac_cv_fc_compiler_gnu
13019 compiler_FC=$CC
13020 for cc_temp in $compiler""; do
13021 case $cc_temp in
13022 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13023 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13024 \-*) ;;
13025 *) break;;
13026 esac
13027 done
13028 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13031 if test -n "$compiler"; then
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13033 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13035 $as_echo "$can_build_shared" >&6; }
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13038 $as_echo_n "checking whether to build shared libraries... " >&6; }
13039 test "$can_build_shared" = "no" && enable_shared=no
13041 # On AIX, shared libraries and static libraries use the same namespace, and
13042 # are all built from PIC.
13043 case $host_os in
13044 aix3*)
13045 test "$enable_shared" = yes && enable_static=no
13046 if test -n "$RANLIB"; then
13047 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13048 postinstall_cmds='$RANLIB $lib'
13051 aix[4-9]*)
13052 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13053 test "$enable_shared" = yes && enable_static=no
13056 esac
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13058 $as_echo "$enable_shared" >&6; }
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13061 $as_echo_n "checking whether to build static libraries... " >&6; }
13062 # Make sure either enable_shared or enable_static is yes.
13063 test "$enable_shared" = yes || enable_static=yes
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13065 $as_echo "$enable_static" >&6; }
13067 GCC_FC="$ac_cv_fc_compiler_gnu"
13068 LD_FC="$LD"
13070 ## CAVEAT EMPTOR:
13071 ## There is no encapsulation within the following macros, do not change
13072 ## the running order or otherwise move them around unless you know exactly
13073 ## what you are doing...
13074 # Dependencies to place before and after the object being linked:
13075 predep_objects_FC=
13076 postdep_objects_FC=
13077 predeps_FC=
13078 postdeps_FC=
13079 compiler_lib_search_path_FC=
13081 cat > conftest.$ac_ext <<_LT_EOF
13082 subroutine foo
13083 implicit none
13084 integer a
13086 return
13088 _LT_EOF
13090 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13091 (eval $ac_compile) 2>&5
13092 ac_status=$?
13093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13094 test $ac_status = 0; }; then
13095 # Parse the compiler output and extract the necessary
13096 # objects, libraries and library flags.
13098 # Sentinel used to keep track of whether or not we are before
13099 # the conftest object file.
13100 pre_test_object_deps_done=no
13102 for p in `eval "$output_verbose_link_cmd"`; do
13103 case $p in
13105 -L* | -R* | -l*)
13106 # Some compilers place space between "-{L,R}" and the path.
13107 # Remove the space.
13108 if test $p = "-L" ||
13109 test $p = "-R"; then
13110 prev=$p
13111 continue
13112 else
13113 prev=
13116 if test "$pre_test_object_deps_done" = no; then
13117 case $p in
13118 -L* | -R*)
13119 # Internal compiler library paths should come after those
13120 # provided the user. The postdeps already come after the
13121 # user supplied libs so there is no need to process them.
13122 if test -z "$compiler_lib_search_path_FC"; then
13123 compiler_lib_search_path_FC="${prev}${p}"
13124 else
13125 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13128 # The "-l" case would never come before the object being
13129 # linked, so don't bother handling this case.
13130 esac
13131 else
13132 if test -z "$postdeps_FC"; then
13133 postdeps_FC="${prev}${p}"
13134 else
13135 postdeps_FC="${postdeps_FC} ${prev}${p}"
13140 *.$objext)
13141 # This assumes that the test object file only shows up
13142 # once in the compiler output.
13143 if test "$p" = "conftest.$objext"; then
13144 pre_test_object_deps_done=yes
13145 continue
13148 if test "$pre_test_object_deps_done" = no; then
13149 if test -z "$predep_objects_FC"; then
13150 predep_objects_FC="$p"
13151 else
13152 predep_objects_FC="$predep_objects_FC $p"
13154 else
13155 if test -z "$postdep_objects_FC"; then
13156 postdep_objects_FC="$p"
13157 else
13158 postdep_objects_FC="$postdep_objects_FC $p"
13163 *) ;; # Ignore the rest.
13165 esac
13166 done
13168 # Clean up.
13169 rm -f a.out a.exe
13170 else
13171 echo "libtool.m4: error: problem compiling FC test program"
13174 $RM -f confest.$objext
13176 # PORTME: override above test on systems where it is broken
13179 case " $postdeps_FC " in
13180 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13181 esac
13182 compiler_lib_search_dirs_FC=
13183 if test -n "${compiler_lib_search_path_FC}"; then
13184 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13217 lt_prog_compiler_wl_FC=
13218 lt_prog_compiler_pic_FC=
13219 lt_prog_compiler_static_FC=
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13222 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13224 if test "$GCC" = yes; then
13225 lt_prog_compiler_wl_FC='-Wl,'
13226 lt_prog_compiler_static_FC='-static'
13228 case $host_os in
13229 aix*)
13230 # All AIX code is PIC.
13231 if test "$host_cpu" = ia64; then
13232 # AIX 5 now supports IA64 processor
13233 lt_prog_compiler_static_FC='-Bstatic'
13235 lt_prog_compiler_pic_FC='-fPIC'
13238 amigaos*)
13239 case $host_cpu in
13240 powerpc)
13241 # see comment about AmigaOS4 .so support
13242 lt_prog_compiler_pic_FC='-fPIC'
13244 m68k)
13245 # FIXME: we need at least 68020 code to build shared libraries, but
13246 # adding the `-m68020' flag to GCC prevents building anything better,
13247 # like `-m68040'.
13248 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13250 esac
13253 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13254 # PIC is the default for these OSes.
13257 mingw* | cygwin* | pw32* | os2* | cegcc*)
13258 # This hack is so that the source file can tell whether it is being
13259 # built for inclusion in a dll (and should export symbols for example).
13260 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13261 # (--disable-auto-import) libraries
13262 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13265 darwin* | rhapsody*)
13266 # PIC is the default on this platform
13267 # Common symbols not allowed in MH_DYLIB files
13268 lt_prog_compiler_pic_FC='-fno-common'
13271 haiku*)
13272 # PIC is the default for Haiku.
13273 # The "-static" flag exists, but is broken.
13274 lt_prog_compiler_static_FC=
13277 hpux*)
13278 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13279 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13280 # sets the default TLS model and affects inlining.
13281 case $host_cpu in
13282 hppa*64*)
13283 # +Z the default
13286 lt_prog_compiler_pic_FC='-fPIC'
13288 esac
13291 interix[3-9]*)
13292 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13293 # Instead, we relocate shared libraries at runtime.
13296 msdosdjgpp*)
13297 # Just because we use GCC doesn't mean we suddenly get shared libraries
13298 # on systems that don't support them.
13299 lt_prog_compiler_can_build_shared_FC=no
13300 enable_shared=no
13303 *nto* | *qnx*)
13304 # QNX uses GNU C++, but need to define -shared option too, otherwise
13305 # it will coredump.
13306 lt_prog_compiler_pic_FC='-fPIC -shared'
13309 sysv4*MP*)
13310 if test -d /usr/nec; then
13311 lt_prog_compiler_pic_FC=-Kconform_pic
13316 lt_prog_compiler_pic_FC='-fPIC'
13318 esac
13320 case $cc_basename in
13321 nvcc*) # Cuda Compiler Driver 2.2
13322 lt_prog_compiler_wl_FC='-Xlinker '
13323 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13325 esac
13326 else
13327 # PORTME Check for flag to pass linker flags through the system compiler.
13328 case $host_os in
13329 aix*)
13330 lt_prog_compiler_wl_FC='-Wl,'
13331 if test "$host_cpu" = ia64; then
13332 # AIX 5 now supports IA64 processor
13333 lt_prog_compiler_static_FC='-Bstatic'
13334 else
13335 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13339 mingw* | cygwin* | pw32* | os2* | cegcc*)
13340 # This hack is so that the source file can tell whether it is being
13341 # built for inclusion in a dll (and should export symbols for example).
13342 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13345 hpux9* | hpux10* | hpux11*)
13346 lt_prog_compiler_wl_FC='-Wl,'
13347 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13348 # not for PA HP-UX.
13349 case $host_cpu in
13350 hppa*64*|ia64*)
13351 # +Z the default
13354 lt_prog_compiler_pic_FC='+Z'
13356 esac
13357 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13358 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13361 irix5* | irix6* | nonstopux*)
13362 lt_prog_compiler_wl_FC='-Wl,'
13363 # PIC (with -KPIC) is the default.
13364 lt_prog_compiler_static_FC='-non_shared'
13367 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13368 case $cc_basename in
13369 # old Intel for x86_64 which still supported -KPIC.
13370 ecc*)
13371 lt_prog_compiler_wl_FC='-Wl,'
13372 lt_prog_compiler_pic_FC='-KPIC'
13373 lt_prog_compiler_static_FC='-static'
13375 # icc used to be incompatible with GCC.
13376 # ICC 10 doesn't accept -KPIC any more.
13377 icc* | ifort*)
13378 lt_prog_compiler_wl_FC='-Wl,'
13379 lt_prog_compiler_pic_FC='-fPIC'
13380 lt_prog_compiler_static_FC='-static'
13382 # Lahey Fortran 8.1.
13383 lf95*)
13384 lt_prog_compiler_wl_FC='-Wl,'
13385 lt_prog_compiler_pic_FC='--shared'
13386 lt_prog_compiler_static_FC='--static'
13388 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13389 # Portland Group compilers (*not* the Pentium gcc compiler,
13390 # which looks to be a dead project)
13391 lt_prog_compiler_wl_FC='-Wl,'
13392 lt_prog_compiler_pic_FC='-fpic'
13393 lt_prog_compiler_static_FC='-Bstatic'
13395 ccc*)
13396 lt_prog_compiler_wl_FC='-Wl,'
13397 # All Alpha code is PIC.
13398 lt_prog_compiler_static_FC='-non_shared'
13400 xl* | bgxl* | bgf* | mpixl*)
13401 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13402 lt_prog_compiler_wl_FC='-Wl,'
13403 lt_prog_compiler_pic_FC='-qpic'
13404 lt_prog_compiler_static_FC='-qstaticlink'
13407 case `$CC -V 2>&1 | sed 5q` in
13408 *Sun\ F* | *Sun*Fortran*)
13409 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13410 lt_prog_compiler_pic_FC='-KPIC'
13411 lt_prog_compiler_static_FC='-Bstatic'
13412 lt_prog_compiler_wl_FC=''
13414 *Sun\ C*)
13415 # Sun C 5.9
13416 lt_prog_compiler_pic_FC='-KPIC'
13417 lt_prog_compiler_static_FC='-Bstatic'
13418 lt_prog_compiler_wl_FC='-Wl,'
13420 esac
13422 esac
13425 newsos6)
13426 lt_prog_compiler_pic_FC='-KPIC'
13427 lt_prog_compiler_static_FC='-Bstatic'
13430 *nto* | *qnx*)
13431 # QNX uses GNU C++, but need to define -shared option too, otherwise
13432 # it will coredump.
13433 lt_prog_compiler_pic_FC='-fPIC -shared'
13436 osf3* | osf4* | osf5*)
13437 lt_prog_compiler_wl_FC='-Wl,'
13438 # All OSF/1 code is PIC.
13439 lt_prog_compiler_static_FC='-non_shared'
13442 rdos*)
13443 lt_prog_compiler_static_FC='-non_shared'
13446 solaris*)
13447 lt_prog_compiler_pic_FC='-KPIC'
13448 lt_prog_compiler_static_FC='-Bstatic'
13449 case $cc_basename in
13450 f77* | f90* | f95*)
13451 lt_prog_compiler_wl_FC='-Qoption ld ';;
13453 lt_prog_compiler_wl_FC='-Wl,';;
13454 esac
13457 sunos4*)
13458 lt_prog_compiler_wl_FC='-Qoption ld '
13459 lt_prog_compiler_pic_FC='-PIC'
13460 lt_prog_compiler_static_FC='-Bstatic'
13463 sysv4 | sysv4.2uw2* | sysv4.3*)
13464 lt_prog_compiler_wl_FC='-Wl,'
13465 lt_prog_compiler_pic_FC='-KPIC'
13466 lt_prog_compiler_static_FC='-Bstatic'
13469 sysv4*MP*)
13470 if test -d /usr/nec ;then
13471 lt_prog_compiler_pic_FC='-Kconform_pic'
13472 lt_prog_compiler_static_FC='-Bstatic'
13476 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13477 lt_prog_compiler_wl_FC='-Wl,'
13478 lt_prog_compiler_pic_FC='-KPIC'
13479 lt_prog_compiler_static_FC='-Bstatic'
13482 unicos*)
13483 lt_prog_compiler_wl_FC='-Wl,'
13484 lt_prog_compiler_can_build_shared_FC=no
13487 uts4*)
13488 lt_prog_compiler_pic_FC='-pic'
13489 lt_prog_compiler_static_FC='-Bstatic'
13493 lt_prog_compiler_can_build_shared_FC=no
13495 esac
13498 case $host_os in
13499 # For platforms which do not support PIC, -DPIC is meaningless:
13500 *djgpp*)
13501 lt_prog_compiler_pic_FC=
13504 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13506 esac
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13508 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13513 # Check to make sure the PIC flag actually works.
13515 if test -n "$lt_prog_compiler_pic_FC"; then
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13517 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13518 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13519 $as_echo_n "(cached) " >&6
13520 else
13521 lt_cv_prog_compiler_pic_works_FC=no
13522 ac_outfile=conftest.$ac_objext
13523 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13524 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13525 # Insert the option either (1) after the last *FLAGS variable, or
13526 # (2) before a word containing "conftest.", or (3) at the end.
13527 # Note that $ac_compile itself does not contain backslashes and begins
13528 # with a dollar sign (not a hyphen), so the echo should work correctly.
13529 # The option is referenced via a variable to avoid confusing sed.
13530 lt_compile=`echo "$ac_compile" | $SED \
13531 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13532 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13533 -e 's:$: $lt_compiler_flag:'`
13534 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13535 (eval "$lt_compile" 2>conftest.err)
13536 ac_status=$?
13537 cat conftest.err >&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 if (exit $ac_status) && test -s "$ac_outfile"; then
13540 # The compiler can only warn and ignore the option if not recognized
13541 # So say no if there are warnings other than the usual output.
13542 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13543 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13544 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13545 lt_cv_prog_compiler_pic_works_FC=yes
13548 $RM conftest*
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13552 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13554 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13555 case $lt_prog_compiler_pic_FC in
13556 "" | " "*) ;;
13557 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13558 esac
13559 else
13560 lt_prog_compiler_pic_FC=
13561 lt_prog_compiler_can_build_shared_FC=no
13569 # Check to make sure the static flag actually works.
13571 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13573 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13574 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13575 $as_echo_n "(cached) " >&6
13576 else
13577 lt_cv_prog_compiler_static_works_FC=no
13578 save_LDFLAGS="$LDFLAGS"
13579 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13580 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13581 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13582 # The linker can only warn and ignore the option if not recognized
13583 # So say no if there are warnings
13584 if test -s conftest.err; then
13585 # Append any errors to the config.log.
13586 cat conftest.err 1>&5
13587 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13588 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13589 if diff conftest.exp conftest.er2 >/dev/null; then
13590 lt_cv_prog_compiler_static_works_FC=yes
13592 else
13593 lt_cv_prog_compiler_static_works_FC=yes
13596 $RM -r conftest*
13597 LDFLAGS="$save_LDFLAGS"
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13601 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13603 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13605 else
13606 lt_prog_compiler_static_FC=
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13613 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13614 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13615 $as_echo_n "(cached) " >&6
13616 else
13617 lt_cv_prog_compiler_c_o_FC=no
13618 $RM -r conftest 2>/dev/null
13619 mkdir conftest
13620 cd conftest
13621 mkdir out
13622 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13624 lt_compiler_flag="-o out/conftest2.$ac_objext"
13625 # Insert the option either (1) after the last *FLAGS variable, or
13626 # (2) before a word containing "conftest.", or (3) at the end.
13627 # Note that $ac_compile itself does not contain backslashes and begins
13628 # with a dollar sign (not a hyphen), so the echo should work correctly.
13629 lt_compile=`echo "$ac_compile" | $SED \
13630 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13631 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13632 -e 's:$: $lt_compiler_flag:'`
13633 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13634 (eval "$lt_compile" 2>out/conftest.err)
13635 ac_status=$?
13636 cat out/conftest.err >&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13639 then
13640 # The compiler can only warn and ignore the option if not recognized
13641 # So say no if there are warnings
13642 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13643 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13644 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13645 lt_cv_prog_compiler_c_o_FC=yes
13648 chmod u+w . 2>&5
13649 $RM conftest*
13650 # SGI C++ compiler will create directory out/ii_files/ for
13651 # template instantiation
13652 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13653 $RM out/* && rmdir out
13654 cd ..
13655 $RM -r conftest
13656 $RM conftest*
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13660 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13665 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13666 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13667 $as_echo_n "(cached) " >&6
13668 else
13669 lt_cv_prog_compiler_c_o_FC=no
13670 $RM -r conftest 2>/dev/null
13671 mkdir conftest
13672 cd conftest
13673 mkdir out
13674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13676 lt_compiler_flag="-o out/conftest2.$ac_objext"
13677 # Insert the option either (1) after the last *FLAGS variable, or
13678 # (2) before a word containing "conftest.", or (3) at the end.
13679 # Note that $ac_compile itself does not contain backslashes and begins
13680 # with a dollar sign (not a hyphen), so the echo should work correctly.
13681 lt_compile=`echo "$ac_compile" | $SED \
13682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13684 -e 's:$: $lt_compiler_flag:'`
13685 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13686 (eval "$lt_compile" 2>out/conftest.err)
13687 ac_status=$?
13688 cat out/conftest.err >&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13691 then
13692 # The compiler can only warn and ignore the option if not recognized
13693 # So say no if there are warnings
13694 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13695 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13696 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13697 lt_cv_prog_compiler_c_o_FC=yes
13700 chmod u+w . 2>&5
13701 $RM conftest*
13702 # SGI C++ compiler will create directory out/ii_files/ for
13703 # template instantiation
13704 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13705 $RM out/* && rmdir out
13706 cd ..
13707 $RM -r conftest
13708 $RM conftest*
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13712 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13717 hard_links="nottested"
13718 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13719 # do not overwrite the value of need_locks provided by the user
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13721 $as_echo_n "checking if we can lock with hard links... " >&6; }
13722 hard_links=yes
13723 $RM conftest*
13724 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13725 touch conftest.a
13726 ln conftest.a conftest.b 2>&5 || hard_links=no
13727 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13729 $as_echo "$hard_links" >&6; }
13730 if test "$hard_links" = no; then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13732 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13733 need_locks=warn
13735 else
13736 need_locks=no
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13742 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13744 runpath_var=
13745 allow_undefined_flag_FC=
13746 always_export_symbols_FC=no
13747 archive_cmds_FC=
13748 archive_expsym_cmds_FC=
13749 compiler_needs_object_FC=no
13750 enable_shared_with_static_runtimes_FC=no
13751 export_dynamic_flag_spec_FC=
13752 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13753 hardcode_automatic_FC=no
13754 hardcode_direct_FC=no
13755 hardcode_direct_absolute_FC=no
13756 hardcode_libdir_flag_spec_FC=
13757 hardcode_libdir_flag_spec_ld_FC=
13758 hardcode_libdir_separator_FC=
13759 hardcode_minus_L_FC=no
13760 hardcode_shlibpath_var_FC=unsupported
13761 inherit_rpath_FC=no
13762 link_all_deplibs_FC=unknown
13763 module_cmds_FC=
13764 module_expsym_cmds_FC=
13765 old_archive_from_new_cmds_FC=
13766 old_archive_from_expsyms_cmds_FC=
13767 thread_safe_flag_spec_FC=
13768 whole_archive_flag_spec_FC=
13769 # include_expsyms should be a list of space-separated symbols to be *always*
13770 # included in the symbol list
13771 include_expsyms_FC=
13772 # exclude_expsyms can be an extended regexp of symbols to exclude
13773 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13774 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13775 # as well as any symbol that contains `d'.
13776 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13777 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13778 # platforms (ab)use it in PIC code, but their linkers get confused if
13779 # the symbol is explicitly referenced. Since portable code cannot
13780 # rely on this symbol name, it's probably fine to never include it in
13781 # preloaded symbol tables.
13782 # Exclude shared library initialization/finalization symbols.
13783 extract_expsyms_cmds=
13785 case $host_os in
13786 cygwin* | mingw* | pw32* | cegcc*)
13787 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13788 # When not using gcc, we currently assume that we are using
13789 # Microsoft Visual C++.
13790 if test "$GCC" != yes; then
13791 with_gnu_ld=no
13794 interix*)
13795 # we just hope/assume this is gcc and not c89 (= MSVC++)
13796 with_gnu_ld=yes
13798 openbsd*)
13799 with_gnu_ld=no
13801 esac
13803 ld_shlibs_FC=yes
13805 # On some targets, GNU ld is compatible enough with the native linker
13806 # that we're better off using the native interface for both.
13807 lt_use_gnu_ld_interface=no
13808 if test "$with_gnu_ld" = yes; then
13809 case $host_os in
13810 aix*)
13811 # The AIX port of GNU ld has always aspired to compatibility
13812 # with the native linker. However, as the warning in the GNU ld
13813 # block says, versions before 2.19.5* couldn't really create working
13814 # shared libraries, regardless of the interface used.
13815 case `$LD -v 2>&1` in
13816 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13817 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13818 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13820 lt_use_gnu_ld_interface=yes
13822 esac
13825 lt_use_gnu_ld_interface=yes
13827 esac
13830 if test "$lt_use_gnu_ld_interface" = yes; then
13831 # If archive_cmds runs LD, not CC, wlarc should be empty
13832 wlarc='${wl}'
13834 # Set some defaults for GNU ld with shared library support. These
13835 # are reset later if shared libraries are not supported. Putting them
13836 # here allows them to be overridden if necessary.
13837 runpath_var=LD_RUN_PATH
13838 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13839 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13840 # ancient GNU ld didn't support --whole-archive et. al.
13841 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13842 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13843 else
13844 whole_archive_flag_spec_FC=
13846 supports_anon_versioning=no
13847 case `$LD -v 2>&1` in
13848 *GNU\ gold*) supports_anon_versioning=yes ;;
13849 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13850 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13851 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13852 *\ 2.11.*) ;; # other 2.11 versions
13853 *) supports_anon_versioning=yes ;;
13854 esac
13856 # See if GNU ld supports shared libraries.
13857 case $host_os in
13858 aix[3-9]*)
13859 # On AIX/PPC, the GNU linker is very broken
13860 if test "$host_cpu" != ia64; then
13861 ld_shlibs_FC=no
13862 cat <<_LT_EOF 1>&2
13864 *** Warning: the GNU linker, at least up to release 2.19, is reported
13865 *** to be unable to reliably create shared libraries on AIX.
13866 *** Therefore, libtool is disabling shared libraries support. If you
13867 *** really care for shared libraries, you may want to install binutils
13868 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13869 *** You will then need to restart the configuration process.
13871 _LT_EOF
13875 amigaos*)
13876 case $host_cpu in
13877 powerpc)
13878 # see comment about AmigaOS4 .so support
13879 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13880 archive_expsym_cmds_FC=''
13882 m68k)
13883 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)'
13884 hardcode_libdir_flag_spec_FC='-L$libdir'
13885 hardcode_minus_L_FC=yes
13887 esac
13890 beos*)
13891 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13892 allow_undefined_flag_FC=unsupported
13893 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13894 # support --undefined. This deserves some investigation. FIXME
13895 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13896 else
13897 ld_shlibs_FC=no
13901 cygwin* | mingw* | pw32* | cegcc*)
13902 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13903 # as there is no search path for DLLs.
13904 hardcode_libdir_flag_spec_FC='-L$libdir'
13905 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13906 allow_undefined_flag_FC=unsupported
13907 always_export_symbols_FC=no
13908 enable_shared_with_static_runtimes_FC=yes
13909 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13911 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13912 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13913 # If the export-symbols file already is a .def file (1st line
13914 # is EXPORTS), use it as is; otherwise, prepend...
13915 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13916 cp $export_symbols $output_objdir/$soname.def;
13917 else
13918 echo EXPORTS > $output_objdir/$soname.def;
13919 cat $export_symbols >> $output_objdir/$soname.def;
13921 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13922 else
13923 ld_shlibs_FC=no
13927 haiku*)
13928 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13929 link_all_deplibs_FC=yes
13932 interix[3-9]*)
13933 hardcode_direct_FC=no
13934 hardcode_shlibpath_var_FC=no
13935 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13936 export_dynamic_flag_spec_FC='${wl}-E'
13937 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13938 # Instead, shared libraries are loaded at an image base (0x10000000 by
13939 # default) and relocated if they conflict, which is a slow very memory
13940 # consuming and fragmenting process. To avoid this, we pick a random,
13941 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13942 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13943 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'
13944 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'
13947 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13948 tmp_diet=no
13949 if test "$host_os" = linux-dietlibc; then
13950 case $cc_basename in
13951 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13952 esac
13954 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13955 && test "$tmp_diet" = no
13956 then
13957 tmp_addflag=
13958 tmp_sharedflag='-shared'
13959 case $cc_basename,$host_cpu in
13960 pgcc*) # Portland Group C compiler
13961 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'
13962 tmp_addflag=' $pic_flag'
13964 pgf77* | pgf90* | pgf95* | pgfortran*)
13965 # Portland Group f77 and f90 compilers
13966 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'
13967 tmp_addflag=' $pic_flag -Mnomain' ;;
13968 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13969 tmp_addflag=' -i_dynamic' ;;
13970 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13971 tmp_addflag=' -i_dynamic -nofor_main' ;;
13972 ifc* | ifort*) # Intel Fortran compiler
13973 tmp_addflag=' -nofor_main' ;;
13974 lf95*) # Lahey Fortran 8.1
13975 whole_archive_flag_spec_FC=
13976 tmp_sharedflag='--shared' ;;
13977 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13978 tmp_sharedflag='-qmkshrobj'
13979 tmp_addflag= ;;
13980 nvcc*) # Cuda Compiler Driver 2.2
13981 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'
13982 compiler_needs_object_FC=yes
13984 esac
13985 case `$CC -V 2>&1 | sed 5q` in
13986 *Sun\ C*) # Sun C 5.9
13987 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'
13988 compiler_needs_object_FC=yes
13989 tmp_sharedflag='-G' ;;
13990 *Sun\ F*) # Sun Fortran 8.3
13991 tmp_sharedflag='-G' ;;
13992 esac
13993 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13995 if test "x$supports_anon_versioning" = xyes; then
13996 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13997 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13998 echo "local: *; };" >> $output_objdir/$libname.ver~
13999 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14002 case $cc_basename in
14003 xlf* | bgf* | bgxlf* | mpixlf*)
14004 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14005 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14006 hardcode_libdir_flag_spec_FC=
14007 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14008 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14009 if test "x$supports_anon_versioning" = xyes; then
14010 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14011 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14012 echo "local: *; };" >> $output_objdir/$libname.ver~
14013 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14016 esac
14017 else
14018 ld_shlibs_FC=no
14022 netbsd*)
14023 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14024 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14025 wlarc=
14026 else
14027 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14028 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14032 solaris*)
14033 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14034 ld_shlibs_FC=no
14035 cat <<_LT_EOF 1>&2
14037 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14038 *** create shared libraries on Solaris systems. Therefore, libtool
14039 *** is disabling shared libraries support. We urge you to upgrade GNU
14040 *** binutils to release 2.9.1 or newer. Another option is to modify
14041 *** your PATH or compiler configuration so that the native linker is
14042 *** used, and then restart.
14044 _LT_EOF
14045 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14046 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14047 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14048 else
14049 ld_shlibs_FC=no
14053 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14054 case `$LD -v 2>&1` in
14055 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14056 ld_shlibs_FC=no
14057 cat <<_LT_EOF 1>&2
14059 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14060 *** reliably create shared libraries on SCO systems. Therefore, libtool
14061 *** is disabling shared libraries support. We urge you to upgrade GNU
14062 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14063 *** your PATH or compiler configuration so that the native linker is
14064 *** used, and then restart.
14066 _LT_EOF
14069 # For security reasons, it is highly recommended that you always
14070 # use absolute paths for naming shared libraries, and exclude the
14071 # DT_RUNPATH tag from executables and libraries. But doing so
14072 # requires that you compile everything twice, which is a pain.
14073 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14074 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14075 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14076 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14077 else
14078 ld_shlibs_FC=no
14081 esac
14084 sunos4*)
14085 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14086 wlarc=
14087 hardcode_direct_FC=yes
14088 hardcode_shlibpath_var_FC=no
14092 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14093 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14094 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14095 else
14096 ld_shlibs_FC=no
14099 esac
14101 if test "$ld_shlibs_FC" = no; then
14102 runpath_var=
14103 hardcode_libdir_flag_spec_FC=
14104 export_dynamic_flag_spec_FC=
14105 whole_archive_flag_spec_FC=
14107 else
14108 # PORTME fill in a description of your system's linker (not GNU ld)
14109 case $host_os in
14110 aix3*)
14111 allow_undefined_flag_FC=unsupported
14112 always_export_symbols_FC=yes
14113 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'
14114 # Note: this linker hardcodes the directories in LIBPATH if there
14115 # are no directories specified by -L.
14116 hardcode_minus_L_FC=yes
14117 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14118 # Neither direct hardcoding nor static linking is supported with a
14119 # broken collect2.
14120 hardcode_direct_FC=unsupported
14124 aix[4-9]*)
14125 if test "$host_cpu" = ia64; then
14126 # On IA64, the linker does run time linking by default, so we don't
14127 # have to do anything special.
14128 aix_use_runtimelinking=no
14129 exp_sym_flag='-Bexport'
14130 no_entry_flag=""
14131 else
14132 # If we're using GNU nm, then we don't want the "-C" option.
14133 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14134 # Also, AIX nm treats weak defined symbols like other global
14135 # defined symbols, whereas GNU nm marks them as "W".
14136 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14137 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'
14138 else
14139 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14141 aix_use_runtimelinking=no
14143 # Test if we are trying to use run time linking or normal
14144 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14145 # need to do runtime linking.
14146 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14147 for ld_flag in $LDFLAGS; do
14148 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14149 aix_use_runtimelinking=yes
14150 break
14152 done
14154 esac
14156 exp_sym_flag='-bexport'
14157 no_entry_flag='-bnoentry'
14160 # When large executables or shared objects are built, AIX ld can
14161 # have problems creating the table of contents. If linking a library
14162 # or program results in "error TOC overflow" add -mminimal-toc to
14163 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14164 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14166 archive_cmds_FC=''
14167 hardcode_direct_FC=yes
14168 hardcode_direct_absolute_FC=yes
14169 hardcode_libdir_separator_FC=':'
14170 link_all_deplibs_FC=yes
14171 file_list_spec_FC='${wl}-f,'
14173 if test "$GCC" = yes; then
14174 case $host_os in aix4.[012]|aix4.[012].*)
14175 # We only want to do this on AIX 4.2 and lower, the check
14176 # below for broken collect2 doesn't work under 4.3+
14177 collect2name=`${CC} -print-prog-name=collect2`
14178 if test -f "$collect2name" &&
14179 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14180 then
14181 # We have reworked collect2
14183 else
14184 # We have old collect2
14185 hardcode_direct_FC=unsupported
14186 # It fails to find uninstalled libraries when the uninstalled
14187 # path is not listed in the libpath. Setting hardcode_minus_L
14188 # to unsupported forces relinking
14189 hardcode_minus_L_FC=yes
14190 hardcode_libdir_flag_spec_FC='-L$libdir'
14191 hardcode_libdir_separator_FC=
14194 esac
14195 shared_flag='-shared'
14196 if test "$aix_use_runtimelinking" = yes; then
14197 shared_flag="$shared_flag "'${wl}-G'
14199 else
14200 # not using gcc
14201 if test "$host_cpu" = ia64; then
14202 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14203 # chokes on -Wl,-G. The following line is correct:
14204 shared_flag='-G'
14205 else
14206 if test "$aix_use_runtimelinking" = yes; then
14207 shared_flag='${wl}-G'
14208 else
14209 shared_flag='${wl}-bM:SRE'
14214 export_dynamic_flag_spec_FC='${wl}-bexpall'
14215 # It seems that -bexpall does not export symbols beginning with
14216 # underscore (_), so it is better to generate a list of symbols to export.
14217 always_export_symbols_FC=yes
14218 if test "$aix_use_runtimelinking" = yes; then
14219 # Warning - without using the other runtime loading flags (-brtl),
14220 # -berok will link without error, but may produce a broken library.
14221 allow_undefined_flag_FC='-berok'
14222 # Determine the default libpath from the value encoded in an
14223 # empty executable.
14224 if test x$gcc_no_link = xyes; then
14225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14227 cat > conftest.$ac_ext <<_ACEOF
14228 program main
14231 _ACEOF
14232 if ac_fn_fc_try_link "$LINENO"; then :
14234 lt_aix_libpath_sed='
14235 /Import File Strings/,/^$/ {
14236 /^0/ {
14237 s/^0 *\(.*\)$/\1/
14241 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14242 # Check for a 64-bit object if we didn't find anything.
14243 if test -z "$aix_libpath"; then
14244 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14247 rm -f core conftest.err conftest.$ac_objext \
14248 conftest$ac_exeext conftest.$ac_ext
14249 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14251 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14252 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"
14253 else
14254 if test "$host_cpu" = ia64; then
14255 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14256 allow_undefined_flag_FC="-z nodefs"
14257 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"
14258 else
14259 # Determine the default libpath from the value encoded in an
14260 # empty executable.
14261 if test x$gcc_no_link = xyes; then
14262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14264 cat > conftest.$ac_ext <<_ACEOF
14265 program main
14268 _ACEOF
14269 if ac_fn_fc_try_link "$LINENO"; then :
14271 lt_aix_libpath_sed='
14272 /Import File Strings/,/^$/ {
14273 /^0/ {
14274 s/^0 *\(.*\)$/\1/
14278 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14279 # Check for a 64-bit object if we didn't find anything.
14280 if test -z "$aix_libpath"; then
14281 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14284 rm -f core conftest.err conftest.$ac_objext \
14285 conftest$ac_exeext conftest.$ac_ext
14286 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14288 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14289 # Warning - without using the other run time loading flags,
14290 # -berok will link without error, but may produce a broken library.
14291 no_undefined_flag_FC=' ${wl}-bernotok'
14292 allow_undefined_flag_FC=' ${wl}-berok'
14293 if test "$with_gnu_ld" = yes; then
14294 # We only use this code for GNU lds that support --whole-archive.
14295 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14296 else
14297 # Exported symbols can be pulled into shared objects from archives
14298 whole_archive_flag_spec_FC='$convenience'
14300 archive_cmds_need_lc_FC=yes
14301 # This is similar to how AIX traditionally builds its shared libraries.
14302 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'
14307 amigaos*)
14308 case $host_cpu in
14309 powerpc)
14310 # see comment about AmigaOS4 .so support
14311 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14312 archive_expsym_cmds_FC=''
14314 m68k)
14315 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)'
14316 hardcode_libdir_flag_spec_FC='-L$libdir'
14317 hardcode_minus_L_FC=yes
14319 esac
14322 bsdi[45]*)
14323 export_dynamic_flag_spec_FC=-rdynamic
14326 cygwin* | mingw* | pw32* | cegcc*)
14327 # When not using gcc, we currently assume that we are using
14328 # Microsoft Visual C++.
14329 # hardcode_libdir_flag_spec is actually meaningless, as there is
14330 # no search path for DLLs.
14331 hardcode_libdir_flag_spec_FC=' '
14332 allow_undefined_flag_FC=unsupported
14333 # Tell ltmain to make .lib files, not .a files.
14334 libext=lib
14335 # Tell ltmain to make .dll files, not .so files.
14336 shrext_cmds=".dll"
14337 # FIXME: Setting linknames here is a bad hack.
14338 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14339 # The linker will automatically build a .lib file if we build a DLL.
14340 old_archive_from_new_cmds_FC='true'
14341 # FIXME: Should let the user specify the lib program.
14342 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14343 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14344 enable_shared_with_static_runtimes_FC=yes
14347 darwin* | rhapsody*)
14350 archive_cmds_need_lc_FC=no
14351 hardcode_direct_FC=no
14352 hardcode_automatic_FC=yes
14353 hardcode_shlibpath_var_FC=unsupported
14354 if test "$lt_cv_ld_force_load" = "yes"; then
14355 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\"`'
14356 else
14357 whole_archive_flag_spec_FC=''
14359 link_all_deplibs_FC=yes
14360 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14361 case $cc_basename in
14362 ifort*) _lt_dar_can_shared=yes ;;
14363 *) _lt_dar_can_shared=$GCC ;;
14364 esac
14365 if test "$_lt_dar_can_shared" = "yes"; then
14366 output_verbose_link_cmd=func_echo_all
14367 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}"
14368 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14369 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}"
14370 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}"
14372 else
14373 ld_shlibs_FC=no
14378 dgux*)
14379 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14380 hardcode_libdir_flag_spec_FC='-L$libdir'
14381 hardcode_shlibpath_var_FC=no
14384 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14385 # support. Future versions do this automatically, but an explicit c++rt0.o
14386 # does not break anything, and helps significantly (at the cost of a little
14387 # extra space).
14388 freebsd2.2*)
14389 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14390 hardcode_libdir_flag_spec_FC='-R$libdir'
14391 hardcode_direct_FC=yes
14392 hardcode_shlibpath_var_FC=no
14395 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14396 freebsd2.*)
14397 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14398 hardcode_direct_FC=yes
14399 hardcode_minus_L_FC=yes
14400 hardcode_shlibpath_var_FC=no
14403 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14404 freebsd* | dragonfly*)
14405 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14406 hardcode_libdir_flag_spec_FC='-R$libdir'
14407 hardcode_direct_FC=yes
14408 hardcode_shlibpath_var_FC=no
14411 hpux9*)
14412 if test "$GCC" = yes; then
14413 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'
14414 else
14415 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'
14417 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14418 hardcode_libdir_separator_FC=:
14419 hardcode_direct_FC=yes
14421 # hardcode_minus_L: Not really in the search PATH,
14422 # but as the default location of the library.
14423 hardcode_minus_L_FC=yes
14424 export_dynamic_flag_spec_FC='${wl}-E'
14427 hpux10*)
14428 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14429 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14430 else
14431 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14433 if test "$with_gnu_ld" = no; then
14434 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14435 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14436 hardcode_libdir_separator_FC=:
14437 hardcode_direct_FC=yes
14438 hardcode_direct_absolute_FC=yes
14439 export_dynamic_flag_spec_FC='${wl}-E'
14440 # hardcode_minus_L: Not really in the search PATH,
14441 # but as the default location of the library.
14442 hardcode_minus_L_FC=yes
14446 hpux11*)
14447 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14448 case $host_cpu in
14449 hppa*64*)
14450 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14452 ia64*)
14453 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14456 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14458 esac
14459 else
14460 case $host_cpu in
14461 hppa*64*)
14462 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14464 ia64*)
14465 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14468 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14470 esac
14472 if test "$with_gnu_ld" = no; then
14473 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14474 hardcode_libdir_separator_FC=:
14476 case $host_cpu in
14477 hppa*64*|ia64*)
14478 hardcode_direct_FC=no
14479 hardcode_shlibpath_var_FC=no
14482 hardcode_direct_FC=yes
14483 hardcode_direct_absolute_FC=yes
14484 export_dynamic_flag_spec_FC='${wl}-E'
14486 # hardcode_minus_L: Not really in the search PATH,
14487 # but as the default location of the library.
14488 hardcode_minus_L_FC=yes
14490 esac
14494 irix5* | irix6* | nonstopux*)
14495 if test "$GCC" = yes; then
14496 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'
14497 # Try to use the -exported_symbol ld option, if it does not
14498 # work, assume that -exports_file does not work either and
14499 # implicitly export all symbols.
14500 save_LDFLAGS="$LDFLAGS"
14501 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14502 if test x$gcc_no_link = xyes; then
14503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14505 cat > conftest.$ac_ext <<_ACEOF
14506 int foo(void) {}
14507 _ACEOF
14508 if ac_fn_fc_try_link "$LINENO"; then :
14509 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'
14512 rm -f core conftest.err conftest.$ac_objext \
14513 conftest$ac_exeext conftest.$ac_ext
14514 LDFLAGS="$save_LDFLAGS"
14515 else
14516 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'
14517 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'
14519 archive_cmds_need_lc_FC='no'
14520 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14521 hardcode_libdir_separator_FC=:
14522 inherit_rpath_FC=yes
14523 link_all_deplibs_FC=yes
14526 netbsd*)
14527 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14528 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14529 else
14530 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14532 hardcode_libdir_flag_spec_FC='-R$libdir'
14533 hardcode_direct_FC=yes
14534 hardcode_shlibpath_var_FC=no
14537 newsos6)
14538 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14539 hardcode_direct_FC=yes
14540 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14541 hardcode_libdir_separator_FC=:
14542 hardcode_shlibpath_var_FC=no
14545 *nto* | *qnx*)
14548 openbsd*)
14549 if test -f /usr/libexec/ld.so; then
14550 hardcode_direct_FC=yes
14551 hardcode_shlibpath_var_FC=no
14552 hardcode_direct_absolute_FC=yes
14553 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14554 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14555 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14556 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14557 export_dynamic_flag_spec_FC='${wl}-E'
14558 else
14559 case $host_os in
14560 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14561 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14562 hardcode_libdir_flag_spec_FC='-R$libdir'
14565 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14566 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14568 esac
14570 else
14571 ld_shlibs_FC=no
14575 os2*)
14576 hardcode_libdir_flag_spec_FC='-L$libdir'
14577 hardcode_minus_L_FC=yes
14578 allow_undefined_flag_FC=unsupported
14579 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'
14580 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14583 osf3*)
14584 if test "$GCC" = yes; then
14585 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14586 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'
14587 else
14588 allow_undefined_flag_FC=' -expect_unresolved \*'
14589 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'
14591 archive_cmds_need_lc_FC='no'
14592 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14593 hardcode_libdir_separator_FC=:
14596 osf4* | osf5*) # as osf3* with the addition of -msym flag
14597 if test "$GCC" = yes; then
14598 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14599 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'
14600 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14601 else
14602 allow_undefined_flag_FC=' -expect_unresolved \*'
14603 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'
14604 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~
14605 $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'
14607 # Both c and cxx compiler support -rpath directly
14608 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14610 archive_cmds_need_lc_FC='no'
14611 hardcode_libdir_separator_FC=:
14614 solaris*)
14615 no_undefined_flag_FC=' -z defs'
14616 if test "$GCC" = yes; then
14617 wlarc='${wl}'
14618 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14619 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14620 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14621 else
14622 case `$CC -V 2>&1` in
14623 *"Compilers 5.0"*)
14624 wlarc=''
14625 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14626 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14627 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14630 wlarc='${wl}'
14631 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14632 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14633 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14635 esac
14637 hardcode_libdir_flag_spec_FC='-R$libdir'
14638 hardcode_shlibpath_var_FC=no
14639 case $host_os in
14640 solaris2.[0-5] | solaris2.[0-5].*) ;;
14642 # The compiler driver will combine and reorder linker options,
14643 # but understands `-z linker_flag'. GCC discards it without `$wl',
14644 # but is careful enough not to reorder.
14645 # Supported since Solaris 2.6 (maybe 2.5.1?)
14646 if test "$GCC" = yes; then
14647 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14648 else
14649 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14652 esac
14653 link_all_deplibs_FC=yes
14656 sunos4*)
14657 if test "x$host_vendor" = xsequent; then
14658 # Use $CC to link under sequent, because it throws in some extra .o
14659 # files that make .init and .fini sections work.
14660 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14661 else
14662 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14664 hardcode_libdir_flag_spec_FC='-L$libdir'
14665 hardcode_direct_FC=yes
14666 hardcode_minus_L_FC=yes
14667 hardcode_shlibpath_var_FC=no
14670 sysv4)
14671 case $host_vendor in
14672 sni)
14673 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14674 hardcode_direct_FC=yes # is this really true???
14676 siemens)
14677 ## LD is ld it makes a PLAMLIB
14678 ## CC just makes a GrossModule.
14679 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14680 reload_cmds_FC='$CC -r -o $output$reload_objs'
14681 hardcode_direct_FC=no
14683 motorola)
14684 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14685 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14687 esac
14688 runpath_var='LD_RUN_PATH'
14689 hardcode_shlibpath_var_FC=no
14692 sysv4.3*)
14693 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14694 hardcode_shlibpath_var_FC=no
14695 export_dynamic_flag_spec_FC='-Bexport'
14698 sysv4*MP*)
14699 if test -d /usr/nec; then
14700 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14701 hardcode_shlibpath_var_FC=no
14702 runpath_var=LD_RUN_PATH
14703 hardcode_runpath_var=yes
14704 ld_shlibs_FC=yes
14708 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14709 no_undefined_flag_FC='${wl}-z,text'
14710 archive_cmds_need_lc_FC=no
14711 hardcode_shlibpath_var_FC=no
14712 runpath_var='LD_RUN_PATH'
14714 if test "$GCC" = yes; then
14715 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14716 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14717 else
14718 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14719 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14723 sysv5* | sco3.2v5* | sco5v6*)
14724 # Note: We can NOT use -z defs as we might desire, because we do not
14725 # link with -lc, and that would cause any symbols used from libc to
14726 # always be unresolved, which means just about no library would
14727 # ever link correctly. If we're not using GNU ld we use -z text
14728 # though, which does catch some bad symbols but isn't as heavy-handed
14729 # as -z defs.
14730 no_undefined_flag_FC='${wl}-z,text'
14731 allow_undefined_flag_FC='${wl}-z,nodefs'
14732 archive_cmds_need_lc_FC=no
14733 hardcode_shlibpath_var_FC=no
14734 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14735 hardcode_libdir_separator_FC=':'
14736 link_all_deplibs_FC=yes
14737 export_dynamic_flag_spec_FC='${wl}-Bexport'
14738 runpath_var='LD_RUN_PATH'
14740 if test "$GCC" = yes; then
14741 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14742 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14743 else
14744 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14745 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14749 uts4*)
14750 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14751 hardcode_libdir_flag_spec_FC='-L$libdir'
14752 hardcode_shlibpath_var_FC=no
14756 ld_shlibs_FC=no
14758 esac
14760 if test x$host_vendor = xsni; then
14761 case $host in
14762 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14763 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14765 esac
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14770 $as_echo "$ld_shlibs_FC" >&6; }
14771 test "$ld_shlibs_FC" = no && can_build_shared=no
14773 with_gnu_ld_FC=$with_gnu_ld
14781 # Do we need to explicitly link libc?
14783 case "x$archive_cmds_need_lc_FC" in
14784 x|xyes)
14785 # Assume -lc should be added
14786 archive_cmds_need_lc_FC=yes
14788 if test "$enable_shared" = yes && test "$GCC" = yes; then
14789 case $archive_cmds_FC in
14790 *'~'*)
14791 # FIXME: we may have to deal with multi-command sequences.
14793 '$CC '*)
14794 # Test whether the compiler implicitly links with -lc since on some
14795 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14796 # to ld, don't add -lc before -lgcc.
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14798 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14799 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14800 $as_echo_n "(cached) " >&6
14801 else
14802 $RM conftest*
14803 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14805 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14806 (eval $ac_compile) 2>&5
14807 ac_status=$?
14808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14809 test $ac_status = 0; } 2>conftest.err; then
14810 soname=conftest
14811 lib=conftest
14812 libobjs=conftest.$ac_objext
14813 deplibs=
14814 wl=$lt_prog_compiler_wl_FC
14815 pic_flag=$lt_prog_compiler_pic_FC
14816 compiler_flags=-v
14817 linker_flags=-v
14818 verstring=
14819 output_objdir=.
14820 libname=conftest
14821 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14822 allow_undefined_flag_FC=
14823 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14824 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14825 ac_status=$?
14826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14827 test $ac_status = 0; }
14828 then
14829 lt_cv_archive_cmds_need_lc_FC=no
14830 else
14831 lt_cv_archive_cmds_need_lc_FC=yes
14833 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14834 else
14835 cat conftest.err 1>&5
14837 $RM conftest*
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14841 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14842 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14844 esac
14847 esac
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14913 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14915 library_names_spec=
14916 libname_spec='lib$name'
14917 soname_spec=
14918 shrext_cmds=".so"
14919 postinstall_cmds=
14920 postuninstall_cmds=
14921 finish_cmds=
14922 finish_eval=
14923 shlibpath_var=
14924 shlibpath_overrides_runpath=unknown
14925 version_type=none
14926 dynamic_linker="$host_os ld.so"
14927 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14928 need_lib_prefix=unknown
14929 hardcode_into_libs=no
14931 # when you set need_version to no, make sure it does not cause -set_version
14932 # flags to be left without arguments
14933 need_version=unknown
14935 case $host_os in
14936 aix3*)
14937 version_type=linux
14938 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14939 shlibpath_var=LIBPATH
14941 # AIX 3 has no versioning support, so we append a major version to the name.
14942 soname_spec='${libname}${release}${shared_ext}$major'
14945 aix[4-9]*)
14946 version_type=linux
14947 need_lib_prefix=no
14948 need_version=no
14949 hardcode_into_libs=yes
14950 if test "$host_cpu" = ia64; then
14951 # AIX 5 supports IA64
14952 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14953 shlibpath_var=LD_LIBRARY_PATH
14954 else
14955 # With GCC up to 2.95.x, collect2 would create an import file
14956 # for dependence libraries. The import file would start with
14957 # the line `#! .'. This would cause the generated library to
14958 # depend on `.', always an invalid library. This was fixed in
14959 # development snapshots of GCC prior to 3.0.
14960 case $host_os in
14961 aix4 | aix4.[01] | aix4.[01].*)
14962 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14963 echo ' yes '
14964 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14966 else
14967 can_build_shared=no
14970 esac
14971 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14972 # soname into executable. Probably we can add versioning support to
14973 # collect2, so additional links can be useful in future.
14974 if test "$aix_use_runtimelinking" = yes; then
14975 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14976 # instead of lib<name>.a to let people know that these are not
14977 # typical AIX shared libraries.
14978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14979 else
14980 # We preserve .a as extension for shared libraries through AIX4.2
14981 # and later when we are not doing run time linking.
14982 library_names_spec='${libname}${release}.a $libname.a'
14983 soname_spec='${libname}${release}${shared_ext}$major'
14985 shlibpath_var=LIBPATH
14989 amigaos*)
14990 case $host_cpu in
14991 powerpc)
14992 # Since July 2007 AmigaOS4 officially supports .so libraries.
14993 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14996 m68k)
14997 library_names_spec='$libname.ixlibrary $libname.a'
14998 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14999 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'
15001 esac
15004 beos*)
15005 library_names_spec='${libname}${shared_ext}'
15006 dynamic_linker="$host_os ld.so"
15007 shlibpath_var=LIBRARY_PATH
15010 bsdi[45]*)
15011 version_type=linux
15012 need_version=no
15013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15014 soname_spec='${libname}${release}${shared_ext}$major'
15015 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15016 shlibpath_var=LD_LIBRARY_PATH
15017 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15018 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15019 # the default ld.so.conf also contains /usr/contrib/lib and
15020 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15021 # libtool to hard-code these into programs
15024 cygwin* | mingw* | pw32* | cegcc*)
15025 version_type=windows
15026 shrext_cmds=".dll"
15027 need_version=no
15028 need_lib_prefix=no
15030 case $GCC,$host_os in
15031 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15032 library_names_spec='$libname.dll.a'
15033 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15034 postinstall_cmds='base_file=`basename \${file}`~
15035 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15036 dldir=$destdir/`dirname \$dlpath`~
15037 test -d \$dldir || mkdir -p \$dldir~
15038 $install_prog $dir/$dlname \$dldir/$dlname~
15039 chmod a+x \$dldir/$dlname~
15040 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15041 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15043 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15044 dlpath=$dir/\$dldll~
15045 $RM \$dlpath'
15046 shlibpath_overrides_runpath=yes
15048 case $host_os in
15049 cygwin*)
15050 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15051 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15054 mingw* | cegcc*)
15055 # MinGW DLLs use traditional 'lib' prefix
15056 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15058 pw32*)
15059 # pw32 DLLs use 'pw' prefix rather than 'lib'
15060 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15062 esac
15066 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15068 esac
15069 dynamic_linker='Win32 ld.exe'
15070 # FIXME: first we should search . and the directory the executable is in
15071 shlibpath_var=PATH
15074 darwin* | rhapsody*)
15075 dynamic_linker="$host_os dyld"
15076 version_type=darwin
15077 need_lib_prefix=no
15078 need_version=no
15079 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15080 soname_spec='${libname}${release}${major}$shared_ext'
15081 shlibpath_overrides_runpath=yes
15082 shlibpath_var=DYLD_LIBRARY_PATH
15083 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15085 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15088 dgux*)
15089 version_type=linux
15090 need_lib_prefix=no
15091 need_version=no
15092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15093 soname_spec='${libname}${release}${shared_ext}$major'
15094 shlibpath_var=LD_LIBRARY_PATH
15097 freebsd* | dragonfly*)
15098 # DragonFly does not have aout. When/if they implement a new
15099 # versioning mechanism, adjust this.
15100 if test -x /usr/bin/objformat; then
15101 objformat=`/usr/bin/objformat`
15102 else
15103 case $host_os in
15104 freebsd[23].*) objformat=aout ;;
15105 *) objformat=elf ;;
15106 esac
15108 version_type=freebsd-$objformat
15109 case $version_type in
15110 freebsd-elf*)
15111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15112 need_version=no
15113 need_lib_prefix=no
15115 freebsd-*)
15116 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15117 need_version=yes
15119 esac
15120 shlibpath_var=LD_LIBRARY_PATH
15121 case $host_os in
15122 freebsd2.*)
15123 shlibpath_overrides_runpath=yes
15125 freebsd3.[01]* | freebsdelf3.[01]*)
15126 shlibpath_overrides_runpath=yes
15127 hardcode_into_libs=yes
15129 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15130 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15131 shlibpath_overrides_runpath=no
15132 hardcode_into_libs=yes
15134 *) # from 4.6 on, and DragonFly
15135 shlibpath_overrides_runpath=yes
15136 hardcode_into_libs=yes
15138 esac
15141 gnu*)
15142 version_type=linux
15143 need_lib_prefix=no
15144 need_version=no
15145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15146 soname_spec='${libname}${release}${shared_ext}$major'
15147 shlibpath_var=LD_LIBRARY_PATH
15148 hardcode_into_libs=yes
15151 haiku*)
15152 version_type=linux
15153 need_lib_prefix=no
15154 need_version=no
15155 dynamic_linker="$host_os runtime_loader"
15156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15157 soname_spec='${libname}${release}${shared_ext}$major'
15158 shlibpath_var=LIBRARY_PATH
15159 shlibpath_overrides_runpath=yes
15160 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15161 hardcode_into_libs=yes
15164 hpux9* | hpux10* | hpux11*)
15165 # Give a soname corresponding to the major version so that dld.sl refuses to
15166 # link against other versions.
15167 version_type=sunos
15168 need_lib_prefix=no
15169 need_version=no
15170 case $host_cpu in
15171 ia64*)
15172 shrext_cmds='.so'
15173 hardcode_into_libs=yes
15174 dynamic_linker="$host_os dld.so"
15175 shlibpath_var=LD_LIBRARY_PATH
15176 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15178 soname_spec='${libname}${release}${shared_ext}$major'
15179 if test "X$HPUX_IA64_MODE" = X32; then
15180 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15181 else
15182 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15184 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15186 hppa*64*)
15187 shrext_cmds='.sl'
15188 hardcode_into_libs=yes
15189 dynamic_linker="$host_os dld.sl"
15190 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15191 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15193 soname_spec='${libname}${release}${shared_ext}$major'
15194 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15195 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15198 shrext_cmds='.sl'
15199 dynamic_linker="$host_os dld.sl"
15200 shlibpath_var=SHLIB_PATH
15201 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15203 soname_spec='${libname}${release}${shared_ext}$major'
15205 esac
15206 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15207 postinstall_cmds='chmod 555 $lib'
15208 # or fails outright, so override atomically:
15209 install_override_mode=555
15212 interix[3-9]*)
15213 version_type=linux
15214 need_lib_prefix=no
15215 need_version=no
15216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15217 soname_spec='${libname}${release}${shared_ext}$major'
15218 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15219 shlibpath_var=LD_LIBRARY_PATH
15220 shlibpath_overrides_runpath=no
15221 hardcode_into_libs=yes
15224 irix5* | irix6* | nonstopux*)
15225 case $host_os in
15226 nonstopux*) version_type=nonstopux ;;
15228 if test "$lt_cv_prog_gnu_ld" = yes; then
15229 version_type=linux
15230 else
15231 version_type=irix
15232 fi ;;
15233 esac
15234 need_lib_prefix=no
15235 need_version=no
15236 soname_spec='${libname}${release}${shared_ext}$major'
15237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15238 case $host_os in
15239 irix5* | nonstopux*)
15240 libsuff= shlibsuff=
15243 case $LD in # libtool.m4 will add one of these switches to LD
15244 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15245 libsuff= shlibsuff= libmagic=32-bit;;
15246 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15247 libsuff=32 shlibsuff=N32 libmagic=N32;;
15248 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15249 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15250 *) libsuff= shlibsuff= libmagic=never-match;;
15251 esac
15253 esac
15254 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15255 shlibpath_overrides_runpath=no
15256 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15257 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15258 hardcode_into_libs=yes
15261 # No shared lib support for Linux oldld, aout, or coff.
15262 linux*oldld* | linux*aout* | linux*coff*)
15263 dynamic_linker=no
15266 # This must be Linux ELF.
15267 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15268 version_type=linux
15269 need_lib_prefix=no
15270 need_version=no
15271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15272 soname_spec='${libname}${release}${shared_ext}$major'
15273 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15274 shlibpath_var=LD_LIBRARY_PATH
15275 shlibpath_overrides_runpath=no
15277 # Some binutils ld are patched to set DT_RUNPATH
15278 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15281 lt_cv_shlibpath_overrides_runpath=no
15282 save_LDFLAGS=$LDFLAGS
15283 save_libdir=$libdir
15284 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15285 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15286 if test x$gcc_no_link = xyes; then
15287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15289 cat > conftest.$ac_ext <<_ACEOF
15290 program main
15293 _ACEOF
15294 if ac_fn_fc_try_link "$LINENO"; then :
15295 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15296 lt_cv_shlibpath_overrides_runpath=yes
15299 rm -f core conftest.err conftest.$ac_objext \
15300 conftest$ac_exeext conftest.$ac_ext
15301 LDFLAGS=$save_LDFLAGS
15302 libdir=$save_libdir
15306 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15308 # This implies no fast_install, which is unacceptable.
15309 # Some rework will be needed to allow for fast_install
15310 # before this can be enabled.
15311 hardcode_into_libs=yes
15313 # Append ld.so.conf contents to the search path
15314 if test -f /etc/ld.so.conf; then
15315 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' ' '`
15316 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15319 # We used to test for /lib/ld.so.1 and disable shared libraries on
15320 # powerpc, because MkLinux only supported shared libraries with the
15321 # GNU dynamic linker. Since this was broken with cross compilers,
15322 # most powerpc-linux boxes support dynamic linking these days and
15323 # people can always --disable-shared, the test was removed, and we
15324 # assume the GNU/Linux dynamic linker is in use.
15325 dynamic_linker='GNU/Linux ld.so'
15328 netbsd*)
15329 version_type=sunos
15330 need_lib_prefix=no
15331 need_version=no
15332 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15334 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15335 dynamic_linker='NetBSD (a.out) ld.so'
15336 else
15337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15338 soname_spec='${libname}${release}${shared_ext}$major'
15339 dynamic_linker='NetBSD ld.elf_so'
15341 shlibpath_var=LD_LIBRARY_PATH
15342 shlibpath_overrides_runpath=yes
15343 hardcode_into_libs=yes
15346 newsos6)
15347 version_type=linux
15348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15349 shlibpath_var=LD_LIBRARY_PATH
15350 shlibpath_overrides_runpath=yes
15353 *nto* | *qnx*)
15354 version_type=qnx
15355 need_lib_prefix=no
15356 need_version=no
15357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15358 soname_spec='${libname}${release}${shared_ext}$major'
15359 shlibpath_var=LD_LIBRARY_PATH
15360 shlibpath_overrides_runpath=no
15361 hardcode_into_libs=yes
15362 dynamic_linker='ldqnx.so'
15365 openbsd*)
15366 version_type=sunos
15367 sys_lib_dlsearch_path_spec="/usr/lib"
15368 need_lib_prefix=no
15369 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15370 case $host_os in
15371 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15372 *) need_version=no ;;
15373 esac
15374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15375 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15376 shlibpath_var=LD_LIBRARY_PATH
15377 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15378 case $host_os in
15379 openbsd2.[89] | openbsd2.[89].*)
15380 shlibpath_overrides_runpath=no
15383 shlibpath_overrides_runpath=yes
15385 esac
15386 else
15387 shlibpath_overrides_runpath=yes
15391 os2*)
15392 libname_spec='$name'
15393 shrext_cmds=".dll"
15394 need_lib_prefix=no
15395 library_names_spec='$libname${shared_ext} $libname.a'
15396 dynamic_linker='OS/2 ld.exe'
15397 shlibpath_var=LIBPATH
15400 osf3* | osf4* | osf5*)
15401 version_type=osf
15402 need_lib_prefix=no
15403 need_version=no
15404 soname_spec='${libname}${release}${shared_ext}$major'
15405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15406 shlibpath_var=LD_LIBRARY_PATH
15407 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15408 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15411 rdos*)
15412 dynamic_linker=no
15415 solaris*)
15416 version_type=linux
15417 need_lib_prefix=no
15418 need_version=no
15419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15420 soname_spec='${libname}${release}${shared_ext}$major'
15421 shlibpath_var=LD_LIBRARY_PATH
15422 shlibpath_overrides_runpath=yes
15423 hardcode_into_libs=yes
15424 # ldd complains unless libraries are executable
15425 postinstall_cmds='chmod +x $lib'
15428 sunos4*)
15429 version_type=sunos
15430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15431 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15432 shlibpath_var=LD_LIBRARY_PATH
15433 shlibpath_overrides_runpath=yes
15434 if test "$with_gnu_ld" = yes; then
15435 need_lib_prefix=no
15437 need_version=yes
15440 sysv4 | sysv4.3*)
15441 version_type=linux
15442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15443 soname_spec='${libname}${release}${shared_ext}$major'
15444 shlibpath_var=LD_LIBRARY_PATH
15445 case $host_vendor in
15446 sni)
15447 shlibpath_overrides_runpath=no
15448 need_lib_prefix=no
15449 runpath_var=LD_RUN_PATH
15451 siemens)
15452 need_lib_prefix=no
15454 motorola)
15455 need_lib_prefix=no
15456 need_version=no
15457 shlibpath_overrides_runpath=no
15458 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15460 esac
15463 sysv4*MP*)
15464 if test -d /usr/nec ;then
15465 version_type=linux
15466 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15467 soname_spec='$libname${shared_ext}.$major'
15468 shlibpath_var=LD_LIBRARY_PATH
15472 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15473 version_type=freebsd-elf
15474 need_lib_prefix=no
15475 need_version=no
15476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15477 soname_spec='${libname}${release}${shared_ext}$major'
15478 shlibpath_var=LD_LIBRARY_PATH
15479 shlibpath_overrides_runpath=yes
15480 hardcode_into_libs=yes
15481 if test "$with_gnu_ld" = yes; then
15482 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15483 else
15484 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15485 case $host_os in
15486 sco3.2v5*)
15487 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15489 esac
15491 sys_lib_dlsearch_path_spec='/usr/lib'
15494 tpf*)
15495 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15496 version_type=linux
15497 need_lib_prefix=no
15498 need_version=no
15499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15500 shlibpath_var=LD_LIBRARY_PATH
15501 shlibpath_overrides_runpath=no
15502 hardcode_into_libs=yes
15505 uts4*)
15506 version_type=linux
15507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15508 soname_spec='${libname}${release}${shared_ext}$major'
15509 shlibpath_var=LD_LIBRARY_PATH
15513 dynamic_linker=no
15515 esac
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15517 $as_echo "$dynamic_linker" >&6; }
15518 test "$dynamic_linker" = no && can_build_shared=no
15520 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15521 if test "$GCC" = yes; then
15522 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15525 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15526 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15528 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15529 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15570 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15571 hardcode_action_FC=
15572 if test -n "$hardcode_libdir_flag_spec_FC" ||
15573 test -n "$runpath_var_FC" ||
15574 test "X$hardcode_automatic_FC" = "Xyes" ; then
15576 # We can hardcode non-existent directories.
15577 if test "$hardcode_direct_FC" != no &&
15578 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15579 # have to relink, otherwise we might link with an installed library
15580 # when we should be linking with a yet-to-be-installed one
15581 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15582 test "$hardcode_minus_L_FC" != no; then
15583 # Linking always hardcodes the temporary library directory.
15584 hardcode_action_FC=relink
15585 else
15586 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15587 hardcode_action_FC=immediate
15589 else
15590 # We cannot hardcode anything, or else we can only hardcode existing
15591 # directories.
15592 hardcode_action_FC=unsupported
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15595 $as_echo "$hardcode_action_FC" >&6; }
15597 if test "$hardcode_action_FC" = relink ||
15598 test "$inherit_rpath_FC" = yes; then
15599 # Fast installation is not supported
15600 enable_fast_install=no
15601 elif test "$shlibpath_overrides_runpath" = yes ||
15602 test "$enable_shared" = no; then
15603 # Fast installation is not necessary
15604 enable_fast_install=needless
15613 fi # test -n "$compiler"
15615 GCC=$lt_save_GCC
15616 CC="$lt_save_CC"
15617 fi # test "$_lt_disable_FC" != yes
15619 ac_ext=c
15620 ac_cpp='$CPP $CPPFLAGS'
15621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15627 # extra LD Flags which are required for targets
15628 case "${host}" in
15629 *-darwin*)
15630 # Darwin needs -single_module when linking libgfortran
15631 extra_ldflags_libgfortran=-Wl,-single_module
15633 esac
15636 # We need a working compiler at that point, otherwise give a clear
15637 # error message and bail out.
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15640 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15641 ac_ext=${ac_fc_srcext-f}
15642 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15643 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15644 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15646 cat > conftest.$ac_ext <<_ACEOF
15648 program foo
15649 real, parameter :: bar = sin (12.34 / 2.5)
15650 end program foo
15651 _ACEOF
15652 if ac_fn_fc_try_compile "$LINENO"; then :
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15654 $as_echo "yes" >&6; }
15655 else
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15657 $as_echo "no" >&6; }
15658 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15662 ac_ext=c
15663 ac_cpp='$CPP $CPPFLAGS'
15664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15670 # Check whether --enable-largefile was given.
15671 if test "${enable_largefile+set}" = set; then :
15672 enableval=$enable_largefile;
15675 if test "$enable_largefile" != no; then
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15678 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15679 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15680 $as_echo_n "(cached) " >&6
15681 else
15682 ac_cv_sys_largefile_CC=no
15683 if test "$GCC" != yes; then
15684 ac_save_CC=$CC
15685 while :; do
15686 # IRIX 6.2 and later do not support large files by default,
15687 # so use the C compiler's -n32 option if that helps.
15688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15689 /* end confdefs.h. */
15690 #include <sys/types.h>
15691 /* Check that off_t can represent 2**63 - 1 correctly.
15692 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15693 since some C++ compilers masquerading as C compilers
15694 incorrectly reject 9223372036854775807. */
15695 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15696 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15697 && LARGE_OFF_T % 2147483647 == 1)
15698 ? 1 : -1];
15700 main ()
15704 return 0;
15706 _ACEOF
15707 if ac_fn_c_try_compile "$LINENO"; then :
15708 break
15710 rm -f core conftest.err conftest.$ac_objext
15711 CC="$CC -n32"
15712 if ac_fn_c_try_compile "$LINENO"; then :
15713 ac_cv_sys_largefile_CC=' -n32'; break
15715 rm -f core conftest.err conftest.$ac_objext
15716 break
15717 done
15718 CC=$ac_save_CC
15719 rm -f conftest.$ac_ext
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15723 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15724 if test "$ac_cv_sys_largefile_CC" != no; then
15725 CC=$CC$ac_cv_sys_largefile_CC
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15729 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15730 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15731 $as_echo_n "(cached) " >&6
15732 else
15733 while :; do
15734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735 /* end confdefs.h. */
15736 #include <sys/types.h>
15737 /* Check that off_t can represent 2**63 - 1 correctly.
15738 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15739 since some C++ compilers masquerading as C compilers
15740 incorrectly reject 9223372036854775807. */
15741 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15742 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15743 && LARGE_OFF_T % 2147483647 == 1)
15744 ? 1 : -1];
15746 main ()
15750 return 0;
15752 _ACEOF
15753 if ac_fn_c_try_compile "$LINENO"; then :
15754 ac_cv_sys_file_offset_bits=no; break
15756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15759 #define _FILE_OFFSET_BITS 64
15760 #include <sys/types.h>
15761 /* Check that off_t can represent 2**63 - 1 correctly.
15762 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15763 since some C++ compilers masquerading as C compilers
15764 incorrectly reject 9223372036854775807. */
15765 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15766 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15767 && LARGE_OFF_T % 2147483647 == 1)
15768 ? 1 : -1];
15770 main ()
15774 return 0;
15776 _ACEOF
15777 if ac_fn_c_try_compile "$LINENO"; then :
15778 ac_cv_sys_file_offset_bits=64; break
15780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15781 ac_cv_sys_file_offset_bits=unknown
15782 break
15783 done
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15786 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15787 case $ac_cv_sys_file_offset_bits in #(
15788 no | unknown) ;;
15790 cat >>confdefs.h <<_ACEOF
15791 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15792 _ACEOF
15794 esac
15795 rm -rf conftest*
15796 if test $ac_cv_sys_file_offset_bits = unknown; then
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15798 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15799 if test "${ac_cv_sys_large_files+set}" = set; then :
15800 $as_echo_n "(cached) " >&6
15801 else
15802 while :; do
15803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15805 #include <sys/types.h>
15806 /* Check that off_t can represent 2**63 - 1 correctly.
15807 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15808 since some C++ compilers masquerading as C compilers
15809 incorrectly reject 9223372036854775807. */
15810 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15811 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15812 && LARGE_OFF_T % 2147483647 == 1)
15813 ? 1 : -1];
15815 main ()
15819 return 0;
15821 _ACEOF
15822 if ac_fn_c_try_compile "$LINENO"; then :
15823 ac_cv_sys_large_files=no; break
15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15828 #define _LARGE_FILES 1
15829 #include <sys/types.h>
15830 /* Check that off_t can represent 2**63 - 1 correctly.
15831 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15832 since some C++ compilers masquerading as C compilers
15833 incorrectly reject 9223372036854775807. */
15834 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15835 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15836 && LARGE_OFF_T % 2147483647 == 1)
15837 ? 1 : -1];
15839 main ()
15843 return 0;
15845 _ACEOF
15846 if ac_fn_c_try_compile "$LINENO"; then :
15847 ac_cv_sys_large_files=1; break
15849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15850 ac_cv_sys_large_files=unknown
15851 break
15852 done
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15855 $as_echo "$ac_cv_sys_large_files" >&6; }
15856 case $ac_cv_sys_large_files in #(
15857 no | unknown) ;;
15859 cat >>confdefs.h <<_ACEOF
15860 #define _LARGE_FILES $ac_cv_sys_large_files
15861 _ACEOF
15863 esac
15864 rm -rf conftest*
15869 # Types
15870 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15871 if test "x$ac_cv_type_off_t" = x""yes; then :
15873 else
15875 cat >>confdefs.h <<_ACEOF
15876 #define off_t long int
15877 _ACEOF
15882 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15883 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15885 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15887 else
15888 for ac_type in 'int' 'long int' 'long long int'; do
15889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15891 $ac_includes_default
15893 main ()
15895 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15896 test_array [0] = 0
15899 return 0;
15901 _ACEOF
15902 if ac_fn_c_try_compile "$LINENO"; then :
15904 cat >>confdefs.h <<_ACEOF
15905 #define intptr_t $ac_type
15906 _ACEOF
15908 ac_type=
15910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15911 test -z "$ac_type" && break
15912 done
15917 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15918 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15920 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15922 else
15923 for ac_type in 'unsigned int' 'unsigned long int' \
15924 'unsigned long long int'; do
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 $ac_includes_default
15929 main ()
15931 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15932 test_array [0] = 0
15935 return 0;
15937 _ACEOF
15938 if ac_fn_c_try_compile "$LINENO"; then :
15940 cat >>confdefs.h <<_ACEOF
15941 #define uintptr_t $ac_type
15942 _ACEOF
15944 ac_type=
15946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15947 test -z "$ac_type" && break
15948 done
15952 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15953 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15955 cat >>confdefs.h <<_ACEOF
15956 #define HAVE_PTRDIFF_T 1
15957 _ACEOF
15963 # check header files (we assume C89 is available, so don't check for that)
15967 for ac_header in $ac_header_list
15968 do :
15969 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15970 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15972 eval as_val=\$$as_ac_Header
15973 if test "x$as_val" = x""yes; then :
15974 cat >>confdefs.h <<_ACEOF
15975 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15976 _ACEOF
15980 done
16014 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16016 acx_cv_header_stdint=stddef.h
16017 acx_cv_header_stdint_kind="(already complete)"
16018 for i in stdint.h $inttype_headers; do
16019 unset ac_cv_type_uintptr_t
16020 unset ac_cv_type_uintmax_t
16021 unset ac_cv_type_int_least32_t
16022 unset ac_cv_type_int_fast32_t
16023 unset ac_cv_type_uint64_t
16024 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16025 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16026 #include <$i>
16028 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16029 acx_cv_header_stdint=$i
16030 else
16031 continue
16034 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16035 #include <$i>
16037 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16039 else
16040 acx_cv_header_stdint_kind="(mostly complete)"
16043 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16044 #include <$i>
16046 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16048 else
16049 acx_cv_header_stdint_kind="(mostly complete)"
16052 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16053 #include <$i>
16055 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16057 else
16058 acx_cv_header_stdint_kind="(mostly complete)"
16061 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16062 #include <$i>
16064 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16066 else
16067 acx_cv_header_stdint_kind="(lacks uint64_t)"
16070 break
16071 done
16072 if test "$acx_cv_header_stdint" = stddef.h; then
16073 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16074 for i in stdint.h $inttype_headers; do
16075 unset ac_cv_type_uintptr_t
16076 unset ac_cv_type_uint32_t
16077 unset ac_cv_type_uint64_t
16078 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16079 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16080 #include <$i>
16082 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16083 acx_cv_header_stdint=$i
16084 else
16085 continue
16088 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16089 #include <$i>
16091 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16095 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16096 #include <$i>
16098 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16102 break
16103 done
16105 if test "$acx_cv_header_stdint" = stddef.h; then
16106 acx_cv_header_stdint_kind="(u_intXX_t style)"
16107 for i in sys/types.h $inttype_headers; do
16108 unset ac_cv_type_u_int32_t
16109 unset ac_cv_type_u_int64_t
16110 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16111 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16112 #include <$i>
16114 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16115 acx_cv_header_stdint=$i
16116 else
16117 continue
16120 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16121 #include <$i>
16123 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16127 break
16128 done
16130 if test "$acx_cv_header_stdint" = stddef.h; then
16131 acx_cv_header_stdint_kind="(using manual detection)"
16134 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16135 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16136 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16137 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16138 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16140 # ----------------- Summarize what we found so far
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16143 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16145 case `$as_basename -- gstdint.h ||
16146 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16147 Xgstdint.h : 'X\(//\)$' \| \
16148 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16149 $as_echo X/gstdint.h |
16150 sed '/^.*\/\([^/][^/]*\)\/*$/{
16151 s//\1/
16154 /^X\/\(\/\/\)$/{
16155 s//\1/
16158 /^X\/\(\/\).*/{
16159 s//\1/
16162 s/.*/./; q'` in
16163 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16164 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16165 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16166 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16167 *) ;;
16168 esac
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16171 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16173 # ----------------- done included file, check C basic types --------
16175 # Lacking an uintptr_t? Test size of void *
16176 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16177 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16178 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16179 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16180 # This bug is HP SR number 8606223364.
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16182 $as_echo_n "checking size of void *... " >&6; }
16183 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16184 $as_echo_n "(cached) " >&6
16185 else
16186 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16188 else
16189 if test "$ac_cv_type_void_p" = yes; then
16190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16192 { as_fn_set_status 77
16193 as_fn_error "cannot compute sizeof (void *)
16194 See \`config.log' for more details." "$LINENO" 5; }; }
16195 else
16196 ac_cv_sizeof_void_p=0
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16202 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16206 cat >>confdefs.h <<_ACEOF
16207 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16208 _ACEOF
16211 esac
16213 # Lacking an uint64_t? Test size of long
16214 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16215 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16216 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16217 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16218 # This bug is HP SR number 8606223364.
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16220 $as_echo_n "checking size of long... " >&6; }
16221 if test "${ac_cv_sizeof_long+set}" = set; then :
16222 $as_echo_n "(cached) " >&6
16223 else
16224 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16226 else
16227 if test "$ac_cv_type_long" = yes; then
16228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16230 { as_fn_set_status 77
16231 as_fn_error "cannot compute sizeof (long)
16232 See \`config.log' for more details." "$LINENO" 5; }; }
16233 else
16234 ac_cv_sizeof_long=0
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16240 $as_echo "$ac_cv_sizeof_long" >&6; }
16244 cat >>confdefs.h <<_ACEOF
16245 #define SIZEOF_LONG $ac_cv_sizeof_long
16246 _ACEOF
16249 esac
16251 if test $acx_cv_header_stdint = stddef.h; then
16252 # Lacking a good header? Test size of everything and deduce all types.
16253 # The cast to long int works around a bug in the HP C Compiler
16254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16256 # This bug is HP SR number 8606223364.
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16258 $as_echo_n "checking size of int... " >&6; }
16259 if test "${ac_cv_sizeof_int+set}" = set; then :
16260 $as_echo_n "(cached) " >&6
16261 else
16262 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16264 else
16265 if test "$ac_cv_type_int" = yes; then
16266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16268 { as_fn_set_status 77
16269 as_fn_error "cannot compute sizeof (int)
16270 See \`config.log' for more details." "$LINENO" 5; }; }
16271 else
16272 ac_cv_sizeof_int=0
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16278 $as_echo "$ac_cv_sizeof_int" >&6; }
16282 cat >>confdefs.h <<_ACEOF
16283 #define SIZEOF_INT $ac_cv_sizeof_int
16284 _ACEOF
16287 # The cast to long int works around a bug in the HP C Compiler
16288 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16289 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16290 # This bug is HP SR number 8606223364.
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16292 $as_echo_n "checking size of short... " >&6; }
16293 if test "${ac_cv_sizeof_short+set}" = set; then :
16294 $as_echo_n "(cached) " >&6
16295 else
16296 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16298 else
16299 if test "$ac_cv_type_short" = yes; then
16300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16302 { as_fn_set_status 77
16303 as_fn_error "cannot compute sizeof (short)
16304 See \`config.log' for more details." "$LINENO" 5; }; }
16305 else
16306 ac_cv_sizeof_short=0
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16312 $as_echo "$ac_cv_sizeof_short" >&6; }
16316 cat >>confdefs.h <<_ACEOF
16317 #define SIZEOF_SHORT $ac_cv_sizeof_short
16318 _ACEOF
16321 # The cast to long int works around a bug in the HP C Compiler
16322 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16323 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16324 # This bug is HP SR number 8606223364.
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16326 $as_echo_n "checking size of char... " >&6; }
16327 if test "${ac_cv_sizeof_char+set}" = set; then :
16328 $as_echo_n "(cached) " >&6
16329 else
16330 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16332 else
16333 if test "$ac_cv_type_char" = yes; then
16334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16336 { as_fn_set_status 77
16337 as_fn_error "cannot compute sizeof (char)
16338 See \`config.log' for more details." "$LINENO" 5; }; }
16339 else
16340 ac_cv_sizeof_char=0
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16346 $as_echo "$ac_cv_sizeof_char" >&6; }
16350 cat >>confdefs.h <<_ACEOF
16351 #define SIZEOF_CHAR $ac_cv_sizeof_char
16352 _ACEOF
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16357 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16358 case "$ac_cv_sizeof_char" in
16359 1) acx_cv_type_int8_t=char ;;
16360 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16361 esac
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16363 $as_echo "$acx_cv_type_int8_t" >&6; }
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16366 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16367 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16368 2:*) acx_cv_type_int16_t=int ;;
16369 *:2) acx_cv_type_int16_t=short ;;
16370 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16371 esac
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16373 $as_echo "$acx_cv_type_int16_t" >&6; }
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16376 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16377 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16378 4:*) acx_cv_type_int32_t=int ;;
16379 *:4) acx_cv_type_int32_t=long ;;
16380 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16381 esac
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16383 $as_echo "$acx_cv_type_int32_t" >&6; }
16386 # These tests are here to make the output prettier
16388 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16389 case "$ac_cv_sizeof_long" in
16390 8) acx_cv_type_int64_t=long ;;
16391 esac
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16393 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16395 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16398 # Now we can use the above types
16400 if test "$ac_cv_type_uintptr_t" != yes; then
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16402 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16403 case $ac_cv_sizeof_void_p in
16404 2) acx_cv_type_intptr_t=int16_t ;;
16405 4) acx_cv_type_intptr_t=int32_t ;;
16406 8) acx_cv_type_intptr_t=int64_t ;;
16407 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16408 esac
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16410 $as_echo "$acx_cv_type_intptr_t" >&6; }
16413 # ----------------- done all checks, emit header -------------
16414 ac_config_commands="$ac_config_commands gstdint.h"
16419 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16420 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16422 cat >>confdefs.h <<_ACEOF
16423 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16424 _ACEOF
16428 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16429 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16431 cat >>confdefs.h <<_ACEOF
16432 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16433 _ACEOF
16437 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16438 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16440 cat >>confdefs.h <<_ACEOF
16441 #define HAVE_STRUCT_STAT_ST_RDEV 1
16442 _ACEOF
16448 # Check for library functions.
16449 if test "x${with_newlib}" = "xyes"; then
16450 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16451 # may not work correctly, because the compiler may not be able to
16452 # link executables.
16454 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16457 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16460 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16463 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16466 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16469 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16472 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16475 # At some point, we should differentiate between architectures
16476 # like x86, which have long double versions, and alpha/powerpc/etc.,
16477 # which don't. For the time being, punt.
16478 if test x"long_double_math_on_this_cpu" = x"yes"; then
16480 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16483 else
16487 for ac_func in $ac_func_list
16488 do :
16489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16491 eval as_val=\$$as_ac_var
16492 if test "x$as_val" = x""yes; then :
16493 cat >>confdefs.h <<_ACEOF
16494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16495 _ACEOF
16498 done
16607 # Check strerror_r, cannot be above as versions with two and three arguments exist
16609 ac_save_CFLAGS="$CFLAGS"
16610 CFLAGS="-Wimplicit-function-declaration -Werror"
16611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16612 /* end confdefs.h. */
16613 #define _GNU_SOURCE 1
16614 #include <string.h>
16615 #include <locale.h>
16617 main ()
16619 char s[128]; strerror_r(5, s, 128);
16621 return 0;
16623 _ACEOF
16624 if ac_fn_c_try_compile "$LINENO"; then :
16626 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16630 CFLAGS="$ac_save_CFLAGS"
16632 ac_save_CFLAGS="$CFLAGS"
16633 CFLAGS="-Wimplicit-function-declaration -Werror"
16634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16635 /* end confdefs.h. */
16636 #define _GNU_SOURCE 1
16637 #include <string.h>
16638 #include <locale.h>
16640 main ()
16642 char s[128]; strerror_r(5, s);
16644 return 0;
16646 _ACEOF
16647 if ac_fn_c_try_compile "$LINENO"; then :
16649 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16653 CFLAGS="$ac_save_CFLAGS"
16656 # Check for C99 (and other IEEE) math functions
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16658 $as_echo_n "checking for sin in -lm... " >&6; }
16659 if test "${ac_cv_lib_m_sin+set}" = set; then :
16660 $as_echo_n "(cached) " >&6
16661 else
16662 ac_check_lib_save_LIBS=$LIBS
16663 LIBS="-lm $LIBS"
16664 if test x$gcc_no_link = xyes; then
16665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16670 /* Override any GCC internal prototype to avoid an error.
16671 Use char because int might match the return type of a GCC
16672 builtin and then its argument prototype would still apply. */
16673 #ifdef __cplusplus
16674 extern "C"
16675 #endif
16676 char sin ();
16678 main ()
16680 return sin ();
16682 return 0;
16684 _ACEOF
16685 if ac_fn_c_try_link "$LINENO"; then :
16686 ac_cv_lib_m_sin=yes
16687 else
16688 ac_cv_lib_m_sin=no
16690 rm -f core conftest.err conftest.$ac_objext \
16691 conftest$ac_exeext conftest.$ac_ext
16692 LIBS=$ac_check_lib_save_LIBS
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16695 $as_echo "$ac_cv_lib_m_sin" >&6; }
16696 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16697 cat >>confdefs.h <<_ACEOF
16698 #define HAVE_LIBM 1
16699 _ACEOF
16701 LIBS="-lm $LIBS"
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16712 $as_echo_n "checking for acosf... " >&6; }
16713 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16714 $as_echo_n "(cached) " >&6
16715 else
16716 if test x$gcc_no_link = xyes; then
16717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16720 /* end confdefs.h. */
16722 #ifdef HAVE_COMPLEX_H
16723 #include <complex.h>
16724 #endif
16725 #ifdef HAVE_MATH_H
16726 #include <math.h>
16727 #endif
16729 int (*ptr)() = (int (*)())acosf;
16732 main ()
16734 return 0;
16737 _ACEOF
16738 if ac_fn_c_try_link "$LINENO"; then :
16739 gcc_cv_math_func_acosf=yes
16740 else
16741 gcc_cv_math_func_acosf=no
16743 rm -f core conftest.err conftest.$ac_objext \
16744 conftest$ac_exeext conftest.$ac_ext
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16747 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16748 if test $gcc_cv_math_func_acosf = yes; then
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_ACOSF 1
16752 _ACEOF
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16760 $as_echo_n "checking for acos... " >&6; }
16761 if test "${gcc_cv_math_func_acos+set}" = set; then :
16762 $as_echo_n "(cached) " >&6
16763 else
16764 if test x$gcc_no_link = xyes; then
16765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h. */
16770 #ifdef HAVE_COMPLEX_H
16771 #include <complex.h>
16772 #endif
16773 #ifdef HAVE_MATH_H
16774 #include <math.h>
16775 #endif
16777 int (*ptr)() = (int (*)())acos;
16780 main ()
16782 return 0;
16785 _ACEOF
16786 if ac_fn_c_try_link "$LINENO"; then :
16787 gcc_cv_math_func_acos=yes
16788 else
16789 gcc_cv_math_func_acos=no
16791 rm -f core conftest.err conftest.$ac_objext \
16792 conftest$ac_exeext conftest.$ac_ext
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16795 $as_echo "$gcc_cv_math_func_acos" >&6; }
16796 if test $gcc_cv_math_func_acos = yes; then
16798 cat >>confdefs.h <<_ACEOF
16799 #define HAVE_ACOS 1
16800 _ACEOF
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16808 $as_echo_n "checking for acosl... " >&6; }
16809 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16812 if test x$gcc_no_link = xyes; then
16813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16818 #ifdef HAVE_COMPLEX_H
16819 #include <complex.h>
16820 #endif
16821 #ifdef HAVE_MATH_H
16822 #include <math.h>
16823 #endif
16825 int (*ptr)() = (int (*)())acosl;
16828 main ()
16830 return 0;
16833 _ACEOF
16834 if ac_fn_c_try_link "$LINENO"; then :
16835 gcc_cv_math_func_acosl=yes
16836 else
16837 gcc_cv_math_func_acosl=no
16839 rm -f core conftest.err conftest.$ac_objext \
16840 conftest$ac_exeext conftest.$ac_ext
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16843 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16844 if test $gcc_cv_math_func_acosl = yes; then
16846 cat >>confdefs.h <<_ACEOF
16847 #define HAVE_ACOSL 1
16848 _ACEOF
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16856 $as_echo_n "checking for acoshf... " >&6; }
16857 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16858 $as_echo_n "(cached) " >&6
16859 else
16860 if test x$gcc_no_link = xyes; then
16861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16866 #ifdef HAVE_COMPLEX_H
16867 #include <complex.h>
16868 #endif
16869 #ifdef HAVE_MATH_H
16870 #include <math.h>
16871 #endif
16873 int (*ptr)() = (int (*)())acoshf;
16876 main ()
16878 return 0;
16881 _ACEOF
16882 if ac_fn_c_try_link "$LINENO"; then :
16883 gcc_cv_math_func_acoshf=yes
16884 else
16885 gcc_cv_math_func_acoshf=no
16887 rm -f core conftest.err conftest.$ac_objext \
16888 conftest$ac_exeext conftest.$ac_ext
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16891 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16892 if test $gcc_cv_math_func_acoshf = yes; then
16894 cat >>confdefs.h <<_ACEOF
16895 #define HAVE_ACOSHF 1
16896 _ACEOF
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16904 $as_echo_n "checking for acosh... " >&6; }
16905 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16906 $as_echo_n "(cached) " >&6
16907 else
16908 if test x$gcc_no_link = xyes; then
16909 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16914 #ifdef HAVE_COMPLEX_H
16915 #include <complex.h>
16916 #endif
16917 #ifdef HAVE_MATH_H
16918 #include <math.h>
16919 #endif
16921 int (*ptr)() = (int (*)())acosh;
16924 main ()
16926 return 0;
16929 _ACEOF
16930 if ac_fn_c_try_link "$LINENO"; then :
16931 gcc_cv_math_func_acosh=yes
16932 else
16933 gcc_cv_math_func_acosh=no
16935 rm -f core conftest.err conftest.$ac_objext \
16936 conftest$ac_exeext conftest.$ac_ext
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16939 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16940 if test $gcc_cv_math_func_acosh = yes; then
16942 cat >>confdefs.h <<_ACEOF
16943 #define HAVE_ACOSH 1
16944 _ACEOF
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16952 $as_echo_n "checking for acoshl... " >&6; }
16953 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16954 $as_echo_n "(cached) " >&6
16955 else
16956 if test x$gcc_no_link = xyes; then
16957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16962 #ifdef HAVE_COMPLEX_H
16963 #include <complex.h>
16964 #endif
16965 #ifdef HAVE_MATH_H
16966 #include <math.h>
16967 #endif
16969 int (*ptr)() = (int (*)())acoshl;
16972 main ()
16974 return 0;
16977 _ACEOF
16978 if ac_fn_c_try_link "$LINENO"; then :
16979 gcc_cv_math_func_acoshl=yes
16980 else
16981 gcc_cv_math_func_acoshl=no
16983 rm -f core conftest.err conftest.$ac_objext \
16984 conftest$ac_exeext conftest.$ac_ext
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16987 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16988 if test $gcc_cv_math_func_acoshl = yes; then
16990 cat >>confdefs.h <<_ACEOF
16991 #define HAVE_ACOSHL 1
16992 _ACEOF
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17000 $as_echo_n "checking for asinf... " >&6; }
17001 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17002 $as_echo_n "(cached) " >&6
17003 else
17004 if test x$gcc_no_link = xyes; then
17005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17010 #ifdef HAVE_COMPLEX_H
17011 #include <complex.h>
17012 #endif
17013 #ifdef HAVE_MATH_H
17014 #include <math.h>
17015 #endif
17017 int (*ptr)() = (int (*)())asinf;
17020 main ()
17022 return 0;
17025 _ACEOF
17026 if ac_fn_c_try_link "$LINENO"; then :
17027 gcc_cv_math_func_asinf=yes
17028 else
17029 gcc_cv_math_func_asinf=no
17031 rm -f core conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext conftest.$ac_ext
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17035 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17036 if test $gcc_cv_math_func_asinf = yes; then
17038 cat >>confdefs.h <<_ACEOF
17039 #define HAVE_ASINF 1
17040 _ACEOF
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17048 $as_echo_n "checking for asin... " >&6; }
17049 if test "${gcc_cv_math_func_asin+set}" = set; then :
17050 $as_echo_n "(cached) " >&6
17051 else
17052 if test x$gcc_no_link = xyes; then
17053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17058 #ifdef HAVE_COMPLEX_H
17059 #include <complex.h>
17060 #endif
17061 #ifdef HAVE_MATH_H
17062 #include <math.h>
17063 #endif
17065 int (*ptr)() = (int (*)())asin;
17068 main ()
17070 return 0;
17073 _ACEOF
17074 if ac_fn_c_try_link "$LINENO"; then :
17075 gcc_cv_math_func_asin=yes
17076 else
17077 gcc_cv_math_func_asin=no
17079 rm -f core conftest.err conftest.$ac_objext \
17080 conftest$ac_exeext conftest.$ac_ext
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17083 $as_echo "$gcc_cv_math_func_asin" >&6; }
17084 if test $gcc_cv_math_func_asin = yes; then
17086 cat >>confdefs.h <<_ACEOF
17087 #define HAVE_ASIN 1
17088 _ACEOF
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17096 $as_echo_n "checking for asinl... " >&6; }
17097 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17098 $as_echo_n "(cached) " >&6
17099 else
17100 if test x$gcc_no_link = xyes; then
17101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17106 #ifdef HAVE_COMPLEX_H
17107 #include <complex.h>
17108 #endif
17109 #ifdef HAVE_MATH_H
17110 #include <math.h>
17111 #endif
17113 int (*ptr)() = (int (*)())asinl;
17116 main ()
17118 return 0;
17121 _ACEOF
17122 if ac_fn_c_try_link "$LINENO"; then :
17123 gcc_cv_math_func_asinl=yes
17124 else
17125 gcc_cv_math_func_asinl=no
17127 rm -f core conftest.err conftest.$ac_objext \
17128 conftest$ac_exeext conftest.$ac_ext
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17131 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17132 if test $gcc_cv_math_func_asinl = yes; then
17134 cat >>confdefs.h <<_ACEOF
17135 #define HAVE_ASINL 1
17136 _ACEOF
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17144 $as_echo_n "checking for asinhf... " >&6; }
17145 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17146 $as_echo_n "(cached) " >&6
17147 else
17148 if test x$gcc_no_link = xyes; then
17149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17154 #ifdef HAVE_COMPLEX_H
17155 #include <complex.h>
17156 #endif
17157 #ifdef HAVE_MATH_H
17158 #include <math.h>
17159 #endif
17161 int (*ptr)() = (int (*)())asinhf;
17164 main ()
17166 return 0;
17169 _ACEOF
17170 if ac_fn_c_try_link "$LINENO"; then :
17171 gcc_cv_math_func_asinhf=yes
17172 else
17173 gcc_cv_math_func_asinhf=no
17175 rm -f core conftest.err conftest.$ac_objext \
17176 conftest$ac_exeext conftest.$ac_ext
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17179 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17180 if test $gcc_cv_math_func_asinhf = yes; then
17182 cat >>confdefs.h <<_ACEOF
17183 #define HAVE_ASINHF 1
17184 _ACEOF
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17192 $as_echo_n "checking for asinh... " >&6; }
17193 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17194 $as_echo_n "(cached) " >&6
17195 else
17196 if test x$gcc_no_link = xyes; then
17197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17202 #ifdef HAVE_COMPLEX_H
17203 #include <complex.h>
17204 #endif
17205 #ifdef HAVE_MATH_H
17206 #include <math.h>
17207 #endif
17209 int (*ptr)() = (int (*)())asinh;
17212 main ()
17214 return 0;
17217 _ACEOF
17218 if ac_fn_c_try_link "$LINENO"; then :
17219 gcc_cv_math_func_asinh=yes
17220 else
17221 gcc_cv_math_func_asinh=no
17223 rm -f core conftest.err conftest.$ac_objext \
17224 conftest$ac_exeext conftest.$ac_ext
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17227 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17228 if test $gcc_cv_math_func_asinh = yes; then
17230 cat >>confdefs.h <<_ACEOF
17231 #define HAVE_ASINH 1
17232 _ACEOF
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17240 $as_echo_n "checking for asinhl... " >&6; }
17241 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17244 if test x$gcc_no_link = xyes; then
17245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17250 #ifdef HAVE_COMPLEX_H
17251 #include <complex.h>
17252 #endif
17253 #ifdef HAVE_MATH_H
17254 #include <math.h>
17255 #endif
17257 int (*ptr)() = (int (*)())asinhl;
17260 main ()
17262 return 0;
17265 _ACEOF
17266 if ac_fn_c_try_link "$LINENO"; then :
17267 gcc_cv_math_func_asinhl=yes
17268 else
17269 gcc_cv_math_func_asinhl=no
17271 rm -f core conftest.err conftest.$ac_objext \
17272 conftest$ac_exeext conftest.$ac_ext
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17275 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17276 if test $gcc_cv_math_func_asinhl = yes; then
17278 cat >>confdefs.h <<_ACEOF
17279 #define HAVE_ASINHL 1
17280 _ACEOF
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17288 $as_echo_n "checking for atan2f... " >&6; }
17289 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17290 $as_echo_n "(cached) " >&6
17291 else
17292 if test x$gcc_no_link = xyes; then
17293 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17298 #ifdef HAVE_COMPLEX_H
17299 #include <complex.h>
17300 #endif
17301 #ifdef HAVE_MATH_H
17302 #include <math.h>
17303 #endif
17305 int (*ptr)() = (int (*)())atan2f;
17308 main ()
17310 return 0;
17313 _ACEOF
17314 if ac_fn_c_try_link "$LINENO"; then :
17315 gcc_cv_math_func_atan2f=yes
17316 else
17317 gcc_cv_math_func_atan2f=no
17319 rm -f core conftest.err conftest.$ac_objext \
17320 conftest$ac_exeext conftest.$ac_ext
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17323 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17324 if test $gcc_cv_math_func_atan2f = yes; then
17326 cat >>confdefs.h <<_ACEOF
17327 #define HAVE_ATAN2F 1
17328 _ACEOF
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17336 $as_echo_n "checking for atan2... " >&6; }
17337 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17338 $as_echo_n "(cached) " >&6
17339 else
17340 if test x$gcc_no_link = xyes; then
17341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17344 /* end confdefs.h. */
17346 #ifdef HAVE_COMPLEX_H
17347 #include <complex.h>
17348 #endif
17349 #ifdef HAVE_MATH_H
17350 #include <math.h>
17351 #endif
17353 int (*ptr)() = (int (*)())atan2;
17356 main ()
17358 return 0;
17361 _ACEOF
17362 if ac_fn_c_try_link "$LINENO"; then :
17363 gcc_cv_math_func_atan2=yes
17364 else
17365 gcc_cv_math_func_atan2=no
17367 rm -f core conftest.err conftest.$ac_objext \
17368 conftest$ac_exeext conftest.$ac_ext
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17371 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17372 if test $gcc_cv_math_func_atan2 = yes; then
17374 cat >>confdefs.h <<_ACEOF
17375 #define HAVE_ATAN2 1
17376 _ACEOF
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17384 $as_echo_n "checking for atan2l... " >&6; }
17385 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17386 $as_echo_n "(cached) " >&6
17387 else
17388 if test x$gcc_no_link = xyes; then
17389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h. */
17394 #ifdef HAVE_COMPLEX_H
17395 #include <complex.h>
17396 #endif
17397 #ifdef HAVE_MATH_H
17398 #include <math.h>
17399 #endif
17401 int (*ptr)() = (int (*)())atan2l;
17404 main ()
17406 return 0;
17409 _ACEOF
17410 if ac_fn_c_try_link "$LINENO"; then :
17411 gcc_cv_math_func_atan2l=yes
17412 else
17413 gcc_cv_math_func_atan2l=no
17415 rm -f core conftest.err conftest.$ac_objext \
17416 conftest$ac_exeext conftest.$ac_ext
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17419 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17420 if test $gcc_cv_math_func_atan2l = yes; then
17422 cat >>confdefs.h <<_ACEOF
17423 #define HAVE_ATAN2L 1
17424 _ACEOF
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17432 $as_echo_n "checking for atanf... " >&6; }
17433 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17434 $as_echo_n "(cached) " >&6
17435 else
17436 if test x$gcc_no_link = xyes; then
17437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17442 #ifdef HAVE_COMPLEX_H
17443 #include <complex.h>
17444 #endif
17445 #ifdef HAVE_MATH_H
17446 #include <math.h>
17447 #endif
17449 int (*ptr)() = (int (*)())atanf;
17452 main ()
17454 return 0;
17457 _ACEOF
17458 if ac_fn_c_try_link "$LINENO"; then :
17459 gcc_cv_math_func_atanf=yes
17460 else
17461 gcc_cv_math_func_atanf=no
17463 rm -f core conftest.err conftest.$ac_objext \
17464 conftest$ac_exeext conftest.$ac_ext
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17467 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17468 if test $gcc_cv_math_func_atanf = yes; then
17470 cat >>confdefs.h <<_ACEOF
17471 #define HAVE_ATANF 1
17472 _ACEOF
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17480 $as_echo_n "checking for atan... " >&6; }
17481 if test "${gcc_cv_math_func_atan+set}" = set; then :
17482 $as_echo_n "(cached) " >&6
17483 else
17484 if test x$gcc_no_link = xyes; then
17485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17488 /* end confdefs.h. */
17490 #ifdef HAVE_COMPLEX_H
17491 #include <complex.h>
17492 #endif
17493 #ifdef HAVE_MATH_H
17494 #include <math.h>
17495 #endif
17497 int (*ptr)() = (int (*)())atan;
17500 main ()
17502 return 0;
17505 _ACEOF
17506 if ac_fn_c_try_link "$LINENO"; then :
17507 gcc_cv_math_func_atan=yes
17508 else
17509 gcc_cv_math_func_atan=no
17511 rm -f core conftest.err conftest.$ac_objext \
17512 conftest$ac_exeext conftest.$ac_ext
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17515 $as_echo "$gcc_cv_math_func_atan" >&6; }
17516 if test $gcc_cv_math_func_atan = yes; then
17518 cat >>confdefs.h <<_ACEOF
17519 #define HAVE_ATAN 1
17520 _ACEOF
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17528 $as_echo_n "checking for atanl... " >&6; }
17529 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17530 $as_echo_n "(cached) " >&6
17531 else
17532 if test x$gcc_no_link = xyes; then
17533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17538 #ifdef HAVE_COMPLEX_H
17539 #include <complex.h>
17540 #endif
17541 #ifdef HAVE_MATH_H
17542 #include <math.h>
17543 #endif
17545 int (*ptr)() = (int (*)())atanl;
17548 main ()
17550 return 0;
17553 _ACEOF
17554 if ac_fn_c_try_link "$LINENO"; then :
17555 gcc_cv_math_func_atanl=yes
17556 else
17557 gcc_cv_math_func_atanl=no
17559 rm -f core conftest.err conftest.$ac_objext \
17560 conftest$ac_exeext conftest.$ac_ext
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17563 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17564 if test $gcc_cv_math_func_atanl = yes; then
17566 cat >>confdefs.h <<_ACEOF
17567 #define HAVE_ATANL 1
17568 _ACEOF
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17576 $as_echo_n "checking for atanhf... " >&6; }
17577 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17578 $as_echo_n "(cached) " >&6
17579 else
17580 if test x$gcc_no_link = xyes; then
17581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17586 #ifdef HAVE_COMPLEX_H
17587 #include <complex.h>
17588 #endif
17589 #ifdef HAVE_MATH_H
17590 #include <math.h>
17591 #endif
17593 int (*ptr)() = (int (*)())atanhf;
17596 main ()
17598 return 0;
17601 _ACEOF
17602 if ac_fn_c_try_link "$LINENO"; then :
17603 gcc_cv_math_func_atanhf=yes
17604 else
17605 gcc_cv_math_func_atanhf=no
17607 rm -f core conftest.err conftest.$ac_objext \
17608 conftest$ac_exeext conftest.$ac_ext
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17611 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17612 if test $gcc_cv_math_func_atanhf = yes; then
17614 cat >>confdefs.h <<_ACEOF
17615 #define HAVE_ATANHF 1
17616 _ACEOF
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17624 $as_echo_n "checking for atanh... " >&6; }
17625 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17626 $as_echo_n "(cached) " >&6
17627 else
17628 if test x$gcc_no_link = xyes; then
17629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17634 #ifdef HAVE_COMPLEX_H
17635 #include <complex.h>
17636 #endif
17637 #ifdef HAVE_MATH_H
17638 #include <math.h>
17639 #endif
17641 int (*ptr)() = (int (*)())atanh;
17644 main ()
17646 return 0;
17649 _ACEOF
17650 if ac_fn_c_try_link "$LINENO"; then :
17651 gcc_cv_math_func_atanh=yes
17652 else
17653 gcc_cv_math_func_atanh=no
17655 rm -f core conftest.err conftest.$ac_objext \
17656 conftest$ac_exeext conftest.$ac_ext
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17659 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17660 if test $gcc_cv_math_func_atanh = yes; then
17662 cat >>confdefs.h <<_ACEOF
17663 #define HAVE_ATANH 1
17664 _ACEOF
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17672 $as_echo_n "checking for atanhl... " >&6; }
17673 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17674 $as_echo_n "(cached) " >&6
17675 else
17676 if test x$gcc_no_link = xyes; then
17677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17682 #ifdef HAVE_COMPLEX_H
17683 #include <complex.h>
17684 #endif
17685 #ifdef HAVE_MATH_H
17686 #include <math.h>
17687 #endif
17689 int (*ptr)() = (int (*)())atanhl;
17692 main ()
17694 return 0;
17697 _ACEOF
17698 if ac_fn_c_try_link "$LINENO"; then :
17699 gcc_cv_math_func_atanhl=yes
17700 else
17701 gcc_cv_math_func_atanhl=no
17703 rm -f core conftest.err conftest.$ac_objext \
17704 conftest$ac_exeext conftest.$ac_ext
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17707 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17708 if test $gcc_cv_math_func_atanhl = yes; then
17710 cat >>confdefs.h <<_ACEOF
17711 #define HAVE_ATANHL 1
17712 _ACEOF
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17720 $as_echo_n "checking for cargf... " >&6; }
17721 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17722 $as_echo_n "(cached) " >&6
17723 else
17724 if test x$gcc_no_link = xyes; then
17725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17730 #ifdef HAVE_COMPLEX_H
17731 #include <complex.h>
17732 #endif
17733 #ifdef HAVE_MATH_H
17734 #include <math.h>
17735 #endif
17737 int (*ptr)() = (int (*)())cargf;
17740 main ()
17742 return 0;
17745 _ACEOF
17746 if ac_fn_c_try_link "$LINENO"; then :
17747 gcc_cv_math_func_cargf=yes
17748 else
17749 gcc_cv_math_func_cargf=no
17751 rm -f core conftest.err conftest.$ac_objext \
17752 conftest$ac_exeext conftest.$ac_ext
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17755 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17756 if test $gcc_cv_math_func_cargf = yes; then
17758 cat >>confdefs.h <<_ACEOF
17759 #define HAVE_CARGF 1
17760 _ACEOF
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17768 $as_echo_n "checking for carg... " >&6; }
17769 if test "${gcc_cv_math_func_carg+set}" = set; then :
17770 $as_echo_n "(cached) " >&6
17771 else
17772 if test x$gcc_no_link = xyes; then
17773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17776 /* end confdefs.h. */
17778 #ifdef HAVE_COMPLEX_H
17779 #include <complex.h>
17780 #endif
17781 #ifdef HAVE_MATH_H
17782 #include <math.h>
17783 #endif
17785 int (*ptr)() = (int (*)())carg;
17788 main ()
17790 return 0;
17793 _ACEOF
17794 if ac_fn_c_try_link "$LINENO"; then :
17795 gcc_cv_math_func_carg=yes
17796 else
17797 gcc_cv_math_func_carg=no
17799 rm -f core conftest.err conftest.$ac_objext \
17800 conftest$ac_exeext conftest.$ac_ext
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17803 $as_echo "$gcc_cv_math_func_carg" >&6; }
17804 if test $gcc_cv_math_func_carg = yes; then
17806 cat >>confdefs.h <<_ACEOF
17807 #define HAVE_CARG 1
17808 _ACEOF
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17816 $as_echo_n "checking for cargl... " >&6; }
17817 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17818 $as_echo_n "(cached) " >&6
17819 else
17820 if test x$gcc_no_link = xyes; then
17821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17824 /* end confdefs.h. */
17826 #ifdef HAVE_COMPLEX_H
17827 #include <complex.h>
17828 #endif
17829 #ifdef HAVE_MATH_H
17830 #include <math.h>
17831 #endif
17833 int (*ptr)() = (int (*)())cargl;
17836 main ()
17838 return 0;
17841 _ACEOF
17842 if ac_fn_c_try_link "$LINENO"; then :
17843 gcc_cv_math_func_cargl=yes
17844 else
17845 gcc_cv_math_func_cargl=no
17847 rm -f core conftest.err conftest.$ac_objext \
17848 conftest$ac_exeext conftest.$ac_ext
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17851 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17852 if test $gcc_cv_math_func_cargl = yes; then
17854 cat >>confdefs.h <<_ACEOF
17855 #define HAVE_CARGL 1
17856 _ACEOF
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17864 $as_echo_n "checking for ceilf... " >&6; }
17865 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17866 $as_echo_n "(cached) " >&6
17867 else
17868 if test x$gcc_no_link = xyes; then
17869 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17874 #ifdef HAVE_COMPLEX_H
17875 #include <complex.h>
17876 #endif
17877 #ifdef HAVE_MATH_H
17878 #include <math.h>
17879 #endif
17881 int (*ptr)() = (int (*)())ceilf;
17884 main ()
17886 return 0;
17889 _ACEOF
17890 if ac_fn_c_try_link "$LINENO"; then :
17891 gcc_cv_math_func_ceilf=yes
17892 else
17893 gcc_cv_math_func_ceilf=no
17895 rm -f core conftest.err conftest.$ac_objext \
17896 conftest$ac_exeext conftest.$ac_ext
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17899 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17900 if test $gcc_cv_math_func_ceilf = yes; then
17902 cat >>confdefs.h <<_ACEOF
17903 #define HAVE_CEILF 1
17904 _ACEOF
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17912 $as_echo_n "checking for ceil... " >&6; }
17913 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17914 $as_echo_n "(cached) " >&6
17915 else
17916 if test x$gcc_no_link = xyes; then
17917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17922 #ifdef HAVE_COMPLEX_H
17923 #include <complex.h>
17924 #endif
17925 #ifdef HAVE_MATH_H
17926 #include <math.h>
17927 #endif
17929 int (*ptr)() = (int (*)())ceil;
17932 main ()
17934 return 0;
17937 _ACEOF
17938 if ac_fn_c_try_link "$LINENO"; then :
17939 gcc_cv_math_func_ceil=yes
17940 else
17941 gcc_cv_math_func_ceil=no
17943 rm -f core conftest.err conftest.$ac_objext \
17944 conftest$ac_exeext conftest.$ac_ext
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17947 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17948 if test $gcc_cv_math_func_ceil = yes; then
17950 cat >>confdefs.h <<_ACEOF
17951 #define HAVE_CEIL 1
17952 _ACEOF
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17960 $as_echo_n "checking for ceill... " >&6; }
17961 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17962 $as_echo_n "(cached) " >&6
17963 else
17964 if test x$gcc_no_link = xyes; then
17965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17970 #ifdef HAVE_COMPLEX_H
17971 #include <complex.h>
17972 #endif
17973 #ifdef HAVE_MATH_H
17974 #include <math.h>
17975 #endif
17977 int (*ptr)() = (int (*)())ceill;
17980 main ()
17982 return 0;
17985 _ACEOF
17986 if ac_fn_c_try_link "$LINENO"; then :
17987 gcc_cv_math_func_ceill=yes
17988 else
17989 gcc_cv_math_func_ceill=no
17991 rm -f core conftest.err conftest.$ac_objext \
17992 conftest$ac_exeext conftest.$ac_ext
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17995 $as_echo "$gcc_cv_math_func_ceill" >&6; }
17996 if test $gcc_cv_math_func_ceill = yes; then
17998 cat >>confdefs.h <<_ACEOF
17999 #define HAVE_CEILL 1
18000 _ACEOF
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18008 $as_echo_n "checking for copysignf... " >&6; }
18009 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18010 $as_echo_n "(cached) " >&6
18011 else
18012 if test x$gcc_no_link = xyes; then
18013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h. */
18018 #ifdef HAVE_COMPLEX_H
18019 #include <complex.h>
18020 #endif
18021 #ifdef HAVE_MATH_H
18022 #include <math.h>
18023 #endif
18025 int (*ptr)() = (int (*)())copysignf;
18028 main ()
18030 return 0;
18033 _ACEOF
18034 if ac_fn_c_try_link "$LINENO"; then :
18035 gcc_cv_math_func_copysignf=yes
18036 else
18037 gcc_cv_math_func_copysignf=no
18039 rm -f core conftest.err conftest.$ac_objext \
18040 conftest$ac_exeext conftest.$ac_ext
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18043 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18044 if test $gcc_cv_math_func_copysignf = yes; then
18046 cat >>confdefs.h <<_ACEOF
18047 #define HAVE_COPYSIGNF 1
18048 _ACEOF
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18056 $as_echo_n "checking for copysign... " >&6; }
18057 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18058 $as_echo_n "(cached) " >&6
18059 else
18060 if test x$gcc_no_link = xyes; then
18061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18066 #ifdef HAVE_COMPLEX_H
18067 #include <complex.h>
18068 #endif
18069 #ifdef HAVE_MATH_H
18070 #include <math.h>
18071 #endif
18073 int (*ptr)() = (int (*)())copysign;
18076 main ()
18078 return 0;
18081 _ACEOF
18082 if ac_fn_c_try_link "$LINENO"; then :
18083 gcc_cv_math_func_copysign=yes
18084 else
18085 gcc_cv_math_func_copysign=no
18087 rm -f core conftest.err conftest.$ac_objext \
18088 conftest$ac_exeext conftest.$ac_ext
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18091 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18092 if test $gcc_cv_math_func_copysign = yes; then
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_COPYSIGN 1
18096 _ACEOF
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18104 $as_echo_n "checking for copysignl... " >&6; }
18105 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18106 $as_echo_n "(cached) " >&6
18107 else
18108 if test x$gcc_no_link = xyes; then
18109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18112 /* end confdefs.h. */
18114 #ifdef HAVE_COMPLEX_H
18115 #include <complex.h>
18116 #endif
18117 #ifdef HAVE_MATH_H
18118 #include <math.h>
18119 #endif
18121 int (*ptr)() = (int (*)())copysignl;
18124 main ()
18126 return 0;
18129 _ACEOF
18130 if ac_fn_c_try_link "$LINENO"; then :
18131 gcc_cv_math_func_copysignl=yes
18132 else
18133 gcc_cv_math_func_copysignl=no
18135 rm -f core conftest.err conftest.$ac_objext \
18136 conftest$ac_exeext conftest.$ac_ext
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18139 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18140 if test $gcc_cv_math_func_copysignl = yes; then
18142 cat >>confdefs.h <<_ACEOF
18143 #define HAVE_COPYSIGNL 1
18144 _ACEOF
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18152 $as_echo_n "checking for cosf... " >&6; }
18153 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18154 $as_echo_n "(cached) " >&6
18155 else
18156 if test x$gcc_no_link = xyes; then
18157 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18160 /* end confdefs.h. */
18162 #ifdef HAVE_COMPLEX_H
18163 #include <complex.h>
18164 #endif
18165 #ifdef HAVE_MATH_H
18166 #include <math.h>
18167 #endif
18169 int (*ptr)() = (int (*)())cosf;
18172 main ()
18174 return 0;
18177 _ACEOF
18178 if ac_fn_c_try_link "$LINENO"; then :
18179 gcc_cv_math_func_cosf=yes
18180 else
18181 gcc_cv_math_func_cosf=no
18183 rm -f core conftest.err conftest.$ac_objext \
18184 conftest$ac_exeext conftest.$ac_ext
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18187 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18188 if test $gcc_cv_math_func_cosf = yes; then
18190 cat >>confdefs.h <<_ACEOF
18191 #define HAVE_COSF 1
18192 _ACEOF
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18200 $as_echo_n "checking for cos... " >&6; }
18201 if test "${gcc_cv_math_func_cos+set}" = set; then :
18202 $as_echo_n "(cached) " >&6
18203 else
18204 if test x$gcc_no_link = xyes; then
18205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18208 /* end confdefs.h. */
18210 #ifdef HAVE_COMPLEX_H
18211 #include <complex.h>
18212 #endif
18213 #ifdef HAVE_MATH_H
18214 #include <math.h>
18215 #endif
18217 int (*ptr)() = (int (*)())cos;
18220 main ()
18222 return 0;
18225 _ACEOF
18226 if ac_fn_c_try_link "$LINENO"; then :
18227 gcc_cv_math_func_cos=yes
18228 else
18229 gcc_cv_math_func_cos=no
18231 rm -f core conftest.err conftest.$ac_objext \
18232 conftest$ac_exeext conftest.$ac_ext
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18235 $as_echo "$gcc_cv_math_func_cos" >&6; }
18236 if test $gcc_cv_math_func_cos = yes; then
18238 cat >>confdefs.h <<_ACEOF
18239 #define HAVE_COS 1
18240 _ACEOF
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18248 $as_echo_n "checking for cosl... " >&6; }
18249 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18250 $as_echo_n "(cached) " >&6
18251 else
18252 if test x$gcc_no_link = xyes; then
18253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18258 #ifdef HAVE_COMPLEX_H
18259 #include <complex.h>
18260 #endif
18261 #ifdef HAVE_MATH_H
18262 #include <math.h>
18263 #endif
18265 int (*ptr)() = (int (*)())cosl;
18268 main ()
18270 return 0;
18273 _ACEOF
18274 if ac_fn_c_try_link "$LINENO"; then :
18275 gcc_cv_math_func_cosl=yes
18276 else
18277 gcc_cv_math_func_cosl=no
18279 rm -f core conftest.err conftest.$ac_objext \
18280 conftest$ac_exeext conftest.$ac_ext
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18283 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18284 if test $gcc_cv_math_func_cosl = yes; then
18286 cat >>confdefs.h <<_ACEOF
18287 #define HAVE_COSL 1
18288 _ACEOF
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18296 $as_echo_n "checking for ccosf... " >&6; }
18297 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18298 $as_echo_n "(cached) " >&6
18299 else
18300 if test x$gcc_no_link = xyes; then
18301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18304 /* end confdefs.h. */
18306 #ifdef HAVE_COMPLEX_H
18307 #include <complex.h>
18308 #endif
18309 #ifdef HAVE_MATH_H
18310 #include <math.h>
18311 #endif
18313 int (*ptr)() = (int (*)())ccosf;
18316 main ()
18318 return 0;
18321 _ACEOF
18322 if ac_fn_c_try_link "$LINENO"; then :
18323 gcc_cv_math_func_ccosf=yes
18324 else
18325 gcc_cv_math_func_ccosf=no
18327 rm -f core conftest.err conftest.$ac_objext \
18328 conftest$ac_exeext conftest.$ac_ext
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18331 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18332 if test $gcc_cv_math_func_ccosf = yes; then
18334 cat >>confdefs.h <<_ACEOF
18335 #define HAVE_CCOSF 1
18336 _ACEOF
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18344 $as_echo_n "checking for ccos... " >&6; }
18345 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18346 $as_echo_n "(cached) " >&6
18347 else
18348 if test x$gcc_no_link = xyes; then
18349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18352 /* end confdefs.h. */
18354 #ifdef HAVE_COMPLEX_H
18355 #include <complex.h>
18356 #endif
18357 #ifdef HAVE_MATH_H
18358 #include <math.h>
18359 #endif
18361 int (*ptr)() = (int (*)())ccos;
18364 main ()
18366 return 0;
18369 _ACEOF
18370 if ac_fn_c_try_link "$LINENO"; then :
18371 gcc_cv_math_func_ccos=yes
18372 else
18373 gcc_cv_math_func_ccos=no
18375 rm -f core conftest.err conftest.$ac_objext \
18376 conftest$ac_exeext conftest.$ac_ext
18378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18379 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18380 if test $gcc_cv_math_func_ccos = yes; then
18382 cat >>confdefs.h <<_ACEOF
18383 #define HAVE_CCOS 1
18384 _ACEOF
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18392 $as_echo_n "checking for ccosl... " >&6; }
18393 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18394 $as_echo_n "(cached) " >&6
18395 else
18396 if test x$gcc_no_link = xyes; then
18397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18402 #ifdef HAVE_COMPLEX_H
18403 #include <complex.h>
18404 #endif
18405 #ifdef HAVE_MATH_H
18406 #include <math.h>
18407 #endif
18409 int (*ptr)() = (int (*)())ccosl;
18412 main ()
18414 return 0;
18417 _ACEOF
18418 if ac_fn_c_try_link "$LINENO"; then :
18419 gcc_cv_math_func_ccosl=yes
18420 else
18421 gcc_cv_math_func_ccosl=no
18423 rm -f core conftest.err conftest.$ac_objext \
18424 conftest$ac_exeext conftest.$ac_ext
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18427 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18428 if test $gcc_cv_math_func_ccosl = yes; then
18430 cat >>confdefs.h <<_ACEOF
18431 #define HAVE_CCOSL 1
18432 _ACEOF
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18440 $as_echo_n "checking for coshf... " >&6; }
18441 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18442 $as_echo_n "(cached) " >&6
18443 else
18444 if test x$gcc_no_link = xyes; then
18445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18450 #ifdef HAVE_COMPLEX_H
18451 #include <complex.h>
18452 #endif
18453 #ifdef HAVE_MATH_H
18454 #include <math.h>
18455 #endif
18457 int (*ptr)() = (int (*)())coshf;
18460 main ()
18462 return 0;
18465 _ACEOF
18466 if ac_fn_c_try_link "$LINENO"; then :
18467 gcc_cv_math_func_coshf=yes
18468 else
18469 gcc_cv_math_func_coshf=no
18471 rm -f core conftest.err conftest.$ac_objext \
18472 conftest$ac_exeext conftest.$ac_ext
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18475 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18476 if test $gcc_cv_math_func_coshf = yes; then
18478 cat >>confdefs.h <<_ACEOF
18479 #define HAVE_COSHF 1
18480 _ACEOF
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18488 $as_echo_n "checking for cosh... " >&6; }
18489 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18490 $as_echo_n "(cached) " >&6
18491 else
18492 if test x$gcc_no_link = xyes; then
18493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18498 #ifdef HAVE_COMPLEX_H
18499 #include <complex.h>
18500 #endif
18501 #ifdef HAVE_MATH_H
18502 #include <math.h>
18503 #endif
18505 int (*ptr)() = (int (*)())cosh;
18508 main ()
18510 return 0;
18513 _ACEOF
18514 if ac_fn_c_try_link "$LINENO"; then :
18515 gcc_cv_math_func_cosh=yes
18516 else
18517 gcc_cv_math_func_cosh=no
18519 rm -f core conftest.err conftest.$ac_objext \
18520 conftest$ac_exeext conftest.$ac_ext
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18523 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18524 if test $gcc_cv_math_func_cosh = yes; then
18526 cat >>confdefs.h <<_ACEOF
18527 #define HAVE_COSH 1
18528 _ACEOF
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18536 $as_echo_n "checking for coshl... " >&6; }
18537 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18538 $as_echo_n "(cached) " >&6
18539 else
18540 if test x$gcc_no_link = xyes; then
18541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18546 #ifdef HAVE_COMPLEX_H
18547 #include <complex.h>
18548 #endif
18549 #ifdef HAVE_MATH_H
18550 #include <math.h>
18551 #endif
18553 int (*ptr)() = (int (*)())coshl;
18556 main ()
18558 return 0;
18561 _ACEOF
18562 if ac_fn_c_try_link "$LINENO"; then :
18563 gcc_cv_math_func_coshl=yes
18564 else
18565 gcc_cv_math_func_coshl=no
18567 rm -f core conftest.err conftest.$ac_objext \
18568 conftest$ac_exeext conftest.$ac_ext
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18571 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18572 if test $gcc_cv_math_func_coshl = yes; then
18574 cat >>confdefs.h <<_ACEOF
18575 #define HAVE_COSHL 1
18576 _ACEOF
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18584 $as_echo_n "checking for ccoshf... " >&6; }
18585 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18586 $as_echo_n "(cached) " >&6
18587 else
18588 if test x$gcc_no_link = xyes; then
18589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18594 #ifdef HAVE_COMPLEX_H
18595 #include <complex.h>
18596 #endif
18597 #ifdef HAVE_MATH_H
18598 #include <math.h>
18599 #endif
18601 int (*ptr)() = (int (*)())ccoshf;
18604 main ()
18606 return 0;
18609 _ACEOF
18610 if ac_fn_c_try_link "$LINENO"; then :
18611 gcc_cv_math_func_ccoshf=yes
18612 else
18613 gcc_cv_math_func_ccoshf=no
18615 rm -f core conftest.err conftest.$ac_objext \
18616 conftest$ac_exeext conftest.$ac_ext
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18619 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18620 if test $gcc_cv_math_func_ccoshf = yes; then
18622 cat >>confdefs.h <<_ACEOF
18623 #define HAVE_CCOSHF 1
18624 _ACEOF
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18632 $as_echo_n "checking for ccosh... " >&6; }
18633 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18634 $as_echo_n "(cached) " >&6
18635 else
18636 if test x$gcc_no_link = xyes; then
18637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18642 #ifdef HAVE_COMPLEX_H
18643 #include <complex.h>
18644 #endif
18645 #ifdef HAVE_MATH_H
18646 #include <math.h>
18647 #endif
18649 int (*ptr)() = (int (*)())ccosh;
18652 main ()
18654 return 0;
18657 _ACEOF
18658 if ac_fn_c_try_link "$LINENO"; then :
18659 gcc_cv_math_func_ccosh=yes
18660 else
18661 gcc_cv_math_func_ccosh=no
18663 rm -f core conftest.err conftest.$ac_objext \
18664 conftest$ac_exeext conftest.$ac_ext
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18667 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18668 if test $gcc_cv_math_func_ccosh = yes; then
18670 cat >>confdefs.h <<_ACEOF
18671 #define HAVE_CCOSH 1
18672 _ACEOF
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18680 $as_echo_n "checking for ccoshl... " >&6; }
18681 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18682 $as_echo_n "(cached) " >&6
18683 else
18684 if test x$gcc_no_link = xyes; then
18685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18690 #ifdef HAVE_COMPLEX_H
18691 #include <complex.h>
18692 #endif
18693 #ifdef HAVE_MATH_H
18694 #include <math.h>
18695 #endif
18697 int (*ptr)() = (int (*)())ccoshl;
18700 main ()
18702 return 0;
18705 _ACEOF
18706 if ac_fn_c_try_link "$LINENO"; then :
18707 gcc_cv_math_func_ccoshl=yes
18708 else
18709 gcc_cv_math_func_ccoshl=no
18711 rm -f core conftest.err conftest.$ac_objext \
18712 conftest$ac_exeext conftest.$ac_ext
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18715 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18716 if test $gcc_cv_math_func_ccoshl = yes; then
18718 cat >>confdefs.h <<_ACEOF
18719 #define HAVE_CCOSHL 1
18720 _ACEOF
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18728 $as_echo_n "checking for expf... " >&6; }
18729 if test "${gcc_cv_math_func_expf+set}" = set; then :
18730 $as_echo_n "(cached) " >&6
18731 else
18732 if test x$gcc_no_link = xyes; then
18733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18738 #ifdef HAVE_COMPLEX_H
18739 #include <complex.h>
18740 #endif
18741 #ifdef HAVE_MATH_H
18742 #include <math.h>
18743 #endif
18745 int (*ptr)() = (int (*)())expf;
18748 main ()
18750 return 0;
18753 _ACEOF
18754 if ac_fn_c_try_link "$LINENO"; then :
18755 gcc_cv_math_func_expf=yes
18756 else
18757 gcc_cv_math_func_expf=no
18759 rm -f core conftest.err conftest.$ac_objext \
18760 conftest$ac_exeext conftest.$ac_ext
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18763 $as_echo "$gcc_cv_math_func_expf" >&6; }
18764 if test $gcc_cv_math_func_expf = yes; then
18766 cat >>confdefs.h <<_ACEOF
18767 #define HAVE_EXPF 1
18768 _ACEOF
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18776 $as_echo_n "checking for exp... " >&6; }
18777 if test "${gcc_cv_math_func_exp+set}" = set; then :
18778 $as_echo_n "(cached) " >&6
18779 else
18780 if test x$gcc_no_link = xyes; then
18781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18786 #ifdef HAVE_COMPLEX_H
18787 #include <complex.h>
18788 #endif
18789 #ifdef HAVE_MATH_H
18790 #include <math.h>
18791 #endif
18793 int (*ptr)() = (int (*)())exp;
18796 main ()
18798 return 0;
18801 _ACEOF
18802 if ac_fn_c_try_link "$LINENO"; then :
18803 gcc_cv_math_func_exp=yes
18804 else
18805 gcc_cv_math_func_exp=no
18807 rm -f core conftest.err conftest.$ac_objext \
18808 conftest$ac_exeext conftest.$ac_ext
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18811 $as_echo "$gcc_cv_math_func_exp" >&6; }
18812 if test $gcc_cv_math_func_exp = yes; then
18814 cat >>confdefs.h <<_ACEOF
18815 #define HAVE_EXP 1
18816 _ACEOF
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18824 $as_echo_n "checking for expl... " >&6; }
18825 if test "${gcc_cv_math_func_expl+set}" = set; then :
18826 $as_echo_n "(cached) " >&6
18827 else
18828 if test x$gcc_no_link = xyes; then
18829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18834 #ifdef HAVE_COMPLEX_H
18835 #include <complex.h>
18836 #endif
18837 #ifdef HAVE_MATH_H
18838 #include <math.h>
18839 #endif
18841 int (*ptr)() = (int (*)())expl;
18844 main ()
18846 return 0;
18849 _ACEOF
18850 if ac_fn_c_try_link "$LINENO"; then :
18851 gcc_cv_math_func_expl=yes
18852 else
18853 gcc_cv_math_func_expl=no
18855 rm -f core conftest.err conftest.$ac_objext \
18856 conftest$ac_exeext conftest.$ac_ext
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18859 $as_echo "$gcc_cv_math_func_expl" >&6; }
18860 if test $gcc_cv_math_func_expl = yes; then
18862 cat >>confdefs.h <<_ACEOF
18863 #define HAVE_EXPL 1
18864 _ACEOF
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18872 $as_echo_n "checking for cexpf... " >&6; }
18873 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18874 $as_echo_n "(cached) " >&6
18875 else
18876 if test x$gcc_no_link = xyes; then
18877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18880 /* end confdefs.h. */
18882 #ifdef HAVE_COMPLEX_H
18883 #include <complex.h>
18884 #endif
18885 #ifdef HAVE_MATH_H
18886 #include <math.h>
18887 #endif
18889 int (*ptr)() = (int (*)())cexpf;
18892 main ()
18894 return 0;
18897 _ACEOF
18898 if ac_fn_c_try_link "$LINENO"; then :
18899 gcc_cv_math_func_cexpf=yes
18900 else
18901 gcc_cv_math_func_cexpf=no
18903 rm -f core conftest.err conftest.$ac_objext \
18904 conftest$ac_exeext conftest.$ac_ext
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18907 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18908 if test $gcc_cv_math_func_cexpf = yes; then
18910 cat >>confdefs.h <<_ACEOF
18911 #define HAVE_CEXPF 1
18912 _ACEOF
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18920 $as_echo_n "checking for cexp... " >&6; }
18921 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18922 $as_echo_n "(cached) " >&6
18923 else
18924 if test x$gcc_no_link = xyes; then
18925 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18930 #ifdef HAVE_COMPLEX_H
18931 #include <complex.h>
18932 #endif
18933 #ifdef HAVE_MATH_H
18934 #include <math.h>
18935 #endif
18937 int (*ptr)() = (int (*)())cexp;
18940 main ()
18942 return 0;
18945 _ACEOF
18946 if ac_fn_c_try_link "$LINENO"; then :
18947 gcc_cv_math_func_cexp=yes
18948 else
18949 gcc_cv_math_func_cexp=no
18951 rm -f core conftest.err conftest.$ac_objext \
18952 conftest$ac_exeext conftest.$ac_ext
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18955 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18956 if test $gcc_cv_math_func_cexp = yes; then
18958 cat >>confdefs.h <<_ACEOF
18959 #define HAVE_CEXP 1
18960 _ACEOF
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18968 $as_echo_n "checking for cexpl... " >&6; }
18969 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18970 $as_echo_n "(cached) " >&6
18971 else
18972 if test x$gcc_no_link = xyes; then
18973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18978 #ifdef HAVE_COMPLEX_H
18979 #include <complex.h>
18980 #endif
18981 #ifdef HAVE_MATH_H
18982 #include <math.h>
18983 #endif
18985 int (*ptr)() = (int (*)())cexpl;
18988 main ()
18990 return 0;
18993 _ACEOF
18994 if ac_fn_c_try_link "$LINENO"; then :
18995 gcc_cv_math_func_cexpl=yes
18996 else
18997 gcc_cv_math_func_cexpl=no
18999 rm -f core conftest.err conftest.$ac_objext \
19000 conftest$ac_exeext conftest.$ac_ext
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19003 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19004 if test $gcc_cv_math_func_cexpl = yes; then
19006 cat >>confdefs.h <<_ACEOF
19007 #define HAVE_CEXPL 1
19008 _ACEOF
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19016 $as_echo_n "checking for fabsf... " >&6; }
19017 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19018 $as_echo_n "(cached) " >&6
19019 else
19020 if test x$gcc_no_link = xyes; then
19021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19026 #ifdef HAVE_COMPLEX_H
19027 #include <complex.h>
19028 #endif
19029 #ifdef HAVE_MATH_H
19030 #include <math.h>
19031 #endif
19033 int (*ptr)() = (int (*)())fabsf;
19036 main ()
19038 return 0;
19041 _ACEOF
19042 if ac_fn_c_try_link "$LINENO"; then :
19043 gcc_cv_math_func_fabsf=yes
19044 else
19045 gcc_cv_math_func_fabsf=no
19047 rm -f core conftest.err conftest.$ac_objext \
19048 conftest$ac_exeext conftest.$ac_ext
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19051 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19052 if test $gcc_cv_math_func_fabsf = yes; then
19054 cat >>confdefs.h <<_ACEOF
19055 #define HAVE_FABSF 1
19056 _ACEOF
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19064 $as_echo_n "checking for fabs... " >&6; }
19065 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19066 $as_echo_n "(cached) " >&6
19067 else
19068 if test x$gcc_no_link = xyes; then
19069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19074 #ifdef HAVE_COMPLEX_H
19075 #include <complex.h>
19076 #endif
19077 #ifdef HAVE_MATH_H
19078 #include <math.h>
19079 #endif
19081 int (*ptr)() = (int (*)())fabs;
19084 main ()
19086 return 0;
19089 _ACEOF
19090 if ac_fn_c_try_link "$LINENO"; then :
19091 gcc_cv_math_func_fabs=yes
19092 else
19093 gcc_cv_math_func_fabs=no
19095 rm -f core conftest.err conftest.$ac_objext \
19096 conftest$ac_exeext conftest.$ac_ext
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19099 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19100 if test $gcc_cv_math_func_fabs = yes; then
19102 cat >>confdefs.h <<_ACEOF
19103 #define HAVE_FABS 1
19104 _ACEOF
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19112 $as_echo_n "checking for fabsl... " >&6; }
19113 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19114 $as_echo_n "(cached) " >&6
19115 else
19116 if test x$gcc_no_link = xyes; then
19117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19122 #ifdef HAVE_COMPLEX_H
19123 #include <complex.h>
19124 #endif
19125 #ifdef HAVE_MATH_H
19126 #include <math.h>
19127 #endif
19129 int (*ptr)() = (int (*)())fabsl;
19132 main ()
19134 return 0;
19137 _ACEOF
19138 if ac_fn_c_try_link "$LINENO"; then :
19139 gcc_cv_math_func_fabsl=yes
19140 else
19141 gcc_cv_math_func_fabsl=no
19143 rm -f core conftest.err conftest.$ac_objext \
19144 conftest$ac_exeext conftest.$ac_ext
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19147 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19148 if test $gcc_cv_math_func_fabsl = yes; then
19150 cat >>confdefs.h <<_ACEOF
19151 #define HAVE_FABSL 1
19152 _ACEOF
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19160 $as_echo_n "checking for cabsf... " >&6; }
19161 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19162 $as_echo_n "(cached) " >&6
19163 else
19164 if test x$gcc_no_link = xyes; then
19165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19170 #ifdef HAVE_COMPLEX_H
19171 #include <complex.h>
19172 #endif
19173 #ifdef HAVE_MATH_H
19174 #include <math.h>
19175 #endif
19177 int (*ptr)() = (int (*)())cabsf;
19180 main ()
19182 return 0;
19185 _ACEOF
19186 if ac_fn_c_try_link "$LINENO"; then :
19187 gcc_cv_math_func_cabsf=yes
19188 else
19189 gcc_cv_math_func_cabsf=no
19191 rm -f core conftest.err conftest.$ac_objext \
19192 conftest$ac_exeext conftest.$ac_ext
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19195 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19196 if test $gcc_cv_math_func_cabsf = yes; then
19198 cat >>confdefs.h <<_ACEOF
19199 #define HAVE_CABSF 1
19200 _ACEOF
19207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19208 $as_echo_n "checking for cabs... " >&6; }
19209 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19210 $as_echo_n "(cached) " >&6
19211 else
19212 if test x$gcc_no_link = xyes; then
19213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19218 #ifdef HAVE_COMPLEX_H
19219 #include <complex.h>
19220 #endif
19221 #ifdef HAVE_MATH_H
19222 #include <math.h>
19223 #endif
19225 int (*ptr)() = (int (*)())cabs;
19228 main ()
19230 return 0;
19233 _ACEOF
19234 if ac_fn_c_try_link "$LINENO"; then :
19235 gcc_cv_math_func_cabs=yes
19236 else
19237 gcc_cv_math_func_cabs=no
19239 rm -f core conftest.err conftest.$ac_objext \
19240 conftest$ac_exeext conftest.$ac_ext
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19243 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19244 if test $gcc_cv_math_func_cabs = yes; then
19246 cat >>confdefs.h <<_ACEOF
19247 #define HAVE_CABS 1
19248 _ACEOF
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19256 $as_echo_n "checking for cabsl... " >&6; }
19257 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19258 $as_echo_n "(cached) " >&6
19259 else
19260 if test x$gcc_no_link = xyes; then
19261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19266 #ifdef HAVE_COMPLEX_H
19267 #include <complex.h>
19268 #endif
19269 #ifdef HAVE_MATH_H
19270 #include <math.h>
19271 #endif
19273 int (*ptr)() = (int (*)())cabsl;
19276 main ()
19278 return 0;
19281 _ACEOF
19282 if ac_fn_c_try_link "$LINENO"; then :
19283 gcc_cv_math_func_cabsl=yes
19284 else
19285 gcc_cv_math_func_cabsl=no
19287 rm -f core conftest.err conftest.$ac_objext \
19288 conftest$ac_exeext conftest.$ac_ext
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19291 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19292 if test $gcc_cv_math_func_cabsl = yes; then
19294 cat >>confdefs.h <<_ACEOF
19295 #define HAVE_CABSL 1
19296 _ACEOF
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19304 $as_echo_n "checking for floorf... " >&6; }
19305 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19306 $as_echo_n "(cached) " >&6
19307 else
19308 if test x$gcc_no_link = xyes; then
19309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h. */
19314 #ifdef HAVE_COMPLEX_H
19315 #include <complex.h>
19316 #endif
19317 #ifdef HAVE_MATH_H
19318 #include <math.h>
19319 #endif
19321 int (*ptr)() = (int (*)())floorf;
19324 main ()
19326 return 0;
19329 _ACEOF
19330 if ac_fn_c_try_link "$LINENO"; then :
19331 gcc_cv_math_func_floorf=yes
19332 else
19333 gcc_cv_math_func_floorf=no
19335 rm -f core conftest.err conftest.$ac_objext \
19336 conftest$ac_exeext conftest.$ac_ext
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19339 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19340 if test $gcc_cv_math_func_floorf = yes; then
19342 cat >>confdefs.h <<_ACEOF
19343 #define HAVE_FLOORF 1
19344 _ACEOF
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19352 $as_echo_n "checking for floor... " >&6; }
19353 if test "${gcc_cv_math_func_floor+set}" = set; then :
19354 $as_echo_n "(cached) " >&6
19355 else
19356 if test x$gcc_no_link = xyes; then
19357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19362 #ifdef HAVE_COMPLEX_H
19363 #include <complex.h>
19364 #endif
19365 #ifdef HAVE_MATH_H
19366 #include <math.h>
19367 #endif
19369 int (*ptr)() = (int (*)())floor;
19372 main ()
19374 return 0;
19377 _ACEOF
19378 if ac_fn_c_try_link "$LINENO"; then :
19379 gcc_cv_math_func_floor=yes
19380 else
19381 gcc_cv_math_func_floor=no
19383 rm -f core conftest.err conftest.$ac_objext \
19384 conftest$ac_exeext conftest.$ac_ext
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19387 $as_echo "$gcc_cv_math_func_floor" >&6; }
19388 if test $gcc_cv_math_func_floor = yes; then
19390 cat >>confdefs.h <<_ACEOF
19391 #define HAVE_FLOOR 1
19392 _ACEOF
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19400 $as_echo_n "checking for floorl... " >&6; }
19401 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19402 $as_echo_n "(cached) " >&6
19403 else
19404 if test x$gcc_no_link = xyes; then
19405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19408 /* end confdefs.h. */
19410 #ifdef HAVE_COMPLEX_H
19411 #include <complex.h>
19412 #endif
19413 #ifdef HAVE_MATH_H
19414 #include <math.h>
19415 #endif
19417 int (*ptr)() = (int (*)())floorl;
19420 main ()
19422 return 0;
19425 _ACEOF
19426 if ac_fn_c_try_link "$LINENO"; then :
19427 gcc_cv_math_func_floorl=yes
19428 else
19429 gcc_cv_math_func_floorl=no
19431 rm -f core conftest.err conftest.$ac_objext \
19432 conftest$ac_exeext conftest.$ac_ext
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19435 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19436 if test $gcc_cv_math_func_floorl = yes; then
19438 cat >>confdefs.h <<_ACEOF
19439 #define HAVE_FLOORL 1
19440 _ACEOF
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19448 $as_echo_n "checking for fmodf... " >&6; }
19449 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19450 $as_echo_n "(cached) " >&6
19451 else
19452 if test x$gcc_no_link = xyes; then
19453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19458 #ifdef HAVE_COMPLEX_H
19459 #include <complex.h>
19460 #endif
19461 #ifdef HAVE_MATH_H
19462 #include <math.h>
19463 #endif
19465 int (*ptr)() = (int (*)())fmodf;
19468 main ()
19470 return 0;
19473 _ACEOF
19474 if ac_fn_c_try_link "$LINENO"; then :
19475 gcc_cv_math_func_fmodf=yes
19476 else
19477 gcc_cv_math_func_fmodf=no
19479 rm -f core conftest.err conftest.$ac_objext \
19480 conftest$ac_exeext conftest.$ac_ext
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19483 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19484 if test $gcc_cv_math_func_fmodf = yes; then
19486 cat >>confdefs.h <<_ACEOF
19487 #define HAVE_FMODF 1
19488 _ACEOF
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19496 $as_echo_n "checking for fmod... " >&6; }
19497 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19498 $as_echo_n "(cached) " >&6
19499 else
19500 if test x$gcc_no_link = xyes; then
19501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19506 #ifdef HAVE_COMPLEX_H
19507 #include <complex.h>
19508 #endif
19509 #ifdef HAVE_MATH_H
19510 #include <math.h>
19511 #endif
19513 int (*ptr)() = (int (*)())fmod;
19516 main ()
19518 return 0;
19521 _ACEOF
19522 if ac_fn_c_try_link "$LINENO"; then :
19523 gcc_cv_math_func_fmod=yes
19524 else
19525 gcc_cv_math_func_fmod=no
19527 rm -f core conftest.err conftest.$ac_objext \
19528 conftest$ac_exeext conftest.$ac_ext
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19531 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19532 if test $gcc_cv_math_func_fmod = yes; then
19534 cat >>confdefs.h <<_ACEOF
19535 #define HAVE_FMOD 1
19536 _ACEOF
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19544 $as_echo_n "checking for fmodl... " >&6; }
19545 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19546 $as_echo_n "(cached) " >&6
19547 else
19548 if test x$gcc_no_link = xyes; then
19549 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19552 /* end confdefs.h. */
19554 #ifdef HAVE_COMPLEX_H
19555 #include <complex.h>
19556 #endif
19557 #ifdef HAVE_MATH_H
19558 #include <math.h>
19559 #endif
19561 int (*ptr)() = (int (*)())fmodl;
19564 main ()
19566 return 0;
19569 _ACEOF
19570 if ac_fn_c_try_link "$LINENO"; then :
19571 gcc_cv_math_func_fmodl=yes
19572 else
19573 gcc_cv_math_func_fmodl=no
19575 rm -f core conftest.err conftest.$ac_objext \
19576 conftest$ac_exeext conftest.$ac_ext
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19579 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19580 if test $gcc_cv_math_func_fmodl = yes; then
19582 cat >>confdefs.h <<_ACEOF
19583 #define HAVE_FMODL 1
19584 _ACEOF
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19592 $as_echo_n "checking for frexpf... " >&6; }
19593 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19594 $as_echo_n "(cached) " >&6
19595 else
19596 if test x$gcc_no_link = xyes; then
19597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19602 #ifdef HAVE_COMPLEX_H
19603 #include <complex.h>
19604 #endif
19605 #ifdef HAVE_MATH_H
19606 #include <math.h>
19607 #endif
19609 int (*ptr)() = (int (*)())frexpf;
19612 main ()
19614 return 0;
19617 _ACEOF
19618 if ac_fn_c_try_link "$LINENO"; then :
19619 gcc_cv_math_func_frexpf=yes
19620 else
19621 gcc_cv_math_func_frexpf=no
19623 rm -f core conftest.err conftest.$ac_objext \
19624 conftest$ac_exeext conftest.$ac_ext
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19627 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19628 if test $gcc_cv_math_func_frexpf = yes; then
19630 cat >>confdefs.h <<_ACEOF
19631 #define HAVE_FREXPF 1
19632 _ACEOF
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19640 $as_echo_n "checking for frexp... " >&6; }
19641 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19642 $as_echo_n "(cached) " >&6
19643 else
19644 if test x$gcc_no_link = xyes; then
19645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19650 #ifdef HAVE_COMPLEX_H
19651 #include <complex.h>
19652 #endif
19653 #ifdef HAVE_MATH_H
19654 #include <math.h>
19655 #endif
19657 int (*ptr)() = (int (*)())frexp;
19660 main ()
19662 return 0;
19665 _ACEOF
19666 if ac_fn_c_try_link "$LINENO"; then :
19667 gcc_cv_math_func_frexp=yes
19668 else
19669 gcc_cv_math_func_frexp=no
19671 rm -f core conftest.err conftest.$ac_objext \
19672 conftest$ac_exeext conftest.$ac_ext
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19675 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19676 if test $gcc_cv_math_func_frexp = yes; then
19678 cat >>confdefs.h <<_ACEOF
19679 #define HAVE_FREXP 1
19680 _ACEOF
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19688 $as_echo_n "checking for frexpl... " >&6; }
19689 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19690 $as_echo_n "(cached) " >&6
19691 else
19692 if test x$gcc_no_link = xyes; then
19693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19696 /* end confdefs.h. */
19698 #ifdef HAVE_COMPLEX_H
19699 #include <complex.h>
19700 #endif
19701 #ifdef HAVE_MATH_H
19702 #include <math.h>
19703 #endif
19705 int (*ptr)() = (int (*)())frexpl;
19708 main ()
19710 return 0;
19713 _ACEOF
19714 if ac_fn_c_try_link "$LINENO"; then :
19715 gcc_cv_math_func_frexpl=yes
19716 else
19717 gcc_cv_math_func_frexpl=no
19719 rm -f core conftest.err conftest.$ac_objext \
19720 conftest$ac_exeext conftest.$ac_ext
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19723 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19724 if test $gcc_cv_math_func_frexpl = yes; then
19726 cat >>confdefs.h <<_ACEOF
19727 #define HAVE_FREXPL 1
19728 _ACEOF
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19736 $as_echo_n "checking for hypotf... " >&6; }
19737 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19738 $as_echo_n "(cached) " >&6
19739 else
19740 if test x$gcc_no_link = xyes; then
19741 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19744 /* end confdefs.h. */
19746 #ifdef HAVE_COMPLEX_H
19747 #include <complex.h>
19748 #endif
19749 #ifdef HAVE_MATH_H
19750 #include <math.h>
19751 #endif
19753 int (*ptr)() = (int (*)())hypotf;
19756 main ()
19758 return 0;
19761 _ACEOF
19762 if ac_fn_c_try_link "$LINENO"; then :
19763 gcc_cv_math_func_hypotf=yes
19764 else
19765 gcc_cv_math_func_hypotf=no
19767 rm -f core conftest.err conftest.$ac_objext \
19768 conftest$ac_exeext conftest.$ac_ext
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19771 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19772 if test $gcc_cv_math_func_hypotf = yes; then
19774 cat >>confdefs.h <<_ACEOF
19775 #define HAVE_HYPOTF 1
19776 _ACEOF
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19784 $as_echo_n "checking for hypot... " >&6; }
19785 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19786 $as_echo_n "(cached) " >&6
19787 else
19788 if test x$gcc_no_link = xyes; then
19789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19792 /* end confdefs.h. */
19794 #ifdef HAVE_COMPLEX_H
19795 #include <complex.h>
19796 #endif
19797 #ifdef HAVE_MATH_H
19798 #include <math.h>
19799 #endif
19801 int (*ptr)() = (int (*)())hypot;
19804 main ()
19806 return 0;
19809 _ACEOF
19810 if ac_fn_c_try_link "$LINENO"; then :
19811 gcc_cv_math_func_hypot=yes
19812 else
19813 gcc_cv_math_func_hypot=no
19815 rm -f core conftest.err conftest.$ac_objext \
19816 conftest$ac_exeext conftest.$ac_ext
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19819 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19820 if test $gcc_cv_math_func_hypot = yes; then
19822 cat >>confdefs.h <<_ACEOF
19823 #define HAVE_HYPOT 1
19824 _ACEOF
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19832 $as_echo_n "checking for hypotl... " >&6; }
19833 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19834 $as_echo_n "(cached) " >&6
19835 else
19836 if test x$gcc_no_link = xyes; then
19837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19842 #ifdef HAVE_COMPLEX_H
19843 #include <complex.h>
19844 #endif
19845 #ifdef HAVE_MATH_H
19846 #include <math.h>
19847 #endif
19849 int (*ptr)() = (int (*)())hypotl;
19852 main ()
19854 return 0;
19857 _ACEOF
19858 if ac_fn_c_try_link "$LINENO"; then :
19859 gcc_cv_math_func_hypotl=yes
19860 else
19861 gcc_cv_math_func_hypotl=no
19863 rm -f core conftest.err conftest.$ac_objext \
19864 conftest$ac_exeext conftest.$ac_ext
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19867 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19868 if test $gcc_cv_math_func_hypotl = yes; then
19870 cat >>confdefs.h <<_ACEOF
19871 #define HAVE_HYPOTL 1
19872 _ACEOF
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19880 $as_echo_n "checking for ldexpf... " >&6; }
19881 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19882 $as_echo_n "(cached) " >&6
19883 else
19884 if test x$gcc_no_link = xyes; then
19885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19888 /* end confdefs.h. */
19890 #ifdef HAVE_COMPLEX_H
19891 #include <complex.h>
19892 #endif
19893 #ifdef HAVE_MATH_H
19894 #include <math.h>
19895 #endif
19897 int (*ptr)() = (int (*)())ldexpf;
19900 main ()
19902 return 0;
19905 _ACEOF
19906 if ac_fn_c_try_link "$LINENO"; then :
19907 gcc_cv_math_func_ldexpf=yes
19908 else
19909 gcc_cv_math_func_ldexpf=no
19911 rm -f core conftest.err conftest.$ac_objext \
19912 conftest$ac_exeext conftest.$ac_ext
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19915 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19916 if test $gcc_cv_math_func_ldexpf = yes; then
19918 cat >>confdefs.h <<_ACEOF
19919 #define HAVE_LDEXPF 1
19920 _ACEOF
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19928 $as_echo_n "checking for ldexp... " >&6; }
19929 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19930 $as_echo_n "(cached) " >&6
19931 else
19932 if test x$gcc_no_link = xyes; then
19933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19936 /* end confdefs.h. */
19938 #ifdef HAVE_COMPLEX_H
19939 #include <complex.h>
19940 #endif
19941 #ifdef HAVE_MATH_H
19942 #include <math.h>
19943 #endif
19945 int (*ptr)() = (int (*)())ldexp;
19948 main ()
19950 return 0;
19953 _ACEOF
19954 if ac_fn_c_try_link "$LINENO"; then :
19955 gcc_cv_math_func_ldexp=yes
19956 else
19957 gcc_cv_math_func_ldexp=no
19959 rm -f core conftest.err conftest.$ac_objext \
19960 conftest$ac_exeext conftest.$ac_ext
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19963 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19964 if test $gcc_cv_math_func_ldexp = yes; then
19966 cat >>confdefs.h <<_ACEOF
19967 #define HAVE_LDEXP 1
19968 _ACEOF
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19976 $as_echo_n "checking for ldexpl... " >&6; }
19977 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19978 $as_echo_n "(cached) " >&6
19979 else
19980 if test x$gcc_no_link = xyes; then
19981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19984 /* end confdefs.h. */
19986 #ifdef HAVE_COMPLEX_H
19987 #include <complex.h>
19988 #endif
19989 #ifdef HAVE_MATH_H
19990 #include <math.h>
19991 #endif
19993 int (*ptr)() = (int (*)())ldexpl;
19996 main ()
19998 return 0;
20001 _ACEOF
20002 if ac_fn_c_try_link "$LINENO"; then :
20003 gcc_cv_math_func_ldexpl=yes
20004 else
20005 gcc_cv_math_func_ldexpl=no
20007 rm -f core conftest.err conftest.$ac_objext \
20008 conftest$ac_exeext conftest.$ac_ext
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20011 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20012 if test $gcc_cv_math_func_ldexpl = yes; then
20014 cat >>confdefs.h <<_ACEOF
20015 #define HAVE_LDEXPL 1
20016 _ACEOF
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20024 $as_echo_n "checking for logf... " >&6; }
20025 if test "${gcc_cv_math_func_logf+set}" = set; then :
20026 $as_echo_n "(cached) " >&6
20027 else
20028 if test x$gcc_no_link = xyes; then
20029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20032 /* end confdefs.h. */
20034 #ifdef HAVE_COMPLEX_H
20035 #include <complex.h>
20036 #endif
20037 #ifdef HAVE_MATH_H
20038 #include <math.h>
20039 #endif
20041 int (*ptr)() = (int (*)())logf;
20044 main ()
20046 return 0;
20049 _ACEOF
20050 if ac_fn_c_try_link "$LINENO"; then :
20051 gcc_cv_math_func_logf=yes
20052 else
20053 gcc_cv_math_func_logf=no
20055 rm -f core conftest.err conftest.$ac_objext \
20056 conftest$ac_exeext conftest.$ac_ext
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20059 $as_echo "$gcc_cv_math_func_logf" >&6; }
20060 if test $gcc_cv_math_func_logf = yes; then
20062 cat >>confdefs.h <<_ACEOF
20063 #define HAVE_LOGF 1
20064 _ACEOF
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20072 $as_echo_n "checking for log... " >&6; }
20073 if test "${gcc_cv_math_func_log+set}" = set; then :
20074 $as_echo_n "(cached) " >&6
20075 else
20076 if test x$gcc_no_link = xyes; then
20077 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20080 /* end confdefs.h. */
20082 #ifdef HAVE_COMPLEX_H
20083 #include <complex.h>
20084 #endif
20085 #ifdef HAVE_MATH_H
20086 #include <math.h>
20087 #endif
20089 int (*ptr)() = (int (*)())log;
20092 main ()
20094 return 0;
20097 _ACEOF
20098 if ac_fn_c_try_link "$LINENO"; then :
20099 gcc_cv_math_func_log=yes
20100 else
20101 gcc_cv_math_func_log=no
20103 rm -f core conftest.err conftest.$ac_objext \
20104 conftest$ac_exeext conftest.$ac_ext
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20107 $as_echo "$gcc_cv_math_func_log" >&6; }
20108 if test $gcc_cv_math_func_log = yes; then
20110 cat >>confdefs.h <<_ACEOF
20111 #define HAVE_LOG 1
20112 _ACEOF
20119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20120 $as_echo_n "checking for logl... " >&6; }
20121 if test "${gcc_cv_math_func_logl+set}" = set; then :
20122 $as_echo_n "(cached) " >&6
20123 else
20124 if test x$gcc_no_link = xyes; then
20125 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20128 /* end confdefs.h. */
20130 #ifdef HAVE_COMPLEX_H
20131 #include <complex.h>
20132 #endif
20133 #ifdef HAVE_MATH_H
20134 #include <math.h>
20135 #endif
20137 int (*ptr)() = (int (*)())logl;
20140 main ()
20142 return 0;
20145 _ACEOF
20146 if ac_fn_c_try_link "$LINENO"; then :
20147 gcc_cv_math_func_logl=yes
20148 else
20149 gcc_cv_math_func_logl=no
20151 rm -f core conftest.err conftest.$ac_objext \
20152 conftest$ac_exeext conftest.$ac_ext
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20155 $as_echo "$gcc_cv_math_func_logl" >&6; }
20156 if test $gcc_cv_math_func_logl = yes; then
20158 cat >>confdefs.h <<_ACEOF
20159 #define HAVE_LOGL 1
20160 _ACEOF
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20168 $as_echo_n "checking for clogf... " >&6; }
20169 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20170 $as_echo_n "(cached) " >&6
20171 else
20172 if test x$gcc_no_link = xyes; then
20173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h. */
20178 #ifdef HAVE_COMPLEX_H
20179 #include <complex.h>
20180 #endif
20181 #ifdef HAVE_MATH_H
20182 #include <math.h>
20183 #endif
20185 int (*ptr)() = (int (*)())clogf;
20188 main ()
20190 return 0;
20193 _ACEOF
20194 if ac_fn_c_try_link "$LINENO"; then :
20195 gcc_cv_math_func_clogf=yes
20196 else
20197 gcc_cv_math_func_clogf=no
20199 rm -f core conftest.err conftest.$ac_objext \
20200 conftest$ac_exeext conftest.$ac_ext
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20203 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20204 if test $gcc_cv_math_func_clogf = yes; then
20206 cat >>confdefs.h <<_ACEOF
20207 #define HAVE_CLOGF 1
20208 _ACEOF
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20216 $as_echo_n "checking for clog... " >&6; }
20217 if test "${gcc_cv_math_func_clog+set}" = set; then :
20218 $as_echo_n "(cached) " >&6
20219 else
20220 if test x$gcc_no_link = xyes; then
20221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h. */
20226 #ifdef HAVE_COMPLEX_H
20227 #include <complex.h>
20228 #endif
20229 #ifdef HAVE_MATH_H
20230 #include <math.h>
20231 #endif
20233 int (*ptr)() = (int (*)())clog;
20236 main ()
20238 return 0;
20241 _ACEOF
20242 if ac_fn_c_try_link "$LINENO"; then :
20243 gcc_cv_math_func_clog=yes
20244 else
20245 gcc_cv_math_func_clog=no
20247 rm -f core conftest.err conftest.$ac_objext \
20248 conftest$ac_exeext conftest.$ac_ext
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20251 $as_echo "$gcc_cv_math_func_clog" >&6; }
20252 if test $gcc_cv_math_func_clog = yes; then
20254 cat >>confdefs.h <<_ACEOF
20255 #define HAVE_CLOG 1
20256 _ACEOF
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20264 $as_echo_n "checking for clogl... " >&6; }
20265 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20266 $as_echo_n "(cached) " >&6
20267 else
20268 if test x$gcc_no_link = xyes; then
20269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20272 /* end confdefs.h. */
20274 #ifdef HAVE_COMPLEX_H
20275 #include <complex.h>
20276 #endif
20277 #ifdef HAVE_MATH_H
20278 #include <math.h>
20279 #endif
20281 int (*ptr)() = (int (*)())clogl;
20284 main ()
20286 return 0;
20289 _ACEOF
20290 if ac_fn_c_try_link "$LINENO"; then :
20291 gcc_cv_math_func_clogl=yes
20292 else
20293 gcc_cv_math_func_clogl=no
20295 rm -f core conftest.err conftest.$ac_objext \
20296 conftest$ac_exeext conftest.$ac_ext
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20299 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20300 if test $gcc_cv_math_func_clogl = yes; then
20302 cat >>confdefs.h <<_ACEOF
20303 #define HAVE_CLOGL 1
20304 _ACEOF
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20312 $as_echo_n "checking for log10f... " >&6; }
20313 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20314 $as_echo_n "(cached) " >&6
20315 else
20316 if test x$gcc_no_link = xyes; then
20317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20320 /* end confdefs.h. */
20322 #ifdef HAVE_COMPLEX_H
20323 #include <complex.h>
20324 #endif
20325 #ifdef HAVE_MATH_H
20326 #include <math.h>
20327 #endif
20329 int (*ptr)() = (int (*)())log10f;
20332 main ()
20334 return 0;
20337 _ACEOF
20338 if ac_fn_c_try_link "$LINENO"; then :
20339 gcc_cv_math_func_log10f=yes
20340 else
20341 gcc_cv_math_func_log10f=no
20343 rm -f core conftest.err conftest.$ac_objext \
20344 conftest$ac_exeext conftest.$ac_ext
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20347 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20348 if test $gcc_cv_math_func_log10f = yes; then
20350 cat >>confdefs.h <<_ACEOF
20351 #define HAVE_LOG10F 1
20352 _ACEOF
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20360 $as_echo_n "checking for log10... " >&6; }
20361 if test "${gcc_cv_math_func_log10+set}" = set; then :
20362 $as_echo_n "(cached) " >&6
20363 else
20364 if test x$gcc_no_link = xyes; then
20365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20368 /* end confdefs.h. */
20370 #ifdef HAVE_COMPLEX_H
20371 #include <complex.h>
20372 #endif
20373 #ifdef HAVE_MATH_H
20374 #include <math.h>
20375 #endif
20377 int (*ptr)() = (int (*)())log10;
20380 main ()
20382 return 0;
20385 _ACEOF
20386 if ac_fn_c_try_link "$LINENO"; then :
20387 gcc_cv_math_func_log10=yes
20388 else
20389 gcc_cv_math_func_log10=no
20391 rm -f core conftest.err conftest.$ac_objext \
20392 conftest$ac_exeext conftest.$ac_ext
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20395 $as_echo "$gcc_cv_math_func_log10" >&6; }
20396 if test $gcc_cv_math_func_log10 = yes; then
20398 cat >>confdefs.h <<_ACEOF
20399 #define HAVE_LOG10 1
20400 _ACEOF
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20408 $as_echo_n "checking for log10l... " >&6; }
20409 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20410 $as_echo_n "(cached) " >&6
20411 else
20412 if test x$gcc_no_link = xyes; then
20413 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20416 /* end confdefs.h. */
20418 #ifdef HAVE_COMPLEX_H
20419 #include <complex.h>
20420 #endif
20421 #ifdef HAVE_MATH_H
20422 #include <math.h>
20423 #endif
20425 int (*ptr)() = (int (*)())log10l;
20428 main ()
20430 return 0;
20433 _ACEOF
20434 if ac_fn_c_try_link "$LINENO"; then :
20435 gcc_cv_math_func_log10l=yes
20436 else
20437 gcc_cv_math_func_log10l=no
20439 rm -f core conftest.err conftest.$ac_objext \
20440 conftest$ac_exeext conftest.$ac_ext
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20443 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20444 if test $gcc_cv_math_func_log10l = yes; then
20446 cat >>confdefs.h <<_ACEOF
20447 #define HAVE_LOG10L 1
20448 _ACEOF
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20456 $as_echo_n "checking for clog10f... " >&6; }
20457 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20458 $as_echo_n "(cached) " >&6
20459 else
20460 if test x$gcc_no_link = xyes; then
20461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20464 /* end confdefs.h. */
20466 #ifdef HAVE_COMPLEX_H
20467 #include <complex.h>
20468 #endif
20469 #ifdef HAVE_MATH_H
20470 #include <math.h>
20471 #endif
20473 int (*ptr)() = (int (*)())clog10f;
20476 main ()
20478 return 0;
20481 _ACEOF
20482 if ac_fn_c_try_link "$LINENO"; then :
20483 gcc_cv_math_func_clog10f=yes
20484 else
20485 gcc_cv_math_func_clog10f=no
20487 rm -f core conftest.err conftest.$ac_objext \
20488 conftest$ac_exeext conftest.$ac_ext
20490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20491 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20492 if test $gcc_cv_math_func_clog10f = yes; then
20494 cat >>confdefs.h <<_ACEOF
20495 #define HAVE_CLOG10F 1
20496 _ACEOF
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20504 $as_echo_n "checking for clog10... " >&6; }
20505 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20506 $as_echo_n "(cached) " >&6
20507 else
20508 if test x$gcc_no_link = xyes; then
20509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20512 /* end confdefs.h. */
20514 #ifdef HAVE_COMPLEX_H
20515 #include <complex.h>
20516 #endif
20517 #ifdef HAVE_MATH_H
20518 #include <math.h>
20519 #endif
20521 int (*ptr)() = (int (*)())clog10;
20524 main ()
20526 return 0;
20529 _ACEOF
20530 if ac_fn_c_try_link "$LINENO"; then :
20531 gcc_cv_math_func_clog10=yes
20532 else
20533 gcc_cv_math_func_clog10=no
20535 rm -f core conftest.err conftest.$ac_objext \
20536 conftest$ac_exeext conftest.$ac_ext
20538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20539 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20540 if test $gcc_cv_math_func_clog10 = yes; then
20542 cat >>confdefs.h <<_ACEOF
20543 #define HAVE_CLOG10 1
20544 _ACEOF
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20552 $as_echo_n "checking for clog10l... " >&6; }
20553 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20554 $as_echo_n "(cached) " >&6
20555 else
20556 if test x$gcc_no_link = xyes; then
20557 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20560 /* end confdefs.h. */
20562 #ifdef HAVE_COMPLEX_H
20563 #include <complex.h>
20564 #endif
20565 #ifdef HAVE_MATH_H
20566 #include <math.h>
20567 #endif
20569 int (*ptr)() = (int (*)())clog10l;
20572 main ()
20574 return 0;
20577 _ACEOF
20578 if ac_fn_c_try_link "$LINENO"; then :
20579 gcc_cv_math_func_clog10l=yes
20580 else
20581 gcc_cv_math_func_clog10l=no
20583 rm -f core conftest.err conftest.$ac_objext \
20584 conftest$ac_exeext conftest.$ac_ext
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20587 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20588 if test $gcc_cv_math_func_clog10l = yes; then
20590 cat >>confdefs.h <<_ACEOF
20591 #define HAVE_CLOG10L 1
20592 _ACEOF
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20600 $as_echo_n "checking for nextafterf... " >&6; }
20601 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20602 $as_echo_n "(cached) " >&6
20603 else
20604 if test x$gcc_no_link = xyes; then
20605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20608 /* end confdefs.h. */
20610 #ifdef HAVE_COMPLEX_H
20611 #include <complex.h>
20612 #endif
20613 #ifdef HAVE_MATH_H
20614 #include <math.h>
20615 #endif
20617 int (*ptr)() = (int (*)())nextafterf;
20620 main ()
20622 return 0;
20625 _ACEOF
20626 if ac_fn_c_try_link "$LINENO"; then :
20627 gcc_cv_math_func_nextafterf=yes
20628 else
20629 gcc_cv_math_func_nextafterf=no
20631 rm -f core conftest.err conftest.$ac_objext \
20632 conftest$ac_exeext conftest.$ac_ext
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20635 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20636 if test $gcc_cv_math_func_nextafterf = yes; then
20638 cat >>confdefs.h <<_ACEOF
20639 #define HAVE_NEXTAFTERF 1
20640 _ACEOF
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20648 $as_echo_n "checking for nextafter... " >&6; }
20649 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20650 $as_echo_n "(cached) " >&6
20651 else
20652 if test x$gcc_no_link = xyes; then
20653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20656 /* end confdefs.h. */
20658 #ifdef HAVE_COMPLEX_H
20659 #include <complex.h>
20660 #endif
20661 #ifdef HAVE_MATH_H
20662 #include <math.h>
20663 #endif
20665 int (*ptr)() = (int (*)())nextafter;
20668 main ()
20670 return 0;
20673 _ACEOF
20674 if ac_fn_c_try_link "$LINENO"; then :
20675 gcc_cv_math_func_nextafter=yes
20676 else
20677 gcc_cv_math_func_nextafter=no
20679 rm -f core conftest.err conftest.$ac_objext \
20680 conftest$ac_exeext conftest.$ac_ext
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20683 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20684 if test $gcc_cv_math_func_nextafter = yes; then
20686 cat >>confdefs.h <<_ACEOF
20687 #define HAVE_NEXTAFTER 1
20688 _ACEOF
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20696 $as_echo_n "checking for nextafterl... " >&6; }
20697 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20698 $as_echo_n "(cached) " >&6
20699 else
20700 if test x$gcc_no_link = xyes; then
20701 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20706 #ifdef HAVE_COMPLEX_H
20707 #include <complex.h>
20708 #endif
20709 #ifdef HAVE_MATH_H
20710 #include <math.h>
20711 #endif
20713 int (*ptr)() = (int (*)())nextafterl;
20716 main ()
20718 return 0;
20721 _ACEOF
20722 if ac_fn_c_try_link "$LINENO"; then :
20723 gcc_cv_math_func_nextafterl=yes
20724 else
20725 gcc_cv_math_func_nextafterl=no
20727 rm -f core conftest.err conftest.$ac_objext \
20728 conftest$ac_exeext conftest.$ac_ext
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20731 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20732 if test $gcc_cv_math_func_nextafterl = yes; then
20734 cat >>confdefs.h <<_ACEOF
20735 #define HAVE_NEXTAFTERL 1
20736 _ACEOF
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20744 $as_echo_n "checking for powf... " >&6; }
20745 if test "${gcc_cv_math_func_powf+set}" = set; then :
20746 $as_echo_n "(cached) " >&6
20747 else
20748 if test x$gcc_no_link = xyes; then
20749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h. */
20754 #ifdef HAVE_COMPLEX_H
20755 #include <complex.h>
20756 #endif
20757 #ifdef HAVE_MATH_H
20758 #include <math.h>
20759 #endif
20761 int (*ptr)() = (int (*)())powf;
20764 main ()
20766 return 0;
20769 _ACEOF
20770 if ac_fn_c_try_link "$LINENO"; then :
20771 gcc_cv_math_func_powf=yes
20772 else
20773 gcc_cv_math_func_powf=no
20775 rm -f core conftest.err conftest.$ac_objext \
20776 conftest$ac_exeext conftest.$ac_ext
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20779 $as_echo "$gcc_cv_math_func_powf" >&6; }
20780 if test $gcc_cv_math_func_powf = yes; then
20782 cat >>confdefs.h <<_ACEOF
20783 #define HAVE_POWF 1
20784 _ACEOF
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20792 $as_echo_n "checking for pow... " >&6; }
20793 if test "${gcc_cv_math_func_pow+set}" = set; then :
20794 $as_echo_n "(cached) " >&6
20795 else
20796 if test x$gcc_no_link = xyes; then
20797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20800 /* end confdefs.h. */
20802 #ifdef HAVE_COMPLEX_H
20803 #include <complex.h>
20804 #endif
20805 #ifdef HAVE_MATH_H
20806 #include <math.h>
20807 #endif
20809 int (*ptr)() = (int (*)())pow;
20812 main ()
20814 return 0;
20817 _ACEOF
20818 if ac_fn_c_try_link "$LINENO"; then :
20819 gcc_cv_math_func_pow=yes
20820 else
20821 gcc_cv_math_func_pow=no
20823 rm -f core conftest.err conftest.$ac_objext \
20824 conftest$ac_exeext conftest.$ac_ext
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20827 $as_echo "$gcc_cv_math_func_pow" >&6; }
20828 if test $gcc_cv_math_func_pow = yes; then
20830 cat >>confdefs.h <<_ACEOF
20831 #define HAVE_POW 1
20832 _ACEOF
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20840 $as_echo_n "checking for powl... " >&6; }
20841 if test "${gcc_cv_math_func_powl+set}" = set; then :
20842 $as_echo_n "(cached) " >&6
20843 else
20844 if test x$gcc_no_link = xyes; then
20845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20848 /* end confdefs.h. */
20850 #ifdef HAVE_COMPLEX_H
20851 #include <complex.h>
20852 #endif
20853 #ifdef HAVE_MATH_H
20854 #include <math.h>
20855 #endif
20857 int (*ptr)() = (int (*)())powl;
20860 main ()
20862 return 0;
20865 _ACEOF
20866 if ac_fn_c_try_link "$LINENO"; then :
20867 gcc_cv_math_func_powl=yes
20868 else
20869 gcc_cv_math_func_powl=no
20871 rm -f core conftest.err conftest.$ac_objext \
20872 conftest$ac_exeext conftest.$ac_ext
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20875 $as_echo "$gcc_cv_math_func_powl" >&6; }
20876 if test $gcc_cv_math_func_powl = yes; then
20878 cat >>confdefs.h <<_ACEOF
20879 #define HAVE_POWL 1
20880 _ACEOF
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20888 $as_echo_n "checking for cpowf... " >&6; }
20889 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20890 $as_echo_n "(cached) " >&6
20891 else
20892 if test x$gcc_no_link = xyes; then
20893 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20896 /* end confdefs.h. */
20898 #ifdef HAVE_COMPLEX_H
20899 #include <complex.h>
20900 #endif
20901 #ifdef HAVE_MATH_H
20902 #include <math.h>
20903 #endif
20905 int (*ptr)() = (int (*)())cpowf;
20908 main ()
20910 return 0;
20913 _ACEOF
20914 if ac_fn_c_try_link "$LINENO"; then :
20915 gcc_cv_math_func_cpowf=yes
20916 else
20917 gcc_cv_math_func_cpowf=no
20919 rm -f core conftest.err conftest.$ac_objext \
20920 conftest$ac_exeext conftest.$ac_ext
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20923 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20924 if test $gcc_cv_math_func_cpowf = yes; then
20926 cat >>confdefs.h <<_ACEOF
20927 #define HAVE_CPOWF 1
20928 _ACEOF
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20936 $as_echo_n "checking for cpow... " >&6; }
20937 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20938 $as_echo_n "(cached) " >&6
20939 else
20940 if test x$gcc_no_link = xyes; then
20941 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20944 /* end confdefs.h. */
20946 #ifdef HAVE_COMPLEX_H
20947 #include <complex.h>
20948 #endif
20949 #ifdef HAVE_MATH_H
20950 #include <math.h>
20951 #endif
20953 int (*ptr)() = (int (*)())cpow;
20956 main ()
20958 return 0;
20961 _ACEOF
20962 if ac_fn_c_try_link "$LINENO"; then :
20963 gcc_cv_math_func_cpow=yes
20964 else
20965 gcc_cv_math_func_cpow=no
20967 rm -f core conftest.err conftest.$ac_objext \
20968 conftest$ac_exeext conftest.$ac_ext
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20971 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20972 if test $gcc_cv_math_func_cpow = yes; then
20974 cat >>confdefs.h <<_ACEOF
20975 #define HAVE_CPOW 1
20976 _ACEOF
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20984 $as_echo_n "checking for cpowl... " >&6; }
20985 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20986 $as_echo_n "(cached) " >&6
20987 else
20988 if test x$gcc_no_link = xyes; then
20989 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20992 /* end confdefs.h. */
20994 #ifdef HAVE_COMPLEX_H
20995 #include <complex.h>
20996 #endif
20997 #ifdef HAVE_MATH_H
20998 #include <math.h>
20999 #endif
21001 int (*ptr)() = (int (*)())cpowl;
21004 main ()
21006 return 0;
21009 _ACEOF
21010 if ac_fn_c_try_link "$LINENO"; then :
21011 gcc_cv_math_func_cpowl=yes
21012 else
21013 gcc_cv_math_func_cpowl=no
21015 rm -f core conftest.err conftest.$ac_objext \
21016 conftest$ac_exeext conftest.$ac_ext
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21019 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21020 if test $gcc_cv_math_func_cpowl = yes; then
21022 cat >>confdefs.h <<_ACEOF
21023 #define HAVE_CPOWL 1
21024 _ACEOF
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21032 $as_echo_n "checking for roundf... " >&6; }
21033 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21034 $as_echo_n "(cached) " >&6
21035 else
21036 if test x$gcc_no_link = xyes; then
21037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21040 /* end confdefs.h. */
21042 #ifdef HAVE_COMPLEX_H
21043 #include <complex.h>
21044 #endif
21045 #ifdef HAVE_MATH_H
21046 #include <math.h>
21047 #endif
21049 int (*ptr)() = (int (*)())roundf;
21052 main ()
21054 return 0;
21057 _ACEOF
21058 if ac_fn_c_try_link "$LINENO"; then :
21059 gcc_cv_math_func_roundf=yes
21060 else
21061 gcc_cv_math_func_roundf=no
21063 rm -f core conftest.err conftest.$ac_objext \
21064 conftest$ac_exeext conftest.$ac_ext
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21067 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21068 if test $gcc_cv_math_func_roundf = yes; then
21070 cat >>confdefs.h <<_ACEOF
21071 #define HAVE_ROUNDF 1
21072 _ACEOF
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21080 $as_echo_n "checking for round... " >&6; }
21081 if test "${gcc_cv_math_func_round+set}" = set; then :
21082 $as_echo_n "(cached) " >&6
21083 else
21084 if test x$gcc_no_link = xyes; then
21085 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21088 /* end confdefs.h. */
21090 #ifdef HAVE_COMPLEX_H
21091 #include <complex.h>
21092 #endif
21093 #ifdef HAVE_MATH_H
21094 #include <math.h>
21095 #endif
21097 int (*ptr)() = (int (*)())round;
21100 main ()
21102 return 0;
21105 _ACEOF
21106 if ac_fn_c_try_link "$LINENO"; then :
21107 gcc_cv_math_func_round=yes
21108 else
21109 gcc_cv_math_func_round=no
21111 rm -f core conftest.err conftest.$ac_objext \
21112 conftest$ac_exeext conftest.$ac_ext
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21115 $as_echo "$gcc_cv_math_func_round" >&6; }
21116 if test $gcc_cv_math_func_round = yes; then
21118 cat >>confdefs.h <<_ACEOF
21119 #define HAVE_ROUND 1
21120 _ACEOF
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21128 $as_echo_n "checking for roundl... " >&6; }
21129 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21130 $as_echo_n "(cached) " >&6
21131 else
21132 if test x$gcc_no_link = xyes; then
21133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21136 /* end confdefs.h. */
21138 #ifdef HAVE_COMPLEX_H
21139 #include <complex.h>
21140 #endif
21141 #ifdef HAVE_MATH_H
21142 #include <math.h>
21143 #endif
21145 int (*ptr)() = (int (*)())roundl;
21148 main ()
21150 return 0;
21153 _ACEOF
21154 if ac_fn_c_try_link "$LINENO"; then :
21155 gcc_cv_math_func_roundl=yes
21156 else
21157 gcc_cv_math_func_roundl=no
21159 rm -f core conftest.err conftest.$ac_objext \
21160 conftest$ac_exeext conftest.$ac_ext
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21163 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21164 if test $gcc_cv_math_func_roundl = yes; then
21166 cat >>confdefs.h <<_ACEOF
21167 #define HAVE_ROUNDL 1
21168 _ACEOF
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21176 $as_echo_n "checking for lroundf... " >&6; }
21177 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21178 $as_echo_n "(cached) " >&6
21179 else
21180 if test x$gcc_no_link = xyes; then
21181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21184 /* end confdefs.h. */
21186 #ifdef HAVE_COMPLEX_H
21187 #include <complex.h>
21188 #endif
21189 #ifdef HAVE_MATH_H
21190 #include <math.h>
21191 #endif
21193 int (*ptr)() = (int (*)())lroundf;
21196 main ()
21198 return 0;
21201 _ACEOF
21202 if ac_fn_c_try_link "$LINENO"; then :
21203 gcc_cv_math_func_lroundf=yes
21204 else
21205 gcc_cv_math_func_lroundf=no
21207 rm -f core conftest.err conftest.$ac_objext \
21208 conftest$ac_exeext conftest.$ac_ext
21210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21211 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21212 if test $gcc_cv_math_func_lroundf = yes; then
21214 cat >>confdefs.h <<_ACEOF
21215 #define HAVE_LROUNDF 1
21216 _ACEOF
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21224 $as_echo_n "checking for lround... " >&6; }
21225 if test "${gcc_cv_math_func_lround+set}" = set; then :
21226 $as_echo_n "(cached) " >&6
21227 else
21228 if test x$gcc_no_link = xyes; then
21229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21232 /* end confdefs.h. */
21234 #ifdef HAVE_COMPLEX_H
21235 #include <complex.h>
21236 #endif
21237 #ifdef HAVE_MATH_H
21238 #include <math.h>
21239 #endif
21241 int (*ptr)() = (int (*)())lround;
21244 main ()
21246 return 0;
21249 _ACEOF
21250 if ac_fn_c_try_link "$LINENO"; then :
21251 gcc_cv_math_func_lround=yes
21252 else
21253 gcc_cv_math_func_lround=no
21255 rm -f core conftest.err conftest.$ac_objext \
21256 conftest$ac_exeext conftest.$ac_ext
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21259 $as_echo "$gcc_cv_math_func_lround" >&6; }
21260 if test $gcc_cv_math_func_lround = yes; then
21262 cat >>confdefs.h <<_ACEOF
21263 #define HAVE_LROUND 1
21264 _ACEOF
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21272 $as_echo_n "checking for lroundl... " >&6; }
21273 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21274 $as_echo_n "(cached) " >&6
21275 else
21276 if test x$gcc_no_link = xyes; then
21277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21280 /* end confdefs.h. */
21282 #ifdef HAVE_COMPLEX_H
21283 #include <complex.h>
21284 #endif
21285 #ifdef HAVE_MATH_H
21286 #include <math.h>
21287 #endif
21289 int (*ptr)() = (int (*)())lroundl;
21292 main ()
21294 return 0;
21297 _ACEOF
21298 if ac_fn_c_try_link "$LINENO"; then :
21299 gcc_cv_math_func_lroundl=yes
21300 else
21301 gcc_cv_math_func_lroundl=no
21303 rm -f core conftest.err conftest.$ac_objext \
21304 conftest$ac_exeext conftest.$ac_ext
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21307 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21308 if test $gcc_cv_math_func_lroundl = yes; then
21310 cat >>confdefs.h <<_ACEOF
21311 #define HAVE_LROUNDL 1
21312 _ACEOF
21319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21320 $as_echo_n "checking for llroundf... " >&6; }
21321 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21322 $as_echo_n "(cached) " >&6
21323 else
21324 if test x$gcc_no_link = xyes; then
21325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21328 /* end confdefs.h. */
21330 #ifdef HAVE_COMPLEX_H
21331 #include <complex.h>
21332 #endif
21333 #ifdef HAVE_MATH_H
21334 #include <math.h>
21335 #endif
21337 int (*ptr)() = (int (*)())llroundf;
21340 main ()
21342 return 0;
21345 _ACEOF
21346 if ac_fn_c_try_link "$LINENO"; then :
21347 gcc_cv_math_func_llroundf=yes
21348 else
21349 gcc_cv_math_func_llroundf=no
21351 rm -f core conftest.err conftest.$ac_objext \
21352 conftest$ac_exeext conftest.$ac_ext
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21355 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21356 if test $gcc_cv_math_func_llroundf = yes; then
21358 cat >>confdefs.h <<_ACEOF
21359 #define HAVE_LLROUNDF 1
21360 _ACEOF
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21368 $as_echo_n "checking for llround... " >&6; }
21369 if test "${gcc_cv_math_func_llround+set}" = set; then :
21370 $as_echo_n "(cached) " >&6
21371 else
21372 if test x$gcc_no_link = xyes; then
21373 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21376 /* end confdefs.h. */
21378 #ifdef HAVE_COMPLEX_H
21379 #include <complex.h>
21380 #endif
21381 #ifdef HAVE_MATH_H
21382 #include <math.h>
21383 #endif
21385 int (*ptr)() = (int (*)())llround;
21388 main ()
21390 return 0;
21393 _ACEOF
21394 if ac_fn_c_try_link "$LINENO"; then :
21395 gcc_cv_math_func_llround=yes
21396 else
21397 gcc_cv_math_func_llround=no
21399 rm -f core conftest.err conftest.$ac_objext \
21400 conftest$ac_exeext conftest.$ac_ext
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21403 $as_echo "$gcc_cv_math_func_llround" >&6; }
21404 if test $gcc_cv_math_func_llround = yes; then
21406 cat >>confdefs.h <<_ACEOF
21407 #define HAVE_LLROUND 1
21408 _ACEOF
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21416 $as_echo_n "checking for llroundl... " >&6; }
21417 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21418 $as_echo_n "(cached) " >&6
21419 else
21420 if test x$gcc_no_link = xyes; then
21421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21424 /* end confdefs.h. */
21426 #ifdef HAVE_COMPLEX_H
21427 #include <complex.h>
21428 #endif
21429 #ifdef HAVE_MATH_H
21430 #include <math.h>
21431 #endif
21433 int (*ptr)() = (int (*)())llroundl;
21436 main ()
21438 return 0;
21441 _ACEOF
21442 if ac_fn_c_try_link "$LINENO"; then :
21443 gcc_cv_math_func_llroundl=yes
21444 else
21445 gcc_cv_math_func_llroundl=no
21447 rm -f core conftest.err conftest.$ac_objext \
21448 conftest$ac_exeext conftest.$ac_ext
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21451 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21452 if test $gcc_cv_math_func_llroundl = yes; then
21454 cat >>confdefs.h <<_ACEOF
21455 #define HAVE_LLROUNDL 1
21456 _ACEOF
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21464 $as_echo_n "checking for scalbnf... " >&6; }
21465 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21466 $as_echo_n "(cached) " >&6
21467 else
21468 if test x$gcc_no_link = xyes; then
21469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21472 /* end confdefs.h. */
21474 #ifdef HAVE_COMPLEX_H
21475 #include <complex.h>
21476 #endif
21477 #ifdef HAVE_MATH_H
21478 #include <math.h>
21479 #endif
21481 int (*ptr)() = (int (*)())scalbnf;
21484 main ()
21486 return 0;
21489 _ACEOF
21490 if ac_fn_c_try_link "$LINENO"; then :
21491 gcc_cv_math_func_scalbnf=yes
21492 else
21493 gcc_cv_math_func_scalbnf=no
21495 rm -f core conftest.err conftest.$ac_objext \
21496 conftest$ac_exeext conftest.$ac_ext
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21499 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21500 if test $gcc_cv_math_func_scalbnf = yes; then
21502 cat >>confdefs.h <<_ACEOF
21503 #define HAVE_SCALBNF 1
21504 _ACEOF
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21512 $as_echo_n "checking for scalbn... " >&6; }
21513 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21514 $as_echo_n "(cached) " >&6
21515 else
21516 if test x$gcc_no_link = xyes; then
21517 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21520 /* end confdefs.h. */
21522 #ifdef HAVE_COMPLEX_H
21523 #include <complex.h>
21524 #endif
21525 #ifdef HAVE_MATH_H
21526 #include <math.h>
21527 #endif
21529 int (*ptr)() = (int (*)())scalbn;
21532 main ()
21534 return 0;
21537 _ACEOF
21538 if ac_fn_c_try_link "$LINENO"; then :
21539 gcc_cv_math_func_scalbn=yes
21540 else
21541 gcc_cv_math_func_scalbn=no
21543 rm -f core conftest.err conftest.$ac_objext \
21544 conftest$ac_exeext conftest.$ac_ext
21546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21547 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21548 if test $gcc_cv_math_func_scalbn = yes; then
21550 cat >>confdefs.h <<_ACEOF
21551 #define HAVE_SCALBN 1
21552 _ACEOF
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21560 $as_echo_n "checking for scalbnl... " >&6; }
21561 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21562 $as_echo_n "(cached) " >&6
21563 else
21564 if test x$gcc_no_link = xyes; then
21565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h. */
21570 #ifdef HAVE_COMPLEX_H
21571 #include <complex.h>
21572 #endif
21573 #ifdef HAVE_MATH_H
21574 #include <math.h>
21575 #endif
21577 int (*ptr)() = (int (*)())scalbnl;
21580 main ()
21582 return 0;
21585 _ACEOF
21586 if ac_fn_c_try_link "$LINENO"; then :
21587 gcc_cv_math_func_scalbnl=yes
21588 else
21589 gcc_cv_math_func_scalbnl=no
21591 rm -f core conftest.err conftest.$ac_objext \
21592 conftest$ac_exeext conftest.$ac_ext
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21595 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21596 if test $gcc_cv_math_func_scalbnl = yes; then
21598 cat >>confdefs.h <<_ACEOF
21599 #define HAVE_SCALBNL 1
21600 _ACEOF
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21608 $as_echo_n "checking for sinf... " >&6; }
21609 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21610 $as_echo_n "(cached) " >&6
21611 else
21612 if test x$gcc_no_link = xyes; then
21613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21616 /* end confdefs.h. */
21618 #ifdef HAVE_COMPLEX_H
21619 #include <complex.h>
21620 #endif
21621 #ifdef HAVE_MATH_H
21622 #include <math.h>
21623 #endif
21625 int (*ptr)() = (int (*)())sinf;
21628 main ()
21630 return 0;
21633 _ACEOF
21634 if ac_fn_c_try_link "$LINENO"; then :
21635 gcc_cv_math_func_sinf=yes
21636 else
21637 gcc_cv_math_func_sinf=no
21639 rm -f core conftest.err conftest.$ac_objext \
21640 conftest$ac_exeext conftest.$ac_ext
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21643 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21644 if test $gcc_cv_math_func_sinf = yes; then
21646 cat >>confdefs.h <<_ACEOF
21647 #define HAVE_SINF 1
21648 _ACEOF
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21656 $as_echo_n "checking for sin... " >&6; }
21657 if test "${gcc_cv_math_func_sin+set}" = set; then :
21658 $as_echo_n "(cached) " >&6
21659 else
21660 if test x$gcc_no_link = xyes; then
21661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21664 /* end confdefs.h. */
21666 #ifdef HAVE_COMPLEX_H
21667 #include <complex.h>
21668 #endif
21669 #ifdef HAVE_MATH_H
21670 #include <math.h>
21671 #endif
21673 int (*ptr)() = (int (*)())sin;
21676 main ()
21678 return 0;
21681 _ACEOF
21682 if ac_fn_c_try_link "$LINENO"; then :
21683 gcc_cv_math_func_sin=yes
21684 else
21685 gcc_cv_math_func_sin=no
21687 rm -f core conftest.err conftest.$ac_objext \
21688 conftest$ac_exeext conftest.$ac_ext
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21691 $as_echo "$gcc_cv_math_func_sin" >&6; }
21692 if test $gcc_cv_math_func_sin = yes; then
21694 cat >>confdefs.h <<_ACEOF
21695 #define HAVE_SIN 1
21696 _ACEOF
21703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21704 $as_echo_n "checking for sinl... " >&6; }
21705 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21706 $as_echo_n "(cached) " >&6
21707 else
21708 if test x$gcc_no_link = xyes; then
21709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21712 /* end confdefs.h. */
21714 #ifdef HAVE_COMPLEX_H
21715 #include <complex.h>
21716 #endif
21717 #ifdef HAVE_MATH_H
21718 #include <math.h>
21719 #endif
21721 int (*ptr)() = (int (*)())sinl;
21724 main ()
21726 return 0;
21729 _ACEOF
21730 if ac_fn_c_try_link "$LINENO"; then :
21731 gcc_cv_math_func_sinl=yes
21732 else
21733 gcc_cv_math_func_sinl=no
21735 rm -f core conftest.err conftest.$ac_objext \
21736 conftest$ac_exeext conftest.$ac_ext
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21739 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21740 if test $gcc_cv_math_func_sinl = yes; then
21742 cat >>confdefs.h <<_ACEOF
21743 #define HAVE_SINL 1
21744 _ACEOF
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21752 $as_echo_n "checking for csinf... " >&6; }
21753 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21754 $as_echo_n "(cached) " >&6
21755 else
21756 if test x$gcc_no_link = xyes; then
21757 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21760 /* end confdefs.h. */
21762 #ifdef HAVE_COMPLEX_H
21763 #include <complex.h>
21764 #endif
21765 #ifdef HAVE_MATH_H
21766 #include <math.h>
21767 #endif
21769 int (*ptr)() = (int (*)())csinf;
21772 main ()
21774 return 0;
21777 _ACEOF
21778 if ac_fn_c_try_link "$LINENO"; then :
21779 gcc_cv_math_func_csinf=yes
21780 else
21781 gcc_cv_math_func_csinf=no
21783 rm -f core conftest.err conftest.$ac_objext \
21784 conftest$ac_exeext conftest.$ac_ext
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21787 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21788 if test $gcc_cv_math_func_csinf = yes; then
21790 cat >>confdefs.h <<_ACEOF
21791 #define HAVE_CSINF 1
21792 _ACEOF
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21800 $as_echo_n "checking for csin... " >&6; }
21801 if test "${gcc_cv_math_func_csin+set}" = set; then :
21802 $as_echo_n "(cached) " >&6
21803 else
21804 if test x$gcc_no_link = xyes; then
21805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21808 /* end confdefs.h. */
21810 #ifdef HAVE_COMPLEX_H
21811 #include <complex.h>
21812 #endif
21813 #ifdef HAVE_MATH_H
21814 #include <math.h>
21815 #endif
21817 int (*ptr)() = (int (*)())csin;
21820 main ()
21822 return 0;
21825 _ACEOF
21826 if ac_fn_c_try_link "$LINENO"; then :
21827 gcc_cv_math_func_csin=yes
21828 else
21829 gcc_cv_math_func_csin=no
21831 rm -f core conftest.err conftest.$ac_objext \
21832 conftest$ac_exeext conftest.$ac_ext
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21835 $as_echo "$gcc_cv_math_func_csin" >&6; }
21836 if test $gcc_cv_math_func_csin = yes; then
21838 cat >>confdefs.h <<_ACEOF
21839 #define HAVE_CSIN 1
21840 _ACEOF
21847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21848 $as_echo_n "checking for csinl... " >&6; }
21849 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21850 $as_echo_n "(cached) " >&6
21851 else
21852 if test x$gcc_no_link = xyes; then
21853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h. */
21858 #ifdef HAVE_COMPLEX_H
21859 #include <complex.h>
21860 #endif
21861 #ifdef HAVE_MATH_H
21862 #include <math.h>
21863 #endif
21865 int (*ptr)() = (int (*)())csinl;
21868 main ()
21870 return 0;
21873 _ACEOF
21874 if ac_fn_c_try_link "$LINENO"; then :
21875 gcc_cv_math_func_csinl=yes
21876 else
21877 gcc_cv_math_func_csinl=no
21879 rm -f core conftest.err conftest.$ac_objext \
21880 conftest$ac_exeext conftest.$ac_ext
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21883 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21884 if test $gcc_cv_math_func_csinl = yes; then
21886 cat >>confdefs.h <<_ACEOF
21887 #define HAVE_CSINL 1
21888 _ACEOF
21895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21896 $as_echo_n "checking for sinhf... " >&6; }
21897 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21898 $as_echo_n "(cached) " >&6
21899 else
21900 if test x$gcc_no_link = xyes; then
21901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21904 /* end confdefs.h. */
21906 #ifdef HAVE_COMPLEX_H
21907 #include <complex.h>
21908 #endif
21909 #ifdef HAVE_MATH_H
21910 #include <math.h>
21911 #endif
21913 int (*ptr)() = (int (*)())sinhf;
21916 main ()
21918 return 0;
21921 _ACEOF
21922 if ac_fn_c_try_link "$LINENO"; then :
21923 gcc_cv_math_func_sinhf=yes
21924 else
21925 gcc_cv_math_func_sinhf=no
21927 rm -f core conftest.err conftest.$ac_objext \
21928 conftest$ac_exeext conftest.$ac_ext
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21931 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21932 if test $gcc_cv_math_func_sinhf = yes; then
21934 cat >>confdefs.h <<_ACEOF
21935 #define HAVE_SINHF 1
21936 _ACEOF
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21944 $as_echo_n "checking for sinh... " >&6; }
21945 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21946 $as_echo_n "(cached) " >&6
21947 else
21948 if test x$gcc_no_link = xyes; then
21949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21952 /* end confdefs.h. */
21954 #ifdef HAVE_COMPLEX_H
21955 #include <complex.h>
21956 #endif
21957 #ifdef HAVE_MATH_H
21958 #include <math.h>
21959 #endif
21961 int (*ptr)() = (int (*)())sinh;
21964 main ()
21966 return 0;
21969 _ACEOF
21970 if ac_fn_c_try_link "$LINENO"; then :
21971 gcc_cv_math_func_sinh=yes
21972 else
21973 gcc_cv_math_func_sinh=no
21975 rm -f core conftest.err conftest.$ac_objext \
21976 conftest$ac_exeext conftest.$ac_ext
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21979 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21980 if test $gcc_cv_math_func_sinh = yes; then
21982 cat >>confdefs.h <<_ACEOF
21983 #define HAVE_SINH 1
21984 _ACEOF
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21992 $as_echo_n "checking for sinhl... " >&6; }
21993 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21994 $as_echo_n "(cached) " >&6
21995 else
21996 if test x$gcc_no_link = xyes; then
21997 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22000 /* end confdefs.h. */
22002 #ifdef HAVE_COMPLEX_H
22003 #include <complex.h>
22004 #endif
22005 #ifdef HAVE_MATH_H
22006 #include <math.h>
22007 #endif
22009 int (*ptr)() = (int (*)())sinhl;
22012 main ()
22014 return 0;
22017 _ACEOF
22018 if ac_fn_c_try_link "$LINENO"; then :
22019 gcc_cv_math_func_sinhl=yes
22020 else
22021 gcc_cv_math_func_sinhl=no
22023 rm -f core conftest.err conftest.$ac_objext \
22024 conftest$ac_exeext conftest.$ac_ext
22026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22027 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22028 if test $gcc_cv_math_func_sinhl = yes; then
22030 cat >>confdefs.h <<_ACEOF
22031 #define HAVE_SINHL 1
22032 _ACEOF
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22040 $as_echo_n "checking for csinhf... " >&6; }
22041 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22042 $as_echo_n "(cached) " >&6
22043 else
22044 if test x$gcc_no_link = xyes; then
22045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22048 /* end confdefs.h. */
22050 #ifdef HAVE_COMPLEX_H
22051 #include <complex.h>
22052 #endif
22053 #ifdef HAVE_MATH_H
22054 #include <math.h>
22055 #endif
22057 int (*ptr)() = (int (*)())csinhf;
22060 main ()
22062 return 0;
22065 _ACEOF
22066 if ac_fn_c_try_link "$LINENO"; then :
22067 gcc_cv_math_func_csinhf=yes
22068 else
22069 gcc_cv_math_func_csinhf=no
22071 rm -f core conftest.err conftest.$ac_objext \
22072 conftest$ac_exeext conftest.$ac_ext
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22075 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22076 if test $gcc_cv_math_func_csinhf = yes; then
22078 cat >>confdefs.h <<_ACEOF
22079 #define HAVE_CSINHF 1
22080 _ACEOF
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22088 $as_echo_n "checking for csinh... " >&6; }
22089 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22090 $as_echo_n "(cached) " >&6
22091 else
22092 if test x$gcc_no_link = xyes; then
22093 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22096 /* end confdefs.h. */
22098 #ifdef HAVE_COMPLEX_H
22099 #include <complex.h>
22100 #endif
22101 #ifdef HAVE_MATH_H
22102 #include <math.h>
22103 #endif
22105 int (*ptr)() = (int (*)())csinh;
22108 main ()
22110 return 0;
22113 _ACEOF
22114 if ac_fn_c_try_link "$LINENO"; then :
22115 gcc_cv_math_func_csinh=yes
22116 else
22117 gcc_cv_math_func_csinh=no
22119 rm -f core conftest.err conftest.$ac_objext \
22120 conftest$ac_exeext conftest.$ac_ext
22122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22123 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22124 if test $gcc_cv_math_func_csinh = yes; then
22126 cat >>confdefs.h <<_ACEOF
22127 #define HAVE_CSINH 1
22128 _ACEOF
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22136 $as_echo_n "checking for csinhl... " >&6; }
22137 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22138 $as_echo_n "(cached) " >&6
22139 else
22140 if test x$gcc_no_link = xyes; then
22141 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22144 /* end confdefs.h. */
22146 #ifdef HAVE_COMPLEX_H
22147 #include <complex.h>
22148 #endif
22149 #ifdef HAVE_MATH_H
22150 #include <math.h>
22151 #endif
22153 int (*ptr)() = (int (*)())csinhl;
22156 main ()
22158 return 0;
22161 _ACEOF
22162 if ac_fn_c_try_link "$LINENO"; then :
22163 gcc_cv_math_func_csinhl=yes
22164 else
22165 gcc_cv_math_func_csinhl=no
22167 rm -f core conftest.err conftest.$ac_objext \
22168 conftest$ac_exeext conftest.$ac_ext
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22171 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22172 if test $gcc_cv_math_func_csinhl = yes; then
22174 cat >>confdefs.h <<_ACEOF
22175 #define HAVE_CSINHL 1
22176 _ACEOF
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22184 $as_echo_n "checking for sqrtf... " >&6; }
22185 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22186 $as_echo_n "(cached) " >&6
22187 else
22188 if test x$gcc_no_link = xyes; then
22189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22192 /* end confdefs.h. */
22194 #ifdef HAVE_COMPLEX_H
22195 #include <complex.h>
22196 #endif
22197 #ifdef HAVE_MATH_H
22198 #include <math.h>
22199 #endif
22201 int (*ptr)() = (int (*)())sqrtf;
22204 main ()
22206 return 0;
22209 _ACEOF
22210 if ac_fn_c_try_link "$LINENO"; then :
22211 gcc_cv_math_func_sqrtf=yes
22212 else
22213 gcc_cv_math_func_sqrtf=no
22215 rm -f core conftest.err conftest.$ac_objext \
22216 conftest$ac_exeext conftest.$ac_ext
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22219 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22220 if test $gcc_cv_math_func_sqrtf = yes; then
22222 cat >>confdefs.h <<_ACEOF
22223 #define HAVE_SQRTF 1
22224 _ACEOF
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22232 $as_echo_n "checking for sqrt... " >&6; }
22233 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22234 $as_echo_n "(cached) " >&6
22235 else
22236 if test x$gcc_no_link = xyes; then
22237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22240 /* end confdefs.h. */
22242 #ifdef HAVE_COMPLEX_H
22243 #include <complex.h>
22244 #endif
22245 #ifdef HAVE_MATH_H
22246 #include <math.h>
22247 #endif
22249 int (*ptr)() = (int (*)())sqrt;
22252 main ()
22254 return 0;
22257 _ACEOF
22258 if ac_fn_c_try_link "$LINENO"; then :
22259 gcc_cv_math_func_sqrt=yes
22260 else
22261 gcc_cv_math_func_sqrt=no
22263 rm -f core conftest.err conftest.$ac_objext \
22264 conftest$ac_exeext conftest.$ac_ext
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22267 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22268 if test $gcc_cv_math_func_sqrt = yes; then
22270 cat >>confdefs.h <<_ACEOF
22271 #define HAVE_SQRT 1
22272 _ACEOF
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22280 $as_echo_n "checking for sqrtl... " >&6; }
22281 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22282 $as_echo_n "(cached) " >&6
22283 else
22284 if test x$gcc_no_link = xyes; then
22285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h. */
22290 #ifdef HAVE_COMPLEX_H
22291 #include <complex.h>
22292 #endif
22293 #ifdef HAVE_MATH_H
22294 #include <math.h>
22295 #endif
22297 int (*ptr)() = (int (*)())sqrtl;
22300 main ()
22302 return 0;
22305 _ACEOF
22306 if ac_fn_c_try_link "$LINENO"; then :
22307 gcc_cv_math_func_sqrtl=yes
22308 else
22309 gcc_cv_math_func_sqrtl=no
22311 rm -f core conftest.err conftest.$ac_objext \
22312 conftest$ac_exeext conftest.$ac_ext
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22315 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22316 if test $gcc_cv_math_func_sqrtl = yes; then
22318 cat >>confdefs.h <<_ACEOF
22319 #define HAVE_SQRTL 1
22320 _ACEOF
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22328 $as_echo_n "checking for csqrtf... " >&6; }
22329 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22330 $as_echo_n "(cached) " >&6
22331 else
22332 if test x$gcc_no_link = xyes; then
22333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22336 /* end confdefs.h. */
22338 #ifdef HAVE_COMPLEX_H
22339 #include <complex.h>
22340 #endif
22341 #ifdef HAVE_MATH_H
22342 #include <math.h>
22343 #endif
22345 int (*ptr)() = (int (*)())csqrtf;
22348 main ()
22350 return 0;
22353 _ACEOF
22354 if ac_fn_c_try_link "$LINENO"; then :
22355 gcc_cv_math_func_csqrtf=yes
22356 else
22357 gcc_cv_math_func_csqrtf=no
22359 rm -f core conftest.err conftest.$ac_objext \
22360 conftest$ac_exeext conftest.$ac_ext
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22363 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22364 if test $gcc_cv_math_func_csqrtf = yes; then
22366 cat >>confdefs.h <<_ACEOF
22367 #define HAVE_CSQRTF 1
22368 _ACEOF
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22376 $as_echo_n "checking for csqrt... " >&6; }
22377 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22378 $as_echo_n "(cached) " >&6
22379 else
22380 if test x$gcc_no_link = xyes; then
22381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22384 /* end confdefs.h. */
22386 #ifdef HAVE_COMPLEX_H
22387 #include <complex.h>
22388 #endif
22389 #ifdef HAVE_MATH_H
22390 #include <math.h>
22391 #endif
22393 int (*ptr)() = (int (*)())csqrt;
22396 main ()
22398 return 0;
22401 _ACEOF
22402 if ac_fn_c_try_link "$LINENO"; then :
22403 gcc_cv_math_func_csqrt=yes
22404 else
22405 gcc_cv_math_func_csqrt=no
22407 rm -f core conftest.err conftest.$ac_objext \
22408 conftest$ac_exeext conftest.$ac_ext
22410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22411 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22412 if test $gcc_cv_math_func_csqrt = yes; then
22414 cat >>confdefs.h <<_ACEOF
22415 #define HAVE_CSQRT 1
22416 _ACEOF
22423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22424 $as_echo_n "checking for csqrtl... " >&6; }
22425 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22426 $as_echo_n "(cached) " >&6
22427 else
22428 if test x$gcc_no_link = xyes; then
22429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22432 /* end confdefs.h. */
22434 #ifdef HAVE_COMPLEX_H
22435 #include <complex.h>
22436 #endif
22437 #ifdef HAVE_MATH_H
22438 #include <math.h>
22439 #endif
22441 int (*ptr)() = (int (*)())csqrtl;
22444 main ()
22446 return 0;
22449 _ACEOF
22450 if ac_fn_c_try_link "$LINENO"; then :
22451 gcc_cv_math_func_csqrtl=yes
22452 else
22453 gcc_cv_math_func_csqrtl=no
22455 rm -f core conftest.err conftest.$ac_objext \
22456 conftest$ac_exeext conftest.$ac_ext
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22459 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22460 if test $gcc_cv_math_func_csqrtl = yes; then
22462 cat >>confdefs.h <<_ACEOF
22463 #define HAVE_CSQRTL 1
22464 _ACEOF
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22472 $as_echo_n "checking for tanf... " >&6; }
22473 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22474 $as_echo_n "(cached) " >&6
22475 else
22476 if test x$gcc_no_link = xyes; then
22477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22480 /* end confdefs.h. */
22482 #ifdef HAVE_COMPLEX_H
22483 #include <complex.h>
22484 #endif
22485 #ifdef HAVE_MATH_H
22486 #include <math.h>
22487 #endif
22489 int (*ptr)() = (int (*)())tanf;
22492 main ()
22494 return 0;
22497 _ACEOF
22498 if ac_fn_c_try_link "$LINENO"; then :
22499 gcc_cv_math_func_tanf=yes
22500 else
22501 gcc_cv_math_func_tanf=no
22503 rm -f core conftest.err conftest.$ac_objext \
22504 conftest$ac_exeext conftest.$ac_ext
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22507 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22508 if test $gcc_cv_math_func_tanf = yes; then
22510 cat >>confdefs.h <<_ACEOF
22511 #define HAVE_TANF 1
22512 _ACEOF
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22520 $as_echo_n "checking for tan... " >&6; }
22521 if test "${gcc_cv_math_func_tan+set}" = set; then :
22522 $as_echo_n "(cached) " >&6
22523 else
22524 if test x$gcc_no_link = xyes; then
22525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22528 /* end confdefs.h. */
22530 #ifdef HAVE_COMPLEX_H
22531 #include <complex.h>
22532 #endif
22533 #ifdef HAVE_MATH_H
22534 #include <math.h>
22535 #endif
22537 int (*ptr)() = (int (*)())tan;
22540 main ()
22542 return 0;
22545 _ACEOF
22546 if ac_fn_c_try_link "$LINENO"; then :
22547 gcc_cv_math_func_tan=yes
22548 else
22549 gcc_cv_math_func_tan=no
22551 rm -f core conftest.err conftest.$ac_objext \
22552 conftest$ac_exeext conftest.$ac_ext
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22555 $as_echo "$gcc_cv_math_func_tan" >&6; }
22556 if test $gcc_cv_math_func_tan = yes; then
22558 cat >>confdefs.h <<_ACEOF
22559 #define HAVE_TAN 1
22560 _ACEOF
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22568 $as_echo_n "checking for tanl... " >&6; }
22569 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22570 $as_echo_n "(cached) " >&6
22571 else
22572 if test x$gcc_no_link = xyes; then
22573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22576 /* end confdefs.h. */
22578 #ifdef HAVE_COMPLEX_H
22579 #include <complex.h>
22580 #endif
22581 #ifdef HAVE_MATH_H
22582 #include <math.h>
22583 #endif
22585 int (*ptr)() = (int (*)())tanl;
22588 main ()
22590 return 0;
22593 _ACEOF
22594 if ac_fn_c_try_link "$LINENO"; then :
22595 gcc_cv_math_func_tanl=yes
22596 else
22597 gcc_cv_math_func_tanl=no
22599 rm -f core conftest.err conftest.$ac_objext \
22600 conftest$ac_exeext conftest.$ac_ext
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22603 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22604 if test $gcc_cv_math_func_tanl = yes; then
22606 cat >>confdefs.h <<_ACEOF
22607 #define HAVE_TANL 1
22608 _ACEOF
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22616 $as_echo_n "checking for ctanf... " >&6; }
22617 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22618 $as_echo_n "(cached) " >&6
22619 else
22620 if test x$gcc_no_link = xyes; then
22621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22624 /* end confdefs.h. */
22626 #ifdef HAVE_COMPLEX_H
22627 #include <complex.h>
22628 #endif
22629 #ifdef HAVE_MATH_H
22630 #include <math.h>
22631 #endif
22633 int (*ptr)() = (int (*)())ctanf;
22636 main ()
22638 return 0;
22641 _ACEOF
22642 if ac_fn_c_try_link "$LINENO"; then :
22643 gcc_cv_math_func_ctanf=yes
22644 else
22645 gcc_cv_math_func_ctanf=no
22647 rm -f core conftest.err conftest.$ac_objext \
22648 conftest$ac_exeext conftest.$ac_ext
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22651 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22652 if test $gcc_cv_math_func_ctanf = yes; then
22654 cat >>confdefs.h <<_ACEOF
22655 #define HAVE_CTANF 1
22656 _ACEOF
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22664 $as_echo_n "checking for ctan... " >&6; }
22665 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22666 $as_echo_n "(cached) " >&6
22667 else
22668 if test x$gcc_no_link = xyes; then
22669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22672 /* end confdefs.h. */
22674 #ifdef HAVE_COMPLEX_H
22675 #include <complex.h>
22676 #endif
22677 #ifdef HAVE_MATH_H
22678 #include <math.h>
22679 #endif
22681 int (*ptr)() = (int (*)())ctan;
22684 main ()
22686 return 0;
22689 _ACEOF
22690 if ac_fn_c_try_link "$LINENO"; then :
22691 gcc_cv_math_func_ctan=yes
22692 else
22693 gcc_cv_math_func_ctan=no
22695 rm -f core conftest.err conftest.$ac_objext \
22696 conftest$ac_exeext conftest.$ac_ext
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22699 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22700 if test $gcc_cv_math_func_ctan = yes; then
22702 cat >>confdefs.h <<_ACEOF
22703 #define HAVE_CTAN 1
22704 _ACEOF
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22712 $as_echo_n "checking for ctanl... " >&6; }
22713 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22714 $as_echo_n "(cached) " >&6
22715 else
22716 if test x$gcc_no_link = xyes; then
22717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22720 /* end confdefs.h. */
22722 #ifdef HAVE_COMPLEX_H
22723 #include <complex.h>
22724 #endif
22725 #ifdef HAVE_MATH_H
22726 #include <math.h>
22727 #endif
22729 int (*ptr)() = (int (*)())ctanl;
22732 main ()
22734 return 0;
22737 _ACEOF
22738 if ac_fn_c_try_link "$LINENO"; then :
22739 gcc_cv_math_func_ctanl=yes
22740 else
22741 gcc_cv_math_func_ctanl=no
22743 rm -f core conftest.err conftest.$ac_objext \
22744 conftest$ac_exeext conftest.$ac_ext
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22747 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22748 if test $gcc_cv_math_func_ctanl = yes; then
22750 cat >>confdefs.h <<_ACEOF
22751 #define HAVE_CTANL 1
22752 _ACEOF
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22760 $as_echo_n "checking for tanhf... " >&6; }
22761 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22762 $as_echo_n "(cached) " >&6
22763 else
22764 if test x$gcc_no_link = xyes; then
22765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22768 /* end confdefs.h. */
22770 #ifdef HAVE_COMPLEX_H
22771 #include <complex.h>
22772 #endif
22773 #ifdef HAVE_MATH_H
22774 #include <math.h>
22775 #endif
22777 int (*ptr)() = (int (*)())tanhf;
22780 main ()
22782 return 0;
22785 _ACEOF
22786 if ac_fn_c_try_link "$LINENO"; then :
22787 gcc_cv_math_func_tanhf=yes
22788 else
22789 gcc_cv_math_func_tanhf=no
22791 rm -f core conftest.err conftest.$ac_objext \
22792 conftest$ac_exeext conftest.$ac_ext
22794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22795 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22796 if test $gcc_cv_math_func_tanhf = yes; then
22798 cat >>confdefs.h <<_ACEOF
22799 #define HAVE_TANHF 1
22800 _ACEOF
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22808 $as_echo_n "checking for tanh... " >&6; }
22809 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22810 $as_echo_n "(cached) " >&6
22811 else
22812 if test x$gcc_no_link = xyes; then
22813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22816 /* end confdefs.h. */
22818 #ifdef HAVE_COMPLEX_H
22819 #include <complex.h>
22820 #endif
22821 #ifdef HAVE_MATH_H
22822 #include <math.h>
22823 #endif
22825 int (*ptr)() = (int (*)())tanh;
22828 main ()
22830 return 0;
22833 _ACEOF
22834 if ac_fn_c_try_link "$LINENO"; then :
22835 gcc_cv_math_func_tanh=yes
22836 else
22837 gcc_cv_math_func_tanh=no
22839 rm -f core conftest.err conftest.$ac_objext \
22840 conftest$ac_exeext conftest.$ac_ext
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22843 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22844 if test $gcc_cv_math_func_tanh = yes; then
22846 cat >>confdefs.h <<_ACEOF
22847 #define HAVE_TANH 1
22848 _ACEOF
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22856 $as_echo_n "checking for tanhl... " >&6; }
22857 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22858 $as_echo_n "(cached) " >&6
22859 else
22860 if test x$gcc_no_link = xyes; then
22861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22864 /* end confdefs.h. */
22866 #ifdef HAVE_COMPLEX_H
22867 #include <complex.h>
22868 #endif
22869 #ifdef HAVE_MATH_H
22870 #include <math.h>
22871 #endif
22873 int (*ptr)() = (int (*)())tanhl;
22876 main ()
22878 return 0;
22881 _ACEOF
22882 if ac_fn_c_try_link "$LINENO"; then :
22883 gcc_cv_math_func_tanhl=yes
22884 else
22885 gcc_cv_math_func_tanhl=no
22887 rm -f core conftest.err conftest.$ac_objext \
22888 conftest$ac_exeext conftest.$ac_ext
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22891 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22892 if test $gcc_cv_math_func_tanhl = yes; then
22894 cat >>confdefs.h <<_ACEOF
22895 #define HAVE_TANHL 1
22896 _ACEOF
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22904 $as_echo_n "checking for ctanhf... " >&6; }
22905 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22906 $as_echo_n "(cached) " >&6
22907 else
22908 if test x$gcc_no_link = xyes; then
22909 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22912 /* end confdefs.h. */
22914 #ifdef HAVE_COMPLEX_H
22915 #include <complex.h>
22916 #endif
22917 #ifdef HAVE_MATH_H
22918 #include <math.h>
22919 #endif
22921 int (*ptr)() = (int (*)())ctanhf;
22924 main ()
22926 return 0;
22929 _ACEOF
22930 if ac_fn_c_try_link "$LINENO"; then :
22931 gcc_cv_math_func_ctanhf=yes
22932 else
22933 gcc_cv_math_func_ctanhf=no
22935 rm -f core conftest.err conftest.$ac_objext \
22936 conftest$ac_exeext conftest.$ac_ext
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22939 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22940 if test $gcc_cv_math_func_ctanhf = yes; then
22942 cat >>confdefs.h <<_ACEOF
22943 #define HAVE_CTANHF 1
22944 _ACEOF
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22952 $as_echo_n "checking for ctanh... " >&6; }
22953 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22954 $as_echo_n "(cached) " >&6
22955 else
22956 if test x$gcc_no_link = xyes; then
22957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22960 /* end confdefs.h. */
22962 #ifdef HAVE_COMPLEX_H
22963 #include <complex.h>
22964 #endif
22965 #ifdef HAVE_MATH_H
22966 #include <math.h>
22967 #endif
22969 int (*ptr)() = (int (*)())ctanh;
22972 main ()
22974 return 0;
22977 _ACEOF
22978 if ac_fn_c_try_link "$LINENO"; then :
22979 gcc_cv_math_func_ctanh=yes
22980 else
22981 gcc_cv_math_func_ctanh=no
22983 rm -f core conftest.err conftest.$ac_objext \
22984 conftest$ac_exeext conftest.$ac_ext
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22987 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22988 if test $gcc_cv_math_func_ctanh = yes; then
22990 cat >>confdefs.h <<_ACEOF
22991 #define HAVE_CTANH 1
22992 _ACEOF
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23000 $as_echo_n "checking for ctanhl... " >&6; }
23001 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23002 $as_echo_n "(cached) " >&6
23003 else
23004 if test x$gcc_no_link = xyes; then
23005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23008 /* end confdefs.h. */
23010 #ifdef HAVE_COMPLEX_H
23011 #include <complex.h>
23012 #endif
23013 #ifdef HAVE_MATH_H
23014 #include <math.h>
23015 #endif
23017 int (*ptr)() = (int (*)())ctanhl;
23020 main ()
23022 return 0;
23025 _ACEOF
23026 if ac_fn_c_try_link "$LINENO"; then :
23027 gcc_cv_math_func_ctanhl=yes
23028 else
23029 gcc_cv_math_func_ctanhl=no
23031 rm -f core conftest.err conftest.$ac_objext \
23032 conftest$ac_exeext conftest.$ac_ext
23034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23035 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23036 if test $gcc_cv_math_func_ctanhl = yes; then
23038 cat >>confdefs.h <<_ACEOF
23039 #define HAVE_CTANHL 1
23040 _ACEOF
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23048 $as_echo_n "checking for truncf... " >&6; }
23049 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23050 $as_echo_n "(cached) " >&6
23051 else
23052 if test x$gcc_no_link = xyes; then
23053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23056 /* end confdefs.h. */
23058 #ifdef HAVE_COMPLEX_H
23059 #include <complex.h>
23060 #endif
23061 #ifdef HAVE_MATH_H
23062 #include <math.h>
23063 #endif
23065 int (*ptr)() = (int (*)())truncf;
23068 main ()
23070 return 0;
23073 _ACEOF
23074 if ac_fn_c_try_link "$LINENO"; then :
23075 gcc_cv_math_func_truncf=yes
23076 else
23077 gcc_cv_math_func_truncf=no
23079 rm -f core conftest.err conftest.$ac_objext \
23080 conftest$ac_exeext conftest.$ac_ext
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23083 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23084 if test $gcc_cv_math_func_truncf = yes; then
23086 cat >>confdefs.h <<_ACEOF
23087 #define HAVE_TRUNCF 1
23088 _ACEOF
23095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23096 $as_echo_n "checking for trunc... " >&6; }
23097 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23098 $as_echo_n "(cached) " >&6
23099 else
23100 if test x$gcc_no_link = xyes; then
23101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23104 /* end confdefs.h. */
23106 #ifdef HAVE_COMPLEX_H
23107 #include <complex.h>
23108 #endif
23109 #ifdef HAVE_MATH_H
23110 #include <math.h>
23111 #endif
23113 int (*ptr)() = (int (*)())trunc;
23116 main ()
23118 return 0;
23121 _ACEOF
23122 if ac_fn_c_try_link "$LINENO"; then :
23123 gcc_cv_math_func_trunc=yes
23124 else
23125 gcc_cv_math_func_trunc=no
23127 rm -f core conftest.err conftest.$ac_objext \
23128 conftest$ac_exeext conftest.$ac_ext
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23131 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23132 if test $gcc_cv_math_func_trunc = yes; then
23134 cat >>confdefs.h <<_ACEOF
23135 #define HAVE_TRUNC 1
23136 _ACEOF
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23144 $as_echo_n "checking for truncl... " >&6; }
23145 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23146 $as_echo_n "(cached) " >&6
23147 else
23148 if test x$gcc_no_link = xyes; then
23149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23152 /* end confdefs.h. */
23154 #ifdef HAVE_COMPLEX_H
23155 #include <complex.h>
23156 #endif
23157 #ifdef HAVE_MATH_H
23158 #include <math.h>
23159 #endif
23161 int (*ptr)() = (int (*)())truncl;
23164 main ()
23166 return 0;
23169 _ACEOF
23170 if ac_fn_c_try_link "$LINENO"; then :
23171 gcc_cv_math_func_truncl=yes
23172 else
23173 gcc_cv_math_func_truncl=no
23175 rm -f core conftest.err conftest.$ac_objext \
23176 conftest$ac_exeext conftest.$ac_ext
23178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23179 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23180 if test $gcc_cv_math_func_truncl = yes; then
23182 cat >>confdefs.h <<_ACEOF
23183 #define HAVE_TRUNCL 1
23184 _ACEOF
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23192 $as_echo_n "checking for erff... " >&6; }
23193 if test "${gcc_cv_math_func_erff+set}" = set; then :
23194 $as_echo_n "(cached) " >&6
23195 else
23196 if test x$gcc_no_link = xyes; then
23197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23200 /* end confdefs.h. */
23202 #ifdef HAVE_COMPLEX_H
23203 #include <complex.h>
23204 #endif
23205 #ifdef HAVE_MATH_H
23206 #include <math.h>
23207 #endif
23209 int (*ptr)() = (int (*)())erff;
23212 main ()
23214 return 0;
23217 _ACEOF
23218 if ac_fn_c_try_link "$LINENO"; then :
23219 gcc_cv_math_func_erff=yes
23220 else
23221 gcc_cv_math_func_erff=no
23223 rm -f core conftest.err conftest.$ac_objext \
23224 conftest$ac_exeext conftest.$ac_ext
23226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23227 $as_echo "$gcc_cv_math_func_erff" >&6; }
23228 if test $gcc_cv_math_func_erff = yes; then
23230 cat >>confdefs.h <<_ACEOF
23231 #define HAVE_ERFF 1
23232 _ACEOF
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23240 $as_echo_n "checking for erf... " >&6; }
23241 if test "${gcc_cv_math_func_erf+set}" = set; then :
23242 $as_echo_n "(cached) " >&6
23243 else
23244 if test x$gcc_no_link = xyes; then
23245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23248 /* end confdefs.h. */
23250 #ifdef HAVE_COMPLEX_H
23251 #include <complex.h>
23252 #endif
23253 #ifdef HAVE_MATH_H
23254 #include <math.h>
23255 #endif
23257 int (*ptr)() = (int (*)())erf;
23260 main ()
23262 return 0;
23265 _ACEOF
23266 if ac_fn_c_try_link "$LINENO"; then :
23267 gcc_cv_math_func_erf=yes
23268 else
23269 gcc_cv_math_func_erf=no
23271 rm -f core conftest.err conftest.$ac_objext \
23272 conftest$ac_exeext conftest.$ac_ext
23274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23275 $as_echo "$gcc_cv_math_func_erf" >&6; }
23276 if test $gcc_cv_math_func_erf = yes; then
23278 cat >>confdefs.h <<_ACEOF
23279 #define HAVE_ERF 1
23280 _ACEOF
23287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23288 $as_echo_n "checking for erfl... " >&6; }
23289 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23290 $as_echo_n "(cached) " >&6
23291 else
23292 if test x$gcc_no_link = xyes; then
23293 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23296 /* end confdefs.h. */
23298 #ifdef HAVE_COMPLEX_H
23299 #include <complex.h>
23300 #endif
23301 #ifdef HAVE_MATH_H
23302 #include <math.h>
23303 #endif
23305 int (*ptr)() = (int (*)())erfl;
23308 main ()
23310 return 0;
23313 _ACEOF
23314 if ac_fn_c_try_link "$LINENO"; then :
23315 gcc_cv_math_func_erfl=yes
23316 else
23317 gcc_cv_math_func_erfl=no
23319 rm -f core conftest.err conftest.$ac_objext \
23320 conftest$ac_exeext conftest.$ac_ext
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23323 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23324 if test $gcc_cv_math_func_erfl = yes; then
23326 cat >>confdefs.h <<_ACEOF
23327 #define HAVE_ERFL 1
23328 _ACEOF
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23336 $as_echo_n "checking for erfcf... " >&6; }
23337 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23338 $as_echo_n "(cached) " >&6
23339 else
23340 if test x$gcc_no_link = xyes; then
23341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23344 /* end confdefs.h. */
23346 #ifdef HAVE_COMPLEX_H
23347 #include <complex.h>
23348 #endif
23349 #ifdef HAVE_MATH_H
23350 #include <math.h>
23351 #endif
23353 int (*ptr)() = (int (*)())erfcf;
23356 main ()
23358 return 0;
23361 _ACEOF
23362 if ac_fn_c_try_link "$LINENO"; then :
23363 gcc_cv_math_func_erfcf=yes
23364 else
23365 gcc_cv_math_func_erfcf=no
23367 rm -f core conftest.err conftest.$ac_objext \
23368 conftest$ac_exeext conftest.$ac_ext
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23371 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23372 if test $gcc_cv_math_func_erfcf = yes; then
23374 cat >>confdefs.h <<_ACEOF
23375 #define HAVE_ERFCF 1
23376 _ACEOF
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23384 $as_echo_n "checking for erfc... " >&6; }
23385 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23386 $as_echo_n "(cached) " >&6
23387 else
23388 if test x$gcc_no_link = xyes; then
23389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23392 /* end confdefs.h. */
23394 #ifdef HAVE_COMPLEX_H
23395 #include <complex.h>
23396 #endif
23397 #ifdef HAVE_MATH_H
23398 #include <math.h>
23399 #endif
23401 int (*ptr)() = (int (*)())erfc;
23404 main ()
23406 return 0;
23409 _ACEOF
23410 if ac_fn_c_try_link "$LINENO"; then :
23411 gcc_cv_math_func_erfc=yes
23412 else
23413 gcc_cv_math_func_erfc=no
23415 rm -f core conftest.err conftest.$ac_objext \
23416 conftest$ac_exeext conftest.$ac_ext
23418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23419 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23420 if test $gcc_cv_math_func_erfc = yes; then
23422 cat >>confdefs.h <<_ACEOF
23423 #define HAVE_ERFC 1
23424 _ACEOF
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23432 $as_echo_n "checking for erfcl... " >&6; }
23433 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23434 $as_echo_n "(cached) " >&6
23435 else
23436 if test x$gcc_no_link = xyes; then
23437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23440 /* end confdefs.h. */
23442 #ifdef HAVE_COMPLEX_H
23443 #include <complex.h>
23444 #endif
23445 #ifdef HAVE_MATH_H
23446 #include <math.h>
23447 #endif
23449 int (*ptr)() = (int (*)())erfcl;
23452 main ()
23454 return 0;
23457 _ACEOF
23458 if ac_fn_c_try_link "$LINENO"; then :
23459 gcc_cv_math_func_erfcl=yes
23460 else
23461 gcc_cv_math_func_erfcl=no
23463 rm -f core conftest.err conftest.$ac_objext \
23464 conftest$ac_exeext conftest.$ac_ext
23466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23467 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23468 if test $gcc_cv_math_func_erfcl = yes; then
23470 cat >>confdefs.h <<_ACEOF
23471 #define HAVE_ERFCL 1
23472 _ACEOF
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23480 $as_echo_n "checking for j0f... " >&6; }
23481 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23482 $as_echo_n "(cached) " >&6
23483 else
23484 if test x$gcc_no_link = xyes; then
23485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23488 /* end confdefs.h. */
23490 #ifdef HAVE_COMPLEX_H
23491 #include <complex.h>
23492 #endif
23493 #ifdef HAVE_MATH_H
23494 #include <math.h>
23495 #endif
23497 int (*ptr)() = (int (*)())j0f;
23500 main ()
23502 return 0;
23505 _ACEOF
23506 if ac_fn_c_try_link "$LINENO"; then :
23507 gcc_cv_math_func_j0f=yes
23508 else
23509 gcc_cv_math_func_j0f=no
23511 rm -f core conftest.err conftest.$ac_objext \
23512 conftest$ac_exeext conftest.$ac_ext
23514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23515 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23516 if test $gcc_cv_math_func_j0f = yes; then
23518 cat >>confdefs.h <<_ACEOF
23519 #define HAVE_J0F 1
23520 _ACEOF
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23528 $as_echo_n "checking for j0... " >&6; }
23529 if test "${gcc_cv_math_func_j0+set}" = set; then :
23530 $as_echo_n "(cached) " >&6
23531 else
23532 if test x$gcc_no_link = xyes; then
23533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23538 #ifdef HAVE_COMPLEX_H
23539 #include <complex.h>
23540 #endif
23541 #ifdef HAVE_MATH_H
23542 #include <math.h>
23543 #endif
23545 int (*ptr)() = (int (*)())j0;
23548 main ()
23550 return 0;
23553 _ACEOF
23554 if ac_fn_c_try_link "$LINENO"; then :
23555 gcc_cv_math_func_j0=yes
23556 else
23557 gcc_cv_math_func_j0=no
23559 rm -f core conftest.err conftest.$ac_objext \
23560 conftest$ac_exeext conftest.$ac_ext
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23563 $as_echo "$gcc_cv_math_func_j0" >&6; }
23564 if test $gcc_cv_math_func_j0 = yes; then
23566 cat >>confdefs.h <<_ACEOF
23567 #define HAVE_J0 1
23568 _ACEOF
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23576 $as_echo_n "checking for j0l... " >&6; }
23577 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23578 $as_echo_n "(cached) " >&6
23579 else
23580 if test x$gcc_no_link = xyes; then
23581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23584 /* end confdefs.h. */
23586 #ifdef HAVE_COMPLEX_H
23587 #include <complex.h>
23588 #endif
23589 #ifdef HAVE_MATH_H
23590 #include <math.h>
23591 #endif
23593 int (*ptr)() = (int (*)())j0l;
23596 main ()
23598 return 0;
23601 _ACEOF
23602 if ac_fn_c_try_link "$LINENO"; then :
23603 gcc_cv_math_func_j0l=yes
23604 else
23605 gcc_cv_math_func_j0l=no
23607 rm -f core conftest.err conftest.$ac_objext \
23608 conftest$ac_exeext conftest.$ac_ext
23610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23611 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23612 if test $gcc_cv_math_func_j0l = yes; then
23614 cat >>confdefs.h <<_ACEOF
23615 #define HAVE_J0L 1
23616 _ACEOF
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23624 $as_echo_n "checking for j1f... " >&6; }
23625 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23626 $as_echo_n "(cached) " >&6
23627 else
23628 if test x$gcc_no_link = xyes; then
23629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23632 /* end confdefs.h. */
23634 #ifdef HAVE_COMPLEX_H
23635 #include <complex.h>
23636 #endif
23637 #ifdef HAVE_MATH_H
23638 #include <math.h>
23639 #endif
23641 int (*ptr)() = (int (*)())j1f;
23644 main ()
23646 return 0;
23649 _ACEOF
23650 if ac_fn_c_try_link "$LINENO"; then :
23651 gcc_cv_math_func_j1f=yes
23652 else
23653 gcc_cv_math_func_j1f=no
23655 rm -f core conftest.err conftest.$ac_objext \
23656 conftest$ac_exeext conftest.$ac_ext
23658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23659 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23660 if test $gcc_cv_math_func_j1f = yes; then
23662 cat >>confdefs.h <<_ACEOF
23663 #define HAVE_J1F 1
23664 _ACEOF
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23672 $as_echo_n "checking for j1... " >&6; }
23673 if test "${gcc_cv_math_func_j1+set}" = set; then :
23674 $as_echo_n "(cached) " >&6
23675 else
23676 if test x$gcc_no_link = xyes; then
23677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23680 /* end confdefs.h. */
23682 #ifdef HAVE_COMPLEX_H
23683 #include <complex.h>
23684 #endif
23685 #ifdef HAVE_MATH_H
23686 #include <math.h>
23687 #endif
23689 int (*ptr)() = (int (*)())j1;
23692 main ()
23694 return 0;
23697 _ACEOF
23698 if ac_fn_c_try_link "$LINENO"; then :
23699 gcc_cv_math_func_j1=yes
23700 else
23701 gcc_cv_math_func_j1=no
23703 rm -f core conftest.err conftest.$ac_objext \
23704 conftest$ac_exeext conftest.$ac_ext
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23707 $as_echo "$gcc_cv_math_func_j1" >&6; }
23708 if test $gcc_cv_math_func_j1 = yes; then
23710 cat >>confdefs.h <<_ACEOF
23711 #define HAVE_J1 1
23712 _ACEOF
23719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23720 $as_echo_n "checking for j1l... " >&6; }
23721 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23722 $as_echo_n "(cached) " >&6
23723 else
23724 if test x$gcc_no_link = xyes; then
23725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23728 /* end confdefs.h. */
23730 #ifdef HAVE_COMPLEX_H
23731 #include <complex.h>
23732 #endif
23733 #ifdef HAVE_MATH_H
23734 #include <math.h>
23735 #endif
23737 int (*ptr)() = (int (*)())j1l;
23740 main ()
23742 return 0;
23745 _ACEOF
23746 if ac_fn_c_try_link "$LINENO"; then :
23747 gcc_cv_math_func_j1l=yes
23748 else
23749 gcc_cv_math_func_j1l=no
23751 rm -f core conftest.err conftest.$ac_objext \
23752 conftest$ac_exeext conftest.$ac_ext
23754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23755 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23756 if test $gcc_cv_math_func_j1l = yes; then
23758 cat >>confdefs.h <<_ACEOF
23759 #define HAVE_J1L 1
23760 _ACEOF
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23768 $as_echo_n "checking for jnf... " >&6; }
23769 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23770 $as_echo_n "(cached) " >&6
23771 else
23772 if test x$gcc_no_link = xyes; then
23773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23776 /* end confdefs.h. */
23778 #ifdef HAVE_COMPLEX_H
23779 #include <complex.h>
23780 #endif
23781 #ifdef HAVE_MATH_H
23782 #include <math.h>
23783 #endif
23785 int (*ptr)() = (int (*)())jnf;
23788 main ()
23790 return 0;
23793 _ACEOF
23794 if ac_fn_c_try_link "$LINENO"; then :
23795 gcc_cv_math_func_jnf=yes
23796 else
23797 gcc_cv_math_func_jnf=no
23799 rm -f core conftest.err conftest.$ac_objext \
23800 conftest$ac_exeext conftest.$ac_ext
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23803 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23804 if test $gcc_cv_math_func_jnf = yes; then
23806 cat >>confdefs.h <<_ACEOF
23807 #define HAVE_JNF 1
23808 _ACEOF
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23816 $as_echo_n "checking for jn... " >&6; }
23817 if test "${gcc_cv_math_func_jn+set}" = set; then :
23818 $as_echo_n "(cached) " >&6
23819 else
23820 if test x$gcc_no_link = xyes; then
23821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23824 /* end confdefs.h. */
23826 #ifdef HAVE_COMPLEX_H
23827 #include <complex.h>
23828 #endif
23829 #ifdef HAVE_MATH_H
23830 #include <math.h>
23831 #endif
23833 int (*ptr)() = (int (*)())jn;
23836 main ()
23838 return 0;
23841 _ACEOF
23842 if ac_fn_c_try_link "$LINENO"; then :
23843 gcc_cv_math_func_jn=yes
23844 else
23845 gcc_cv_math_func_jn=no
23847 rm -f core conftest.err conftest.$ac_objext \
23848 conftest$ac_exeext conftest.$ac_ext
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23851 $as_echo "$gcc_cv_math_func_jn" >&6; }
23852 if test $gcc_cv_math_func_jn = yes; then
23854 cat >>confdefs.h <<_ACEOF
23855 #define HAVE_JN 1
23856 _ACEOF
23863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23864 $as_echo_n "checking for jnl... " >&6; }
23865 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23866 $as_echo_n "(cached) " >&6
23867 else
23868 if test x$gcc_no_link = xyes; then
23869 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23872 /* end confdefs.h. */
23874 #ifdef HAVE_COMPLEX_H
23875 #include <complex.h>
23876 #endif
23877 #ifdef HAVE_MATH_H
23878 #include <math.h>
23879 #endif
23881 int (*ptr)() = (int (*)())jnl;
23884 main ()
23886 return 0;
23889 _ACEOF
23890 if ac_fn_c_try_link "$LINENO"; then :
23891 gcc_cv_math_func_jnl=yes
23892 else
23893 gcc_cv_math_func_jnl=no
23895 rm -f core conftest.err conftest.$ac_objext \
23896 conftest$ac_exeext conftest.$ac_ext
23898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23899 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23900 if test $gcc_cv_math_func_jnl = yes; then
23902 cat >>confdefs.h <<_ACEOF
23903 #define HAVE_JNL 1
23904 _ACEOF
23911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23912 $as_echo_n "checking for y0f... " >&6; }
23913 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23914 $as_echo_n "(cached) " >&6
23915 else
23916 if test x$gcc_no_link = xyes; then
23917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23920 /* end confdefs.h. */
23922 #ifdef HAVE_COMPLEX_H
23923 #include <complex.h>
23924 #endif
23925 #ifdef HAVE_MATH_H
23926 #include <math.h>
23927 #endif
23929 int (*ptr)() = (int (*)())y0f;
23932 main ()
23934 return 0;
23937 _ACEOF
23938 if ac_fn_c_try_link "$LINENO"; then :
23939 gcc_cv_math_func_y0f=yes
23940 else
23941 gcc_cv_math_func_y0f=no
23943 rm -f core conftest.err conftest.$ac_objext \
23944 conftest$ac_exeext conftest.$ac_ext
23946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23947 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23948 if test $gcc_cv_math_func_y0f = yes; then
23950 cat >>confdefs.h <<_ACEOF
23951 #define HAVE_Y0F 1
23952 _ACEOF
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23960 $as_echo_n "checking for y0... " >&6; }
23961 if test "${gcc_cv_math_func_y0+set}" = set; then :
23962 $as_echo_n "(cached) " >&6
23963 else
23964 if test x$gcc_no_link = xyes; then
23965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23968 /* end confdefs.h. */
23970 #ifdef HAVE_COMPLEX_H
23971 #include <complex.h>
23972 #endif
23973 #ifdef HAVE_MATH_H
23974 #include <math.h>
23975 #endif
23977 int (*ptr)() = (int (*)())y0;
23980 main ()
23982 return 0;
23985 _ACEOF
23986 if ac_fn_c_try_link "$LINENO"; then :
23987 gcc_cv_math_func_y0=yes
23988 else
23989 gcc_cv_math_func_y0=no
23991 rm -f core conftest.err conftest.$ac_objext \
23992 conftest$ac_exeext conftest.$ac_ext
23994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23995 $as_echo "$gcc_cv_math_func_y0" >&6; }
23996 if test $gcc_cv_math_func_y0 = yes; then
23998 cat >>confdefs.h <<_ACEOF
23999 #define HAVE_Y0 1
24000 _ACEOF
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24008 $as_echo_n "checking for y0l... " >&6; }
24009 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24010 $as_echo_n "(cached) " >&6
24011 else
24012 if test x$gcc_no_link = xyes; then
24013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24016 /* end confdefs.h. */
24018 #ifdef HAVE_COMPLEX_H
24019 #include <complex.h>
24020 #endif
24021 #ifdef HAVE_MATH_H
24022 #include <math.h>
24023 #endif
24025 int (*ptr)() = (int (*)())y0l;
24028 main ()
24030 return 0;
24033 _ACEOF
24034 if ac_fn_c_try_link "$LINENO"; then :
24035 gcc_cv_math_func_y0l=yes
24036 else
24037 gcc_cv_math_func_y0l=no
24039 rm -f core conftest.err conftest.$ac_objext \
24040 conftest$ac_exeext conftest.$ac_ext
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24043 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24044 if test $gcc_cv_math_func_y0l = yes; then
24046 cat >>confdefs.h <<_ACEOF
24047 #define HAVE_Y0L 1
24048 _ACEOF
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24056 $as_echo_n "checking for y1f... " >&6; }
24057 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24058 $as_echo_n "(cached) " >&6
24059 else
24060 if test x$gcc_no_link = xyes; then
24061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24064 /* end confdefs.h. */
24066 #ifdef HAVE_COMPLEX_H
24067 #include <complex.h>
24068 #endif
24069 #ifdef HAVE_MATH_H
24070 #include <math.h>
24071 #endif
24073 int (*ptr)() = (int (*)())y1f;
24076 main ()
24078 return 0;
24081 _ACEOF
24082 if ac_fn_c_try_link "$LINENO"; then :
24083 gcc_cv_math_func_y1f=yes
24084 else
24085 gcc_cv_math_func_y1f=no
24087 rm -f core conftest.err conftest.$ac_objext \
24088 conftest$ac_exeext conftest.$ac_ext
24090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24091 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24092 if test $gcc_cv_math_func_y1f = yes; then
24094 cat >>confdefs.h <<_ACEOF
24095 #define HAVE_Y1F 1
24096 _ACEOF
24103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24104 $as_echo_n "checking for y1... " >&6; }
24105 if test "${gcc_cv_math_func_y1+set}" = set; then :
24106 $as_echo_n "(cached) " >&6
24107 else
24108 if test x$gcc_no_link = xyes; then
24109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24112 /* end confdefs.h. */
24114 #ifdef HAVE_COMPLEX_H
24115 #include <complex.h>
24116 #endif
24117 #ifdef HAVE_MATH_H
24118 #include <math.h>
24119 #endif
24121 int (*ptr)() = (int (*)())y1;
24124 main ()
24126 return 0;
24129 _ACEOF
24130 if ac_fn_c_try_link "$LINENO"; then :
24131 gcc_cv_math_func_y1=yes
24132 else
24133 gcc_cv_math_func_y1=no
24135 rm -f core conftest.err conftest.$ac_objext \
24136 conftest$ac_exeext conftest.$ac_ext
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24139 $as_echo "$gcc_cv_math_func_y1" >&6; }
24140 if test $gcc_cv_math_func_y1 = yes; then
24142 cat >>confdefs.h <<_ACEOF
24143 #define HAVE_Y1 1
24144 _ACEOF
24151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24152 $as_echo_n "checking for y1l... " >&6; }
24153 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24154 $as_echo_n "(cached) " >&6
24155 else
24156 if test x$gcc_no_link = xyes; then
24157 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24160 /* end confdefs.h. */
24162 #ifdef HAVE_COMPLEX_H
24163 #include <complex.h>
24164 #endif
24165 #ifdef HAVE_MATH_H
24166 #include <math.h>
24167 #endif
24169 int (*ptr)() = (int (*)())y1l;
24172 main ()
24174 return 0;
24177 _ACEOF
24178 if ac_fn_c_try_link "$LINENO"; then :
24179 gcc_cv_math_func_y1l=yes
24180 else
24181 gcc_cv_math_func_y1l=no
24183 rm -f core conftest.err conftest.$ac_objext \
24184 conftest$ac_exeext conftest.$ac_ext
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24187 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24188 if test $gcc_cv_math_func_y1l = yes; then
24190 cat >>confdefs.h <<_ACEOF
24191 #define HAVE_Y1L 1
24192 _ACEOF
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24200 $as_echo_n "checking for ynf... " >&6; }
24201 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24202 $as_echo_n "(cached) " >&6
24203 else
24204 if test x$gcc_no_link = xyes; then
24205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24208 /* end confdefs.h. */
24210 #ifdef HAVE_COMPLEX_H
24211 #include <complex.h>
24212 #endif
24213 #ifdef HAVE_MATH_H
24214 #include <math.h>
24215 #endif
24217 int (*ptr)() = (int (*)())ynf;
24220 main ()
24222 return 0;
24225 _ACEOF
24226 if ac_fn_c_try_link "$LINENO"; then :
24227 gcc_cv_math_func_ynf=yes
24228 else
24229 gcc_cv_math_func_ynf=no
24231 rm -f core conftest.err conftest.$ac_objext \
24232 conftest$ac_exeext conftest.$ac_ext
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24235 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24236 if test $gcc_cv_math_func_ynf = yes; then
24238 cat >>confdefs.h <<_ACEOF
24239 #define HAVE_YNF 1
24240 _ACEOF
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24248 $as_echo_n "checking for yn... " >&6; }
24249 if test "${gcc_cv_math_func_yn+set}" = set; then :
24250 $as_echo_n "(cached) " >&6
24251 else
24252 if test x$gcc_no_link = xyes; then
24253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24256 /* end confdefs.h. */
24258 #ifdef HAVE_COMPLEX_H
24259 #include <complex.h>
24260 #endif
24261 #ifdef HAVE_MATH_H
24262 #include <math.h>
24263 #endif
24265 int (*ptr)() = (int (*)())yn;
24268 main ()
24270 return 0;
24273 _ACEOF
24274 if ac_fn_c_try_link "$LINENO"; then :
24275 gcc_cv_math_func_yn=yes
24276 else
24277 gcc_cv_math_func_yn=no
24279 rm -f core conftest.err conftest.$ac_objext \
24280 conftest$ac_exeext conftest.$ac_ext
24282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24283 $as_echo "$gcc_cv_math_func_yn" >&6; }
24284 if test $gcc_cv_math_func_yn = yes; then
24286 cat >>confdefs.h <<_ACEOF
24287 #define HAVE_YN 1
24288 _ACEOF
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24296 $as_echo_n "checking for ynl... " >&6; }
24297 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24298 $as_echo_n "(cached) " >&6
24299 else
24300 if test x$gcc_no_link = xyes; then
24301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24304 /* end confdefs.h. */
24306 #ifdef HAVE_COMPLEX_H
24307 #include <complex.h>
24308 #endif
24309 #ifdef HAVE_MATH_H
24310 #include <math.h>
24311 #endif
24313 int (*ptr)() = (int (*)())ynl;
24316 main ()
24318 return 0;
24321 _ACEOF
24322 if ac_fn_c_try_link "$LINENO"; then :
24323 gcc_cv_math_func_ynl=yes
24324 else
24325 gcc_cv_math_func_ynl=no
24327 rm -f core conftest.err conftest.$ac_objext \
24328 conftest$ac_exeext conftest.$ac_ext
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24331 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24332 if test $gcc_cv_math_func_ynl = yes; then
24334 cat >>confdefs.h <<_ACEOF
24335 #define HAVE_YNL 1
24336 _ACEOF
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24344 $as_echo_n "checking for tgamma... " >&6; }
24345 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24346 $as_echo_n "(cached) " >&6
24347 else
24348 if test x$gcc_no_link = xyes; then
24349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h. */
24354 #ifdef HAVE_COMPLEX_H
24355 #include <complex.h>
24356 #endif
24357 #ifdef HAVE_MATH_H
24358 #include <math.h>
24359 #endif
24361 int (*ptr)() = (int (*)())tgamma;
24364 main ()
24366 return 0;
24369 _ACEOF
24370 if ac_fn_c_try_link "$LINENO"; then :
24371 gcc_cv_math_func_tgamma=yes
24372 else
24373 gcc_cv_math_func_tgamma=no
24375 rm -f core conftest.err conftest.$ac_objext \
24376 conftest$ac_exeext conftest.$ac_ext
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24379 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24380 if test $gcc_cv_math_func_tgamma = yes; then
24382 cat >>confdefs.h <<_ACEOF
24383 #define HAVE_TGAMMA 1
24384 _ACEOF
24391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24392 $as_echo_n "checking for tgammaf... " >&6; }
24393 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24394 $as_echo_n "(cached) " >&6
24395 else
24396 if test x$gcc_no_link = xyes; then
24397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h. */
24402 #ifdef HAVE_COMPLEX_H
24403 #include <complex.h>
24404 #endif
24405 #ifdef HAVE_MATH_H
24406 #include <math.h>
24407 #endif
24409 int (*ptr)() = (int (*)())tgammaf;
24412 main ()
24414 return 0;
24417 _ACEOF
24418 if ac_fn_c_try_link "$LINENO"; then :
24419 gcc_cv_math_func_tgammaf=yes
24420 else
24421 gcc_cv_math_func_tgammaf=no
24423 rm -f core conftest.err conftest.$ac_objext \
24424 conftest$ac_exeext conftest.$ac_ext
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24427 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24428 if test $gcc_cv_math_func_tgammaf = yes; then
24430 cat >>confdefs.h <<_ACEOF
24431 #define HAVE_TGAMMAF 1
24432 _ACEOF
24439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24440 $as_echo_n "checking for tgammal... " >&6; }
24441 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24442 $as_echo_n "(cached) " >&6
24443 else
24444 if test x$gcc_no_link = xyes; then
24445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24448 /* end confdefs.h. */
24450 #ifdef HAVE_COMPLEX_H
24451 #include <complex.h>
24452 #endif
24453 #ifdef HAVE_MATH_H
24454 #include <math.h>
24455 #endif
24457 int (*ptr)() = (int (*)())tgammal;
24460 main ()
24462 return 0;
24465 _ACEOF
24466 if ac_fn_c_try_link "$LINENO"; then :
24467 gcc_cv_math_func_tgammal=yes
24468 else
24469 gcc_cv_math_func_tgammal=no
24471 rm -f core conftest.err conftest.$ac_objext \
24472 conftest$ac_exeext conftest.$ac_ext
24474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24475 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24476 if test $gcc_cv_math_func_tgammal = yes; then
24478 cat >>confdefs.h <<_ACEOF
24479 #define HAVE_TGAMMAL 1
24480 _ACEOF
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24488 $as_echo_n "checking for lgamma... " >&6; }
24489 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24490 $as_echo_n "(cached) " >&6
24491 else
24492 if test x$gcc_no_link = xyes; then
24493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24496 /* end confdefs.h. */
24498 #ifdef HAVE_COMPLEX_H
24499 #include <complex.h>
24500 #endif
24501 #ifdef HAVE_MATH_H
24502 #include <math.h>
24503 #endif
24505 int (*ptr)() = (int (*)())lgamma;
24508 main ()
24510 return 0;
24513 _ACEOF
24514 if ac_fn_c_try_link "$LINENO"; then :
24515 gcc_cv_math_func_lgamma=yes
24516 else
24517 gcc_cv_math_func_lgamma=no
24519 rm -f core conftest.err conftest.$ac_objext \
24520 conftest$ac_exeext conftest.$ac_ext
24522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24523 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24524 if test $gcc_cv_math_func_lgamma = yes; then
24526 cat >>confdefs.h <<_ACEOF
24527 #define HAVE_LGAMMA 1
24528 _ACEOF
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24536 $as_echo_n "checking for lgammaf... " >&6; }
24537 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24538 $as_echo_n "(cached) " >&6
24539 else
24540 if test x$gcc_no_link = xyes; then
24541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24544 /* end confdefs.h. */
24546 #ifdef HAVE_COMPLEX_H
24547 #include <complex.h>
24548 #endif
24549 #ifdef HAVE_MATH_H
24550 #include <math.h>
24551 #endif
24553 int (*ptr)() = (int (*)())lgammaf;
24556 main ()
24558 return 0;
24561 _ACEOF
24562 if ac_fn_c_try_link "$LINENO"; then :
24563 gcc_cv_math_func_lgammaf=yes
24564 else
24565 gcc_cv_math_func_lgammaf=no
24567 rm -f core conftest.err conftest.$ac_objext \
24568 conftest$ac_exeext conftest.$ac_ext
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24571 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24572 if test $gcc_cv_math_func_lgammaf = yes; then
24574 cat >>confdefs.h <<_ACEOF
24575 #define HAVE_LGAMMAF 1
24576 _ACEOF
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24584 $as_echo_n "checking for lgammal... " >&6; }
24585 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24586 $as_echo_n "(cached) " >&6
24587 else
24588 if test x$gcc_no_link = xyes; then
24589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24592 /* end confdefs.h. */
24594 #ifdef HAVE_COMPLEX_H
24595 #include <complex.h>
24596 #endif
24597 #ifdef HAVE_MATH_H
24598 #include <math.h>
24599 #endif
24601 int (*ptr)() = (int (*)())lgammal;
24604 main ()
24606 return 0;
24609 _ACEOF
24610 if ac_fn_c_try_link "$LINENO"; then :
24611 gcc_cv_math_func_lgammal=yes
24612 else
24613 gcc_cv_math_func_lgammal=no
24615 rm -f core conftest.err conftest.$ac_objext \
24616 conftest$ac_exeext conftest.$ac_ext
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24619 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24620 if test $gcc_cv_math_func_lgammal = yes; then
24622 cat >>confdefs.h <<_ACEOF
24623 #define HAVE_LGAMMAL 1
24624 _ACEOF
24629 # Check for GFORTRAN_C99_1.1 funcs
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24634 $as_echo_n "checking for cacos... " >&6; }
24635 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24636 $as_echo_n "(cached) " >&6
24637 else
24638 if test x$gcc_no_link = xyes; then
24639 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24642 /* end confdefs.h. */
24644 #ifdef HAVE_COMPLEX_H
24645 #include <complex.h>
24646 #endif
24647 #ifdef HAVE_MATH_H
24648 #include <math.h>
24649 #endif
24651 int (*ptr)() = (int (*)())cacos;
24654 main ()
24656 return 0;
24659 _ACEOF
24660 if ac_fn_c_try_link "$LINENO"; then :
24661 gcc_cv_math_func_cacos=yes
24662 else
24663 gcc_cv_math_func_cacos=no
24665 rm -f core conftest.err conftest.$ac_objext \
24666 conftest$ac_exeext conftest.$ac_ext
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24669 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24670 if test $gcc_cv_math_func_cacos = yes; then
24672 cat >>confdefs.h <<_ACEOF
24673 #define HAVE_CACOS 1
24674 _ACEOF
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24682 $as_echo_n "checking for cacosf... " >&6; }
24683 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24684 $as_echo_n "(cached) " >&6
24685 else
24686 if test x$gcc_no_link = xyes; then
24687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24690 /* end confdefs.h. */
24692 #ifdef HAVE_COMPLEX_H
24693 #include <complex.h>
24694 #endif
24695 #ifdef HAVE_MATH_H
24696 #include <math.h>
24697 #endif
24699 int (*ptr)() = (int (*)())cacosf;
24702 main ()
24704 return 0;
24707 _ACEOF
24708 if ac_fn_c_try_link "$LINENO"; then :
24709 gcc_cv_math_func_cacosf=yes
24710 else
24711 gcc_cv_math_func_cacosf=no
24713 rm -f core conftest.err conftest.$ac_objext \
24714 conftest$ac_exeext conftest.$ac_ext
24716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24717 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24718 if test $gcc_cv_math_func_cacosf = yes; then
24720 cat >>confdefs.h <<_ACEOF
24721 #define HAVE_CACOSF 1
24722 _ACEOF
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24730 $as_echo_n "checking for cacosh... " >&6; }
24731 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24732 $as_echo_n "(cached) " >&6
24733 else
24734 if test x$gcc_no_link = xyes; then
24735 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24738 /* end confdefs.h. */
24740 #ifdef HAVE_COMPLEX_H
24741 #include <complex.h>
24742 #endif
24743 #ifdef HAVE_MATH_H
24744 #include <math.h>
24745 #endif
24747 int (*ptr)() = (int (*)())cacosh;
24750 main ()
24752 return 0;
24755 _ACEOF
24756 if ac_fn_c_try_link "$LINENO"; then :
24757 gcc_cv_math_func_cacosh=yes
24758 else
24759 gcc_cv_math_func_cacosh=no
24761 rm -f core conftest.err conftest.$ac_objext \
24762 conftest$ac_exeext conftest.$ac_ext
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24765 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24766 if test $gcc_cv_math_func_cacosh = yes; then
24768 cat >>confdefs.h <<_ACEOF
24769 #define HAVE_CACOSH 1
24770 _ACEOF
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24778 $as_echo_n "checking for cacoshf... " >&6; }
24779 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24780 $as_echo_n "(cached) " >&6
24781 else
24782 if test x$gcc_no_link = xyes; then
24783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24786 /* end confdefs.h. */
24788 #ifdef HAVE_COMPLEX_H
24789 #include <complex.h>
24790 #endif
24791 #ifdef HAVE_MATH_H
24792 #include <math.h>
24793 #endif
24795 int (*ptr)() = (int (*)())cacoshf;
24798 main ()
24800 return 0;
24803 _ACEOF
24804 if ac_fn_c_try_link "$LINENO"; then :
24805 gcc_cv_math_func_cacoshf=yes
24806 else
24807 gcc_cv_math_func_cacoshf=no
24809 rm -f core conftest.err conftest.$ac_objext \
24810 conftest$ac_exeext conftest.$ac_ext
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24813 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24814 if test $gcc_cv_math_func_cacoshf = yes; then
24816 cat >>confdefs.h <<_ACEOF
24817 #define HAVE_CACOSHF 1
24818 _ACEOF
24825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24826 $as_echo_n "checking for cacoshl... " >&6; }
24827 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24828 $as_echo_n "(cached) " >&6
24829 else
24830 if test x$gcc_no_link = xyes; then
24831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24834 /* end confdefs.h. */
24836 #ifdef HAVE_COMPLEX_H
24837 #include <complex.h>
24838 #endif
24839 #ifdef HAVE_MATH_H
24840 #include <math.h>
24841 #endif
24843 int (*ptr)() = (int (*)())cacoshl;
24846 main ()
24848 return 0;
24851 _ACEOF
24852 if ac_fn_c_try_link "$LINENO"; then :
24853 gcc_cv_math_func_cacoshl=yes
24854 else
24855 gcc_cv_math_func_cacoshl=no
24857 rm -f core conftest.err conftest.$ac_objext \
24858 conftest$ac_exeext conftest.$ac_ext
24860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24861 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24862 if test $gcc_cv_math_func_cacoshl = yes; then
24864 cat >>confdefs.h <<_ACEOF
24865 #define HAVE_CACOSHL 1
24866 _ACEOF
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24874 $as_echo_n "checking for cacosl... " >&6; }
24875 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24876 $as_echo_n "(cached) " >&6
24877 else
24878 if test x$gcc_no_link = xyes; then
24879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24882 /* end confdefs.h. */
24884 #ifdef HAVE_COMPLEX_H
24885 #include <complex.h>
24886 #endif
24887 #ifdef HAVE_MATH_H
24888 #include <math.h>
24889 #endif
24891 int (*ptr)() = (int (*)())cacosl;
24894 main ()
24896 return 0;
24899 _ACEOF
24900 if ac_fn_c_try_link "$LINENO"; then :
24901 gcc_cv_math_func_cacosl=yes
24902 else
24903 gcc_cv_math_func_cacosl=no
24905 rm -f core conftest.err conftest.$ac_objext \
24906 conftest$ac_exeext conftest.$ac_ext
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24909 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24910 if test $gcc_cv_math_func_cacosl = yes; then
24912 cat >>confdefs.h <<_ACEOF
24913 #define HAVE_CACOSL 1
24914 _ACEOF
24921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24922 $as_echo_n "checking for casin... " >&6; }
24923 if test "${gcc_cv_math_func_casin+set}" = set; then :
24924 $as_echo_n "(cached) " >&6
24925 else
24926 if test x$gcc_no_link = xyes; then
24927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24930 /* end confdefs.h. */
24932 #ifdef HAVE_COMPLEX_H
24933 #include <complex.h>
24934 #endif
24935 #ifdef HAVE_MATH_H
24936 #include <math.h>
24937 #endif
24939 int (*ptr)() = (int (*)())casin;
24942 main ()
24944 return 0;
24947 _ACEOF
24948 if ac_fn_c_try_link "$LINENO"; then :
24949 gcc_cv_math_func_casin=yes
24950 else
24951 gcc_cv_math_func_casin=no
24953 rm -f core conftest.err conftest.$ac_objext \
24954 conftest$ac_exeext conftest.$ac_ext
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24957 $as_echo "$gcc_cv_math_func_casin" >&6; }
24958 if test $gcc_cv_math_func_casin = yes; then
24960 cat >>confdefs.h <<_ACEOF
24961 #define HAVE_CASIN 1
24962 _ACEOF
24969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24970 $as_echo_n "checking for casinf... " >&6; }
24971 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24972 $as_echo_n "(cached) " >&6
24973 else
24974 if test x$gcc_no_link = xyes; then
24975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24978 /* end confdefs.h. */
24980 #ifdef HAVE_COMPLEX_H
24981 #include <complex.h>
24982 #endif
24983 #ifdef HAVE_MATH_H
24984 #include <math.h>
24985 #endif
24987 int (*ptr)() = (int (*)())casinf;
24990 main ()
24992 return 0;
24995 _ACEOF
24996 if ac_fn_c_try_link "$LINENO"; then :
24997 gcc_cv_math_func_casinf=yes
24998 else
24999 gcc_cv_math_func_casinf=no
25001 rm -f core conftest.err conftest.$ac_objext \
25002 conftest$ac_exeext conftest.$ac_ext
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25005 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25006 if test $gcc_cv_math_func_casinf = yes; then
25008 cat >>confdefs.h <<_ACEOF
25009 #define HAVE_CASINF 1
25010 _ACEOF
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25018 $as_echo_n "checking for casinh... " >&6; }
25019 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25020 $as_echo_n "(cached) " >&6
25021 else
25022 if test x$gcc_no_link = xyes; then
25023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25026 /* end confdefs.h. */
25028 #ifdef HAVE_COMPLEX_H
25029 #include <complex.h>
25030 #endif
25031 #ifdef HAVE_MATH_H
25032 #include <math.h>
25033 #endif
25035 int (*ptr)() = (int (*)())casinh;
25038 main ()
25040 return 0;
25043 _ACEOF
25044 if ac_fn_c_try_link "$LINENO"; then :
25045 gcc_cv_math_func_casinh=yes
25046 else
25047 gcc_cv_math_func_casinh=no
25049 rm -f core conftest.err conftest.$ac_objext \
25050 conftest$ac_exeext conftest.$ac_ext
25052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25053 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25054 if test $gcc_cv_math_func_casinh = yes; then
25056 cat >>confdefs.h <<_ACEOF
25057 #define HAVE_CASINH 1
25058 _ACEOF
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25066 $as_echo_n "checking for casinhf... " >&6; }
25067 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25068 $as_echo_n "(cached) " >&6
25069 else
25070 if test x$gcc_no_link = xyes; then
25071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25074 /* end confdefs.h. */
25076 #ifdef HAVE_COMPLEX_H
25077 #include <complex.h>
25078 #endif
25079 #ifdef HAVE_MATH_H
25080 #include <math.h>
25081 #endif
25083 int (*ptr)() = (int (*)())casinhf;
25086 main ()
25088 return 0;
25091 _ACEOF
25092 if ac_fn_c_try_link "$LINENO"; then :
25093 gcc_cv_math_func_casinhf=yes
25094 else
25095 gcc_cv_math_func_casinhf=no
25097 rm -f core conftest.err conftest.$ac_objext \
25098 conftest$ac_exeext conftest.$ac_ext
25100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25101 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25102 if test $gcc_cv_math_func_casinhf = yes; then
25104 cat >>confdefs.h <<_ACEOF
25105 #define HAVE_CASINHF 1
25106 _ACEOF
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25114 $as_echo_n "checking for casinhl... " >&6; }
25115 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25116 $as_echo_n "(cached) " >&6
25117 else
25118 if test x$gcc_no_link = xyes; then
25119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25122 /* end confdefs.h. */
25124 #ifdef HAVE_COMPLEX_H
25125 #include <complex.h>
25126 #endif
25127 #ifdef HAVE_MATH_H
25128 #include <math.h>
25129 #endif
25131 int (*ptr)() = (int (*)())casinhl;
25134 main ()
25136 return 0;
25139 _ACEOF
25140 if ac_fn_c_try_link "$LINENO"; then :
25141 gcc_cv_math_func_casinhl=yes
25142 else
25143 gcc_cv_math_func_casinhl=no
25145 rm -f core conftest.err conftest.$ac_objext \
25146 conftest$ac_exeext conftest.$ac_ext
25148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25149 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25150 if test $gcc_cv_math_func_casinhl = yes; then
25152 cat >>confdefs.h <<_ACEOF
25153 #define HAVE_CASINHL 1
25154 _ACEOF
25161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25162 $as_echo_n "checking for casinl... " >&6; }
25163 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25164 $as_echo_n "(cached) " >&6
25165 else
25166 if test x$gcc_no_link = xyes; then
25167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25170 /* end confdefs.h. */
25172 #ifdef HAVE_COMPLEX_H
25173 #include <complex.h>
25174 #endif
25175 #ifdef HAVE_MATH_H
25176 #include <math.h>
25177 #endif
25179 int (*ptr)() = (int (*)())casinl;
25182 main ()
25184 return 0;
25187 _ACEOF
25188 if ac_fn_c_try_link "$LINENO"; then :
25189 gcc_cv_math_func_casinl=yes
25190 else
25191 gcc_cv_math_func_casinl=no
25193 rm -f core conftest.err conftest.$ac_objext \
25194 conftest$ac_exeext conftest.$ac_ext
25196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25197 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25198 if test $gcc_cv_math_func_casinl = yes; then
25200 cat >>confdefs.h <<_ACEOF
25201 #define HAVE_CASINL 1
25202 _ACEOF
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25210 $as_echo_n "checking for catan... " >&6; }
25211 if test "${gcc_cv_math_func_catan+set}" = set; then :
25212 $as_echo_n "(cached) " >&6
25213 else
25214 if test x$gcc_no_link = xyes; then
25215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25218 /* end confdefs.h. */
25220 #ifdef HAVE_COMPLEX_H
25221 #include <complex.h>
25222 #endif
25223 #ifdef HAVE_MATH_H
25224 #include <math.h>
25225 #endif
25227 int (*ptr)() = (int (*)())catan;
25230 main ()
25232 return 0;
25235 _ACEOF
25236 if ac_fn_c_try_link "$LINENO"; then :
25237 gcc_cv_math_func_catan=yes
25238 else
25239 gcc_cv_math_func_catan=no
25241 rm -f core conftest.err conftest.$ac_objext \
25242 conftest$ac_exeext conftest.$ac_ext
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25245 $as_echo "$gcc_cv_math_func_catan" >&6; }
25246 if test $gcc_cv_math_func_catan = yes; then
25248 cat >>confdefs.h <<_ACEOF
25249 #define HAVE_CATAN 1
25250 _ACEOF
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25258 $as_echo_n "checking for catanf... " >&6; }
25259 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25260 $as_echo_n "(cached) " >&6
25261 else
25262 if test x$gcc_no_link = xyes; then
25263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25266 /* end confdefs.h. */
25268 #ifdef HAVE_COMPLEX_H
25269 #include <complex.h>
25270 #endif
25271 #ifdef HAVE_MATH_H
25272 #include <math.h>
25273 #endif
25275 int (*ptr)() = (int (*)())catanf;
25278 main ()
25280 return 0;
25283 _ACEOF
25284 if ac_fn_c_try_link "$LINENO"; then :
25285 gcc_cv_math_func_catanf=yes
25286 else
25287 gcc_cv_math_func_catanf=no
25289 rm -f core conftest.err conftest.$ac_objext \
25290 conftest$ac_exeext conftest.$ac_ext
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25293 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25294 if test $gcc_cv_math_func_catanf = yes; then
25296 cat >>confdefs.h <<_ACEOF
25297 #define HAVE_CATANF 1
25298 _ACEOF
25305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25306 $as_echo_n "checking for catanh... " >&6; }
25307 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25308 $as_echo_n "(cached) " >&6
25309 else
25310 if test x$gcc_no_link = xyes; then
25311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25314 /* end confdefs.h. */
25316 #ifdef HAVE_COMPLEX_H
25317 #include <complex.h>
25318 #endif
25319 #ifdef HAVE_MATH_H
25320 #include <math.h>
25321 #endif
25323 int (*ptr)() = (int (*)())catanh;
25326 main ()
25328 return 0;
25331 _ACEOF
25332 if ac_fn_c_try_link "$LINENO"; then :
25333 gcc_cv_math_func_catanh=yes
25334 else
25335 gcc_cv_math_func_catanh=no
25337 rm -f core conftest.err conftest.$ac_objext \
25338 conftest$ac_exeext conftest.$ac_ext
25340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25341 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25342 if test $gcc_cv_math_func_catanh = yes; then
25344 cat >>confdefs.h <<_ACEOF
25345 #define HAVE_CATANH 1
25346 _ACEOF
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25354 $as_echo_n "checking for catanhf... " >&6; }
25355 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25356 $as_echo_n "(cached) " >&6
25357 else
25358 if test x$gcc_no_link = xyes; then
25359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25362 /* end confdefs.h. */
25364 #ifdef HAVE_COMPLEX_H
25365 #include <complex.h>
25366 #endif
25367 #ifdef HAVE_MATH_H
25368 #include <math.h>
25369 #endif
25371 int (*ptr)() = (int (*)())catanhf;
25374 main ()
25376 return 0;
25379 _ACEOF
25380 if ac_fn_c_try_link "$LINENO"; then :
25381 gcc_cv_math_func_catanhf=yes
25382 else
25383 gcc_cv_math_func_catanhf=no
25385 rm -f core conftest.err conftest.$ac_objext \
25386 conftest$ac_exeext conftest.$ac_ext
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25389 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25390 if test $gcc_cv_math_func_catanhf = yes; then
25392 cat >>confdefs.h <<_ACEOF
25393 #define HAVE_CATANHF 1
25394 _ACEOF
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25402 $as_echo_n "checking for catanhl... " >&6; }
25403 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25404 $as_echo_n "(cached) " >&6
25405 else
25406 if test x$gcc_no_link = xyes; then
25407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25410 /* end confdefs.h. */
25412 #ifdef HAVE_COMPLEX_H
25413 #include <complex.h>
25414 #endif
25415 #ifdef HAVE_MATH_H
25416 #include <math.h>
25417 #endif
25419 int (*ptr)() = (int (*)())catanhl;
25422 main ()
25424 return 0;
25427 _ACEOF
25428 if ac_fn_c_try_link "$LINENO"; then :
25429 gcc_cv_math_func_catanhl=yes
25430 else
25431 gcc_cv_math_func_catanhl=no
25433 rm -f core conftest.err conftest.$ac_objext \
25434 conftest$ac_exeext conftest.$ac_ext
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25437 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25438 if test $gcc_cv_math_func_catanhl = yes; then
25440 cat >>confdefs.h <<_ACEOF
25441 #define HAVE_CATANHL 1
25442 _ACEOF
25449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25450 $as_echo_n "checking for catanl... " >&6; }
25451 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25452 $as_echo_n "(cached) " >&6
25453 else
25454 if test x$gcc_no_link = xyes; then
25455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25458 /* end confdefs.h. */
25460 #ifdef HAVE_COMPLEX_H
25461 #include <complex.h>
25462 #endif
25463 #ifdef HAVE_MATH_H
25464 #include <math.h>
25465 #endif
25467 int (*ptr)() = (int (*)())catanl;
25470 main ()
25472 return 0;
25475 _ACEOF
25476 if ac_fn_c_try_link "$LINENO"; then :
25477 gcc_cv_math_func_catanl=yes
25478 else
25479 gcc_cv_math_func_catanl=no
25481 rm -f core conftest.err conftest.$ac_objext \
25482 conftest$ac_exeext conftest.$ac_ext
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25485 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25486 if test $gcc_cv_math_func_catanl = yes; then
25488 cat >>confdefs.h <<_ACEOF
25489 #define HAVE_CATANL 1
25490 _ACEOF
25495 # On AIX, clog is present in libm as __clog
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25497 $as_echo_n "checking for __clog in -lm... " >&6; }
25498 if test "${ac_cv_lib_m___clog+set}" = set; then :
25499 $as_echo_n "(cached) " >&6
25500 else
25501 ac_check_lib_save_LIBS=$LIBS
25502 LIBS="-lm $LIBS"
25503 if test x$gcc_no_link = xyes; then
25504 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25507 /* end confdefs.h. */
25509 /* Override any GCC internal prototype to avoid an error.
25510 Use char because int might match the return type of a GCC
25511 builtin and then its argument prototype would still apply. */
25512 #ifdef __cplusplus
25513 extern "C"
25514 #endif
25515 char __clog ();
25517 main ()
25519 return __clog ();
25521 return 0;
25523 _ACEOF
25524 if ac_fn_c_try_link "$LINENO"; then :
25525 ac_cv_lib_m___clog=yes
25526 else
25527 ac_cv_lib_m___clog=no
25529 rm -f core conftest.err conftest.$ac_objext \
25530 conftest$ac_exeext conftest.$ac_ext
25531 LIBS=$ac_check_lib_save_LIBS
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25534 $as_echo "$ac_cv_lib_m___clog" >&6; }
25535 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25537 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25542 # Check whether the system has a working stat()
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25545 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25546 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25547 $as_echo_n "(cached) " >&6
25548 else
25550 if test "$cross_compiling" = yes; then :
25552 case "${target}" in
25553 *mingw*) libgfor_cv_have_working_stat=no ;;
25554 *) libgfor_cv_have_working_stat=yes;;
25555 esac
25556 else
25557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25558 /* end confdefs.h. */
25560 #include <stdio.h>
25561 #include <sys/types.h>
25562 #include <sys/stat.h>
25563 #include <unistd.h>
25565 int main ()
25567 FILE *f, *g;
25568 struct stat st1, st2;
25570 f = fopen ("foo", "w");
25571 g = fopen ("bar", "w");
25572 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25573 return 1;
25574 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25575 return 1;
25576 fclose(f);
25577 fclose(g);
25578 return 0;
25580 _ACEOF
25581 if ac_fn_c_try_run "$LINENO"; then :
25582 libgfor_cv_have_working_stat=yes
25583 else
25584 libgfor_cv_have_working_stat=no
25586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25587 conftest.$ac_objext conftest.beam conftest.$ac_ext
25591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25592 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25593 if test x"$libgfor_cv_have_working_stat" = xyes; then
25595 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25599 # Check whether __mingw_snprintf() is present
25601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25602 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25603 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25604 $as_echo_n "(cached) " >&6
25605 else
25607 if test x$gcc_no_link = xyes; then
25608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25611 /* end confdefs.h. */
25613 #include <stdio.h>
25614 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25617 main ()
25620 __mingw_snprintf (NULL, 0, "%d\n", 1);
25623 return 0;
25625 _ACEOF
25626 if ac_fn_c_try_link "$LINENO"; then :
25627 eval "libgfor_cv_have_mingw_snprintf=yes"
25628 else
25629 eval "libgfor_cv_have_mingw_snprintf=no"
25631 rm -f core conftest.err conftest.$ac_objext \
25632 conftest$ac_exeext conftest.$ac_ext
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25636 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25637 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25639 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25644 # Check whether libquadmath should be used
25645 # Check whether --enable-libquadmath-support was given.
25646 if test "${enable_libquadmath_support+set}" = set; then :
25647 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25648 else
25649 ENABLE_LIBQUADMATH_SUPPORT=yes
25652 enable_libquadmath_support=
25653 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25654 enable_libquadmath_support=no
25657 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25659 LIBQUADSPEC=
25661 if test "x$enable_libquadmath_support" != xno; then
25663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25664 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25665 if test "${libgfor_cv_have_float128+set}" = set; then :
25666 $as_echo_n "(cached) " >&6
25667 else
25669 if test x$gcc_no_link = xyes; then
25670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25671 /* end confdefs.h. */
25673 typedef _Complex float __attribute__((mode(TC))) __complex128;
25675 __float128 foo (__float128 x)
25678 __complex128 z1, z2;
25680 z1 = x;
25681 z2 = x / 7.Q;
25682 z2 /= z1;
25684 return (__float128) z2;
25687 __float128 bar (__float128 x)
25689 return x * __builtin_huge_valq ();
25693 main ()
25696 foo (1.2Q);
25697 bar (1.2Q);
25700 return 0;
25702 _ACEOF
25703 if ac_fn_c_try_compile "$LINENO"; then :
25705 libgfor_cv_have_float128=yes
25707 else
25709 libgfor_cv_have_float128=no
25712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25713 else
25714 if test x$gcc_no_link = xyes; then
25715 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25718 /* end confdefs.h. */
25720 typedef _Complex float __attribute__((mode(TC))) __complex128;
25722 __float128 foo (__float128 x)
25725 __complex128 z1, z2;
25727 z1 = x;
25728 z2 = x / 7.Q;
25729 z2 /= z1;
25731 return (__float128) z2;
25734 __float128 bar (__float128 x)
25736 return x * __builtin_huge_valq ();
25740 main ()
25743 foo (1.2Q);
25744 bar (1.2Q);
25747 return 0;
25749 _ACEOF
25750 if ac_fn_c_try_link "$LINENO"; then :
25752 libgfor_cv_have_float128=yes
25754 else
25756 libgfor_cv_have_float128=no
25759 rm -f core conftest.err conftest.$ac_objext \
25760 conftest$ac_exeext conftest.$ac_ext
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25764 $as_echo "$libgfor_cv_have_float128" >&6; }
25766 if test "x$libgfor_cv_have_float128" = xyes; then
25768 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25771 ac_xsave_c_werror_flag=$ac_c_werror_flag
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25773 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25774 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25775 $as_echo_n "(cached) " >&6
25776 else
25778 # Test for native Solaris options first.
25779 # No whitespace after -z to pass it through -Wl.
25780 libgfor_cv_as_needed_option="-zignore"
25781 libgfor_cv_no_as_needed_option="-zrecord"
25782 save_LDFLAGS="$LDFLAGS"
25783 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25784 libgfor_cv_have_as_needed=no
25786 ac_c_werror_flag=yes
25787 if test x$gcc_no_link = xyes; then
25788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25791 /* end confdefs.h. */
25794 main ()
25798 return 0;
25800 _ACEOF
25801 if ac_fn_c_try_link "$LINENO"; then :
25802 libgfor_cv_have_as_needed=yes
25803 else
25804 libgfor_cv_have_as_needed=no
25806 rm -f core conftest.err conftest.$ac_objext \
25807 conftest$ac_exeext conftest.$ac_ext
25808 LDFLAGS="$save_LDFLAGS"
25809 if test "x$libgfor_cv_have_as_needed" = xno; then
25810 libgfor_cv_as_needed_option="--as-needed"
25811 libgfor_cv_no_as_needed_option="--no-as-needed"
25812 save_LDFLAGS="$LDFLAGS"
25813 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25814 libgfor_cv_have_as_needed=no
25816 ac_c_werror_flag=yes
25817 if test x$gcc_no_link = xyes; then
25818 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25821 /* end confdefs.h. */
25824 main ()
25828 return 0;
25830 _ACEOF
25831 if ac_fn_c_try_link "$LINENO"; then :
25832 libgfor_cv_have_as_needed=yes
25833 else
25834 libgfor_cv_have_as_needed=no
25836 rm -f core conftest.err conftest.$ac_objext \
25837 conftest$ac_exeext conftest.$ac_ext
25838 LDFLAGS="$save_LDFLAGS"
25840 ac_c_werror_flag=$ac_xsave_c_werror_flag
25843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25844 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25846 if test "x$libgfor_cv_have_as_needed" = xyes; then
25847 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25848 else
25849 LIBQUADSPEC="-lquadmath"
25851 if test -f ../libquadmath/libquadmath.la; then
25852 LIBQUADLIB=../libquadmath/libquadmath.la
25853 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25854 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25855 else
25856 LIBQUADLIB="-lquadmath"
25857 LIBQUADLIB_DEP=
25858 LIBQUADINCLUDE=
25861 else
25862 # for --disable-quadmath
25863 LIBQUADLIB=
25864 LIBQUADLIB_DEP=
25865 LIBQUADINCLUDE=
25873 if test "x$libgfor_cv_have_float128" = xyes; then
25874 LIBGFOR_BUILD_QUAD_TRUE=
25875 LIBGFOR_BUILD_QUAD_FALSE='#'
25876 else
25877 LIBGFOR_BUILD_QUAD_TRUE='#'
25878 LIBGFOR_BUILD_QUAD_FALSE=
25883 # Check for GNU libc feenableexcept
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25885 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25886 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25887 $as_echo_n "(cached) " >&6
25888 else
25889 ac_check_lib_save_LIBS=$LIBS
25890 LIBS="-lm $LIBS"
25891 if test x$gcc_no_link = xyes; then
25892 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25895 /* end confdefs.h. */
25897 /* Override any GCC internal prototype to avoid an error.
25898 Use char because int might match the return type of a GCC
25899 builtin and then its argument prototype would still apply. */
25900 #ifdef __cplusplus
25901 extern "C"
25902 #endif
25903 char feenableexcept ();
25905 main ()
25907 return feenableexcept ();
25909 return 0;
25911 _ACEOF
25912 if ac_fn_c_try_link "$LINENO"; then :
25913 ac_cv_lib_m_feenableexcept=yes
25914 else
25915 ac_cv_lib_m_feenableexcept=no
25917 rm -f core conftest.err conftest.$ac_objext \
25918 conftest$ac_exeext conftest.$ac_ext
25919 LIBS=$ac_check_lib_save_LIBS
25921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25922 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25923 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25924 have_feenableexcept=yes
25925 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25930 # At least for glibc, clock_gettime is in librt. But don't
25931 # pull that in if it still doesn't give us the function we want. This
25932 # test is copied from libgomp, and modified to not link in -lrt as
25933 # libgfortran calls clock_gettime via a weak reference if it's found
25934 # in librt.
25935 if test $ac_cv_func_clock_gettime = no; then
25936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25937 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25938 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25939 $as_echo_n "(cached) " >&6
25940 else
25941 ac_check_lib_save_LIBS=$LIBS
25942 LIBS="-lrt $LIBS"
25943 if test x$gcc_no_link = xyes; then
25944 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25947 /* end confdefs.h. */
25949 /* Override any GCC internal prototype to avoid an error.
25950 Use char because int might match the return type of a GCC
25951 builtin and then its argument prototype would still apply. */
25952 #ifdef __cplusplus
25953 extern "C"
25954 #endif
25955 char clock_gettime ();
25957 main ()
25959 return clock_gettime ();
25961 return 0;
25963 _ACEOF
25964 if ac_fn_c_try_link "$LINENO"; then :
25965 ac_cv_lib_rt_clock_gettime=yes
25966 else
25967 ac_cv_lib_rt_clock_gettime=no
25969 rm -f core conftest.err conftest.$ac_objext \
25970 conftest$ac_exeext conftest.$ac_ext
25971 LIBS=$ac_check_lib_save_LIBS
25973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25974 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25975 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25977 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25983 # Check for SysV fpsetmask
25985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25986 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25987 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25988 $as_echo_n "(cached) " >&6
25989 else
25991 if test x$gcc_no_link = xyes; then
25992 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25995 /* end confdefs.h. */
25997 #if HAVE_FLOATINGPOINT_H
25998 # include <floatingpoint.h>
25999 #endif /* HAVE_FLOATINGPOINT_H */
26000 #if HAVE_IEEEFP_H
26001 # include <ieeefp.h>
26002 #endif /* HAVE_IEEEFP_H */
26004 main ()
26006 fpsetmask(0);
26008 return 0;
26010 _ACEOF
26011 if ac_fn_c_try_link "$LINENO"; then :
26012 eval "libgfor_cv_have_fpsetmask=yes"
26013 else
26014 eval "libgfor_cv_have_fpsetmask=no"
26016 rm -f core conftest.err conftest.$ac_objext \
26017 conftest$ac_exeext conftest.$ac_ext
26020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26021 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26022 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
26023 have_fpsetmask=yes
26025 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26029 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "#include <ieeefp.h>
26031 if test "x$ac_cv_type_fp_except" = x""yes; then :
26033 cat >>confdefs.h <<_ACEOF
26034 #define HAVE_FP_EXCEPT 1
26035 _ACEOF
26039 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "#include <ieeefp.h>
26041 if test "x$ac_cv_type_fp_except_t" = x""yes; then :
26043 cat >>confdefs.h <<_ACEOF
26044 #define HAVE_FP_EXCEPT_T 1
26045 _ACEOF
26050 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "#include <ieeefp.h>
26052 if test "x$ac_cv_type_fp_rnd" = x""yes; then :
26054 cat >>confdefs.h <<_ACEOF
26055 #define HAVE_FP_RND 1
26056 _ACEOF
26060 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "#include <ieeefp.h>
26062 if test "x$ac_cv_type_fp_rnd_t" = x""yes; then :
26064 cat >>confdefs.h <<_ACEOF
26065 #define HAVE_FP_RND_T 1
26066 _ACEOF
26072 # Check for AIX fp_trap and fp_enable
26073 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26074 if test "x$ac_cv_func_fp_trap" = x""yes; then :
26075 have_fp_trap=yes
26076 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26080 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26081 if test "x$ac_cv_func_fp_enable" = x""yes; then :
26082 have_fp_enable=yes
26083 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26088 # Runs configure.host to set up necessary host-dependent shell variables.
26089 # We then display a message about it, and propagate them through the
26090 # build chain.
26091 . ${srcdir}/configure.host
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26093 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26094 FPU_HOST_HEADER=config/${fpu_host}.h
26097 # Some targets require additional compiler options for IEEE compatibility.
26098 IEEE_FLAGS="${ieee_flags}"
26102 # Check for POSIX getpwuid_r
26104 # There are two versions of getpwuid_r, the POSIX one with 5
26105 # arguments, and another one with 4 arguments used by at least HP-UX
26106 # 10.2.
26107 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26109 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26110 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26111 $as_echo_n "(cached) " >&6
26112 else
26114 if test x$gcc_no_link = xyes; then
26115 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26118 /* end confdefs.h. */
26120 #include <stdio.h>
26121 #include <sys/types.h>
26122 #include <pwd.h>
26124 main ()
26127 getpwuid_r(0, NULL, NULL, 0, NULL);
26130 return 0;
26132 _ACEOF
26133 if ac_fn_c_try_link "$LINENO"; then :
26134 libgfor_cv_posix_getpwuid_r="yes"
26135 else
26136 libgfor_cv_posix_getpwuid_r="no"
26138 rm -f core conftest.err conftest.$ac_objext \
26139 conftest$ac_exeext conftest.$ac_ext
26141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26142 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26144 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26146 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26151 # Check out attribute support.
26153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26154 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26155 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26156 $as_echo_n "(cached) " >&6
26157 else
26159 save_CFLAGS="$CFLAGS"
26160 CFLAGS="$CFLAGS -Werror"
26161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26162 /* end confdefs.h. */
26163 void __attribute__((visibility("hidden"))) foo(void) { }
26165 main ()
26169 return 0;
26171 _ACEOF
26172 if ac_fn_c_try_compile "$LINENO"; then :
26173 libgfor_cv_have_attribute_visibility=yes
26174 else
26175 libgfor_cv_have_attribute_visibility=no
26177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26178 CFLAGS="$save_CFLAGS"
26180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26181 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26182 if test $libgfor_cv_have_attribute_visibility = yes; then
26184 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26189 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26190 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26191 $as_echo_n "(cached) " >&6
26192 else
26194 save_CFLAGS="$CFLAGS"
26195 CFLAGS="$CFLAGS -Werror"
26196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26197 /* end confdefs.h. */
26198 void __attribute__((dllexport)) foo(void) { }
26200 main ()
26204 return 0;
26206 _ACEOF
26207 if ac_fn_c_try_compile "$LINENO"; then :
26208 libgfor_cv_have_attribute_dllexport=yes
26209 else
26210 libgfor_cv_have_attribute_dllexport=no
26212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26213 CFLAGS="$save_CFLAGS"
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26216 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26217 if test $libgfor_cv_have_attribute_dllexport = yes; then
26219 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26224 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26225 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26226 $as_echo_n "(cached) " >&6
26227 else
26229 if test x$gcc_no_link = xyes; then
26230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26233 /* end confdefs.h. */
26235 void foo(void) { }
26236 extern void bar(void) __attribute__((alias("foo")));
26238 main ()
26240 bar();
26242 return 0;
26244 _ACEOF
26245 if ac_fn_c_try_link "$LINENO"; then :
26246 libgfor_cv_have_attribute_alias=yes
26247 else
26248 libgfor_cv_have_attribute_alias=no
26250 rm -f core conftest.err conftest.$ac_objext \
26251 conftest$ac_exeext conftest.$ac_ext
26253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26254 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26255 if test $libgfor_cv_have_attribute_alias = yes; then
26257 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26261 # Check out sync builtins support.
26263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26264 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26265 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26266 $as_echo_n "(cached) " >&6
26267 else
26269 if test x$gcc_no_link = xyes; then
26270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26273 /* end confdefs.h. */
26274 int foovar = 0;
26276 main ()
26279 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26280 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26282 return 0;
26284 _ACEOF
26285 if ac_fn_c_try_link "$LINENO"; then :
26286 libgfor_cv_have_sync_fetch_and_add=yes
26287 else
26288 libgfor_cv_have_sync_fetch_and_add=no
26290 rm -f core conftest.err conftest.$ac_objext \
26291 conftest$ac_exeext conftest.$ac_ext
26293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26294 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26295 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26297 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26301 # Check out #pragma weak.
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26304 $as_echo_n "checking whether pragma weak works... " >&6; }
26305 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26306 $as_echo_n "(cached) " >&6
26307 else
26309 gfor_save_CFLAGS="$CFLAGS"
26310 CFLAGS="$CFLAGS -Wunknown-pragmas"
26311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26312 /* end confdefs.h. */
26314 void foo (void);
26315 #pragma weak foo
26318 main ()
26320 if (foo) foo ();
26322 return 0;
26324 _ACEOF
26325 if ac_fn_c_try_compile "$LINENO"; then :
26326 libgfor_cv_have_pragma_weak=yes
26327 else
26328 libgfor_cv_have_pragma_weak=no
26330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26333 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26334 if test $libgfor_cv_have_pragma_weak = yes; then
26336 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26339 case "$host" in
26340 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
26342 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26345 esac
26347 # Various other checks on target
26349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26350 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26351 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26352 $as_echo_n "(cached) " >&6
26353 else
26355 if test "$cross_compiling" = yes; then :
26357 case "${target}" in
26358 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26359 *) libgfor_cv_have_unlink_open_file=yes;;
26360 esac
26361 else
26362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26363 /* end confdefs.h. */
26365 #include <errno.h>
26366 #include <fcntl.h>
26367 #include <unistd.h>
26368 #include <sys/stat.h>
26370 int main ()
26372 int fd;
26374 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26375 if (fd <= 0)
26376 return 0;
26377 if (unlink ("testfile") == -1)
26378 return 1;
26379 write (fd, "This is a test\n", 15);
26380 close (fd);
26382 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26383 return 0;
26384 else
26385 return 1;
26387 _ACEOF
26388 if ac_fn_c_try_run "$LINENO"; then :
26389 libgfor_cv_have_unlink_open_file=yes
26390 else
26391 libgfor_cv_have_unlink_open_file=no
26393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26394 conftest.$ac_objext conftest.beam conftest.$ac_ext
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26399 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26400 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26402 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26406 # Check whether line terminator is LF or CRLF
26408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26409 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26410 if test "${libgfor_cv_have_crlf+set}" = set; then :
26411 $as_echo_n "(cached) " >&6
26412 else
26414 if test "$cross_compiling" = yes; then :
26416 case "${target}" in
26417 *mingw*) libgfor_cv_have_crlf=yes ;;
26418 *) libgfor_cv_have_crlf=no;;
26419 esac
26420 else
26421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26422 /* end confdefs.h. */
26424 /* This test program should exit with status 0 if system uses a CRLF as
26425 line terminator, and status 1 otherwise.
26426 Since it is used to check for mingw systems, and should return 0 in any
26427 other case, in case of a failure we will not use CRLF. */
26428 #include <sys/stat.h>
26429 #include <stdlib.h>
26430 #include <fcntl.h>
26431 #include <stdio.h>
26433 int main ()
26435 #ifndef O_BINARY
26436 exit(1);
26437 #else
26438 int fd, bytes;
26439 char buff[5];
26441 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26442 if (fd < 0)
26443 exit(1);
26444 if (write (fd, "\n", 1) < 0)
26445 perror ("write");
26447 close (fd);
26449 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26450 exit(1);
26451 bytes = read (fd, buff, 5);
26452 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26453 exit(0);
26454 else
26455 exit(1);
26456 #endif
26458 _ACEOF
26459 if ac_fn_c_try_run "$LINENO"; then :
26460 libgfor_cv_have_crlf=yes
26461 else
26462 libgfor_cv_have_crlf=no
26464 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26465 conftest.$ac_objext conftest.beam conftest.$ac_ext
26469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26470 $as_echo "$libgfor_cv_have_crlf" >&6; }
26471 if test x"$libgfor_cv_have_crlf" = xyes; then
26473 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26477 # Check whether we have _Unwind_GetIPInfo for backtrace
26480 # Check whether --with-system-libunwind was given.
26481 if test "${with_system_libunwind+set}" = set; then :
26482 withval=$with_system_libunwind;
26485 # If system-libunwind was not specifically set, pick a default setting.
26486 if test x$with_system_libunwind = x; then
26487 case ${target} in
26488 ia64-*-hpux*) with_system_libunwind=yes ;;
26489 *) with_system_libunwind=no ;;
26490 esac
26492 # Based on system-libunwind and target, do we have ipinfo?
26493 if test x$with_system_libunwind = xyes; then
26494 case ${target} in
26495 ia64-*-*) have_unwind_getipinfo=no ;;
26496 *) have_unwind_getipinfo=yes ;;
26497 esac
26498 else
26499 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26501 case ${target} in
26502 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
26503 *) have_unwind_getipinfo=yes ;;
26504 esac
26508 if test x$have_unwind_getipinfo = xyes; then
26510 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26515 cat >confcache <<\_ACEOF
26516 # This file is a shell script that caches the results of configure
26517 # tests run on this system so they can be shared between configure
26518 # scripts and configure runs, see configure's option --config-cache.
26519 # It is not useful on other systems. If it contains results you don't
26520 # want to keep, you may remove or edit it.
26522 # config.status only pays attention to the cache file if you give it
26523 # the --recheck option to rerun configure.
26525 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26526 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26527 # following values.
26529 _ACEOF
26531 # The following way of writing the cache mishandles newlines in values,
26532 # but we know of no workaround that is simple, portable, and efficient.
26533 # So, we kill variables containing newlines.
26534 # Ultrix sh set writes to stderr and can't be redirected directly,
26535 # and sets the high bit in the cache file unless we assign to the vars.
26537 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26538 eval ac_val=\$$ac_var
26539 case $ac_val in #(
26540 *${as_nl}*)
26541 case $ac_var in #(
26542 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26543 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26544 esac
26545 case $ac_var in #(
26546 _ | IFS | as_nl) ;; #(
26547 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26548 *) { eval $ac_var=; unset $ac_var;} ;;
26549 esac ;;
26550 esac
26551 done
26553 (set) 2>&1 |
26554 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26555 *${as_nl}ac_space=\ *)
26556 # `set' does not quote correctly, so add quotes: double-quote
26557 # substitution turns \\\\ into \\, and sed turns \\ into \.
26558 sed -n \
26559 "s/'/'\\\\''/g;
26560 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26561 ;; #(
26563 # `set' quotes correctly as required by POSIX, so do not add quotes.
26564 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26566 esac |
26567 sort
26569 sed '
26570 /^ac_cv_env_/b end
26571 t clear
26572 :clear
26573 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26574 t end
26575 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26576 :end' >>confcache
26577 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26578 if test -w "$cache_file"; then
26579 test "x$cache_file" != "x/dev/null" &&
26580 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26581 $as_echo "$as_me: updating cache $cache_file" >&6;}
26582 cat confcache >$cache_file
26583 else
26584 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26585 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26588 rm -f confcache
26590 if test ${multilib} = yes; then
26591 multilib_arg="--enable-multilib"
26592 else
26593 multilib_arg=
26596 # Write our Makefile and spec file.
26597 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26599 cat >confcache <<\_ACEOF
26600 # This file is a shell script that caches the results of configure
26601 # tests run on this system so they can be shared between configure
26602 # scripts and configure runs, see configure's option --config-cache.
26603 # It is not useful on other systems. If it contains results you don't
26604 # want to keep, you may remove or edit it.
26606 # config.status only pays attention to the cache file if you give it
26607 # the --recheck option to rerun configure.
26609 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26610 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26611 # following values.
26613 _ACEOF
26615 # The following way of writing the cache mishandles newlines in values,
26616 # but we know of no workaround that is simple, portable, and efficient.
26617 # So, we kill variables containing newlines.
26618 # Ultrix sh set writes to stderr and can't be redirected directly,
26619 # and sets the high bit in the cache file unless we assign to the vars.
26621 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26622 eval ac_val=\$$ac_var
26623 case $ac_val in #(
26624 *${as_nl}*)
26625 case $ac_var in #(
26626 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26627 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26628 esac
26629 case $ac_var in #(
26630 _ | IFS | as_nl) ;; #(
26631 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26632 *) { eval $ac_var=; unset $ac_var;} ;;
26633 esac ;;
26634 esac
26635 done
26637 (set) 2>&1 |
26638 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26639 *${as_nl}ac_space=\ *)
26640 # `set' does not quote correctly, so add quotes: double-quote
26641 # substitution turns \\\\ into \\, and sed turns \\ into \.
26642 sed -n \
26643 "s/'/'\\\\''/g;
26644 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26645 ;; #(
26647 # `set' quotes correctly as required by POSIX, so do not add quotes.
26648 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26650 esac |
26651 sort
26653 sed '
26654 /^ac_cv_env_/b end
26655 t clear
26656 :clear
26657 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26658 t end
26659 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26660 :end' >>confcache
26661 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26662 if test -w "$cache_file"; then
26663 test "x$cache_file" != "x/dev/null" &&
26664 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26665 $as_echo "$as_me: updating cache $cache_file" >&6;}
26666 cat confcache >$cache_file
26667 else
26668 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26669 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26672 rm -f confcache
26674 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26675 # Let make expand exec_prefix.
26676 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26678 DEFS=-DHAVE_CONFIG_H
26680 ac_libobjs=
26681 ac_ltlibobjs=
26682 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26683 # 1. Remove the extension, and $U if already installed.
26684 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26685 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26686 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26687 # will be set to the directory where LIBOBJS objects are built.
26688 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26689 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26690 done
26691 LIBOBJS=$ac_libobjs
26693 LTLIBOBJS=$ac_ltlibobjs
26696 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26697 as_fn_error "conditional \"onestep\" was never defined.
26698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26700 if test -n "$EXEEXT"; then
26701 am__EXEEXT_TRUE=
26702 am__EXEEXT_FALSE='#'
26703 else
26704 am__EXEEXT_TRUE='#'
26705 am__EXEEXT_FALSE=
26708 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26709 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26712 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26713 as_fn_error "conditional \"AMDEP\" was never defined.
26714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26716 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26717 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26720 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26721 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26724 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26725 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26728 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26729 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26732 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26733 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26736 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26737 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26741 : ${CONFIG_STATUS=./config.status}
26742 ac_write_fail=0
26743 ac_clean_files_save=$ac_clean_files
26744 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26746 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26747 as_write_fail=0
26748 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26749 #! $SHELL
26750 # Generated by $as_me.
26751 # Run this file to recreate the current configuration.
26752 # Compiler output produced by configure, useful for debugging
26753 # configure, is in config.log if it exists.
26755 debug=false
26756 ac_cs_recheck=false
26757 ac_cs_silent=false
26759 SHELL=\${CONFIG_SHELL-$SHELL}
26760 export SHELL
26761 _ASEOF
26762 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26763 ## -------------------- ##
26764 ## M4sh Initialization. ##
26765 ## -------------------- ##
26767 # Be more Bourne compatible
26768 DUALCASE=1; export DUALCASE # for MKS sh
26769 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26770 emulate sh
26771 NULLCMD=:
26772 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26773 # is contrary to our usage. Disable this feature.
26774 alias -g '${1+"$@"}'='"$@"'
26775 setopt NO_GLOB_SUBST
26776 else
26777 case `(set -o) 2>/dev/null` in #(
26778 *posix*) :
26779 set -o posix ;; #(
26780 *) :
26782 esac
26786 as_nl='
26788 export as_nl
26789 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26790 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26791 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26792 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26793 # Prefer a ksh shell builtin over an external printf program on Solaris,
26794 # but without wasting forks for bash or zsh.
26795 if test -z "$BASH_VERSION$ZSH_VERSION" \
26796 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26797 as_echo='print -r --'
26798 as_echo_n='print -rn --'
26799 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26800 as_echo='printf %s\n'
26801 as_echo_n='printf %s'
26802 else
26803 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26804 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26805 as_echo_n='/usr/ucb/echo -n'
26806 else
26807 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26808 as_echo_n_body='eval
26809 arg=$1;
26810 case $arg in #(
26811 *"$as_nl"*)
26812 expr "X$arg" : "X\\(.*\\)$as_nl";
26813 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26814 esac;
26815 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26817 export as_echo_n_body
26818 as_echo_n='sh -c $as_echo_n_body as_echo'
26820 export as_echo_body
26821 as_echo='sh -c $as_echo_body as_echo'
26824 # The user is always right.
26825 if test "${PATH_SEPARATOR+set}" != set; then
26826 PATH_SEPARATOR=:
26827 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26828 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26829 PATH_SEPARATOR=';'
26834 # IFS
26835 # We need space, tab and new line, in precisely that order. Quoting is
26836 # there to prevent editors from complaining about space-tab.
26837 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26838 # splitting by setting IFS to empty value.)
26839 IFS=" "" $as_nl"
26841 # Find who we are. Look in the path if we contain no directory separator.
26842 case $0 in #((
26843 *[\\/]* ) as_myself=$0 ;;
26844 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26845 for as_dir in $PATH
26847 IFS=$as_save_IFS
26848 test -z "$as_dir" && as_dir=.
26849 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26850 done
26851 IFS=$as_save_IFS
26854 esac
26855 # We did not find ourselves, most probably we were run as `sh COMMAND'
26856 # in which case we are not to be found in the path.
26857 if test "x$as_myself" = x; then
26858 as_myself=$0
26860 if test ! -f "$as_myself"; then
26861 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26862 exit 1
26865 # Unset variables that we do not need and which cause bugs (e.g. in
26866 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26867 # suppresses any "Segmentation fault" message there. '((' could
26868 # trigger a bug in pdksh 5.2.14.
26869 for as_var in BASH_ENV ENV MAIL MAILPATH
26870 do eval test x\${$as_var+set} = xset \
26871 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26872 done
26873 PS1='$ '
26874 PS2='> '
26875 PS4='+ '
26877 # NLS nuisances.
26878 LC_ALL=C
26879 export LC_ALL
26880 LANGUAGE=C
26881 export LANGUAGE
26883 # CDPATH.
26884 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26887 # as_fn_error ERROR [LINENO LOG_FD]
26888 # ---------------------------------
26889 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26890 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26891 # script with status $?, using 1 if that was 0.
26892 as_fn_error ()
26894 as_status=$?; test $as_status -eq 0 && as_status=1
26895 if test "$3"; then
26896 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26897 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26899 $as_echo "$as_me: error: $1" >&2
26900 as_fn_exit $as_status
26901 } # as_fn_error
26904 # as_fn_set_status STATUS
26905 # -----------------------
26906 # Set $? to STATUS, without forking.
26907 as_fn_set_status ()
26909 return $1
26910 } # as_fn_set_status
26912 # as_fn_exit STATUS
26913 # -----------------
26914 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26915 as_fn_exit ()
26917 set +e
26918 as_fn_set_status $1
26919 exit $1
26920 } # as_fn_exit
26922 # as_fn_unset VAR
26923 # ---------------
26924 # Portably unset VAR.
26925 as_fn_unset ()
26927 { eval $1=; unset $1;}
26929 as_unset=as_fn_unset
26930 # as_fn_append VAR VALUE
26931 # ----------------------
26932 # Append the text in VALUE to the end of the definition contained in VAR. Take
26933 # advantage of any shell optimizations that allow amortized linear growth over
26934 # repeated appends, instead of the typical quadratic growth present in naive
26935 # implementations.
26936 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26937 eval 'as_fn_append ()
26939 eval $1+=\$2
26941 else
26942 as_fn_append ()
26944 eval $1=\$$1\$2
26946 fi # as_fn_append
26948 # as_fn_arith ARG...
26949 # ------------------
26950 # Perform arithmetic evaluation on the ARGs, and store the result in the
26951 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26952 # must be portable across $(()) and expr.
26953 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26954 eval 'as_fn_arith ()
26956 as_val=$(( $* ))
26958 else
26959 as_fn_arith ()
26961 as_val=`expr "$@" || test $? -eq 1`
26963 fi # as_fn_arith
26966 if expr a : '\(a\)' >/dev/null 2>&1 &&
26967 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26968 as_expr=expr
26969 else
26970 as_expr=false
26973 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26974 as_basename=basename
26975 else
26976 as_basename=false
26979 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26980 as_dirname=dirname
26981 else
26982 as_dirname=false
26985 as_me=`$as_basename -- "$0" ||
26986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26987 X"$0" : 'X\(//\)$' \| \
26988 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26989 $as_echo X/"$0" |
26990 sed '/^.*\/\([^/][^/]*\)\/*$/{
26991 s//\1/
26994 /^X\/\(\/\/\)$/{
26995 s//\1/
26998 /^X\/\(\/\).*/{
26999 s//\1/
27002 s/.*/./; q'`
27004 # Avoid depending upon Character Ranges.
27005 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27006 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27007 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27008 as_cr_digits='0123456789'
27009 as_cr_alnum=$as_cr_Letters$as_cr_digits
27011 ECHO_C= ECHO_N= ECHO_T=
27012 case `echo -n x` in #(((((
27013 -n*)
27014 case `echo 'xy\c'` in
27015 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27016 xy) ECHO_C='\c';;
27017 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27018 ECHO_T=' ';;
27019 esac;;
27021 ECHO_N='-n';;
27022 esac
27024 rm -f conf$$ conf$$.exe conf$$.file
27025 if test -d conf$$.dir; then
27026 rm -f conf$$.dir/conf$$.file
27027 else
27028 rm -f conf$$.dir
27029 mkdir conf$$.dir 2>/dev/null
27031 if (echo >conf$$.file) 2>/dev/null; then
27032 if ln -s conf$$.file conf$$ 2>/dev/null; then
27033 as_ln_s='ln -s'
27034 # ... but there are two gotchas:
27035 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27036 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27037 # In both cases, we have to default to `cp -p'.
27038 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27039 as_ln_s='cp -p'
27040 elif ln conf$$.file conf$$ 2>/dev/null; then
27041 as_ln_s=ln
27042 else
27043 as_ln_s='cp -p'
27045 else
27046 as_ln_s='cp -p'
27048 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27049 rmdir conf$$.dir 2>/dev/null
27052 # as_fn_mkdir_p
27053 # -------------
27054 # Create "$as_dir" as a directory, including parents if necessary.
27055 as_fn_mkdir_p ()
27058 case $as_dir in #(
27059 -*) as_dir=./$as_dir;;
27060 esac
27061 test -d "$as_dir" || eval $as_mkdir_p || {
27062 as_dirs=
27063 while :; do
27064 case $as_dir in #(
27065 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27066 *) as_qdir=$as_dir;;
27067 esac
27068 as_dirs="'$as_qdir' $as_dirs"
27069 as_dir=`$as_dirname -- "$as_dir" ||
27070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27071 X"$as_dir" : 'X\(//\)[^/]' \| \
27072 X"$as_dir" : 'X\(//\)$' \| \
27073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27074 $as_echo X"$as_dir" |
27075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27076 s//\1/
27079 /^X\(\/\/\)[^/].*/{
27080 s//\1/
27083 /^X\(\/\/\)$/{
27084 s//\1/
27087 /^X\(\/\).*/{
27088 s//\1/
27091 s/.*/./; q'`
27092 test -d "$as_dir" && break
27093 done
27094 test -z "$as_dirs" || eval "mkdir $as_dirs"
27095 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
27098 } # as_fn_mkdir_p
27099 if mkdir -p . 2>/dev/null; then
27100 as_mkdir_p='mkdir -p "$as_dir"'
27101 else
27102 test -d ./-p && rmdir ./-p
27103 as_mkdir_p=false
27106 if test -x / >/dev/null 2>&1; then
27107 as_test_x='test -x'
27108 else
27109 if ls -dL / >/dev/null 2>&1; then
27110 as_ls_L_option=L
27111 else
27112 as_ls_L_option=
27114 as_test_x='
27115 eval sh -c '\''
27116 if test -d "$1"; then
27117 test -d "$1/.";
27118 else
27119 case $1 in #(
27120 -*)set "./$1";;
27121 esac;
27122 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27123 ???[sx]*):;;*)false;;esac;fi
27124 '\'' sh
27127 as_executable_p=$as_test_x
27129 # Sed expression to map a string onto a valid CPP name.
27130 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27132 # Sed expression to map a string onto a valid variable name.
27133 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27136 exec 6>&1
27137 ## ----------------------------------- ##
27138 ## Main body of $CONFIG_STATUS script. ##
27139 ## ----------------------------------- ##
27140 _ASEOF
27141 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27144 # Save the log message, to keep $0 and so on meaningful, and to
27145 # report actual input values of CONFIG_FILES etc. instead of their
27146 # values after options handling.
27147 ac_log="
27148 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27149 generated by GNU Autoconf 2.64. Invocation command line was
27151 CONFIG_FILES = $CONFIG_FILES
27152 CONFIG_HEADERS = $CONFIG_HEADERS
27153 CONFIG_LINKS = $CONFIG_LINKS
27154 CONFIG_COMMANDS = $CONFIG_COMMANDS
27155 $ $0 $@
27157 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27160 _ACEOF
27162 case $ac_config_files in *"
27163 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27164 esac
27166 case $ac_config_headers in *"
27167 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27168 esac
27171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27172 # Files that config.status was made for.
27173 config_files="$ac_config_files"
27174 config_headers="$ac_config_headers"
27175 config_commands="$ac_config_commands"
27177 _ACEOF
27179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27180 ac_cs_usage="\
27181 \`$as_me' instantiates files and other configuration actions
27182 from templates according to the current configuration. Unless the files
27183 and actions are specified as TAGs, all are instantiated by default.
27185 Usage: $0 [OPTION]... [TAG]...
27187 -h, --help print this help, then exit
27188 -V, --version print version number and configuration settings, then exit
27189 -q, --quiet, --silent
27190 do not print progress messages
27191 -d, --debug don't remove temporary files
27192 --recheck update $as_me by reconfiguring in the same conditions
27193 --file=FILE[:TEMPLATE]
27194 instantiate the configuration file FILE
27195 --header=FILE[:TEMPLATE]
27196 instantiate the configuration header FILE
27198 Configuration files:
27199 $config_files
27201 Configuration headers:
27202 $config_headers
27204 Configuration commands:
27205 $config_commands
27207 Report bugs to the package provider.
27208 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27209 General help using GNU software: <http://www.gnu.org/gethelp/>."
27211 _ACEOF
27212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27213 ac_cs_version="\\
27214 GNU Fortran Runtime Library config.status 0.3
27215 configured by $0, generated by GNU Autoconf 2.64,
27216 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27218 Copyright (C) 2009 Free Software Foundation, Inc.
27219 This config.status script is free software; the Free Software Foundation
27220 gives unlimited permission to copy, distribute and modify it."
27222 ac_pwd='$ac_pwd'
27223 srcdir='$srcdir'
27224 INSTALL='$INSTALL'
27225 MKDIR_P='$MKDIR_P'
27226 AWK='$AWK'
27227 test -n "\$AWK" || AWK=awk
27228 _ACEOF
27230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27231 # The default lists apply if the user does not specify any file.
27232 ac_need_defaults=:
27233 while test $# != 0
27235 case $1 in
27236 --*=*)
27237 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27238 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27239 ac_shift=:
27242 ac_option=$1
27243 ac_optarg=$2
27244 ac_shift=shift
27246 esac
27248 case $ac_option in
27249 # Handling of the options.
27250 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27251 ac_cs_recheck=: ;;
27252 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27253 $as_echo "$ac_cs_version"; exit ;;
27254 --debug | --debu | --deb | --de | --d | -d )
27255 debug=: ;;
27256 --file | --fil | --fi | --f )
27257 $ac_shift
27258 case $ac_optarg in
27259 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27260 esac
27261 as_fn_append CONFIG_FILES " '$ac_optarg'"
27262 ac_need_defaults=false;;
27263 --header | --heade | --head | --hea )
27264 $ac_shift
27265 case $ac_optarg in
27266 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27267 esac
27268 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27269 ac_need_defaults=false;;
27270 --he | --h)
27271 # Conflict between --help and --header
27272 as_fn_error "ambiguous option: \`$1'
27273 Try \`$0 --help' for more information.";;
27274 --help | --hel | -h )
27275 $as_echo "$ac_cs_usage"; exit ;;
27276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27277 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27278 ac_cs_silent=: ;;
27280 # This is an error.
27281 -*) as_fn_error "unrecognized option: \`$1'
27282 Try \`$0 --help' for more information." ;;
27284 *) as_fn_append ac_config_targets " $1"
27285 ac_need_defaults=false ;;
27287 esac
27288 shift
27289 done
27291 ac_configure_extra_args=
27293 if $ac_cs_silent; then
27294 exec 6>/dev/null
27295 ac_configure_extra_args="$ac_configure_extra_args --silent"
27298 _ACEOF
27299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27300 if \$ac_cs_recheck; then
27301 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27302 shift
27303 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27304 CONFIG_SHELL='$SHELL'
27305 export CONFIG_SHELL
27306 exec "\$@"
27309 _ACEOF
27310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27311 exec 5>>config.log
27313 echo
27314 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27315 ## Running $as_me. ##
27316 _ASBOX
27317 $as_echo "$ac_log"
27318 } >&5
27320 _ACEOF
27321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27323 # INIT-COMMANDS
27326 srcdir="$srcdir"
27327 host="$host"
27328 target="$target"
27329 with_multisubdir="$with_multisubdir"
27330 with_multisrctop="$with_multisrctop"
27331 with_target_subdir="$with_target_subdir"
27332 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27333 multi_basedir="$multi_basedir"
27334 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27335 CC="$CC"
27336 CXX="$CXX"
27337 GFORTRAN="$GFORTRAN"
27338 GCJ="$GCJ"
27339 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27342 # The HP-UX ksh and POSIX shell print the target directory to stdout
27343 # if CDPATH is set.
27344 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27346 sed_quote_subst='$sed_quote_subst'
27347 double_quote_subst='$double_quote_subst'
27348 delay_variable_subst='$delay_variable_subst'
27349 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27350 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27351 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27352 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27353 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27354 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27355 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27356 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27357 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27358 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27359 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27360 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27361 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27362 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27363 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27364 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27365 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27366 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27367 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27368 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27369 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27370 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27371 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27372 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27373 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27374 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27375 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27376 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27377 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27378 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27379 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27380 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27381 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27382 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27383 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27384 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27385 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27386 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27387 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27388 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27389 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27390 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27391 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27392 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27393 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27394 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27395 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27396 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27397 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"`'
27398 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27399 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27400 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27401 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27402 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27403 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27404 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27405 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27406 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27407 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27408 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27409 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27410 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27411 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27412 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27413 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27414 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27415 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27416 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27417 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27418 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27419 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27420 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27421 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27422 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27423 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27424 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27425 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27426 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27427 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27428 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27429 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27430 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27431 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27432 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27433 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27434 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27435 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27436 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27437 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27438 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27439 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27440 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27441 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27442 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27443 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27444 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27445 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27446 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27447 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27448 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27449 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27450 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27451 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27452 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27453 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27454 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27455 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27456 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27457 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27458 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27459 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27460 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27461 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27462 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27463 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27464 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27465 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27466 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27467 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27468 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27469 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27470 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27471 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27472 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27473 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27474 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27475 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27476 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27477 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27478 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27479 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27480 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27481 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27482 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27483 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27484 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27485 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27486 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27487 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27488 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27489 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27490 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27491 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27492 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27493 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27494 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27495 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27496 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27497 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27498 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27499 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27500 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27501 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27502 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27503 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27504 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27505 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27506 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27507 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27508 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27509 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27510 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27511 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27512 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27513 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27514 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27515 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27516 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27517 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27518 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27519 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27520 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27521 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27522 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27523 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27525 LTCC='$LTCC'
27526 LTCFLAGS='$LTCFLAGS'
27527 compiler='$compiler_DEFAULT'
27529 # A function that is used when there is no print builtin or printf.
27530 func_fallback_echo ()
27532 eval 'cat <<_LTECHO_EOF
27534 _LTECHO_EOF'
27537 # Quote evaled strings.
27538 for var in SHELL \
27539 ECHO \
27540 SED \
27541 GREP \
27542 EGREP \
27543 FGREP \
27544 LD \
27545 NM \
27546 LN_S \
27547 lt_SP2NL \
27548 lt_NL2SP \
27549 reload_flag \
27550 OBJDUMP \
27551 deplibs_check_method \
27552 file_magic_cmd \
27553 AR \
27554 AR_FLAGS \
27555 STRIP \
27556 RANLIB \
27557 CC \
27558 CFLAGS \
27559 compiler \
27560 lt_cv_sys_global_symbol_pipe \
27561 lt_cv_sys_global_symbol_to_cdecl \
27562 lt_cv_sys_global_symbol_to_c_name_address \
27563 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27564 lt_prog_compiler_no_builtin_flag \
27565 lt_prog_compiler_wl \
27566 lt_prog_compiler_pic \
27567 lt_prog_compiler_static \
27568 lt_cv_prog_compiler_c_o \
27569 need_locks \
27570 DSYMUTIL \
27571 NMEDIT \
27572 LIPO \
27573 OTOOL \
27574 OTOOL64 \
27575 shrext_cmds \
27576 export_dynamic_flag_spec \
27577 whole_archive_flag_spec \
27578 compiler_needs_object \
27579 with_gnu_ld \
27580 allow_undefined_flag \
27581 no_undefined_flag \
27582 hardcode_libdir_flag_spec \
27583 hardcode_libdir_flag_spec_ld \
27584 hardcode_libdir_separator \
27585 fix_srcfile_path \
27586 exclude_expsyms \
27587 include_expsyms \
27588 file_list_spec \
27589 variables_saved_for_relink \
27590 libname_spec \
27591 library_names_spec \
27592 soname_spec \
27593 install_override_mode \
27594 finish_eval \
27595 old_striplib \
27596 striplib \
27597 compiler_lib_search_dirs \
27598 predep_objects \
27599 postdep_objects \
27600 predeps \
27601 postdeps \
27602 compiler_lib_search_path \
27603 LD_FC \
27604 reload_flag_FC \
27605 compiler_FC \
27606 lt_prog_compiler_no_builtin_flag_FC \
27607 lt_prog_compiler_wl_FC \
27608 lt_prog_compiler_pic_FC \
27609 lt_prog_compiler_static_FC \
27610 lt_cv_prog_compiler_c_o_FC \
27611 export_dynamic_flag_spec_FC \
27612 whole_archive_flag_spec_FC \
27613 compiler_needs_object_FC \
27614 with_gnu_ld_FC \
27615 allow_undefined_flag_FC \
27616 no_undefined_flag_FC \
27617 hardcode_libdir_flag_spec_FC \
27618 hardcode_libdir_flag_spec_ld_FC \
27619 hardcode_libdir_separator_FC \
27620 fix_srcfile_path_FC \
27621 exclude_expsyms_FC \
27622 include_expsyms_FC \
27623 file_list_spec_FC \
27624 compiler_lib_search_dirs_FC \
27625 predep_objects_FC \
27626 postdep_objects_FC \
27627 predeps_FC \
27628 postdeps_FC \
27629 compiler_lib_search_path_FC; do
27630 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27631 *[\\\\\\\`\\"\\\$]*)
27632 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27635 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27637 esac
27638 done
27640 # Double-quote double-evaled strings.
27641 for var in reload_cmds \
27642 old_postinstall_cmds \
27643 old_postuninstall_cmds \
27644 old_archive_cmds \
27645 extract_expsyms_cmds \
27646 old_archive_from_new_cmds \
27647 old_archive_from_expsyms_cmds \
27648 archive_cmds \
27649 archive_expsym_cmds \
27650 module_cmds \
27651 module_expsym_cmds \
27652 export_symbols_cmds \
27653 prelink_cmds \
27654 postinstall_cmds \
27655 postuninstall_cmds \
27656 finish_cmds \
27657 sys_lib_search_path_spec \
27658 sys_lib_dlsearch_path_spec \
27659 reload_cmds_FC \
27660 old_archive_cmds_FC \
27661 old_archive_from_new_cmds_FC \
27662 old_archive_from_expsyms_cmds_FC \
27663 archive_cmds_FC \
27664 archive_expsym_cmds_FC \
27665 module_cmds_FC \
27666 module_expsym_cmds_FC \
27667 export_symbols_cmds_FC \
27668 prelink_cmds_FC; do
27669 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27670 *[\\\\\\\`\\"\\\$]*)
27671 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27674 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27676 esac
27677 done
27679 ac_aux_dir='$ac_aux_dir'
27680 xsi_shell='$xsi_shell'
27681 lt_shell_append='$lt_shell_append'
27683 # See if we are running on zsh, and set the options which allow our
27684 # commands through without removal of \ escapes INIT.
27685 if test -n "\${ZSH_VERSION+set}" ; then
27686 setopt NO_GLOB_SUBST
27690 PACKAGE='$PACKAGE'
27691 VERSION='$VERSION'
27692 TIMESTAMP='$TIMESTAMP'
27693 RM='$RM'
27694 ofile='$ofile'
27701 GCC="$GCC"
27702 CC="$CC"
27703 acx_cv_header_stdint="$acx_cv_header_stdint"
27704 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27705 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27706 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27707 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27708 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27709 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27710 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27711 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27712 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27713 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27714 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27715 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27716 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27719 _ACEOF
27721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27723 # Handling of arguments.
27724 for ac_config_target in $ac_config_targets
27726 case $ac_config_target in
27727 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27728 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27729 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27730 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27731 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27732 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27733 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27735 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27736 esac
27737 done
27740 # If the user did not use the arguments to specify the items to instantiate,
27741 # then the envvar interface is used. Set only those that are not.
27742 # We use the long form for the default assignment because of an extremely
27743 # bizarre bug on SunOS 4.1.3.
27744 if $ac_need_defaults; then
27745 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27746 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27747 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27750 # Have a temporary directory for convenience. Make it in the build tree
27751 # simply because there is no reason against having it here, and in addition,
27752 # creating and moving files from /tmp can sometimes cause problems.
27753 # Hook for its removal unless debugging.
27754 # Note that there is a small window in which the directory will not be cleaned:
27755 # after its creation but before its name has been assigned to `$tmp'.
27756 $debug ||
27758 tmp=
27759 trap 'exit_status=$?
27760 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27762 trap 'as_fn_exit 1' 1 2 13 15
27764 # Create a (secure) tmp directory for tmp files.
27767 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27768 test -n "$tmp" && test -d "$tmp"
27769 } ||
27771 tmp=./conf$$-$RANDOM
27772 (umask 077 && mkdir "$tmp")
27773 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27775 # Set up the scripts for CONFIG_FILES section.
27776 # No need to generate them if there are no CONFIG_FILES.
27777 # This happens for instance with `./config.status config.h'.
27778 if test -n "$CONFIG_FILES"; then
27781 ac_cr=`echo X | tr X '\015'`
27782 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27783 # But we know of no other shell where ac_cr would be empty at this
27784 # point, so we can use a bashism as a fallback.
27785 if test "x$ac_cr" = x; then
27786 eval ac_cr=\$\'\\r\'
27788 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27789 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27790 ac_cs_awk_cr='\r'
27791 else
27792 ac_cs_awk_cr=$ac_cr
27795 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27796 _ACEOF
27800 echo "cat >conf$$subs.awk <<_ACEOF" &&
27801 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27802 echo "_ACEOF"
27803 } >conf$$subs.sh ||
27804 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27805 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27806 ac_delim='%!_!# '
27807 for ac_last_try in false false false false false :; do
27808 . ./conf$$subs.sh ||
27809 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27811 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27812 if test $ac_delim_n = $ac_delim_num; then
27813 break
27814 elif $ac_last_try; then
27815 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27816 else
27817 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27819 done
27820 rm -f conf$$subs.sh
27822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27823 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27824 _ACEOF
27825 sed -n '
27827 s/^/S["/; s/!.*/"]=/
27830 s/^[^!]*!//
27831 :repl
27832 t repl
27833 s/'"$ac_delim"'$//
27834 t delim
27837 s/\(.\{148\}\).*/\1/
27838 t more1
27839 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27842 b repl
27843 :more1
27844 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27847 s/.\{148\}//
27848 t nl
27849 :delim
27851 s/\(.\{148\}\).*/\1/
27852 t more2
27853 s/["\\]/\\&/g; s/^/"/; s/$/"/
27856 :more2
27857 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27860 s/.\{148\}//
27861 t delim
27862 ' <conf$$subs.awk | sed '
27863 /^[^""]/{
27865 s/\n//
27867 ' >>$CONFIG_STATUS || ac_write_fail=1
27868 rm -f conf$$subs.awk
27869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27870 _ACAWK
27871 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27872 for (key in S) S_is_set[key] = 1
27873 FS = "\a"
27877 line = $ 0
27878 nfields = split(line, field, "@")
27879 substed = 0
27880 len = length(field[1])
27881 for (i = 2; i < nfields; i++) {
27882 key = field[i]
27883 keylen = length(key)
27884 if (S_is_set[key]) {
27885 value = S[key]
27886 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27887 len += length(value) + length(field[++i])
27888 substed = 1
27889 } else
27890 len += 1 + keylen
27893 print line
27896 _ACAWK
27897 _ACEOF
27898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27899 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27900 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27901 else
27903 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27904 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27905 _ACEOF
27907 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27908 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27909 # trailing colons and then remove the whole line if VPATH becomes empty
27910 # (actually we leave an empty line to preserve line numbers).
27911 if test "x$srcdir" = x.; then
27912 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27913 s/:*\$(srcdir):*/:/
27914 s/:*\${srcdir}:*/:/
27915 s/:*@srcdir@:*/:/
27916 s/^\([^=]*=[ ]*\):*/\1/
27917 s/:*$//
27918 s/^[^=]*=[ ]*$//
27922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27923 fi # test -n "$CONFIG_FILES"
27925 # Set up the scripts for CONFIG_HEADERS section.
27926 # No need to generate them if there are no CONFIG_HEADERS.
27927 # This happens for instance with `./config.status Makefile'.
27928 if test -n "$CONFIG_HEADERS"; then
27929 cat >"$tmp/defines.awk" <<\_ACAWK ||
27930 BEGIN {
27931 _ACEOF
27933 # Transform confdefs.h into an awk script `defines.awk', embedded as
27934 # here-document in config.status, that substitutes the proper values into
27935 # config.h.in to produce config.h.
27937 # Create a delimiter string that does not exist in confdefs.h, to ease
27938 # handling of long lines.
27939 ac_delim='%!_!# '
27940 for ac_last_try in false false :; do
27941 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27942 if test -z "$ac_t"; then
27943 break
27944 elif $ac_last_try; then
27945 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27946 else
27947 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27949 done
27951 # For the awk script, D is an array of macro values keyed by name,
27952 # likewise P contains macro parameters if any. Preserve backslash
27953 # newline sequences.
27955 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27956 sed -n '
27957 s/.\{148\}/&'"$ac_delim"'/g
27958 t rset
27959 :rset
27960 s/^[ ]*#[ ]*define[ ][ ]*/ /
27961 t def
27963 :def
27964 s/\\$//
27965 t bsnl
27966 s/["\\]/\\&/g
27967 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27968 D["\1"]=" \3"/p
27969 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27971 :bsnl
27972 s/["\\]/\\&/g
27973 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27974 D["\1"]=" \3\\\\\\n"\\/p
27975 t cont
27976 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27977 t cont
27979 :cont
27981 s/.\{148\}/&'"$ac_delim"'/g
27982 t clear
27983 :clear
27984 s/\\$//
27985 t bsnlc
27986 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27988 :bsnlc
27989 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27990 b cont
27991 ' <confdefs.h | sed '
27992 s/'"$ac_delim"'/"\\\
27993 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27996 for (key in D) D_is_set[key] = 1
27997 FS = "\a"
27999 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28000 line = \$ 0
28001 split(line, arg, " ")
28002 if (arg[1] == "#") {
28003 defundef = arg[2]
28004 mac1 = arg[3]
28005 } else {
28006 defundef = substr(arg[1], 2)
28007 mac1 = arg[2]
28009 split(mac1, mac2, "(") #)
28010 macro = mac2[1]
28011 prefix = substr(line, 1, index(line, defundef) - 1)
28012 if (D_is_set[macro]) {
28013 # Preserve the white space surrounding the "#".
28014 print prefix "define", macro P[macro] D[macro]
28015 next
28016 } else {
28017 # Replace #undef with comments. This is necessary, for example,
28018 # in the case of _POSIX_SOURCE, which is predefined and required
28019 # on some systems where configure will not decide to define it.
28020 if (defundef == "undef") {
28021 print "/*", prefix defundef, macro, "*/"
28022 next
28026 { print }
28027 _ACAWK
28028 _ACEOF
28029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28030 as_fn_error "could not setup config headers machinery" "$LINENO" 5
28031 fi # test -n "$CONFIG_HEADERS"
28034 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28035 shift
28036 for ac_tag
28038 case $ac_tag in
28039 :[FHLC]) ac_mode=$ac_tag; continue;;
28040 esac
28041 case $ac_mode$ac_tag in
28042 :[FHL]*:*);;
28043 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
28044 :[FH]-) ac_tag=-:-;;
28045 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28046 esac
28047 ac_save_IFS=$IFS
28048 IFS=:
28049 set x $ac_tag
28050 IFS=$ac_save_IFS
28051 shift
28052 ac_file=$1
28053 shift
28055 case $ac_mode in
28056 :L) ac_source=$1;;
28057 :[FH])
28058 ac_file_inputs=
28059 for ac_f
28061 case $ac_f in
28062 -) ac_f="$tmp/stdin";;
28063 *) # Look for the file first in the build tree, then in the source tree
28064 # (if the path is not absolute). The absolute path cannot be DOS-style,
28065 # because $ac_f cannot contain `:'.
28066 test -f "$ac_f" ||
28067 case $ac_f in
28068 [\\/$]*) false;;
28069 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28070 esac ||
28071 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28072 esac
28073 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28074 as_fn_append ac_file_inputs " '$ac_f'"
28075 done
28077 # Let's still pretend it is `configure' which instantiates (i.e., don't
28078 # use $as_me), people would be surprised to read:
28079 # /* config.h. Generated by config.status. */
28080 configure_input='Generated from '`
28081 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28082 `' by configure.'
28083 if test x"$ac_file" != x-; then
28084 configure_input="$ac_file. $configure_input"
28085 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28086 $as_echo "$as_me: creating $ac_file" >&6;}
28088 # Neutralize special characters interpreted by sed in replacement strings.
28089 case $configure_input in #(
28090 *\&* | *\|* | *\\* )
28091 ac_sed_conf_input=`$as_echo "$configure_input" |
28092 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28093 *) ac_sed_conf_input=$configure_input;;
28094 esac
28096 case $ac_tag in
28097 *:-:* | *:-) cat >"$tmp/stdin" \
28098 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
28099 esac
28101 esac
28103 ac_dir=`$as_dirname -- "$ac_file" ||
28104 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28105 X"$ac_file" : 'X\(//\)[^/]' \| \
28106 X"$ac_file" : 'X\(//\)$' \| \
28107 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28108 $as_echo X"$ac_file" |
28109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28110 s//\1/
28113 /^X\(\/\/\)[^/].*/{
28114 s//\1/
28117 /^X\(\/\/\)$/{
28118 s//\1/
28121 /^X\(\/\).*/{
28122 s//\1/
28125 s/.*/./; q'`
28126 as_dir="$ac_dir"; as_fn_mkdir_p
28127 ac_builddir=.
28129 case "$ac_dir" in
28130 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28132 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28133 # A ".." for each directory in $ac_dir_suffix.
28134 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28135 case $ac_top_builddir_sub in
28136 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28137 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28138 esac ;;
28139 esac
28140 ac_abs_top_builddir=$ac_pwd
28141 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28142 # for backward compatibility:
28143 ac_top_builddir=$ac_top_build_prefix
28145 case $srcdir in
28146 .) # We are building in place.
28147 ac_srcdir=.
28148 ac_top_srcdir=$ac_top_builddir_sub
28149 ac_abs_top_srcdir=$ac_pwd ;;
28150 [\\/]* | ?:[\\/]* ) # Absolute name.
28151 ac_srcdir=$srcdir$ac_dir_suffix;
28152 ac_top_srcdir=$srcdir
28153 ac_abs_top_srcdir=$srcdir ;;
28154 *) # Relative name.
28155 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28156 ac_top_srcdir=$ac_top_build_prefix$srcdir
28157 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28158 esac
28159 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28162 case $ac_mode in
28165 # CONFIG_FILE
28168 case $INSTALL in
28169 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28170 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28171 esac
28172 ac_MKDIR_P=$MKDIR_P
28173 case $MKDIR_P in
28174 [\\/$]* | ?:[\\/]* ) ;;
28175 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28176 esac
28177 _ACEOF
28179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28180 # If the template does not know about datarootdir, expand it.
28181 # FIXME: This hack should be removed a few years after 2.60.
28182 ac_datarootdir_hack=; ac_datarootdir_seen=
28183 ac_sed_dataroot='
28184 /datarootdir/ {
28188 /@datadir@/p
28189 /@docdir@/p
28190 /@infodir@/p
28191 /@localedir@/p
28192 /@mandir@/p'
28193 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28194 *datarootdir*) ac_datarootdir_seen=yes;;
28195 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28197 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28198 _ACEOF
28199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28200 ac_datarootdir_hack='
28201 s&@datadir@&$datadir&g
28202 s&@docdir@&$docdir&g
28203 s&@infodir@&$infodir&g
28204 s&@localedir@&$localedir&g
28205 s&@mandir@&$mandir&g
28206 s&\\\${datarootdir}&$datarootdir&g' ;;
28207 esac
28208 _ACEOF
28210 # Neutralize VPATH when `$srcdir' = `.'.
28211 # Shell code in configure.ac might set extrasub.
28212 # FIXME: do we really want to maintain this feature?
28213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28214 ac_sed_extra="$ac_vpsub
28215 $extrasub
28216 _ACEOF
28217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28219 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28220 s|@configure_input@|$ac_sed_conf_input|;t t
28221 s&@top_builddir@&$ac_top_builddir_sub&;t t
28222 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28223 s&@srcdir@&$ac_srcdir&;t t
28224 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28225 s&@top_srcdir@&$ac_top_srcdir&;t t
28226 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28227 s&@builddir@&$ac_builddir&;t t
28228 s&@abs_builddir@&$ac_abs_builddir&;t t
28229 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28230 s&@INSTALL@&$ac_INSTALL&;t t
28231 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28232 $ac_datarootdir_hack
28234 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28235 || as_fn_error "could not create $ac_file" "$LINENO" 5
28237 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28238 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28239 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28241 which seems to be undefined. Please make sure it is defined." >&5
28242 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28243 which seems to be undefined. Please make sure it is defined." >&2;}
28245 rm -f "$tmp/stdin"
28246 case $ac_file in
28247 -) cat "$tmp/out" && rm -f "$tmp/out";;
28248 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28249 esac \
28250 || as_fn_error "could not create $ac_file" "$LINENO" 5
28254 # CONFIG_HEADER
28256 if test x"$ac_file" != x-; then
28258 $as_echo "/* $configure_input */" \
28259 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28260 } >"$tmp/config.h" \
28261 || as_fn_error "could not create $ac_file" "$LINENO" 5
28262 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28263 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28264 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28265 else
28266 rm -f "$ac_file"
28267 mv "$tmp/config.h" "$ac_file" \
28268 || as_fn_error "could not create $ac_file" "$LINENO" 5
28270 else
28271 $as_echo "/* $configure_input */" \
28272 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28273 || as_fn_error "could not create -" "$LINENO" 5
28275 # Compute "$ac_file"'s index in $config_headers.
28276 _am_arg="$ac_file"
28277 _am_stamp_count=1
28278 for _am_header in $config_headers :; do
28279 case $_am_header in
28280 $_am_arg | $_am_arg:* )
28281 break ;;
28283 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28284 esac
28285 done
28286 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28287 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28288 X"$_am_arg" : 'X\(//\)[^/]' \| \
28289 X"$_am_arg" : 'X\(//\)$' \| \
28290 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28291 $as_echo X"$_am_arg" |
28292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28293 s//\1/
28296 /^X\(\/\/\)[^/].*/{
28297 s//\1/
28300 /^X\(\/\/\)$/{
28301 s//\1/
28304 /^X\(\/\).*/{
28305 s//\1/
28308 s/.*/./; q'`/stamp-h$_am_stamp_count
28311 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28312 $as_echo "$as_me: executing $ac_file commands" >&6;}
28314 esac
28317 case $ac_file$ac_mode in
28318 "default-1":C)
28319 # Only add multilib support code if we just rebuilt the top-level
28320 # Makefile.
28321 case " $CONFIG_FILES " in
28322 *" Makefile "*)
28323 ac_file=Makefile . ${multi_basedir}/config-ml.in
28325 esac ;;
28326 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28327 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28328 # are listed without --file. Let's play safe and only enable the eval
28329 # if we detect the quoting.
28330 case $CONFIG_FILES in
28331 *\'*) eval set x "$CONFIG_FILES" ;;
28332 *) set x $CONFIG_FILES ;;
28333 esac
28334 shift
28335 for mf
28337 # Strip MF so we end up with the name of the file.
28338 mf=`echo "$mf" | sed -e 's/:.*$//'`
28339 # Check whether this is an Automake generated Makefile or not.
28340 # We used to match only the files named `Makefile.in', but
28341 # some people rename them; so instead we look at the file content.
28342 # Grep'ing the first line is not enough: some people post-process
28343 # each Makefile.in and add a new line on top of each file to say so.
28344 # Grep'ing the whole file is not good either: AIX grep has a line
28345 # limit of 2048, but all sed's we know have understand at least 4000.
28346 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28347 dirpart=`$as_dirname -- "$mf" ||
28348 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28349 X"$mf" : 'X\(//\)[^/]' \| \
28350 X"$mf" : 'X\(//\)$' \| \
28351 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28352 $as_echo X"$mf" |
28353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28354 s//\1/
28357 /^X\(\/\/\)[^/].*/{
28358 s//\1/
28361 /^X\(\/\/\)$/{
28362 s//\1/
28365 /^X\(\/\).*/{
28366 s//\1/
28369 s/.*/./; q'`
28370 else
28371 continue
28373 # Extract the definition of DEPDIR, am__include, and am__quote
28374 # from the Makefile without running `make'.
28375 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28376 test -z "$DEPDIR" && continue
28377 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28378 test -z "am__include" && continue
28379 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28380 # When using ansi2knr, U may be empty or an underscore; expand it
28381 U=`sed -n 's/^U = //p' < "$mf"`
28382 # Find all dependency output files, they are included files with
28383 # $(DEPDIR) in their names. We invoke sed twice because it is the
28384 # simplest approach to changing $(DEPDIR) to its actual value in the
28385 # expansion.
28386 for file in `sed -n "
28387 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28388 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28389 # Make sure the directory exists.
28390 test -f "$dirpart/$file" && continue
28391 fdir=`$as_dirname -- "$file" ||
28392 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28393 X"$file" : 'X\(//\)[^/]' \| \
28394 X"$file" : 'X\(//\)$' \| \
28395 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28396 $as_echo X"$file" |
28397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28398 s//\1/
28401 /^X\(\/\/\)[^/].*/{
28402 s//\1/
28405 /^X\(\/\/\)$/{
28406 s//\1/
28409 /^X\(\/\).*/{
28410 s//\1/
28413 s/.*/./; q'`
28414 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28415 # echo "creating $dirpart/$file"
28416 echo '# dummy' > "$dirpart/$file"
28417 done
28418 done
28421 "libtool":C)
28423 # See if we are running on zsh, and set the options which allow our
28424 # commands through without removal of \ escapes.
28425 if test -n "${ZSH_VERSION+set}" ; then
28426 setopt NO_GLOB_SUBST
28429 cfgfile="${ofile}T"
28430 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28431 $RM "$cfgfile"
28433 cat <<_LT_EOF >> "$cfgfile"
28434 #! $SHELL
28436 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28437 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28438 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28439 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28441 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28442 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28443 # Written by Gordon Matzigkeit, 1996
28445 # This file is part of GNU Libtool.
28447 # GNU Libtool is free software; you can redistribute it and/or
28448 # modify it under the terms of the GNU General Public License as
28449 # published by the Free Software Foundation; either version 2 of
28450 # the License, or (at your option) any later version.
28452 # As a special exception to the GNU General Public License,
28453 # if you distribute this file as part of a program or library that
28454 # is built using GNU Libtool, you may include this file under the
28455 # same distribution terms that you use for the rest of that program.
28457 # GNU Libtool is distributed in the hope that it will be useful,
28458 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28459 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28460 # GNU General Public License for more details.
28462 # You should have received a copy of the GNU General Public License
28463 # along with GNU Libtool; see the file COPYING. If not, a copy
28464 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28465 # obtained by writing to the Free Software Foundation, Inc.,
28466 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28469 # The names of the tagged configurations supported by this script.
28470 available_tags="FC "
28472 # ### BEGIN LIBTOOL CONFIG
28474 # Which release of libtool.m4 was used?
28475 macro_version=$macro_version
28476 macro_revision=$macro_revision
28478 # Whether or not to build shared libraries.
28479 build_libtool_libs=$enable_shared
28481 # Whether or not to build static libraries.
28482 build_old_libs=$enable_static
28484 # What type of objects to build.
28485 pic_mode=$pic_mode
28487 # Whether or not to optimize for fast installation.
28488 fast_install=$enable_fast_install
28490 # Shell to use when invoking shell scripts.
28491 SHELL=$lt_SHELL
28493 # An echo program that protects backslashes.
28494 ECHO=$lt_ECHO
28496 # The host system.
28497 host_alias=$host_alias
28498 host=$host
28499 host_os=$host_os
28501 # The build system.
28502 build_alias=$build_alias
28503 build=$build
28504 build_os=$build_os
28506 # A sed program that does not truncate output.
28507 SED=$lt_SED
28509 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28510 Xsed="\$SED -e 1s/^X//"
28512 # A grep program that handles long lines.
28513 GREP=$lt_GREP
28515 # An ERE matcher.
28516 EGREP=$lt_EGREP
28518 # A literal string matcher.
28519 FGREP=$lt_FGREP
28521 # A BSD- or MS-compatible name lister.
28522 NM=$lt_NM
28524 # Whether we need soft or hard links.
28525 LN_S=$lt_LN_S
28527 # What is the maximum length of a command?
28528 max_cmd_len=$max_cmd_len
28530 # Object file suffix (normally "o").
28531 objext=$ac_objext
28533 # Executable file suffix (normally "").
28534 exeext=$exeext
28536 # whether the shell understands "unset".
28537 lt_unset=$lt_unset
28539 # turn spaces into newlines.
28540 SP2NL=$lt_lt_SP2NL
28542 # turn newlines into spaces.
28543 NL2SP=$lt_lt_NL2SP
28545 # An object symbol dumper.
28546 OBJDUMP=$lt_OBJDUMP
28548 # Method to check whether dependent libraries are shared objects.
28549 deplibs_check_method=$lt_deplibs_check_method
28551 # Command to use when deplibs_check_method == "file_magic".
28552 file_magic_cmd=$lt_file_magic_cmd
28554 # The archiver.
28555 AR=$lt_AR
28556 AR_FLAGS=$lt_AR_FLAGS
28558 # A symbol stripping program.
28559 STRIP=$lt_STRIP
28561 # Commands used to install an old-style archive.
28562 RANLIB=$lt_RANLIB
28563 old_postinstall_cmds=$lt_old_postinstall_cmds
28564 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28566 # Whether to use a lock for old archive extraction.
28567 lock_old_archive_extraction=$lock_old_archive_extraction
28569 # A C compiler.
28570 LTCC=$lt_CC
28572 # LTCC compiler flags.
28573 LTCFLAGS=$lt_CFLAGS
28575 # Take the output of nm and produce a listing of raw symbols and C names.
28576 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28578 # Transform the output of nm in a proper C declaration.
28579 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28581 # Transform the output of nm in a C name address pair.
28582 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28584 # Transform the output of nm in a C name address pair when lib prefix is needed.
28585 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28587 # The name of the directory that contains temporary libtool files.
28588 objdir=$objdir
28590 # Used to examine libraries when file_magic_cmd begins with "file".
28591 MAGIC_CMD=$MAGIC_CMD
28593 # Must we lock files when doing compilation?
28594 need_locks=$lt_need_locks
28596 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28597 DSYMUTIL=$lt_DSYMUTIL
28599 # Tool to change global to local symbols on Mac OS X.
28600 NMEDIT=$lt_NMEDIT
28602 # Tool to manipulate fat objects and archives on Mac OS X.
28603 LIPO=$lt_LIPO
28605 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28606 OTOOL=$lt_OTOOL
28608 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28609 OTOOL64=$lt_OTOOL64
28611 # Old archive suffix (normally "a").
28612 libext=$libext
28614 # Shared library suffix (normally ".so").
28615 shrext_cmds=$lt_shrext_cmds
28617 # The commands to extract the exported symbol list from a shared archive.
28618 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28620 # Variables whose values should be saved in libtool wrapper scripts and
28621 # restored at link time.
28622 variables_saved_for_relink=$lt_variables_saved_for_relink
28624 # Do we need the "lib" prefix for modules?
28625 need_lib_prefix=$need_lib_prefix
28627 # Do we need a version for libraries?
28628 need_version=$need_version
28630 # Library versioning type.
28631 version_type=$version_type
28633 # Shared library runtime path variable.
28634 runpath_var=$runpath_var
28636 # Shared library path variable.
28637 shlibpath_var=$shlibpath_var
28639 # Is shlibpath searched before the hard-coded library search path?
28640 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28642 # Format of library name prefix.
28643 libname_spec=$lt_libname_spec
28645 # List of archive names. First name is the real one, the rest are links.
28646 # The last name is the one that the linker finds with -lNAME
28647 library_names_spec=$lt_library_names_spec
28649 # The coded name of the library, if different from the real name.
28650 soname_spec=$lt_soname_spec
28652 # Permission mode override for installation of shared libraries.
28653 install_override_mode=$lt_install_override_mode
28655 # Command to use after installation of a shared archive.
28656 postinstall_cmds=$lt_postinstall_cmds
28658 # Command to use after uninstallation of a shared archive.
28659 postuninstall_cmds=$lt_postuninstall_cmds
28661 # Commands used to finish a libtool library installation in a directory.
28662 finish_cmds=$lt_finish_cmds
28664 # As "finish_cmds", except a single script fragment to be evaled but
28665 # not shown.
28666 finish_eval=$lt_finish_eval
28668 # Whether we should hardcode library paths into libraries.
28669 hardcode_into_libs=$hardcode_into_libs
28671 # Compile-time system search path for libraries.
28672 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28674 # Run-time system search path for libraries.
28675 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28677 # Whether dlopen is supported.
28678 dlopen_support=$enable_dlopen
28680 # Whether dlopen of programs is supported.
28681 dlopen_self=$enable_dlopen_self
28683 # Whether dlopen of statically linked programs is supported.
28684 dlopen_self_static=$enable_dlopen_self_static
28686 # Commands to strip libraries.
28687 old_striplib=$lt_old_striplib
28688 striplib=$lt_striplib
28691 # The linker used to build libraries.
28692 LD=$lt_LD
28694 # How to create reloadable object files.
28695 reload_flag=$lt_reload_flag
28696 reload_cmds=$lt_reload_cmds
28698 # Commands used to build an old-style archive.
28699 old_archive_cmds=$lt_old_archive_cmds
28701 # A language specific compiler.
28702 CC=$lt_compiler
28704 # Is the compiler the GNU compiler?
28705 with_gcc=$GCC
28707 # Compiler flag to turn off builtin functions.
28708 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28710 # How to pass a linker flag through the compiler.
28711 wl=$lt_lt_prog_compiler_wl
28713 # Additional compiler flags for building library objects.
28714 pic_flag=$lt_lt_prog_compiler_pic
28716 # Compiler flag to prevent dynamic linking.
28717 link_static_flag=$lt_lt_prog_compiler_static
28719 # Does compiler simultaneously support -c and -o options?
28720 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28722 # Whether or not to add -lc for building shared libraries.
28723 build_libtool_need_lc=$archive_cmds_need_lc
28725 # Whether or not to disallow shared libs when runtime libs are static.
28726 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28728 # Compiler flag to allow reflexive dlopens.
28729 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28731 # Compiler flag to generate shared objects directly from archives.
28732 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28734 # Whether the compiler copes with passing no objects directly.
28735 compiler_needs_object=$lt_compiler_needs_object
28737 # Create an old-style archive from a shared archive.
28738 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28740 # Create a temporary old-style archive to link instead of a shared archive.
28741 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28743 # Commands used to build a shared archive.
28744 archive_cmds=$lt_archive_cmds
28745 archive_expsym_cmds=$lt_archive_expsym_cmds
28747 # Commands used to build a loadable module if different from building
28748 # a shared archive.
28749 module_cmds=$lt_module_cmds
28750 module_expsym_cmds=$lt_module_expsym_cmds
28752 # Whether we are building with GNU ld or not.
28753 with_gnu_ld=$lt_with_gnu_ld
28755 # Flag that allows shared libraries with undefined symbols to be built.
28756 allow_undefined_flag=$lt_allow_undefined_flag
28758 # Flag that enforces no undefined symbols.
28759 no_undefined_flag=$lt_no_undefined_flag
28761 # Flag to hardcode \$libdir into a binary during linking.
28762 # This must work even if \$libdir does not exist
28763 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28765 # If ld is used when linking, flag to hardcode \$libdir into a binary
28766 # during linking. This must work even if \$libdir does not exist.
28767 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28769 # Whether we need a single "-rpath" flag with a separated argument.
28770 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28772 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28773 # DIR into the resulting binary.
28774 hardcode_direct=$hardcode_direct
28776 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28777 # DIR into the resulting binary and the resulting library dependency is
28778 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28779 # library is relocated.
28780 hardcode_direct_absolute=$hardcode_direct_absolute
28782 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28783 # into the resulting binary.
28784 hardcode_minus_L=$hardcode_minus_L
28786 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28787 # into the resulting binary.
28788 hardcode_shlibpath_var=$hardcode_shlibpath_var
28790 # Set to "yes" if building a shared library automatically hardcodes DIR
28791 # into the library and all subsequent libraries and executables linked
28792 # against it.
28793 hardcode_automatic=$hardcode_automatic
28795 # Set to yes if linker adds runtime paths of dependent libraries
28796 # to runtime path list.
28797 inherit_rpath=$inherit_rpath
28799 # Whether libtool must link a program against all its dependency libraries.
28800 link_all_deplibs=$link_all_deplibs
28802 # Fix the shell variable \$srcfile for the compiler.
28803 fix_srcfile_path=$lt_fix_srcfile_path
28805 # Set to "yes" if exported symbols are required.
28806 always_export_symbols=$always_export_symbols
28808 # The commands to list exported symbols.
28809 export_symbols_cmds=$lt_export_symbols_cmds
28811 # Symbols that should not be listed in the preloaded symbols.
28812 exclude_expsyms=$lt_exclude_expsyms
28814 # Symbols that must always be exported.
28815 include_expsyms=$lt_include_expsyms
28817 # Commands necessary for linking programs (against libraries) with templates.
28818 prelink_cmds=$lt_prelink_cmds
28820 # Specify filename containing input files.
28821 file_list_spec=$lt_file_list_spec
28823 # How to hardcode a shared library path into an executable.
28824 hardcode_action=$hardcode_action
28826 # The directories searched by this compiler when creating a shared library.
28827 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28829 # Dependencies to place before and after the objects being linked to
28830 # create a shared library.
28831 predep_objects=$lt_predep_objects
28832 postdep_objects=$lt_postdep_objects
28833 predeps=$lt_predeps
28834 postdeps=$lt_postdeps
28836 # The library search path used internally by the compiler when linking
28837 # a shared library.
28838 compiler_lib_search_path=$lt_compiler_lib_search_path
28840 # ### END LIBTOOL CONFIG
28842 _LT_EOF
28844 case $host_os in
28845 aix3*)
28846 cat <<\_LT_EOF >> "$cfgfile"
28847 # AIX sometimes has problems with the GCC collect2 program. For some
28848 # reason, if we set the COLLECT_NAMES environment variable, the problems
28849 # vanish in a puff of smoke.
28850 if test "X${COLLECT_NAMES+set}" != Xset; then
28851 COLLECT_NAMES=
28852 export COLLECT_NAMES
28854 _LT_EOF
28856 esac
28859 ltmain="$ac_aux_dir/ltmain.sh"
28862 # We use sed instead of cat because bash on DJGPP gets confused if
28863 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28864 # text mode, it properly converts lines to CR/LF. This bash problem
28865 # is reportedly fixed, but why not run on old versions too?
28866 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28867 || (rm -f "$cfgfile"; exit 1)
28869 case $xsi_shell in
28870 yes)
28871 cat << \_LT_EOF >> "$cfgfile"
28873 # func_dirname file append nondir_replacement
28874 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28875 # otherwise set result to NONDIR_REPLACEMENT.
28876 func_dirname ()
28878 case ${1} in
28879 */*) func_dirname_result="${1%/*}${2}" ;;
28880 * ) func_dirname_result="${3}" ;;
28881 esac
28884 # func_basename file
28885 func_basename ()
28887 func_basename_result="${1##*/}"
28890 # func_dirname_and_basename file append nondir_replacement
28891 # perform func_basename and func_dirname in a single function
28892 # call:
28893 # dirname: Compute the dirname of FILE. If nonempty,
28894 # add APPEND to the result, otherwise set result
28895 # to NONDIR_REPLACEMENT.
28896 # value returned in "$func_dirname_result"
28897 # basename: Compute filename of FILE.
28898 # value retuned in "$func_basename_result"
28899 # Implementation must be kept synchronized with func_dirname
28900 # and func_basename. For efficiency, we do not delegate to
28901 # those functions but instead duplicate the functionality here.
28902 func_dirname_and_basename ()
28904 case ${1} in
28905 */*) func_dirname_result="${1%/*}${2}" ;;
28906 * ) func_dirname_result="${3}" ;;
28907 esac
28908 func_basename_result="${1##*/}"
28911 # func_stripname prefix suffix name
28912 # strip PREFIX and SUFFIX off of NAME.
28913 # PREFIX and SUFFIX must not contain globbing or regex special
28914 # characters, hashes, percent signs, but SUFFIX may contain a leading
28915 # dot (in which case that matches only a dot).
28916 func_stripname ()
28918 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28919 # positional parameters, so assign one to ordinary parameter first.
28920 func_stripname_result=${3}
28921 func_stripname_result=${func_stripname_result#"${1}"}
28922 func_stripname_result=${func_stripname_result%"${2}"}
28925 # func_opt_split
28926 func_opt_split ()
28928 func_opt_split_opt=${1%%=*}
28929 func_opt_split_arg=${1#*=}
28932 # func_lo2o object
28933 func_lo2o ()
28935 case ${1} in
28936 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28937 *) func_lo2o_result=${1} ;;
28938 esac
28941 # func_xform libobj-or-source
28942 func_xform ()
28944 func_xform_result=${1%.*}.lo
28947 # func_arith arithmetic-term...
28948 func_arith ()
28950 func_arith_result=$(( $* ))
28953 # func_len string
28954 # STRING may not start with a hyphen.
28955 func_len ()
28957 func_len_result=${#1}
28960 _LT_EOF
28962 *) # Bourne compatible functions.
28963 cat << \_LT_EOF >> "$cfgfile"
28965 # func_dirname file append nondir_replacement
28966 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28967 # otherwise set result to NONDIR_REPLACEMENT.
28968 func_dirname ()
28970 # Extract subdirectory from the argument.
28971 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28972 if test "X$func_dirname_result" = "X${1}"; then
28973 func_dirname_result="${3}"
28974 else
28975 func_dirname_result="$func_dirname_result${2}"
28979 # func_basename file
28980 func_basename ()
28982 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28986 # func_stripname prefix suffix name
28987 # strip PREFIX and SUFFIX off of NAME.
28988 # PREFIX and SUFFIX must not contain globbing or regex special
28989 # characters, hashes, percent signs, but SUFFIX may contain a leading
28990 # dot (in which case that matches only a dot).
28991 # func_strip_suffix prefix name
28992 func_stripname ()
28994 case ${2} in
28995 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28996 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28997 esac
29000 # sed scripts:
29001 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
29002 my_sed_long_arg='1s/^-[^=]*=//'
29004 # func_opt_split
29005 func_opt_split ()
29007 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29008 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29011 # func_lo2o object
29012 func_lo2o ()
29014 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
29017 # func_xform libobj-or-source
29018 func_xform ()
29020 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29023 # func_arith arithmetic-term...
29024 func_arith ()
29026 func_arith_result=`expr "$@"`
29029 # func_len string
29030 # STRING may not start with a hyphen.
29031 func_len ()
29033 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29036 _LT_EOF
29037 esac
29039 case $lt_shell_append in
29040 yes)
29041 cat << \_LT_EOF >> "$cfgfile"
29043 # func_append var value
29044 # Append VALUE to the end of shell variable VAR.
29045 func_append ()
29047 eval "$1+=\$2"
29049 _LT_EOF
29052 cat << \_LT_EOF >> "$cfgfile"
29054 # func_append var value
29055 # Append VALUE to the end of shell variable VAR.
29056 func_append ()
29058 eval "$1=\$$1\$2"
29061 _LT_EOF
29063 esac
29066 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29067 || (rm -f "$cfgfile"; exit 1)
29069 mv -f "$cfgfile" "$ofile" ||
29070 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29071 chmod +x "$ofile"
29074 cat <<_LT_EOF >> "$ofile"
29076 # ### BEGIN LIBTOOL TAG CONFIG: FC
29078 # The linker used to build libraries.
29079 LD=$lt_LD_FC
29081 # How to create reloadable object files.
29082 reload_flag=$lt_reload_flag_FC
29083 reload_cmds=$lt_reload_cmds_FC
29085 # Commands used to build an old-style archive.
29086 old_archive_cmds=$lt_old_archive_cmds_FC
29088 # A language specific compiler.
29089 CC=$lt_compiler_FC
29091 # Is the compiler the GNU compiler?
29092 with_gcc=$GCC_FC
29094 # Compiler flag to turn off builtin functions.
29095 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29097 # How to pass a linker flag through the compiler.
29098 wl=$lt_lt_prog_compiler_wl_FC
29100 # Additional compiler flags for building library objects.
29101 pic_flag=$lt_lt_prog_compiler_pic_FC
29103 # Compiler flag to prevent dynamic linking.
29104 link_static_flag=$lt_lt_prog_compiler_static_FC
29106 # Does compiler simultaneously support -c and -o options?
29107 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29109 # Whether or not to add -lc for building shared libraries.
29110 build_libtool_need_lc=$archive_cmds_need_lc_FC
29112 # Whether or not to disallow shared libs when runtime libs are static.
29113 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29115 # Compiler flag to allow reflexive dlopens.
29116 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29118 # Compiler flag to generate shared objects directly from archives.
29119 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29121 # Whether the compiler copes with passing no objects directly.
29122 compiler_needs_object=$lt_compiler_needs_object_FC
29124 # Create an old-style archive from a shared archive.
29125 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29127 # Create a temporary old-style archive to link instead of a shared archive.
29128 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29130 # Commands used to build a shared archive.
29131 archive_cmds=$lt_archive_cmds_FC
29132 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29134 # Commands used to build a loadable module if different from building
29135 # a shared archive.
29136 module_cmds=$lt_module_cmds_FC
29137 module_expsym_cmds=$lt_module_expsym_cmds_FC
29139 # Whether we are building with GNU ld or not.
29140 with_gnu_ld=$lt_with_gnu_ld_FC
29142 # Flag that allows shared libraries with undefined symbols to be built.
29143 allow_undefined_flag=$lt_allow_undefined_flag_FC
29145 # Flag that enforces no undefined symbols.
29146 no_undefined_flag=$lt_no_undefined_flag_FC
29148 # Flag to hardcode \$libdir into a binary during linking.
29149 # This must work even if \$libdir does not exist
29150 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29152 # If ld is used when linking, flag to hardcode \$libdir into a binary
29153 # during linking. This must work even if \$libdir does not exist.
29154 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29156 # Whether we need a single "-rpath" flag with a separated argument.
29157 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29159 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29160 # DIR into the resulting binary.
29161 hardcode_direct=$hardcode_direct_FC
29163 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29164 # DIR into the resulting binary and the resulting library dependency is
29165 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29166 # library is relocated.
29167 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29169 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29170 # into the resulting binary.
29171 hardcode_minus_L=$hardcode_minus_L_FC
29173 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29174 # into the resulting binary.
29175 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29177 # Set to "yes" if building a shared library automatically hardcodes DIR
29178 # into the library and all subsequent libraries and executables linked
29179 # against it.
29180 hardcode_automatic=$hardcode_automatic_FC
29182 # Set to yes if linker adds runtime paths of dependent libraries
29183 # to runtime path list.
29184 inherit_rpath=$inherit_rpath_FC
29186 # Whether libtool must link a program against all its dependency libraries.
29187 link_all_deplibs=$link_all_deplibs_FC
29189 # Fix the shell variable \$srcfile for the compiler.
29190 fix_srcfile_path=$lt_fix_srcfile_path_FC
29192 # Set to "yes" if exported symbols are required.
29193 always_export_symbols=$always_export_symbols_FC
29195 # The commands to list exported symbols.
29196 export_symbols_cmds=$lt_export_symbols_cmds_FC
29198 # Symbols that should not be listed in the preloaded symbols.
29199 exclude_expsyms=$lt_exclude_expsyms_FC
29201 # Symbols that must always be exported.
29202 include_expsyms=$lt_include_expsyms_FC
29204 # Commands necessary for linking programs (against libraries) with templates.
29205 prelink_cmds=$lt_prelink_cmds_FC
29207 # Specify filename containing input files.
29208 file_list_spec=$lt_file_list_spec_FC
29210 # How to hardcode a shared library path into an executable.
29211 hardcode_action=$hardcode_action_FC
29213 # The directories searched by this compiler when creating a shared library.
29214 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29216 # Dependencies to place before and after the objects being linked to
29217 # create a shared library.
29218 predep_objects=$lt_predep_objects_FC
29219 postdep_objects=$lt_postdep_objects_FC
29220 predeps=$lt_predeps_FC
29221 postdeps=$lt_postdeps_FC
29223 # The library search path used internally by the compiler when linking
29224 # a shared library.
29225 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29227 # ### END LIBTOOL TAG CONFIG: FC
29228 _LT_EOF
29231 "gstdint.h":C)
29232 if test "$GCC" = yes; then
29233 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29234 else
29235 echo "/* generated for $CC */" > tmp-stdint.h
29238 sed 's/^ *//' >> tmp-stdint.h <<EOF
29240 #ifndef GCC_GENERATED_STDINT_H
29241 #define GCC_GENERATED_STDINT_H 1
29243 #include <sys/types.h>
29246 if test "$acx_cv_header_stdint" != stdint.h; then
29247 echo "#include <stddef.h>" >> tmp-stdint.h
29249 if test "$acx_cv_header_stdint" != stddef.h; then
29250 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29253 sed 's/^ *//' >> tmp-stdint.h <<EOF
29254 /* glibc uses these symbols as guards to prevent redefinitions. */
29255 #ifdef __int8_t_defined
29256 #define _INT8_T
29257 #define _INT16_T
29258 #define _INT32_T
29259 #endif
29260 #ifdef __uint32_t_defined
29261 #define _UINT32_T
29262 #endif
29266 # ----------------- done header, emit basic int types -------------
29267 if test "$acx_cv_header_stdint" = stddef.h; then
29268 sed 's/^ *//' >> tmp-stdint.h <<EOF
29270 #ifndef _UINT8_T
29271 #define _UINT8_T
29272 #ifndef __uint8_t_defined
29273 #define __uint8_t_defined
29274 #ifndef uint8_t
29275 typedef unsigned $acx_cv_type_int8_t uint8_t;
29276 #endif
29277 #endif
29278 #endif
29280 #ifndef _UINT16_T
29281 #define _UINT16_T
29282 #ifndef __uint16_t_defined
29283 #define __uint16_t_defined
29284 #ifndef uint16_t
29285 typedef unsigned $acx_cv_type_int16_t uint16_t;
29286 #endif
29287 #endif
29288 #endif
29290 #ifndef _UINT32_T
29291 #define _UINT32_T
29292 #ifndef __uint32_t_defined
29293 #define __uint32_t_defined
29294 #ifndef uint32_t
29295 typedef unsigned $acx_cv_type_int32_t uint32_t;
29296 #endif
29297 #endif
29298 #endif
29300 #ifndef _INT8_T
29301 #define _INT8_T
29302 #ifndef __int8_t_defined
29303 #define __int8_t_defined
29304 #ifndef int8_t
29305 typedef $acx_cv_type_int8_t int8_t;
29306 #endif
29307 #endif
29308 #endif
29310 #ifndef _INT16_T
29311 #define _INT16_T
29312 #ifndef __int16_t_defined
29313 #define __int16_t_defined
29314 #ifndef int16_t
29315 typedef $acx_cv_type_int16_t int16_t;
29316 #endif
29317 #endif
29318 #endif
29320 #ifndef _INT32_T
29321 #define _INT32_T
29322 #ifndef __int32_t_defined
29323 #define __int32_t_defined
29324 #ifndef int32_t
29325 typedef $acx_cv_type_int32_t int32_t;
29326 #endif
29327 #endif
29328 #endif
29330 elif test "$ac_cv_type_u_int32_t" = yes; then
29331 sed 's/^ *//' >> tmp-stdint.h <<EOF
29333 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29334 #ifndef _INT8_T
29335 #define _INT8_T
29336 #endif
29337 #ifndef _INT16_T
29338 #define _INT16_T
29339 #endif
29340 #ifndef _INT32_T
29341 #define _INT32_T
29342 #endif
29344 #ifndef _UINT8_T
29345 #define _UINT8_T
29346 #ifndef __uint8_t_defined
29347 #define __uint8_t_defined
29348 #ifndef uint8_t
29349 typedef u_int8_t uint8_t;
29350 #endif
29351 #endif
29352 #endif
29354 #ifndef _UINT16_T
29355 #define _UINT16_T
29356 #ifndef __uint16_t_defined
29357 #define __uint16_t_defined
29358 #ifndef uint16_t
29359 typedef u_int16_t uint16_t;
29360 #endif
29361 #endif
29362 #endif
29364 #ifndef _UINT32_T
29365 #define _UINT32_T
29366 #ifndef __uint32_t_defined
29367 #define __uint32_t_defined
29368 #ifndef uint32_t
29369 typedef u_int32_t uint32_t;
29370 #endif
29371 #endif
29372 #endif
29374 else
29375 sed 's/^ *//' >> tmp-stdint.h <<EOF
29377 /* Some systems have guard macros to prevent redefinitions, define them. */
29378 #ifndef _INT8_T
29379 #define _INT8_T
29380 #endif
29381 #ifndef _INT16_T
29382 #define _INT16_T
29383 #endif
29384 #ifndef _INT32_T
29385 #define _INT32_T
29386 #endif
29387 #ifndef _UINT8_T
29388 #define _UINT8_T
29389 #endif
29390 #ifndef _UINT16_T
29391 #define _UINT16_T
29392 #endif
29393 #ifndef _UINT32_T
29394 #define _UINT32_T
29395 #endif
29399 # ------------- done basic int types, emit int64_t types ------------
29400 if test "$ac_cv_type_uint64_t" = yes; then
29401 sed 's/^ *//' >> tmp-stdint.h <<EOF
29403 /* system headers have good uint64_t and int64_t */
29404 #ifndef _INT64_T
29405 #define _INT64_T
29406 #endif
29407 #ifndef _UINT64_T
29408 #define _UINT64_T
29409 #endif
29411 elif test "$ac_cv_type_u_int64_t" = yes; then
29412 sed 's/^ *//' >> tmp-stdint.h <<EOF
29414 /* system headers have an u_int64_t (and int64_t) */
29415 #ifndef _INT64_T
29416 #define _INT64_T
29417 #endif
29418 #ifndef _UINT64_T
29419 #define _UINT64_T
29420 #ifndef __uint64_t_defined
29421 #define __uint64_t_defined
29422 #ifndef uint64_t
29423 typedef u_int64_t uint64_t;
29424 #endif
29425 #endif
29426 #endif
29428 elif test -n "$acx_cv_type_int64_t"; then
29429 sed 's/^ *//' >> tmp-stdint.h <<EOF
29431 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29432 #ifndef _INT64_T
29433 #define _INT64_T
29434 #ifndef int64_t
29435 typedef $acx_cv_type_int64_t int64_t;
29436 #endif
29437 #endif
29438 #ifndef _UINT64_T
29439 #define _UINT64_T
29440 #ifndef __uint64_t_defined
29441 #define __uint64_t_defined
29442 #ifndef uint64_t
29443 typedef unsigned $acx_cv_type_int64_t uint64_t;
29444 #endif
29445 #endif
29446 #endif
29448 else
29449 sed 's/^ *//' >> tmp-stdint.h <<EOF
29451 /* some common heuristics for int64_t, using compiler-specific tests */
29452 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29453 #ifndef _INT64_T
29454 #define _INT64_T
29455 #ifndef __int64_t_defined
29456 #ifndef int64_t
29457 typedef long long int64_t;
29458 #endif
29459 #endif
29460 #endif
29461 #ifndef _UINT64_T
29462 #define _UINT64_T
29463 #ifndef uint64_t
29464 typedef unsigned long long uint64_t;
29465 #endif
29466 #endif
29468 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29469 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29470 does not implement __extension__. But that compiler doesn't define
29471 __GNUC_MINOR__. */
29472 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29473 # define __extension__
29474 # endif
29476 # ifndef _INT64_T
29477 # define _INT64_T
29478 # ifndef int64_t
29479 __extension__ typedef long long int64_t;
29480 # endif
29481 # endif
29482 # ifndef _UINT64_T
29483 # define _UINT64_T
29484 # ifndef uint64_t
29485 __extension__ typedef unsigned long long uint64_t;
29486 # endif
29487 # endif
29489 #elif !defined __STRICT_ANSI__
29490 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29492 # ifndef _INT64_T
29493 # define _INT64_T
29494 # ifndef int64_t
29495 typedef __int64 int64_t;
29496 # endif
29497 # endif
29498 # ifndef _UINT64_T
29499 # define _UINT64_T
29500 # ifndef uint64_t
29501 typedef unsigned __int64 uint64_t;
29502 # endif
29503 # endif
29504 # endif /* compiler */
29506 #endif /* ANSI version */
29510 # ------------- done int64_t types, emit intptr types ------------
29511 if test "$ac_cv_type_uintptr_t" != yes; then
29512 sed 's/^ *//' >> tmp-stdint.h <<EOF
29514 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29515 #ifndef __uintptr_t_defined
29516 #ifndef uintptr_t
29517 typedef u$acx_cv_type_intptr_t uintptr_t;
29518 #endif
29519 #endif
29520 #ifndef __intptr_t_defined
29521 #ifndef intptr_t
29522 typedef $acx_cv_type_intptr_t intptr_t;
29523 #endif
29524 #endif
29528 # ------------- done intptr types, emit int_least types ------------
29529 if test "$ac_cv_type_int_least32_t" != yes; then
29530 sed 's/^ *//' >> tmp-stdint.h <<EOF
29532 /* Define int_least types */
29533 typedef int8_t int_least8_t;
29534 typedef int16_t int_least16_t;
29535 typedef int32_t int_least32_t;
29536 #ifdef _INT64_T
29537 typedef int64_t int_least64_t;
29538 #endif
29540 typedef uint8_t uint_least8_t;
29541 typedef uint16_t uint_least16_t;
29542 typedef uint32_t uint_least32_t;
29543 #ifdef _UINT64_T
29544 typedef uint64_t uint_least64_t;
29545 #endif
29549 # ------------- done intptr types, emit int_fast types ------------
29550 if test "$ac_cv_type_int_fast32_t" != yes; then
29551 sed 's/^ *//' >> tmp-stdint.h <<EOF
29553 /* Define int_fast types. short is often slow */
29554 typedef int8_t int_fast8_t;
29555 typedef int int_fast16_t;
29556 typedef int32_t int_fast32_t;
29557 #ifdef _INT64_T
29558 typedef int64_t int_fast64_t;
29559 #endif
29561 typedef uint8_t uint_fast8_t;
29562 typedef unsigned int uint_fast16_t;
29563 typedef uint32_t uint_fast32_t;
29564 #ifdef _UINT64_T
29565 typedef uint64_t uint_fast64_t;
29566 #endif
29570 if test "$ac_cv_type_uintmax_t" != yes; then
29571 sed 's/^ *//' >> tmp-stdint.h <<EOF
29573 /* Define intmax based on what we found */
29574 #ifndef intmax_t
29575 #ifdef _INT64_T
29576 typedef int64_t intmax_t;
29577 #else
29578 typedef long intmax_t;
29579 #endif
29580 #endif
29581 #ifndef uintmax_t
29582 #ifdef _UINT64_T
29583 typedef uint64_t uintmax_t;
29584 #else
29585 typedef unsigned long uintmax_t;
29586 #endif
29587 #endif
29591 sed 's/^ *//' >> tmp-stdint.h <<EOF
29593 #endif /* GCC_GENERATED_STDINT_H */
29596 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29597 rm -f tmp-stdint.h
29598 else
29599 mv -f tmp-stdint.h gstdint.h
29604 esac
29605 done # for ac_tag
29608 as_fn_exit 0
29609 _ACEOF
29610 ac_clean_files=$ac_clean_files_save
29612 test $ac_write_fail = 0 ||
29613 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29616 # configure is writing to config.log, and then calls config.status.
29617 # config.status does its own redirection, appending to config.log.
29618 # Unfortunately, on DOS this fails, as config.log is still kept open
29619 # by configure, so config.status won't be able to write to it; its
29620 # output is simply discarded. So we exec the FD to /dev/null,
29621 # effectively closing config.log, so it can be properly (re)opened and
29622 # appended to by config.status. When coming back to configure, we
29623 # need to make the FD available again.
29624 if test "$no_create" != yes; then
29625 ac_cs_success=:
29626 ac_config_status_args=
29627 test "$silent" = yes &&
29628 ac_config_status_args="$ac_config_status_args --quiet"
29629 exec 5>/dev/null
29630 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29631 exec 5>>config.log
29632 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29633 # would make configure fail if this is the last instruction.
29634 $ac_cs_success || as_fn_exit $?
29636 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29638 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}