libcpp:
[official-gcc.git] / libgfortran / configure
blobe4f90eaf787bf902c923fda73e5beac4ce93b534
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_header_list " math.h"
2601 # Check that the precious variables saved in the cache have kept the same
2602 # value.
2603 ac_cache_corrupted=false
2604 for ac_var in $ac_precious_vars; do
2605 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2606 eval ac_new_set=\$ac_env_${ac_var}_set
2607 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2608 eval ac_new_val=\$ac_env_${ac_var}_value
2609 case $ac_old_set,$ac_new_set in
2610 set,)
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2612 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2613 ac_cache_corrupted=: ;;
2614 ,set)
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2616 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2617 ac_cache_corrupted=: ;;
2618 ,);;
2620 if test "x$ac_old_val" != "x$ac_new_val"; then
2621 # differences in whitespace do not lead to failure.
2622 ac_old_val_w=`echo x $ac_old_val`
2623 ac_new_val_w=`echo x $ac_new_val`
2624 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2626 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2627 ac_cache_corrupted=:
2628 else
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2630 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2631 eval $ac_var=\$ac_old_val
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2634 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2636 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2637 fi;;
2638 esac
2639 # Pass precious variables to config.status.
2640 if test "$ac_new_set" = set; then
2641 case $ac_new_val in
2642 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2643 *) ac_arg=$ac_var=$ac_new_val ;;
2644 esac
2645 case " $ac_configure_args " in
2646 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2647 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2648 esac
2650 done
2651 if $ac_cache_corrupted; then
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2655 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2656 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2658 ## -------------------- ##
2659 ## Main body of script. ##
2660 ## -------------------- ##
2662 ac_ext=c
2663 ac_cpp='$CPP $CPPFLAGS'
2664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2672 ac_config_headers="$ac_config_headers config.h"
2674 ac_aux_dir=
2675 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2676 for ac_t in install-sh install.sh shtool; do
2677 if test -f "$ac_dir/$ac_t"; then
2678 ac_aux_dir=$ac_dir
2679 ac_install_sh="$ac_aux_dir/$ac_t -c"
2680 break 2
2682 done
2683 done
2684 if test -z "$ac_aux_dir"; then
2685 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2688 # These three variables are undocumented and unsupported,
2689 # and are intended to be withdrawn in a future Autoconf release.
2690 # They can cause serious problems if a builder's source tree is in a directory
2691 # whose full name contains unusual characters.
2692 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2693 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2694 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2697 # Make sure we can run config.sub.
2698 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2699 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2702 $as_echo_n "checking build system type... " >&6; }
2703 if test "${ac_cv_build+set}" = set; then :
2704 $as_echo_n "(cached) " >&6
2705 else
2706 ac_build_alias=$build_alias
2707 test "x$ac_build_alias" = x &&
2708 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2709 test "x$ac_build_alias" = x &&
2710 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2711 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2712 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2716 $as_echo "$ac_cv_build" >&6; }
2717 case $ac_cv_build in
2718 *-*-*) ;;
2719 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2720 esac
2721 build=$ac_cv_build
2722 ac_save_IFS=$IFS; IFS='-'
2723 set x $ac_cv_build
2724 shift
2725 build_cpu=$1
2726 build_vendor=$2
2727 shift; shift
2728 # Remember, the first character of IFS is used to create $*,
2729 # except with old shells:
2730 build_os=$*
2731 IFS=$ac_save_IFS
2732 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2735 case ${build_alias} in
2736 "") build_noncanonical=${build} ;;
2737 *) build_noncanonical=${build_alias} ;;
2738 esac
2740 case ${host_alias} in
2741 "") host_noncanonical=${build_noncanonical} ;;
2742 *) host_noncanonical=${host_alias} ;;
2743 esac
2745 case ${target_alias} in
2746 "") target_noncanonical=${host_noncanonical} ;;
2747 *) target_noncanonical=${target_alias} ;;
2748 esac
2751 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2752 # have matching libraries, they should use host libraries: Makefile.tpl
2753 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2754 # However, they still use the build modules, because the corresponding
2755 # host modules (e.g. bison) are only built for the host when bootstrap
2756 # finishes. So:
2757 # - build_subdir is where we find build modules, and never changes.
2758 # - build_libsubdir is where we find build libraries, and can be overridden.
2760 # Prefix 'build-' so this never conflicts with target_subdir.
2761 build_subdir="build-${build_noncanonical}"
2763 # Check whether --with-build-libsubdir was given.
2764 if test "${with_build_libsubdir+set}" = set; then :
2765 withval=$with_build_libsubdir; build_libsubdir="$withval"
2766 else
2767 build_libsubdir="$build_subdir"
2770 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2771 if ( test $srcdir = . && test -d gcc ) \
2772 || test -d $srcdir/../host-${host_noncanonical}; then
2773 host_subdir="host-${host_noncanonical}"
2774 else
2775 host_subdir=.
2777 # No prefix.
2778 target_subdir=${target_noncanonical}
2781 # -------
2782 # Options
2783 # -------
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2786 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2787 # Check whether --enable-version-specific-runtime-libs was given.
2788 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2789 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2790 yes) version_specific_libs=yes ;;
2791 no) version_specific_libs=no ;;
2792 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2793 esac
2794 else
2795 version_specific_libs=no
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2799 $as_echo "$version_specific_libs" >&6; }
2801 # Build with intermodule optimisations
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2803 $as_echo_n "checking for --enable-intermodule... " >&6; }
2804 # Check whether --enable-intermodule was given.
2805 if test "${enable_intermodule+set}" = set; then :
2806 enableval=$enable_intermodule; case "$enable_intermodule" in
2807 yes) onestep="-onestep";;
2808 *) onestep="";;
2809 esac
2810 else
2811 onestep=""
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2815 $as_echo "$enable_intermodule" >&6; }
2816 if test x$onestep = x-onestep; then
2817 onestep_TRUE=
2818 onestep_FALSE='#'
2819 else
2820 onestep_TRUE='#'
2821 onestep_FALSE=
2826 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2828 # You will slowly go insane if you do not grok the following fact: when
2829 # building this library, the top-level /target/ becomes the library's /host/.
2831 # configure then causes --target to default to --host, exactly like any
2832 # other package using autoconf. Therefore, 'target' and 'host' will
2833 # always be the same. This makes sense both for native and cross compilers
2834 # just think about it for a little while. :-)
2836 # Also, if this library is being configured as part of a cross compiler, the
2837 # top-level configure script will pass the "real" host as $with_cross_host.
2839 # Do not delete or change the following two lines. For why, see
2840 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2842 $as_echo_n "checking host system type... " >&6; }
2843 if test "${ac_cv_host+set}" = set; then :
2844 $as_echo_n "(cached) " >&6
2845 else
2846 if test "x$host_alias" = x; then
2847 ac_cv_host=$ac_cv_build
2848 else
2849 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2850 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2855 $as_echo "$ac_cv_host" >&6; }
2856 case $ac_cv_host in
2857 *-*-*) ;;
2858 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2859 esac
2860 host=$ac_cv_host
2861 ac_save_IFS=$IFS; IFS='-'
2862 set x $ac_cv_host
2863 shift
2864 host_cpu=$1
2865 host_vendor=$2
2866 shift; shift
2867 # Remember, the first character of IFS is used to create $*,
2868 # except with old shells:
2869 host_os=$*
2870 IFS=$ac_save_IFS
2871 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2875 $as_echo_n "checking target system type... " >&6; }
2876 if test "${ac_cv_target+set}" = set; then :
2877 $as_echo_n "(cached) " >&6
2878 else
2879 if test "x$target_alias" = x; then
2880 ac_cv_target=$ac_cv_host
2881 else
2882 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2883 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2888 $as_echo "$ac_cv_target" >&6; }
2889 case $ac_cv_target in
2890 *-*-*) ;;
2891 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2892 esac
2893 target=$ac_cv_target
2894 ac_save_IFS=$IFS; IFS='-'
2895 set x $ac_cv_target
2896 shift
2897 target_cpu=$1
2898 target_vendor=$2
2899 shift; shift
2900 # Remember, the first character of IFS is used to create $*,
2901 # except with old shells:
2902 target_os=$*
2903 IFS=$ac_save_IFS
2904 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2907 # The aliases save the names the user supplied, while $host etc.
2908 # will get canonicalized.
2909 test -n "$target_alias" &&
2910 test "$program_prefix$program_suffix$program_transform_name" = \
2911 NONENONEs,x,x, &&
2912 program_prefix=${target_alias}-
2917 target_alias=${target_alias-$host_alias}
2920 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2921 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2922 # 1.9.6: minimum required version
2923 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2924 # of other PACKAGE_* variables will, however, and there's nothing
2925 # we can do about that; they come from AC_INIT).
2926 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2927 # file in the top srcdir, etc, etc), so stop complaining.
2928 # no-dist: we don't want 'dist' and related rules.
2929 # -Wall: turns on all automake warnings...
2930 # -Wno-portability: ...except this one, since GNU make is required.
2931 am__api_version='1.11'
2933 # Find a good install program. We prefer a C program (faster),
2934 # so one script is as good as another. But avoid the broken or
2935 # incompatible versions:
2936 # SysV /etc/install, /usr/sbin/install
2937 # SunOS /usr/etc/install
2938 # IRIX /sbin/install
2939 # AIX /bin/install
2940 # AmigaOS /C/install, which installs bootblocks on floppy discs
2941 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2942 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2943 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2944 # OS/2's system install, which has a completely different semantic
2945 # ./install, which can be erroneously created by make from ./install.sh.
2946 # Reject install programs that cannot install multiple files.
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2948 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2949 if test -z "$INSTALL"; then
2950 if test "${ac_cv_path_install+set}" = set; then :
2951 $as_echo_n "(cached) " >&6
2952 else
2953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954 for as_dir in $PATH
2956 IFS=$as_save_IFS
2957 test -z "$as_dir" && as_dir=.
2958 # Account for people who put trailing slashes in PATH elements.
2959 case $as_dir/ in #((
2960 ./ | .// | /[cC]/* | \
2961 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2962 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2963 /usr/ucb/* ) ;;
2965 # OSF1 and SCO ODT 3.0 have their own names for install.
2966 # Don't use installbsd from OSF since it installs stuff as root
2967 # by default.
2968 for ac_prog in ginstall scoinst install; do
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2971 if test $ac_prog = install &&
2972 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2973 # AIX install. It has an incompatible calling convention.
2975 elif test $ac_prog = install &&
2976 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2977 # program-specific install script used by HP pwplus--don't use.
2979 else
2980 rm -rf conftest.one conftest.two conftest.dir
2981 echo one > conftest.one
2982 echo two > conftest.two
2983 mkdir conftest.dir
2984 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2985 test -s conftest.one && test -s conftest.two &&
2986 test -s conftest.dir/conftest.one &&
2987 test -s conftest.dir/conftest.two
2988 then
2989 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2990 break 3
2994 done
2995 done
2997 esac
2999 done
3000 IFS=$as_save_IFS
3002 rm -rf conftest.one conftest.two conftest.dir
3005 if test "${ac_cv_path_install+set}" = set; then
3006 INSTALL=$ac_cv_path_install
3007 else
3008 # As a last resort, use the slow shell script. Don't cache a
3009 # value for INSTALL within a source directory, because that will
3010 # break other packages using the cache if that directory is
3011 # removed, or if the value is a relative name.
3012 INSTALL=$ac_install_sh
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3016 $as_echo "$INSTALL" >&6; }
3018 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3019 # It thinks the first close brace ends the variable substitution.
3020 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3022 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3024 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3027 $as_echo_n "checking whether build environment is sane... " >&6; }
3028 # Just in case
3029 sleep 1
3030 echo timestamp > conftest.file
3031 # Reject unsafe characters in $srcdir or the absolute working directory
3032 # name. Accept space and tab only in the latter.
3033 am_lf='
3035 case `pwd` in
3036 *[\\\"\#\$\&\'\`$am_lf]*)
3037 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3038 esac
3039 case $srcdir in
3040 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3041 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3042 esac
3044 # Do `set' in a subshell so we don't clobber the current shell's
3045 # arguments. Must try -L first in case configure is actually a
3046 # symlink; some systems play weird games with the mod time of symlinks
3047 # (eg FreeBSD returns the mod time of the symlink's containing
3048 # directory).
3049 if (
3050 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3051 if test "$*" = "X"; then
3052 # -L didn't work.
3053 set X `ls -t "$srcdir/configure" conftest.file`
3055 rm -f conftest.file
3056 if test "$*" != "X $srcdir/configure conftest.file" \
3057 && test "$*" != "X conftest.file $srcdir/configure"; then
3059 # If neither matched, then we have a broken ls. This can happen
3060 # if, for instance, CONFIG_SHELL is bash and it inherits a
3061 # broken ls alias from the environment. This has actually
3062 # happened. Such a system could not be considered "sane".
3063 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3064 alias in your environment" "$LINENO" 5
3067 test "$2" = conftest.file
3069 then
3070 # Ok.
3072 else
3073 as_fn_error "newly created file is older than distributed files!
3074 Check your system clock" "$LINENO" 5
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3077 $as_echo "yes" >&6; }
3078 test "$program_prefix" != NONE &&
3079 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3080 # Use a double $ so make ignores it.
3081 test "$program_suffix" != NONE &&
3082 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3083 # Double any \ or $.
3084 # By default was `s,x,x', remove it if useless.
3085 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3086 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3088 # expand $ac_aux_dir to an absolute path
3089 am_aux_dir=`cd $ac_aux_dir && pwd`
3091 if test x"${MISSING+set}" != xset; then
3092 case $am_aux_dir in
3093 *\ * | *\ *)
3094 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3096 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3097 esac
3099 # Use eval to expand $SHELL
3100 if eval "$MISSING --run true"; then
3101 am_missing_run="$MISSING --run "
3102 else
3103 am_missing_run=
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3105 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3108 if test x"${install_sh}" != xset; then
3109 case $am_aux_dir in
3110 *\ * | *\ *)
3111 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3113 install_sh="\${SHELL} $am_aux_dir/install-sh"
3114 esac
3117 # Installed binaries are usually stripped using `strip' when the user
3118 # run `make install-strip'. However `strip' might not be the right
3119 # tool to use in cross-compilation environments, therefore Automake
3120 # will honor the `STRIP' environment variable to overrule this program.
3121 if test "$cross_compiling" != no; then
3122 if test -n "$ac_tool_prefix"; then
3123 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3124 set dummy ${ac_tool_prefix}strip; ac_word=$2
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3126 $as_echo_n "checking for $ac_word... " >&6; }
3127 if test "${ac_cv_prog_STRIP+set}" = set; then :
3128 $as_echo_n "(cached) " >&6
3129 else
3130 if test -n "$STRIP"; then
3131 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3132 else
3133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 for as_dir in $PATH
3136 IFS=$as_save_IFS
3137 test -z "$as_dir" && as_dir=.
3138 for ac_exec_ext in '' $ac_executable_extensions; do
3139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3140 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 break 2
3144 done
3145 done
3146 IFS=$as_save_IFS
3150 STRIP=$ac_cv_prog_STRIP
3151 if test -n "$STRIP"; then
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3153 $as_echo "$STRIP" >&6; }
3154 else
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3156 $as_echo "no" >&6; }
3161 if test -z "$ac_cv_prog_STRIP"; then
3162 ac_ct_STRIP=$STRIP
3163 # Extract the first word of "strip", so it can be a program name with args.
3164 set dummy strip; ac_word=$2
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3166 $as_echo_n "checking for $ac_word... " >&6; }
3167 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3168 $as_echo_n "(cached) " >&6
3169 else
3170 if test -n "$ac_ct_STRIP"; then
3171 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3172 else
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 for as_dir in $PATH
3176 IFS=$as_save_IFS
3177 test -z "$as_dir" && as_dir=.
3178 for ac_exec_ext in '' $ac_executable_extensions; do
3179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3180 ac_cv_prog_ac_ct_STRIP="strip"
3181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 break 2
3184 done
3185 done
3186 IFS=$as_save_IFS
3190 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3191 if test -n "$ac_ct_STRIP"; then
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3193 $as_echo "$ac_ct_STRIP" >&6; }
3194 else
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3196 $as_echo "no" >&6; }
3199 if test "x$ac_ct_STRIP" = x; then
3200 STRIP=":"
3201 else
3202 case $cross_compiling:$ac_tool_warned in
3203 yes:)
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3206 ac_tool_warned=yes ;;
3207 esac
3208 STRIP=$ac_ct_STRIP
3210 else
3211 STRIP="$ac_cv_prog_STRIP"
3215 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3218 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3219 if test -z "$MKDIR_P"; then
3220 if test "${ac_cv_path_mkdir+set}" = set; then :
3221 $as_echo_n "(cached) " >&6
3222 else
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3226 IFS=$as_save_IFS
3227 test -z "$as_dir" && as_dir=.
3228 for ac_prog in mkdir gmkdir; do
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3231 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3232 'mkdir (GNU coreutils) '* | \
3233 'mkdir (coreutils) '* | \
3234 'mkdir (fileutils) '4.1*)
3235 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3236 break 3;;
3237 esac
3238 done
3239 done
3240 done
3241 IFS=$as_save_IFS
3245 if test "${ac_cv_path_mkdir+set}" = set; then
3246 MKDIR_P="$ac_cv_path_mkdir -p"
3247 else
3248 # As a last resort, use the slow shell script. Don't cache a
3249 # value for MKDIR_P within a source directory, because that will
3250 # break other packages using the cache if that directory is
3251 # removed, or if the value is a relative name.
3252 test -d ./--version && rmdir ./--version
3253 MKDIR_P="$ac_install_sh -d"
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3257 $as_echo "$MKDIR_P" >&6; }
3259 mkdir_p="$MKDIR_P"
3260 case $mkdir_p in
3261 [\\/$]* | ?:[\\/]*) ;;
3262 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3263 esac
3265 for ac_prog in gawk mawk nawk awk
3267 # Extract the first word of "$ac_prog", so it can be a program name with args.
3268 set dummy $ac_prog; ac_word=$2
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270 $as_echo_n "checking for $ac_word... " >&6; }
3271 if test "${ac_cv_prog_AWK+set}" = set; then :
3272 $as_echo_n "(cached) " >&6
3273 else
3274 if test -n "$AWK"; then
3275 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3276 else
3277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278 for as_dir in $PATH
3280 IFS=$as_save_IFS
3281 test -z "$as_dir" && as_dir=.
3282 for ac_exec_ext in '' $ac_executable_extensions; do
3283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3284 ac_cv_prog_AWK="$ac_prog"
3285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286 break 2
3288 done
3289 done
3290 IFS=$as_save_IFS
3294 AWK=$ac_cv_prog_AWK
3295 if test -n "$AWK"; then
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3297 $as_echo "$AWK" >&6; }
3298 else
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300 $as_echo "no" >&6; }
3304 test -n "$AWK" && break
3305 done
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3308 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3309 set x ${MAKE-make}
3310 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3311 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3312 $as_echo_n "(cached) " >&6
3313 else
3314 cat >conftest.make <<\_ACEOF
3315 SHELL = /bin/sh
3316 all:
3317 @echo '@@@%%%=$(MAKE)=@@@%%%'
3318 _ACEOF
3319 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3320 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3321 *@@@%%%=?*=@@@%%%*)
3322 eval ac_cv_prog_make_${ac_make}_set=yes;;
3324 eval ac_cv_prog_make_${ac_make}_set=no;;
3325 esac
3326 rm -f conftest.make
3328 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3330 $as_echo "yes" >&6; }
3331 SET_MAKE=
3332 else
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3335 SET_MAKE="MAKE=${MAKE-make}"
3338 rm -rf .tst 2>/dev/null
3339 mkdir .tst 2>/dev/null
3340 if test -d .tst; then
3341 am__leading_dot=.
3342 else
3343 am__leading_dot=_
3345 rmdir .tst 2>/dev/null
3347 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3348 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3349 # is not polluted with repeated "-I."
3350 am__isrc=' -I$(srcdir)'
3351 # test to see if srcdir already configured
3352 if test -f $srcdir/config.status; then
3353 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3357 # test whether we have cygpath
3358 if test -z "$CYGPATH_W"; then
3359 if (cygpath --version) >/dev/null 2>/dev/null; then
3360 CYGPATH_W='cygpath -w'
3361 else
3362 CYGPATH_W=echo
3367 # Define the identity of the package.
3368 PACKAGE='libgfortran'
3369 VERSION='0.3'
3372 # Some tools Automake needs.
3374 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3377 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3380 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3383 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3386 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3388 # We need awk for the "check" target. The system "awk" is bad on
3389 # some platforms.
3390 # Always define AMTAR for backward compatibility. Yes, it's still used
3391 # in the wild :-( We should find a proper way to deprecate it ...
3392 AMTAR='$${TAR-tar}'
3394 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3403 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3404 # Check whether --enable-maintainer-mode was given.
3405 if test "${enable_maintainer_mode+set}" = set; then :
3406 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3407 else
3408 USE_MAINTAINER_MODE=no
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3412 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3413 if test $USE_MAINTAINER_MODE = yes; then
3414 MAINTAINER_MODE_TRUE=
3415 MAINTAINER_MODE_FALSE='#'
3416 else
3417 MAINTAINER_MODE_TRUE='#'
3418 MAINTAINER_MODE_FALSE=
3421 MAINT=$MAINTAINER_MODE_TRUE
3424 # Default to --enable-multilib
3425 # Check whether --enable-multilib was given.
3426 if test "${enable_multilib+set}" = set; then :
3427 enableval=$enable_multilib; case "$enableval" in
3428 yes) multilib=yes ;;
3429 no) multilib=no ;;
3430 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3431 esac
3432 else
3433 multilib=yes
3437 # We may get other options which we leave undocumented:
3438 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3439 # See config-ml.in if you want the gory details.
3441 if test "$srcdir" = "."; then
3442 if test "$with_target_subdir" != "."; then
3443 multi_basedir="$srcdir/$with_multisrctop../.."
3444 else
3445 multi_basedir="$srcdir/$with_multisrctop.."
3447 else
3448 multi_basedir="$srcdir/.."
3452 # Even if the default multilib is not a cross compilation,
3453 # it may be that some of the other multilibs are.
3454 if test $cross_compiling = no && test $multilib = yes \
3455 && test "x${with_multisubdir}" != x ; then
3456 cross_compiling=maybe
3459 ac_config_commands="$ac_config_commands default-1"
3462 # Handy for debugging:
3463 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3465 # Are we being configured with some form of cross compiler?
3466 # NB: We don't actually need to know this just now, but when, say, a test
3467 # suite is included, we'll have to know.
3468 if test "$build" != "$host"; then
3469 LIBGFOR_IS_NATIVE=false
3471 else
3472 LIBGFOR_IS_NATIVE=true
3475 DEPDIR="${am__leading_dot}deps"
3477 ac_config_commands="$ac_config_commands depfiles"
3480 am_make=${MAKE-make}
3481 cat > confinc << 'END'
3482 am__doit:
3483 @echo this is the am__doit target
3484 .PHONY: am__doit
3486 # If we don't find an include directive, just comment out the code.
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3488 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3489 am__include="#"
3490 am__quote=
3491 _am_result=none
3492 # First try GNU make style include.
3493 echo "include confinc" > confmf
3494 # Ignore all kinds of additional output from `make'.
3495 case `$am_make -s -f confmf 2> /dev/null` in #(
3496 *the\ am__doit\ target*)
3497 am__include=include
3498 am__quote=
3499 _am_result=GNU
3501 esac
3502 # Now try BSD make style include.
3503 if test "$am__include" = "#"; then
3504 echo '.include "confinc"' > confmf
3505 case `$am_make -s -f confmf 2> /dev/null` in #(
3506 *the\ am__doit\ target*)
3507 am__include=.include
3508 am__quote="\""
3509 _am_result=BSD
3511 esac
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3516 $as_echo "$_am_result" >&6; }
3517 rm -f confinc confmf
3519 # Check whether --enable-dependency-tracking was given.
3520 if test "${enable_dependency_tracking+set}" = set; then :
3521 enableval=$enable_dependency_tracking;
3524 if test "x$enable_dependency_tracking" != xno; then
3525 am_depcomp="$ac_aux_dir/depcomp"
3526 AMDEPBACKSLASH='\'
3527 am__nodep='_no'
3529 if test "x$enable_dependency_tracking" != xno; then
3530 AMDEP_TRUE=
3531 AMDEP_FALSE='#'
3532 else
3533 AMDEP_TRUE='#'
3534 AMDEP_FALSE=
3538 ac_ext=c
3539 ac_cpp='$CPP $CPPFLAGS'
3540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3543 if test -n "$ac_tool_prefix"; then
3544 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3545 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3547 $as_echo_n "checking for $ac_word... " >&6; }
3548 if test "${ac_cv_prog_CC+set}" = set; then :
3549 $as_echo_n "(cached) " >&6
3550 else
3551 if test -n "$CC"; then
3552 ac_cv_prog_CC="$CC" # Let the user override the test.
3553 else
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3555 for as_dir in $PATH
3557 IFS=$as_save_IFS
3558 test -z "$as_dir" && as_dir=.
3559 for ac_exec_ext in '' $ac_executable_extensions; do
3560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3561 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 break 2
3565 done
3566 done
3567 IFS=$as_save_IFS
3571 CC=$ac_cv_prog_CC
3572 if test -n "$CC"; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3574 $as_echo "$CC" >&6; }
3575 else
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3582 if test -z "$ac_cv_prog_CC"; then
3583 ac_ct_CC=$CC
3584 # Extract the first word of "gcc", so it can be a program name with args.
3585 set dummy gcc; ac_word=$2
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3587 $as_echo_n "checking for $ac_word... " >&6; }
3588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3589 $as_echo_n "(cached) " >&6
3590 else
3591 if test -n "$ac_ct_CC"; then
3592 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3593 else
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 for as_dir in $PATH
3597 IFS=$as_save_IFS
3598 test -z "$as_dir" && as_dir=.
3599 for ac_exec_ext in '' $ac_executable_extensions; do
3600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3601 ac_cv_prog_ac_ct_CC="gcc"
3602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 break 2
3605 done
3606 done
3607 IFS=$as_save_IFS
3611 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3612 if test -n "$ac_ct_CC"; then
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3614 $as_echo "$ac_ct_CC" >&6; }
3615 else
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617 $as_echo "no" >&6; }
3620 if test "x$ac_ct_CC" = x; then
3621 CC=""
3622 else
3623 case $cross_compiling:$ac_tool_warned in
3624 yes:)
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3627 ac_tool_warned=yes ;;
3628 esac
3629 CC=$ac_ct_CC
3631 else
3632 CC="$ac_cv_prog_CC"
3635 if test -z "$CC"; then
3636 if test -n "$ac_tool_prefix"; then
3637 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3638 set dummy ${ac_tool_prefix}cc; ac_word=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if test "${ac_cv_prog_CC+set}" = set; then :
3642 $as_echo_n "(cached) " >&6
3643 else
3644 if test -n "$CC"; then
3645 ac_cv_prog_CC="$CC" # Let the user override the test.
3646 else
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 for as_dir in $PATH
3650 IFS=$as_save_IFS
3651 test -z "$as_dir" && as_dir=.
3652 for ac_exec_ext in '' $ac_executable_extensions; do
3653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3654 ac_cv_prog_CC="${ac_tool_prefix}cc"
3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656 break 2
3658 done
3659 done
3660 IFS=$as_save_IFS
3664 CC=$ac_cv_prog_CC
3665 if test -n "$CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3668 else
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3676 if test -z "$CC"; then
3677 # Extract the first word of "cc", so it can be a program name with args.
3678 set dummy cc; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if test "${ac_cv_prog_CC+set}" = set; then :
3682 $as_echo_n "(cached) " >&6
3683 else
3684 if test -n "$CC"; then
3685 ac_cv_prog_CC="$CC" # Let the user override the test.
3686 else
3687 ac_prog_rejected=no
3688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689 for as_dir in $PATH
3691 IFS=$as_save_IFS
3692 test -z "$as_dir" && as_dir=.
3693 for ac_exec_ext in '' $ac_executable_extensions; do
3694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3695 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3696 ac_prog_rejected=yes
3697 continue
3699 ac_cv_prog_CC="cc"
3700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3701 break 2
3703 done
3704 done
3705 IFS=$as_save_IFS
3707 if test $ac_prog_rejected = yes; then
3708 # We found a bogon in the path, so make sure we never use it.
3709 set dummy $ac_cv_prog_CC
3710 shift
3711 if test $# != 0; then
3712 # We chose a different compiler from the bogus one.
3713 # However, it has the same basename, so the bogon will be chosen
3714 # first if we set CC to just the basename; use the full file name.
3715 shift
3716 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3721 CC=$ac_cv_prog_CC
3722 if test -n "$CC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3724 $as_echo "$CC" >&6; }
3725 else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3732 if test -z "$CC"; then
3733 if test -n "$ac_tool_prefix"; then
3734 for ac_prog in cl.exe
3736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if test "${ac_cv_prog_CC+set}" = set; then :
3741 $as_echo_n "(cached) " >&6
3742 else
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 else
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH
3749 IFS=$as_save_IFS
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755 break 2
3757 done
3758 done
3759 IFS=$as_save_IFS
3763 CC=$ac_cv_prog_CC
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3767 else
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3773 test -n "$CC" && break
3774 done
3776 if test -z "$CC"; then
3777 ac_ct_CC=$CC
3778 for ac_prog in cl.exe
3780 # Extract the first word of "$ac_prog", so it can be a program name with args.
3781 set dummy $ac_prog; ac_word=$2
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3785 $as_echo_n "(cached) " >&6
3786 else
3787 if test -n "$ac_ct_CC"; then
3788 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3789 else
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 for as_dir in $PATH
3793 IFS=$as_save_IFS
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797 ac_cv_prog_ac_ct_CC="$ac_prog"
3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 break 2
3801 done
3802 done
3803 IFS=$as_save_IFS
3807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3808 if test -n "$ac_ct_CC"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3810 $as_echo "$ac_ct_CC" >&6; }
3811 else
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3817 test -n "$ac_ct_CC" && break
3818 done
3820 if test "x$ac_ct_CC" = x; then
3821 CC=""
3822 else
3823 case $cross_compiling:$ac_tool_warned in
3824 yes:)
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3827 ac_tool_warned=yes ;;
3828 esac
3829 CC=$ac_ct_CC
3836 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3838 as_fn_error "no acceptable C compiler found in \$PATH
3839 See \`config.log' for more details." "$LINENO" 5; }
3841 # Provide some information about the compiler.
3842 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3843 set X $ac_compile
3844 ac_compiler=$2
3845 for ac_option in --version -v -V -qversion; do
3846 { { ac_try="$ac_compiler $ac_option >&5"
3847 case "(($ac_try" in
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3850 esac
3851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852 $as_echo "$ac_try_echo"; } >&5
3853 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3854 ac_status=$?
3855 if test -s conftest.err; then
3856 sed '10a\
3857 ... rest of stderr output deleted ...
3858 10q' conftest.err >conftest.er1
3859 cat conftest.er1 >&5
3860 rm -f conftest.er1 conftest.err
3862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3863 test $ac_status = 0; }
3864 done
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3870 main ()
3874 return 0;
3876 _ACEOF
3877 # FIXME: Cleanup?
3878 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3879 (eval $ac_link) 2>&5
3880 ac_status=$?
3881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3882 test $ac_status = 0; }; then :
3883 gcc_no_link=no
3884 else
3885 gcc_no_link=yes
3887 if test x$gcc_no_link = xyes; then
3888 # Setting cross_compile will disable run tests; it will
3889 # also disable AC_CHECK_FILE but that's generally
3890 # correct if we can't link.
3891 cross_compiling=yes
3892 EXEEXT=
3893 else
3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3898 main ()
3902 return 0;
3904 _ACEOF
3905 ac_clean_files_save=$ac_clean_files
3906 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3907 # Try to create an executable without -o first, disregard a.out.
3908 # It will help us diagnose broken compilers, and finding out an intuition
3909 # of exeext.
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3911 $as_echo_n "checking for C compiler default output file name... " >&6; }
3912 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3914 # The possible output files:
3915 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3917 ac_rmfiles=
3918 for ac_file in $ac_files
3920 case $ac_file in
3921 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3922 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3923 esac
3924 done
3925 rm -f $ac_rmfiles
3927 if { { ac_try="$ac_link_default"
3928 case "(($ac_try" in
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3931 esac
3932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3933 $as_echo "$ac_try_echo"; } >&5
3934 (eval "$ac_link_default") 2>&5
3935 ac_status=$?
3936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937 test $ac_status = 0; }; then :
3938 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3939 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3940 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3941 # so that the user can short-circuit this test for compilers unknown to
3942 # Autoconf.
3943 for ac_file in $ac_files ''
3945 test -f "$ac_file" || continue
3946 case $ac_file in
3947 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3949 [ab].out )
3950 # We found the default executable, but exeext='' is most
3951 # certainly right.
3952 break;;
3953 *.* )
3954 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3955 then :; else
3956 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3958 # We set ac_cv_exeext here because the later test for it is not
3959 # safe: cross compilers may not add the suffix if given an `-o'
3960 # argument, so we may need to know it at that point already.
3961 # Even if this section looks crufty: it has the advantage of
3962 # actually working.
3963 break;;
3965 break;;
3966 esac
3967 done
3968 test "$ac_cv_exeext" = no && ac_cv_exeext=
3970 else
3971 ac_file=''
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3974 $as_echo "$ac_file" >&6; }
3975 if test -z "$ac_file"; then :
3976 $as_echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.$ac_ext >&5
3979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3981 { as_fn_set_status 77
3982 as_fn_error "C compiler cannot create executables
3983 See \`config.log' for more details." "$LINENO" 5; }; }
3985 ac_exeext=$ac_cv_exeext
3987 # Check that the compiler produces executables we can run. If not, either
3988 # the compiler is broken, or we cross compile.
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3990 $as_echo_n "checking whether the C compiler works... " >&6; }
3991 # If not cross compiling, check that we can run a simple program.
3992 if test "$cross_compiling" != yes; then
3993 if { ac_try='./$ac_file'
3994 { { case "(($ac_try" in
3995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996 *) ac_try_echo=$ac_try;;
3997 esac
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000 (eval "$ac_try") 2>&5
4001 ac_status=$?
4002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4003 test $ac_status = 0; }; }; then
4004 cross_compiling=no
4005 else
4006 if test "$cross_compiling" = maybe; then
4007 cross_compiling=yes
4008 else
4009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error "cannot run C compiled programs.
4012 If you meant to cross compile, use \`--host'.
4013 See \`config.log' for more details." "$LINENO" 5; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4018 $as_echo "yes" >&6; }
4020 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4021 ac_clean_files=$ac_clean_files_save
4022 # Check that the compiler produces executables we can run. If not, either
4023 # the compiler is broken, or we cross compile.
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4025 $as_echo_n "checking whether we are cross compiling... " >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4027 $as_echo "$cross_compiling" >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4030 $as_echo_n "checking for suffix of executables... " >&6; }
4031 if { { ac_try="$ac_link"
4032 case "(($ac_try" in
4033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4035 esac
4036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4037 $as_echo "$ac_try_echo"; } >&5
4038 (eval "$ac_link") 2>&5
4039 ac_status=$?
4040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041 test $ac_status = 0; }; then :
4042 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4043 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4044 # work properly (i.e., refer to `conftest.exe'), while it won't with
4045 # `rm'.
4046 for ac_file in conftest.exe conftest conftest.*; do
4047 test -f "$ac_file" || continue
4048 case $ac_file in
4049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4050 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4051 break;;
4052 * ) break;;
4053 esac
4054 done
4055 else
4056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4058 as_fn_error "cannot compute suffix of executables: cannot compile and link
4059 See \`config.log' for more details." "$LINENO" 5; }
4061 rm -f conftest$ac_cv_exeext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4063 $as_echo "$ac_cv_exeext" >&6; }
4065 rm -f conftest.$ac_ext
4066 EXEEXT=$ac_cv_exeext
4067 ac_exeext=$EXEEXT
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4070 $as_echo_n "checking for suffix of object files... " >&6; }
4071 if test "${ac_cv_objext+set}" = set; then :
4072 $as_echo_n "(cached) " >&6
4073 else
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4078 main ()
4082 return 0;
4084 _ACEOF
4085 rm -f conftest.o conftest.obj
4086 if { { ac_try="$ac_compile"
4087 case "(($ac_try" in
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4090 esac
4091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4092 $as_echo "$ac_try_echo"; } >&5
4093 (eval "$ac_compile") 2>&5
4094 ac_status=$?
4095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4096 test $ac_status = 0; }; then :
4097 for ac_file in conftest.o conftest.obj conftest.*; do
4098 test -f "$ac_file" || continue;
4099 case $ac_file in
4100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4101 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4102 break;;
4103 esac
4104 done
4105 else
4106 $as_echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4111 as_fn_error "cannot compute suffix of object files: cannot compile
4112 See \`config.log' for more details." "$LINENO" 5; }
4114 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4117 $as_echo "$ac_cv_objext" >&6; }
4118 OBJEXT=$ac_cv_objext
4119 ac_objext=$OBJEXT
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4121 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4122 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4123 $as_echo_n "(cached) " >&6
4124 else
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4129 main ()
4131 #ifndef __GNUC__
4132 choke me
4133 #endif
4136 return 0;
4138 _ACEOF
4139 if ac_fn_c_try_compile "$LINENO"; then :
4140 ac_compiler_gnu=yes
4141 else
4142 ac_compiler_gnu=no
4144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4145 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4149 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4150 if test $ac_compiler_gnu = yes; then
4151 GCC=yes
4152 else
4153 GCC=
4155 ac_test_CFLAGS=${CFLAGS+set}
4156 ac_save_CFLAGS=$CFLAGS
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4158 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4159 if test "${ac_cv_prog_cc_g+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 ac_save_c_werror_flag=$ac_c_werror_flag
4163 ac_c_werror_flag=yes
4164 ac_cv_prog_cc_g=no
4165 CFLAGS="-g"
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4170 main ()
4174 return 0;
4176 _ACEOF
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 ac_cv_prog_cc_g=yes
4179 else
4180 CFLAGS=""
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4185 main ()
4189 return 0;
4191 _ACEOF
4192 if ac_fn_c_try_compile "$LINENO"; then :
4194 else
4195 ac_c_werror_flag=$ac_save_c_werror_flag
4196 CFLAGS="-g"
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4201 main ()
4205 return 0;
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209 ac_cv_prog_cc_g=yes
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 ac_c_werror_flag=$ac_save_c_werror_flag
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4219 $as_echo "$ac_cv_prog_cc_g" >&6; }
4220 if test "$ac_test_CFLAGS" = set; then
4221 CFLAGS=$ac_save_CFLAGS
4222 elif test $ac_cv_prog_cc_g = yes; then
4223 if test "$GCC" = yes; then
4224 CFLAGS="-g -O2"
4225 else
4226 CFLAGS="-g"
4228 else
4229 if test "$GCC" = yes; then
4230 CFLAGS="-O2"
4231 else
4232 CFLAGS=
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4236 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4237 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4238 $as_echo_n "(cached) " >&6
4239 else
4240 ac_cv_prog_cc_c89=no
4241 ac_save_CC=$CC
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4244 #include <stdarg.h>
4245 #include <stdio.h>
4246 #include <sys/types.h>
4247 #include <sys/stat.h>
4248 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4249 struct buf { int x; };
4250 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4251 static char *e (p, i)
4252 char **p;
4253 int i;
4255 return p[i];
4257 static char *f (char * (*g) (char **, int), char **p, ...)
4259 char *s;
4260 va_list v;
4261 va_start (v,p);
4262 s = g (p, va_arg (v,int));
4263 va_end (v);
4264 return s;
4267 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4268 function prototypes and stuff, but not '\xHH' hex character constants.
4269 These don't provoke an error unfortunately, instead are silently treated
4270 as 'x'. The following induces an error, until -std is added to get
4271 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4272 array size at least. It's necessary to write '\x00'==0 to get something
4273 that's true only with -std. */
4274 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4276 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4277 inside strings and character constants. */
4278 #define FOO(x) 'x'
4279 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4281 int test (int i, double x);
4282 struct s1 {int (*f) (int a);};
4283 struct s2 {int (*f) (double a);};
4284 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4285 int argc;
4286 char **argv;
4288 main ()
4290 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4292 return 0;
4294 _ACEOF
4295 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4296 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4298 CC="$ac_save_CC $ac_arg"
4299 if ac_fn_c_try_compile "$LINENO"; then :
4300 ac_cv_prog_cc_c89=$ac_arg
4302 rm -f core conftest.err conftest.$ac_objext
4303 test "x$ac_cv_prog_cc_c89" != "xno" && break
4304 done
4305 rm -f conftest.$ac_ext
4306 CC=$ac_save_CC
4309 # AC_CACHE_VAL
4310 case "x$ac_cv_prog_cc_c89" in
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4313 $as_echo "none needed" >&6; } ;;
4314 xno)
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4316 $as_echo "unsupported" >&6; } ;;
4318 CC="$CC $ac_cv_prog_cc_c89"
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4320 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4321 esac
4322 if test "x$ac_cv_prog_cc_c89" != xno; then :
4326 ac_ext=c
4327 ac_cpp='$CPP $CPPFLAGS'
4328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4332 depcc="$CC" am_compiler_list=
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4335 $as_echo_n "checking dependency style of $depcc... " >&6; }
4336 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4340 # We make a subdir and do the tests there. Otherwise we can end up
4341 # making bogus files that we don't know about and never remove. For
4342 # instance it was reported that on HP-UX the gcc test will end up
4343 # making a dummy file named `D' -- because `-MD' means `put the output
4344 # in D'.
4345 rm -rf conftest.dir
4346 mkdir conftest.dir
4347 # Copy depcomp to subdir because otherwise we won't find it if we're
4348 # using a relative directory.
4349 cp "$am_depcomp" conftest.dir
4350 cd conftest.dir
4351 # We will build objects and dependencies in a subdirectory because
4352 # it helps to detect inapplicable dependency modes. For instance
4353 # both Tru64's cc and ICC support -MD to output dependencies as a
4354 # side effect of compilation, but ICC will put the dependencies in
4355 # the current directory while Tru64 will put them in the object
4356 # directory.
4357 mkdir sub
4359 am_cv_CC_dependencies_compiler_type=none
4360 if test "$am_compiler_list" = ""; then
4361 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4363 am__universal=false
4364 case " $depcc " in #(
4365 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4366 esac
4368 for depmode in $am_compiler_list; do
4369 # Setup a source with many dependencies, because some compilers
4370 # like to wrap large dependency lists on column 80 (with \), and
4371 # we should not choose a depcomp mode which is confused by this.
4373 # We need to recreate these files for each test, as the compiler may
4374 # overwrite some of them when testing with obscure command lines.
4375 # This happens at least with the AIX C compiler.
4376 : > sub/conftest.c
4377 for i in 1 2 3 4 5 6; do
4378 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4379 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4380 # Solaris 8's {/usr,}/bin/sh.
4381 touch sub/conftst$i.h
4382 done
4383 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4385 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4386 # mode. It turns out that the SunPro C++ compiler does not properly
4387 # handle `-M -o', and we need to detect this. Also, some Intel
4388 # versions had trouble with output in subdirs
4389 am__obj=sub/conftest.${OBJEXT-o}
4390 am__minus_obj="-o $am__obj"
4391 case $depmode in
4392 gcc)
4393 # This depmode causes a compiler race in universal mode.
4394 test "$am__universal" = false || continue
4396 nosideeffect)
4397 # after this tag, mechanisms are not by side-effect, so they'll
4398 # only be used when explicitly requested
4399 if test "x$enable_dependency_tracking" = xyes; then
4400 continue
4401 else
4402 break
4405 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4406 # This compiler won't grok `-c -o', but also, the minuso test has
4407 # not run yet. These depmodes are late enough in the game, and
4408 # so weak that their functioning should not be impacted.
4409 am__obj=conftest.${OBJEXT-o}
4410 am__minus_obj=
4412 none) break ;;
4413 esac
4414 if depmode=$depmode \
4415 source=sub/conftest.c object=$am__obj \
4416 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4417 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4418 >/dev/null 2>conftest.err &&
4419 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4420 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4421 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4422 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4423 # icc doesn't choke on unknown options, it will just issue warnings
4424 # or remarks (even with -Werror). So we grep stderr for any message
4425 # that says an option was ignored or not supported.
4426 # When given -MP, icc 7.0 and 7.1 complain thusly:
4427 # icc: Command line warning: ignoring option '-M'; no argument required
4428 # The diagnosis changed in icc 8.0:
4429 # icc: Command line remark: option '-MP' not supported
4430 if (grep 'ignoring option' conftest.err ||
4431 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4432 am_cv_CC_dependencies_compiler_type=$depmode
4433 break
4436 done
4438 cd ..
4439 rm -rf conftest.dir
4440 else
4441 am_cv_CC_dependencies_compiler_type=none
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4446 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4447 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4450 test "x$enable_dependency_tracking" != xno \
4451 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4452 am__fastdepCC_TRUE=
4453 am__fastdepCC_FALSE='#'
4454 else
4455 am__fastdepCC_TRUE='#'
4456 am__fastdepCC_FALSE=
4461 ac_ext=c
4462 ac_cpp='$CPP $CPPFLAGS'
4463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4467 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4468 # On Suns, sometimes $CPP names a directory.
4469 if test -n "$CPP" && test -d "$CPP"; then
4470 CPP=
4472 if test -z "$CPP"; then
4473 if test "${ac_cv_prog_CPP+set}" = set; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 # Double quotes because CPP needs to be expanded
4477 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4479 ac_preproc_ok=false
4480 for ac_c_preproc_warn_flag in '' yes
4482 # Use a header file that comes with gcc, so configuring glibc
4483 # with a fresh cross-compiler works.
4484 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4485 # <limits.h> exists even on freestanding compilers.
4486 # On the NeXT, cc -E runs the code through the compiler's parser,
4487 # not just through cpp. "Syntax error" is here to catch this case.
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4490 #ifdef __STDC__
4491 # include <limits.h>
4492 #else
4493 # include <assert.h>
4494 #endif
4495 Syntax error
4496 _ACEOF
4497 if ac_fn_c_try_cpp "$LINENO"; then :
4499 else
4500 # Broken: fails on valid input.
4501 continue
4503 rm -f conftest.err conftest.$ac_ext
4505 # OK, works on sane cases. Now check whether nonexistent headers
4506 # can be detected and how.
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4509 #include <ac_nonexistent.h>
4510 _ACEOF
4511 if ac_fn_c_try_cpp "$LINENO"; then :
4512 # Broken: success on invalid input.
4513 continue
4514 else
4515 # Passes both tests.
4516 ac_preproc_ok=:
4517 break
4519 rm -f conftest.err conftest.$ac_ext
4521 done
4522 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4523 rm -f conftest.err conftest.$ac_ext
4524 if $ac_preproc_ok; then :
4525 break
4528 done
4529 ac_cv_prog_CPP=$CPP
4532 CPP=$ac_cv_prog_CPP
4533 else
4534 ac_cv_prog_CPP=$CPP
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4537 $as_echo "$CPP" >&6; }
4538 ac_preproc_ok=false
4539 for ac_c_preproc_warn_flag in '' yes
4541 # Use a header file that comes with gcc, so configuring glibc
4542 # with a fresh cross-compiler works.
4543 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4544 # <limits.h> exists even on freestanding compilers.
4545 # On the NeXT, cc -E runs the code through the compiler's parser,
4546 # not just through cpp. "Syntax error" is here to catch this case.
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4549 #ifdef __STDC__
4550 # include <limits.h>
4551 #else
4552 # include <assert.h>
4553 #endif
4554 Syntax error
4555 _ACEOF
4556 if ac_fn_c_try_cpp "$LINENO"; then :
4558 else
4559 # Broken: fails on valid input.
4560 continue
4562 rm -f conftest.err conftest.$ac_ext
4564 # OK, works on sane cases. Now check whether nonexistent headers
4565 # can be detected and how.
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4568 #include <ac_nonexistent.h>
4569 _ACEOF
4570 if ac_fn_c_try_cpp "$LINENO"; then :
4571 # Broken: success on invalid input.
4572 continue
4573 else
4574 # Passes both tests.
4575 ac_preproc_ok=:
4576 break
4578 rm -f conftest.err conftest.$ac_ext
4580 done
4581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4582 rm -f conftest.err conftest.$ac_ext
4583 if $ac_preproc_ok; then :
4585 else
4586 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4588 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4589 See \`config.log' for more details." "$LINENO" 5; }
4592 ac_ext=c
4593 ac_cpp='$CPP $CPPFLAGS'
4594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4600 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4601 if test "${ac_cv_path_GREP+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4603 else
4604 if test -z "$GREP"; then
4605 ac_path_GREP_found=false
4606 # Loop through the user's path and test for each of PROGNAME-LIST
4607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4610 IFS=$as_save_IFS
4611 test -z "$as_dir" && as_dir=.
4612 for ac_prog in grep ggrep; do
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4615 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4616 # Check for GNU ac_path_GREP and select it if it is found.
4617 # Check for GNU $ac_path_GREP
4618 case `"$ac_path_GREP" --version 2>&1` in
4619 *GNU*)
4620 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4622 ac_count=0
4623 $as_echo_n 0123456789 >"conftest.in"
4624 while :
4626 cat "conftest.in" "conftest.in" >"conftest.tmp"
4627 mv "conftest.tmp" "conftest.in"
4628 cp "conftest.in" "conftest.nl"
4629 $as_echo 'GREP' >> "conftest.nl"
4630 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4631 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4632 as_fn_arith $ac_count + 1 && ac_count=$as_val
4633 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4634 # Best one so far, save it but keep looking for a better one
4635 ac_cv_path_GREP="$ac_path_GREP"
4636 ac_path_GREP_max=$ac_count
4638 # 10*(2^10) chars as input seems more than enough
4639 test $ac_count -gt 10 && break
4640 done
4641 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4642 esac
4644 $ac_path_GREP_found && break 3
4645 done
4646 done
4647 done
4648 IFS=$as_save_IFS
4649 if test -z "$ac_cv_path_GREP"; then
4650 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4652 else
4653 ac_cv_path_GREP=$GREP
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4658 $as_echo "$ac_cv_path_GREP" >&6; }
4659 GREP="$ac_cv_path_GREP"
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4663 $as_echo_n "checking for egrep... " >&6; }
4664 if test "${ac_cv_path_EGREP+set}" = set; then :
4665 $as_echo_n "(cached) " >&6
4666 else
4667 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4668 then ac_cv_path_EGREP="$GREP -E"
4669 else
4670 if test -z "$EGREP"; then
4671 ac_path_EGREP_found=false
4672 # Loop through the user's path and test for each of PROGNAME-LIST
4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4676 IFS=$as_save_IFS
4677 test -z "$as_dir" && as_dir=.
4678 for ac_prog in egrep; do
4679 for ac_exec_ext in '' $ac_executable_extensions; do
4680 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4681 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4682 # Check for GNU ac_path_EGREP and select it if it is found.
4683 # Check for GNU $ac_path_EGREP
4684 case `"$ac_path_EGREP" --version 2>&1` in
4685 *GNU*)
4686 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4688 ac_count=0
4689 $as_echo_n 0123456789 >"conftest.in"
4690 while :
4692 cat "conftest.in" "conftest.in" >"conftest.tmp"
4693 mv "conftest.tmp" "conftest.in"
4694 cp "conftest.in" "conftest.nl"
4695 $as_echo 'EGREP' >> "conftest.nl"
4696 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4697 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4698 as_fn_arith $ac_count + 1 && ac_count=$as_val
4699 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4700 # Best one so far, save it but keep looking for a better one
4701 ac_cv_path_EGREP="$ac_path_EGREP"
4702 ac_path_EGREP_max=$ac_count
4704 # 10*(2^10) chars as input seems more than enough
4705 test $ac_count -gt 10 && break
4706 done
4707 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4708 esac
4710 $ac_path_EGREP_found && break 3
4711 done
4712 done
4713 done
4714 IFS=$as_save_IFS
4715 if test -z "$ac_cv_path_EGREP"; then
4716 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4718 else
4719 ac_cv_path_EGREP=$EGREP
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4725 $as_echo "$ac_cv_path_EGREP" >&6; }
4726 EGREP="$ac_cv_path_EGREP"
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4730 $as_echo_n "checking for ANSI C header files... " >&6; }
4731 if test "${ac_cv_header_stdc+set}" = set; then :
4732 $as_echo_n "(cached) " >&6
4733 else
4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4736 #include <stdlib.h>
4737 #include <stdarg.h>
4738 #include <string.h>
4739 #include <float.h>
4742 main ()
4746 return 0;
4748 _ACEOF
4749 if ac_fn_c_try_compile "$LINENO"; then :
4750 ac_cv_header_stdc=yes
4751 else
4752 ac_cv_header_stdc=no
4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4756 if test $ac_cv_header_stdc = yes; then
4757 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4760 #include <string.h>
4762 _ACEOF
4763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4764 $EGREP "memchr" >/dev/null 2>&1; then :
4766 else
4767 ac_cv_header_stdc=no
4769 rm -f conftest*
4773 if test $ac_cv_header_stdc = yes; then
4774 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4777 #include <stdlib.h>
4779 _ACEOF
4780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4781 $EGREP "free" >/dev/null 2>&1; then :
4783 else
4784 ac_cv_header_stdc=no
4786 rm -f conftest*
4790 if test $ac_cv_header_stdc = yes; then
4791 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4792 if test "$cross_compiling" = yes; then :
4794 else
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4797 #include <ctype.h>
4798 #include <stdlib.h>
4799 #if ((' ' & 0x0FF) == 0x020)
4800 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4801 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4802 #else
4803 # define ISLOWER(c) \
4804 (('a' <= (c) && (c) <= 'i') \
4805 || ('j' <= (c) && (c) <= 'r') \
4806 || ('s' <= (c) && (c) <= 'z'))
4807 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4808 #endif
4810 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4812 main ()
4814 int i;
4815 for (i = 0; i < 256; i++)
4816 if (XOR (islower (i), ISLOWER (i))
4817 || toupper (i) != TOUPPER (i))
4818 return 2;
4819 return 0;
4821 _ACEOF
4822 if ac_fn_c_try_run "$LINENO"; then :
4824 else
4825 ac_cv_header_stdc=no
4827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4828 conftest.$ac_objext conftest.beam conftest.$ac_ext
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4834 $as_echo "$ac_cv_header_stdc" >&6; }
4835 if test $ac_cv_header_stdc = yes; then
4837 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4841 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4842 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4843 inttypes.h stdint.h unistd.h
4844 do :
4845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4846 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4848 eval as_val=\$$as_ac_Header
4849 if test "x$as_val" = x""yes; then :
4850 cat >>confdefs.h <<_ACEOF
4851 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4852 _ACEOF
4856 done
4860 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4861 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4862 MINIX=yes
4863 else
4864 MINIX=
4868 if test "$MINIX" = yes; then
4870 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4873 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4876 $as_echo "#define _MINIX 1" >>confdefs.h
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4882 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4883 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4884 $as_echo_n "(cached) " >&6
4885 else
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4889 # define __EXTENSIONS__ 1
4890 $ac_includes_default
4892 main ()
4896 return 0;
4898 _ACEOF
4899 if ac_fn_c_try_compile "$LINENO"; then :
4900 ac_cv_safe_to_define___extensions__=yes
4901 else
4902 ac_cv_safe_to_define___extensions__=no
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4907 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4908 test $ac_cv_safe_to_define___extensions__ = yes &&
4909 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4911 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4913 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4915 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4917 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4921 # Calculate toolexeclibdir
4922 # Also toolexecdir, though it's only used in toolexeclibdir
4923 case ${version_specific_libs} in
4924 yes)
4925 # Need the gcc compiler version to know where to install libraries
4926 # and header files if --enable-version-specific-runtime-libs option
4927 # is selected.
4928 toolexecdir='$(libdir)/gcc/$(target_alias)'
4929 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4932 if test -n "$with_cross_host" &&
4933 test x"$with_cross_host" != x"no"; then
4934 # Install a library built with a cross compiler in tooldir, not libdir.
4935 toolexecdir='$(exec_prefix)/$(target_alias)'
4936 toolexeclibdir='$(toolexecdir)/lib'
4937 else
4938 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4939 toolexeclibdir='$(libdir)'
4941 multi_os_directory=`$CC -print-multi-os-directory`
4942 case $multi_os_directory in
4943 .) ;; # Avoid trailing /.
4944 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4945 esac
4947 esac
4951 # Create a spec file, so that compile/link tests don't fail
4952 test -f libgfortran.spec || touch libgfortran.spec
4954 ac_ext=c
4955 ac_cpp='$CPP $CPPFLAGS'
4956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4960 # Check the compiler.
4961 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4962 # We must force CC to /not/ be precious variables; otherwise
4963 # the wrong, non-multilib-adjusted value will be used in multilibs.
4964 # As a side effect, we have to subst CFLAGS ourselves.
4968 ac_ext=c
4969 ac_cpp='$CPP $CPPFLAGS'
4970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4973 if test -n "$ac_tool_prefix"; then
4974 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4975 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4977 $as_echo_n "checking for $ac_word... " >&6; }
4978 if test "${ac_cv_prog_CC+set}" = set; then :
4979 $as_echo_n "(cached) " >&6
4980 else
4981 if test -n "$CC"; then
4982 ac_cv_prog_CC="$CC" # Let the user override the test.
4983 else
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 for as_dir in $PATH
4987 IFS=$as_save_IFS
4988 test -z "$as_dir" && as_dir=.
4989 for ac_exec_ext in '' $ac_executable_extensions; do
4990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4991 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 break 2
4995 done
4996 done
4997 IFS=$as_save_IFS
5001 CC=$ac_cv_prog_CC
5002 if test -n "$CC"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5004 $as_echo "$CC" >&6; }
5005 else
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 $as_echo "no" >&6; }
5012 if test -z "$ac_cv_prog_CC"; then
5013 ac_ct_CC=$CC
5014 # Extract the first word of "gcc", so it can be a program name with args.
5015 set dummy gcc; ac_word=$2
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5019 $as_echo_n "(cached) " >&6
5020 else
5021 if test -n "$ac_ct_CC"; then
5022 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5023 else
5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 for as_dir in $PATH
5027 IFS=$as_save_IFS
5028 test -z "$as_dir" && as_dir=.
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5031 ac_cv_prog_ac_ct_CC="gcc"
5032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 break 2
5035 done
5036 done
5037 IFS=$as_save_IFS
5041 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5042 if test -n "$ac_ct_CC"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5044 $as_echo "$ac_ct_CC" >&6; }
5045 else
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5050 if test "x$ac_ct_CC" = x; then
5051 CC=""
5052 else
5053 case $cross_compiling:$ac_tool_warned in
5054 yes:)
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5057 ac_tool_warned=yes ;;
5058 esac
5059 CC=$ac_ct_CC
5061 else
5062 CC="$ac_cv_prog_CC"
5065 if test -z "$CC"; then
5066 if test -n "$ac_tool_prefix"; then
5067 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5068 set dummy ${ac_tool_prefix}cc; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if test "${ac_cv_prog_CC+set}" = set; then :
5072 $as_echo_n "(cached) " >&6
5073 else
5074 if test -n "$CC"; then
5075 ac_cv_prog_CC="$CC" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5080 IFS=$as_save_IFS
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_CC="${ac_tool_prefix}cc"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 break 2
5088 done
5089 done
5090 IFS=$as_save_IFS
5094 CC=$ac_cv_prog_CC
5095 if test -n "$CC"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5097 $as_echo "$CC" >&6; }
5098 else
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5106 if test -z "$CC"; then
5107 # Extract the first word of "cc", so it can be a program name with args.
5108 set dummy cc; ac_word=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if test "${ac_cv_prog_CC+set}" = set; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 if test -n "$CC"; then
5115 ac_cv_prog_CC="$CC" # Let the user override the test.
5116 else
5117 ac_prog_rejected=no
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5125 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5126 ac_prog_rejected=yes
5127 continue
5129 ac_cv_prog_CC="cc"
5130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 break 2
5133 done
5134 done
5135 IFS=$as_save_IFS
5137 if test $ac_prog_rejected = yes; then
5138 # We found a bogon in the path, so make sure we never use it.
5139 set dummy $ac_cv_prog_CC
5140 shift
5141 if test $# != 0; then
5142 # We chose a different compiler from the bogus one.
5143 # However, it has the same basename, so the bogon will be chosen
5144 # first if we set CC to just the basename; use the full file name.
5145 shift
5146 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5151 CC=$ac_cv_prog_CC
5152 if test -n "$CC"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5154 $as_echo "$CC" >&6; }
5155 else
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5162 if test -z "$CC"; then
5163 if test -n "$ac_tool_prefix"; then
5164 for ac_prog in cl.exe
5166 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5167 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if test "${ac_cv_prog_CC+set}" = set; then :
5171 $as_echo_n "(cached) " >&6
5172 else
5173 if test -n "$CC"; then
5174 ac_cv_prog_CC="$CC" # Let the user override the test.
5175 else
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 for as_dir in $PATH
5179 IFS=$as_save_IFS
5180 test -z "$as_dir" && as_dir=.
5181 for ac_exec_ext in '' $ac_executable_extensions; do
5182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5183 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 break 2
5187 done
5188 done
5189 IFS=$as_save_IFS
5193 CC=$ac_cv_prog_CC
5194 if test -n "$CC"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5196 $as_echo "$CC" >&6; }
5197 else
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5203 test -n "$CC" && break
5204 done
5206 if test -z "$CC"; then
5207 ac_ct_CC=$CC
5208 for ac_prog in cl.exe
5210 # Extract the first word of "$ac_prog", so it can be a program name with args.
5211 set dummy $ac_prog; ac_word=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213 $as_echo_n "checking for $ac_word... " >&6; }
5214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5215 $as_echo_n "(cached) " >&6
5216 else
5217 if test -n "$ac_ct_CC"; then
5218 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5219 else
5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5221 for as_dir in $PATH
5223 IFS=$as_save_IFS
5224 test -z "$as_dir" && as_dir=.
5225 for ac_exec_ext in '' $ac_executable_extensions; do
5226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5227 ac_cv_prog_ac_ct_CC="$ac_prog"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 break 2
5231 done
5232 done
5233 IFS=$as_save_IFS
5237 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5238 if test -n "$ac_ct_CC"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5240 $as_echo "$ac_ct_CC" >&6; }
5241 else
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 $as_echo "no" >&6; }
5247 test -n "$ac_ct_CC" && break
5248 done
5250 if test "x$ac_ct_CC" = x; then
5251 CC=""
5252 else
5253 case $cross_compiling:$ac_tool_warned in
5254 yes:)
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5257 ac_tool_warned=yes ;;
5258 esac
5259 CC=$ac_ct_CC
5266 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5268 as_fn_error "no acceptable C compiler found in \$PATH
5269 See \`config.log' for more details." "$LINENO" 5; }
5271 # Provide some information about the compiler.
5272 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5273 set X $ac_compile
5274 ac_compiler=$2
5275 for ac_option in --version -v -V -qversion; do
5276 { { ac_try="$ac_compiler $ac_option >&5"
5277 case "(($ac_try" in
5278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279 *) ac_try_echo=$ac_try;;
5280 esac
5281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5282 $as_echo "$ac_try_echo"; } >&5
5283 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5284 ac_status=$?
5285 if test -s conftest.err; then
5286 sed '10a\
5287 ... rest of stderr output deleted ...
5288 10q' conftest.err >conftest.er1
5289 cat conftest.er1 >&5
5290 rm -f conftest.er1 conftest.err
5292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5293 test $ac_status = 0; }
5294 done
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5297 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5298 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5299 $as_echo_n "(cached) " >&6
5300 else
5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5305 main ()
5307 #ifndef __GNUC__
5308 choke me
5309 #endif
5312 return 0;
5314 _ACEOF
5315 if ac_fn_c_try_compile "$LINENO"; then :
5316 ac_compiler_gnu=yes
5317 else
5318 ac_compiler_gnu=no
5320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5321 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5325 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5326 if test $ac_compiler_gnu = yes; then
5327 GCC=yes
5328 else
5329 GCC=
5331 ac_test_CFLAGS=${CFLAGS+set}
5332 ac_save_CFLAGS=$CFLAGS
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5334 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5335 if test "${ac_cv_prog_cc_g+set}" = set; then :
5336 $as_echo_n "(cached) " >&6
5337 else
5338 ac_save_c_werror_flag=$ac_c_werror_flag
5339 ac_c_werror_flag=yes
5340 ac_cv_prog_cc_g=no
5341 CFLAGS="-g"
5342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5346 main ()
5350 return 0;
5352 _ACEOF
5353 if ac_fn_c_try_compile "$LINENO"; then :
5354 ac_cv_prog_cc_g=yes
5355 else
5356 CFLAGS=""
5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5361 main ()
5365 return 0;
5367 _ACEOF
5368 if ac_fn_c_try_compile "$LINENO"; then :
5370 else
5371 ac_c_werror_flag=$ac_save_c_werror_flag
5372 CFLAGS="-g"
5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h. */
5377 main ()
5381 return 0;
5383 _ACEOF
5384 if ac_fn_c_try_compile "$LINENO"; then :
5385 ac_cv_prog_cc_g=yes
5387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 ac_c_werror_flag=$ac_save_c_werror_flag
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5395 $as_echo "$ac_cv_prog_cc_g" >&6; }
5396 if test "$ac_test_CFLAGS" = set; then
5397 CFLAGS=$ac_save_CFLAGS
5398 elif test $ac_cv_prog_cc_g = yes; then
5399 if test "$GCC" = yes; then
5400 CFLAGS="-g -O2"
5401 else
5402 CFLAGS="-g"
5404 else
5405 if test "$GCC" = yes; then
5406 CFLAGS="-O2"
5407 else
5408 CFLAGS=
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5412 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5413 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5414 $as_echo_n "(cached) " >&6
5415 else
5416 ac_cv_prog_cc_c89=no
5417 ac_save_CC=$CC
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5420 #include <stdarg.h>
5421 #include <stdio.h>
5422 #include <sys/types.h>
5423 #include <sys/stat.h>
5424 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5425 struct buf { int x; };
5426 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5427 static char *e (p, i)
5428 char **p;
5429 int i;
5431 return p[i];
5433 static char *f (char * (*g) (char **, int), char **p, ...)
5435 char *s;
5436 va_list v;
5437 va_start (v,p);
5438 s = g (p, va_arg (v,int));
5439 va_end (v);
5440 return s;
5443 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5444 function prototypes and stuff, but not '\xHH' hex character constants.
5445 These don't provoke an error unfortunately, instead are silently treated
5446 as 'x'. The following induces an error, until -std is added to get
5447 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5448 array size at least. It's necessary to write '\x00'==0 to get something
5449 that's true only with -std. */
5450 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5452 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5453 inside strings and character constants. */
5454 #define FOO(x) 'x'
5455 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5457 int test (int i, double x);
5458 struct s1 {int (*f) (int a);};
5459 struct s2 {int (*f) (double a);};
5460 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5461 int argc;
5462 char **argv;
5464 main ()
5466 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5468 return 0;
5470 _ACEOF
5471 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5472 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5474 CC="$ac_save_CC $ac_arg"
5475 if ac_fn_c_try_compile "$LINENO"; then :
5476 ac_cv_prog_cc_c89=$ac_arg
5478 rm -f core conftest.err conftest.$ac_objext
5479 test "x$ac_cv_prog_cc_c89" != "xno" && break
5480 done
5481 rm -f conftest.$ac_ext
5482 CC=$ac_save_CC
5485 # AC_CACHE_VAL
5486 case "x$ac_cv_prog_cc_c89" in
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5489 $as_echo "none needed" >&6; } ;;
5490 xno)
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5492 $as_echo "unsupported" >&6; } ;;
5494 CC="$CC $ac_cv_prog_cc_c89"
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5496 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5497 esac
5498 if test "x$ac_cv_prog_cc_c89" != xno; then :
5502 ac_ext=c
5503 ac_cpp='$CPP $CPPFLAGS'
5504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5508 depcc="$CC" am_compiler_list=
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5511 $as_echo_n "checking dependency style of $depcc... " >&6; }
5512 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5516 # We make a subdir and do the tests there. Otherwise we can end up
5517 # making bogus files that we don't know about and never remove. For
5518 # instance it was reported that on HP-UX the gcc test will end up
5519 # making a dummy file named `D' -- because `-MD' means `put the output
5520 # in D'.
5521 rm -rf conftest.dir
5522 mkdir conftest.dir
5523 # Copy depcomp to subdir because otherwise we won't find it if we're
5524 # using a relative directory.
5525 cp "$am_depcomp" conftest.dir
5526 cd conftest.dir
5527 # We will build objects and dependencies in a subdirectory because
5528 # it helps to detect inapplicable dependency modes. For instance
5529 # both Tru64's cc and ICC support -MD to output dependencies as a
5530 # side effect of compilation, but ICC will put the dependencies in
5531 # the current directory while Tru64 will put them in the object
5532 # directory.
5533 mkdir sub
5535 am_cv_CC_dependencies_compiler_type=none
5536 if test "$am_compiler_list" = ""; then
5537 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5539 am__universal=false
5540 case " $depcc " in #(
5541 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5542 esac
5544 for depmode in $am_compiler_list; do
5545 # Setup a source with many dependencies, because some compilers
5546 # like to wrap large dependency lists on column 80 (with \), and
5547 # we should not choose a depcomp mode which is confused by this.
5549 # We need to recreate these files for each test, as the compiler may
5550 # overwrite some of them when testing with obscure command lines.
5551 # This happens at least with the AIX C compiler.
5552 : > sub/conftest.c
5553 for i in 1 2 3 4 5 6; do
5554 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5555 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5556 # Solaris 8's {/usr,}/bin/sh.
5557 touch sub/conftst$i.h
5558 done
5559 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5561 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5562 # mode. It turns out that the SunPro C++ compiler does not properly
5563 # handle `-M -o', and we need to detect this. Also, some Intel
5564 # versions had trouble with output in subdirs
5565 am__obj=sub/conftest.${OBJEXT-o}
5566 am__minus_obj="-o $am__obj"
5567 case $depmode in
5568 gcc)
5569 # This depmode causes a compiler race in universal mode.
5570 test "$am__universal" = false || continue
5572 nosideeffect)
5573 # after this tag, mechanisms are not by side-effect, so they'll
5574 # only be used when explicitly requested
5575 if test "x$enable_dependency_tracking" = xyes; then
5576 continue
5577 else
5578 break
5581 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5582 # This compiler won't grok `-c -o', but also, the minuso test has
5583 # not run yet. These depmodes are late enough in the game, and
5584 # so weak that their functioning should not be impacted.
5585 am__obj=conftest.${OBJEXT-o}
5586 am__minus_obj=
5588 none) break ;;
5589 esac
5590 if depmode=$depmode \
5591 source=sub/conftest.c object=$am__obj \
5592 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5593 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5594 >/dev/null 2>conftest.err &&
5595 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5596 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5597 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5598 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5599 # icc doesn't choke on unknown options, it will just issue warnings
5600 # or remarks (even with -Werror). So we grep stderr for any message
5601 # that says an option was ignored or not supported.
5602 # When given -MP, icc 7.0 and 7.1 complain thusly:
5603 # icc: Command line warning: ignoring option '-M'; no argument required
5604 # The diagnosis changed in icc 8.0:
5605 # icc: Command line remark: option '-MP' not supported
5606 if (grep 'ignoring option' conftest.err ||
5607 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5608 am_cv_CC_dependencies_compiler_type=$depmode
5609 break
5612 done
5614 cd ..
5615 rm -rf conftest.dir
5616 else
5617 am_cv_CC_dependencies_compiler_type=none
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5622 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5623 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5626 test "x$enable_dependency_tracking" != xno \
5627 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5628 am__fastdepCC_TRUE=
5629 am__fastdepCC_FALSE='#'
5630 else
5631 am__fastdepCC_TRUE='#'
5632 am__fastdepCC_FALSE=
5640 if test "x$CC" != xcc; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5642 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5643 else
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5645 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5647 set dummy $CC; ac_cc=`$as_echo "$2" |
5648 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5649 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5650 $as_echo_n "(cached) " >&6
5651 else
5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5653 /* end confdefs.h. */
5656 main ()
5660 return 0;
5662 _ACEOF
5663 # Make sure it works both with $CC and with simple cc.
5664 # We do the test twice because some compilers refuse to overwrite an
5665 # existing .o file with -o, though they will create one.
5666 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5667 rm -f conftest2.*
5668 if { { case "(($ac_try" in
5669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5670 *) ac_try_echo=$ac_try;;
5671 esac
5672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5673 $as_echo "$ac_try_echo"; } >&5
5674 (eval "$ac_try") 2>&5
5675 ac_status=$?
5676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5677 test $ac_status = 0; } &&
5678 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5680 *) ac_try_echo=$ac_try;;
5681 esac
5682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5683 $as_echo "$ac_try_echo"; } >&5
5684 (eval "$ac_try") 2>&5
5685 ac_status=$?
5686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5687 test $ac_status = 0; };
5688 then
5689 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5690 if test "x$CC" != xcc; then
5691 # Test first that cc exists at all.
5692 if { ac_try='cc -c conftest.$ac_ext >&5'
5693 { { case "(($ac_try" in
5694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5695 *) ac_try_echo=$ac_try;;
5696 esac
5697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5698 $as_echo "$ac_try_echo"; } >&5
5699 (eval "$ac_try") 2>&5
5700 ac_status=$?
5701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5702 test $ac_status = 0; }; }; then
5703 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5704 rm -f conftest2.*
5705 if { { case "(($ac_try" in
5706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5707 *) ac_try_echo=$ac_try;;
5708 esac
5709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5710 $as_echo "$ac_try_echo"; } >&5
5711 (eval "$ac_try") 2>&5
5712 ac_status=$?
5713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5714 test $ac_status = 0; } &&
5715 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5717 *) ac_try_echo=$ac_try;;
5718 esac
5719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5720 $as_echo "$ac_try_echo"; } >&5
5721 (eval "$ac_try") 2>&5
5722 ac_status=$?
5723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5724 test $ac_status = 0; };
5725 then
5726 # cc works too.
5728 else
5729 # cc exists but doesn't like -o.
5730 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5734 else
5735 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5737 rm -f core conftest*
5740 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5742 $as_echo "yes" >&6; }
5743 else
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5747 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5751 # FIXME: we rely on the cache variable name because
5752 # there is no other way.
5753 set dummy $CC
5754 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5755 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5756 if test "$am_t" != yes; then
5757 # Losing compiler, so override with the script.
5758 # FIXME: It is wrong to rewrite CC.
5759 # But if we don't then we get into trouble of one sort or another.
5760 # A longer-term fix would be to have automake use am__CC in this case,
5761 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5762 CC="$am_aux_dir/compile $CC"
5767 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5768 if test "x$GCC" = "xyes"; then
5769 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5770 ## We like to use C99 routines when available. This makes sure that
5771 ## __STDC_VERSION__ is set such that libc includes make them available.
5772 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5773 ## Compile the following tests with the same system header contents
5774 ## that we'll encounter when compiling our own source files.
5775 CFLAGS="-std=gnu99 $CFLAGS"
5781 # Check for symbol versioning (copied from libssp).
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5783 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5784 # Check whether --enable-symvers was given.
5785 if test "${enable_symvers+set}" = set; then :
5786 enableval=$enable_symvers; gfortran_use_symver=$enableval
5787 else
5788 gfortran_use_symver=yes
5791 if test "x$gfortran_use_symver" != xno; then
5792 save_LDFLAGS="$LDFLAGS"
5793 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5794 cat > conftest.map <<EOF
5795 FOO_1.0 {
5796 global: *foo*; bar; local: *;
5799 if test x$gcc_no_link = xyes; then
5800 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h. */
5804 int foo;
5806 main ()
5810 return 0;
5812 _ACEOF
5813 if ac_fn_c_try_link "$LINENO"; then :
5814 gfortran_use_symver=gnu
5815 else
5816 gfortran_use_symver=no
5818 rm -f core conftest.err conftest.$ac_objext \
5819 conftest$ac_exeext conftest.$ac_ext
5820 if test x$gfortran_use_symver = xno; then
5821 case "$target_os" in
5822 solaris2*)
5823 LDFLAGS="$save_LDFLAGS"
5824 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5825 # Sun ld cannot handle wildcards and treats all entries as undefined.
5826 cat > conftest.map <<EOF
5827 FOO_1.0 {
5828 global: foo; local: *;
5831 if test x$gcc_no_link = xyes; then
5832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5836 int foo;
5838 main ()
5842 return 0;
5844 _ACEOF
5845 if ac_fn_c_try_link "$LINENO"; then :
5846 gfortran_use_symver=sun
5847 else
5848 gfortran_use_symver=no
5850 rm -f core conftest.err conftest.$ac_objext \
5851 conftest$ac_exeext conftest.$ac_ext
5853 esac
5855 LDFLAGS="$save_LDFLAGS"
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5858 $as_echo "$gfortran_use_symver" >&6; }
5859 if test "x$gfortran_use_symver" != xno; then
5860 LIBGFOR_USE_SYMVER_TRUE=
5861 LIBGFOR_USE_SYMVER_FALSE='#'
5862 else
5863 LIBGFOR_USE_SYMVER_TRUE='#'
5864 LIBGFOR_USE_SYMVER_FALSE=
5867 if test "x$gfortran_use_symver" = xgnu; then
5868 LIBGFOR_USE_SYMVER_GNU_TRUE=
5869 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5870 else
5871 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5872 LIBGFOR_USE_SYMVER_GNU_FALSE=
5875 if test "x$gfortran_use_symver" = xsun; then
5876 LIBGFOR_USE_SYMVER_SUN_TRUE=
5877 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5878 else
5879 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5880 LIBGFOR_USE_SYMVER_SUN_FALSE=
5884 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5885 # similarly to how libstdc++ does it
5886 ac_test_CFLAGS="${CFLAGS+set}"
5887 ac_save_CFLAGS="$CFLAGS"
5889 # Check for -ffunction-sections -fdata-sections
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5891 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5892 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5894 /* end confdefs.h. */
5897 main ()
5899 int foo;
5901 return 0;
5903 _ACEOF
5904 if ac_fn_c_try_compile "$LINENO"; then :
5905 ac_fdsections=yes
5906 else
5907 ac_fdsections=no
5909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5910 if test "$ac_test_CFLAGS" = set; then
5911 CFLAGS="$ac_save_CFLAGS"
5912 else
5913 # this is the suspicious part
5914 CFLAGS=""
5916 if test x"$ac_fdsections" = x"yes"; then
5917 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5920 $as_echo "$ac_fdsections" >&6; }
5923 # Find other programs we need.
5924 if test -n "$ac_tool_prefix"; then
5925 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5926 set dummy ${ac_tool_prefix}as; ac_word=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928 $as_echo_n "checking for $ac_word... " >&6; }
5929 if test "${ac_cv_prog_AS+set}" = set; then :
5930 $as_echo_n "(cached) " >&6
5931 else
5932 if test -n "$AS"; then
5933 ac_cv_prog_AS="$AS" # Let the user override the test.
5934 else
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 for as_dir in $PATH
5938 IFS=$as_save_IFS
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5942 ac_cv_prog_AS="${ac_tool_prefix}as"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5944 break 2
5946 done
5947 done
5948 IFS=$as_save_IFS
5952 AS=$ac_cv_prog_AS
5953 if test -n "$AS"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5955 $as_echo "$AS" >&6; }
5956 else
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5963 if test -z "$ac_cv_prog_AS"; then
5964 ac_ct_AS=$AS
5965 # Extract the first word of "as", so it can be a program name with args.
5966 set dummy as; ac_word=$2
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5968 $as_echo_n "checking for $ac_word... " >&6; }
5969 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5970 $as_echo_n "(cached) " >&6
5971 else
5972 if test -n "$ac_ct_AS"; then
5973 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5974 else
5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976 for as_dir in $PATH
5978 IFS=$as_save_IFS
5979 test -z "$as_dir" && as_dir=.
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5982 ac_cv_prog_ac_ct_AS="as"
5983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5984 break 2
5986 done
5987 done
5988 IFS=$as_save_IFS
5992 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5993 if test -n "$ac_ct_AS"; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5995 $as_echo "$ac_ct_AS" >&6; }
5996 else
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 $as_echo "no" >&6; }
6001 if test "x$ac_ct_AS" = x; then
6002 AS=""
6003 else
6004 case $cross_compiling:$ac_tool_warned in
6005 yes:)
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6008 ac_tool_warned=yes ;;
6009 esac
6010 AS=$ac_ct_AS
6012 else
6013 AS="$ac_cv_prog_AS"
6016 if test -n "$ac_tool_prefix"; then
6017 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6018 set dummy ${ac_tool_prefix}ar; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if test "${ac_cv_prog_AR+set}" = set; then :
6022 $as_echo_n "(cached) " >&6
6023 else
6024 if test -n "$AR"; then
6025 ac_cv_prog_AR="$AR" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_AR="${ac_tool_prefix}ar"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 AR=$ac_cv_prog_AR
6045 if test -n "$AR"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6047 $as_echo "$AR" >&6; }
6048 else
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6055 if test -z "$ac_cv_prog_AR"; then
6056 ac_ct_AR=$AR
6057 # Extract the first word of "ar", so it can be a program name with args.
6058 set dummy ar; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6062 $as_echo_n "(cached) " >&6
6063 else
6064 if test -n "$ac_ct_AR"; then
6065 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6070 IFS=$as_save_IFS
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6074 ac_cv_prog_ac_ct_AR="ar"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 break 2
6078 done
6079 done
6080 IFS=$as_save_IFS
6084 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6085 if test -n "$ac_ct_AR"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6087 $as_echo "$ac_ct_AR" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6093 if test "x$ac_ct_AR" = x; then
6094 AR=""
6095 else
6096 case $cross_compiling:$ac_tool_warned in
6097 yes:)
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6100 ac_tool_warned=yes ;;
6101 esac
6102 AR=$ac_ct_AR
6104 else
6105 AR="$ac_cv_prog_AR"
6108 if test -n "$ac_tool_prefix"; then
6109 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6110 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 $as_echo_n "checking for $ac_word... " >&6; }
6113 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6114 $as_echo_n "(cached) " >&6
6115 else
6116 if test -n "$RANLIB"; then
6117 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6118 else
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH
6122 IFS=$as_save_IFS
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 break 2
6130 done
6131 done
6132 IFS=$as_save_IFS
6136 RANLIB=$ac_cv_prog_RANLIB
6137 if test -n "$RANLIB"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6139 $as_echo "$RANLIB" >&6; }
6140 else
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 $as_echo "no" >&6; }
6147 if test -z "$ac_cv_prog_RANLIB"; then
6148 ac_ct_RANLIB=$RANLIB
6149 # Extract the first word of "ranlib", so it can be a program name with args.
6150 set dummy ranlib; ac_word=$2
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 $as_echo_n "checking for $ac_word... " >&6; }
6153 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 if test -n "$ac_ct_RANLIB"; then
6157 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6158 else
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 for as_dir in $PATH
6162 IFS=$as_save_IFS
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6166 ac_cv_prog_ac_ct_RANLIB="ranlib"
6167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6168 break 2
6170 done
6171 done
6172 IFS=$as_save_IFS
6176 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6177 if test -n "$ac_ct_RANLIB"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6179 $as_echo "$ac_ct_RANLIB" >&6; }
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6185 if test "x$ac_ct_RANLIB" = x; then
6186 RANLIB="ranlib-not-found-in-path-error"
6187 else
6188 case $cross_compiling:$ac_tool_warned in
6189 yes:)
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6192 ac_tool_warned=yes ;;
6193 esac
6194 RANLIB=$ac_ct_RANLIB
6196 else
6197 RANLIB="$ac_cv_prog_RANLIB"
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6201 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6202 set x ${MAKE-make}
6203 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6204 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6205 $as_echo_n "(cached) " >&6
6206 else
6207 cat >conftest.make <<\_ACEOF
6208 SHELL = /bin/sh
6209 all:
6210 @echo '@@@%%%=$(MAKE)=@@@%%%'
6211 _ACEOF
6212 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6213 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6214 *@@@%%%=?*=@@@%%%*)
6215 eval ac_cv_prog_make_${ac_make}_set=yes;;
6217 eval ac_cv_prog_make_${ac_make}_set=no;;
6218 esac
6219 rm -f conftest.make
6221 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6223 $as_echo "yes" >&6; }
6224 SET_MAKE=
6225 else
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 $as_echo "no" >&6; }
6228 SET_MAKE="MAKE=${MAKE-make}"
6233 # Configure libtool
6234 #AC_MSG_NOTICE([====== Starting libtool configuration])
6235 enable_dlopen=yes
6239 case `pwd` in
6240 *\ * | *\ *)
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6242 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6243 esac
6247 macro_version='2.2.7a'
6248 macro_revision='1.3134'
6262 ltmain="$ac_aux_dir/ltmain.sh"
6264 # Backslashify metacharacters that are still active within
6265 # double-quoted strings.
6266 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6268 # Same as above, but do not quote variable references.
6269 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6271 # Sed substitution to delay expansion of an escaped shell variable in a
6272 # double_quote_subst'ed string.
6273 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6275 # Sed substitution to delay expansion of an escaped single quote.
6276 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6278 # Sed substitution to avoid accidental globbing in evaled expressions
6279 no_glob_subst='s/\*/\\\*/g'
6281 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6282 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6283 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6286 $as_echo_n "checking how to print strings... " >&6; }
6287 # Test print first, because it will be a builtin if present.
6288 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6289 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6290 ECHO='print -r --'
6291 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6292 ECHO='printf %s\n'
6293 else
6294 # Use this function as a fallback that always works.
6295 func_fallback_echo ()
6297 eval 'cat <<_LTECHO_EOF
6299 _LTECHO_EOF'
6301 ECHO='func_fallback_echo'
6304 # func_echo_all arg...
6305 # Invoke $ECHO with all args, space-separated.
6306 func_echo_all ()
6308 $ECHO ""
6311 case "$ECHO" in
6312 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6313 $as_echo "printf" >&6; } ;;
6314 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6315 $as_echo "print -r" >&6; } ;;
6316 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6317 $as_echo "cat" >&6; } ;;
6318 esac
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6334 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6335 if test "${ac_cv_path_SED+set}" = set; then :
6336 $as_echo_n "(cached) " >&6
6337 else
6338 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6339 for ac_i in 1 2 3 4 5 6 7; do
6340 ac_script="$ac_script$as_nl$ac_script"
6341 done
6342 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6343 { ac_script=; unset ac_script;}
6344 if test -z "$SED"; then
6345 ac_path_SED_found=false
6346 # Loop through the user's path and test for each of PROGNAME-LIST
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 for as_dir in $PATH
6350 IFS=$as_save_IFS
6351 test -z "$as_dir" && as_dir=.
6352 for ac_prog in sed gsed; do
6353 for ac_exec_ext in '' $ac_executable_extensions; do
6354 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6355 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6356 # Check for GNU ac_path_SED and select it if it is found.
6357 # Check for GNU $ac_path_SED
6358 case `"$ac_path_SED" --version 2>&1` in
6359 *GNU*)
6360 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6362 ac_count=0
6363 $as_echo_n 0123456789 >"conftest.in"
6364 while :
6366 cat "conftest.in" "conftest.in" >"conftest.tmp"
6367 mv "conftest.tmp" "conftest.in"
6368 cp "conftest.in" "conftest.nl"
6369 $as_echo '' >> "conftest.nl"
6370 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6371 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6372 as_fn_arith $ac_count + 1 && ac_count=$as_val
6373 if test $ac_count -gt ${ac_path_SED_max-0}; then
6374 # Best one so far, save it but keep looking for a better one
6375 ac_cv_path_SED="$ac_path_SED"
6376 ac_path_SED_max=$ac_count
6378 # 10*(2^10) chars as input seems more than enough
6379 test $ac_count -gt 10 && break
6380 done
6381 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6382 esac
6384 $ac_path_SED_found && break 3
6385 done
6386 done
6387 done
6388 IFS=$as_save_IFS
6389 if test -z "$ac_cv_path_SED"; then
6390 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6392 else
6393 ac_cv_path_SED=$SED
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6398 $as_echo "$ac_cv_path_SED" >&6; }
6399 SED="$ac_cv_path_SED"
6400 rm -f conftest.sed
6402 test -z "$SED" && SED=sed
6403 Xsed="$SED -e 1s/^X//"
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6416 $as_echo_n "checking for fgrep... " >&6; }
6417 if test "${ac_cv_path_FGREP+set}" = set; then :
6418 $as_echo_n "(cached) " >&6
6419 else
6420 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6421 then ac_cv_path_FGREP="$GREP -F"
6422 else
6423 if test -z "$FGREP"; then
6424 ac_path_FGREP_found=false
6425 # Loop through the user's path and test for each of PROGNAME-LIST
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6429 IFS=$as_save_IFS
6430 test -z "$as_dir" && as_dir=.
6431 for ac_prog in fgrep; do
6432 for ac_exec_ext in '' $ac_executable_extensions; do
6433 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6434 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6435 # Check for GNU ac_path_FGREP and select it if it is found.
6436 # Check for GNU $ac_path_FGREP
6437 case `"$ac_path_FGREP" --version 2>&1` in
6438 *GNU*)
6439 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6441 ac_count=0
6442 $as_echo_n 0123456789 >"conftest.in"
6443 while :
6445 cat "conftest.in" "conftest.in" >"conftest.tmp"
6446 mv "conftest.tmp" "conftest.in"
6447 cp "conftest.in" "conftest.nl"
6448 $as_echo 'FGREP' >> "conftest.nl"
6449 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6450 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6451 as_fn_arith $ac_count + 1 && ac_count=$as_val
6452 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6453 # Best one so far, save it but keep looking for a better one
6454 ac_cv_path_FGREP="$ac_path_FGREP"
6455 ac_path_FGREP_max=$ac_count
6457 # 10*(2^10) chars as input seems more than enough
6458 test $ac_count -gt 10 && break
6459 done
6460 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6461 esac
6463 $ac_path_FGREP_found && break 3
6464 done
6465 done
6466 done
6467 IFS=$as_save_IFS
6468 if test -z "$ac_cv_path_FGREP"; then
6469 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6471 else
6472 ac_cv_path_FGREP=$FGREP
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6478 $as_echo "$ac_cv_path_FGREP" >&6; }
6479 FGREP="$ac_cv_path_FGREP"
6482 test -z "$GREP" && GREP=grep
6502 # Check whether --with-gnu-ld was given.
6503 if test "${with_gnu_ld+set}" = set; then :
6504 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6505 else
6506 with_gnu_ld=no
6509 ac_prog=ld
6510 if test "$GCC" = yes; then
6511 # Check if gcc -print-prog-name=ld gives a path.
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6513 $as_echo_n "checking for ld used by $CC... " >&6; }
6514 case $host in
6515 *-*-mingw*)
6516 # gcc leaves a trailing carriage return which upsets mingw
6517 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6519 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6520 esac
6521 case $ac_prog in
6522 # Accept absolute paths.
6523 [\\/]* | ?:[\\/]*)
6524 re_direlt='/[^/][^/]*/\.\./'
6525 # Canonicalize the pathname of ld
6526 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6527 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6528 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6529 done
6530 test -z "$LD" && LD="$ac_prog"
6533 # If it fails, then pretend we aren't using GCC.
6534 ac_prog=ld
6537 # If it is relative, then search for the first ld in PATH.
6538 with_gnu_ld=unknown
6540 esac
6541 elif test "$with_gnu_ld" = yes; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6543 $as_echo_n "checking for GNU ld... " >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6546 $as_echo_n "checking for non-GNU ld... " >&6; }
6548 if test "${lt_cv_path_LD+set}" = set; then :
6549 $as_echo_n "(cached) " >&6
6550 else
6551 if test -z "$LD"; then
6552 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6553 for ac_dir in $PATH; do
6554 IFS="$lt_save_ifs"
6555 test -z "$ac_dir" && ac_dir=.
6556 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6557 lt_cv_path_LD="$ac_dir/$ac_prog"
6558 # Check to see if the program is GNU ld. I'd rather use --version,
6559 # but apparently some variants of GNU ld only accept -v.
6560 # Break only if it was the GNU/non-GNU ld that we prefer.
6561 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6562 *GNU* | *'with BFD'*)
6563 test "$with_gnu_ld" != no && break
6566 test "$with_gnu_ld" != yes && break
6568 esac
6570 done
6571 IFS="$lt_save_ifs"
6572 else
6573 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6577 LD="$lt_cv_path_LD"
6578 if test -n "$LD"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6580 $as_echo "$LD" >&6; }
6581 else
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6585 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6587 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6588 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6589 $as_echo_n "(cached) " >&6
6590 else
6591 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6592 case `$LD -v 2>&1 </dev/null` in
6593 *GNU* | *'with BFD'*)
6594 lt_cv_prog_gnu_ld=yes
6597 lt_cv_prog_gnu_ld=no
6599 esac
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6602 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6603 with_gnu_ld=$lt_cv_prog_gnu_ld
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6614 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6615 if test "${lt_cv_path_NM+set}" = set; then :
6616 $as_echo_n "(cached) " >&6
6617 else
6618 if test -n "$NM"; then
6619 # Let the user override the test.
6620 lt_cv_path_NM="$NM"
6621 else
6622 lt_nm_to_check="${ac_tool_prefix}nm"
6623 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6624 lt_nm_to_check="$lt_nm_to_check nm"
6626 for lt_tmp_nm in $lt_nm_to_check; do
6627 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6628 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6629 IFS="$lt_save_ifs"
6630 test -z "$ac_dir" && ac_dir=.
6631 tmp_nm="$ac_dir/$lt_tmp_nm"
6632 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6633 # Check to see if the nm accepts a BSD-compat flag.
6634 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6635 # nm: unknown option "B" ignored
6636 # Tru64's nm complains that /dev/null is an invalid object file
6637 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6638 */dev/null* | *'Invalid file or object type'*)
6639 lt_cv_path_NM="$tmp_nm -B"
6640 break
6643 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6644 */dev/null*)
6645 lt_cv_path_NM="$tmp_nm -p"
6646 break
6649 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6650 continue # so that we can try to find one that supports BSD flags
6652 esac
6654 esac
6656 done
6657 IFS="$lt_save_ifs"
6658 done
6659 : ${lt_cv_path_NM=no}
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6663 $as_echo "$lt_cv_path_NM" >&6; }
6664 if test "$lt_cv_path_NM" != "no"; then
6665 NM="$lt_cv_path_NM"
6666 else
6667 # Didn't find any BSD compatible name lister, look for dumpbin.
6668 if test -n "$DUMPBIN"; then :
6669 # Let the user override the test.
6670 else
6671 if test -n "$ac_tool_prefix"; then
6672 for ac_prog in dumpbin "link -dump"
6674 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6675 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 $as_echo_n "checking for $ac_word... " >&6; }
6678 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6679 $as_echo_n "(cached) " >&6
6680 else
6681 if test -n "$DUMPBIN"; then
6682 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6683 else
6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6685 for as_dir in $PATH
6687 IFS=$as_save_IFS
6688 test -z "$as_dir" && as_dir=.
6689 for ac_exec_ext in '' $ac_executable_extensions; do
6690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6691 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6693 break 2
6695 done
6696 done
6697 IFS=$as_save_IFS
6701 DUMPBIN=$ac_cv_prog_DUMPBIN
6702 if test -n "$DUMPBIN"; then
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6704 $as_echo "$DUMPBIN" >&6; }
6705 else
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6707 $as_echo "no" >&6; }
6711 test -n "$DUMPBIN" && break
6712 done
6714 if test -z "$DUMPBIN"; then
6715 ac_ct_DUMPBIN=$DUMPBIN
6716 for ac_prog in dumpbin "link -dump"
6718 # Extract the first word of "$ac_prog", so it can be a program name with args.
6719 set dummy $ac_prog; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721 $as_echo_n "checking for $ac_word... " >&6; }
6722 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6723 $as_echo_n "(cached) " >&6
6724 else
6725 if test -n "$ac_ct_DUMPBIN"; then
6726 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6727 else
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729 for as_dir in $PATH
6731 IFS=$as_save_IFS
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737 break 2
6739 done
6740 done
6741 IFS=$as_save_IFS
6745 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6746 if test -n "$ac_ct_DUMPBIN"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6748 $as_echo "$ac_ct_DUMPBIN" >&6; }
6749 else
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 $as_echo "no" >&6; }
6755 test -n "$ac_ct_DUMPBIN" && break
6756 done
6758 if test "x$ac_ct_DUMPBIN" = x; then
6759 DUMPBIN=":"
6760 else
6761 case $cross_compiling:$ac_tool_warned in
6762 yes:)
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6765 ac_tool_warned=yes ;;
6766 esac
6767 DUMPBIN=$ac_ct_DUMPBIN
6771 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6772 *COFF*)
6773 DUMPBIN="$DUMPBIN -symbols"
6776 DUMPBIN=:
6778 esac
6781 if test "$DUMPBIN" != ":"; then
6782 NM="$DUMPBIN"
6785 test -z "$NM" && NM=nm
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6793 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6794 if test "${lt_cv_nm_interface+set}" = set; then :
6795 $as_echo_n "(cached) " >&6
6796 else
6797 lt_cv_nm_interface="BSD nm"
6798 echo "int some_variable = 0;" > conftest.$ac_ext
6799 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6800 (eval "$ac_compile" 2>conftest.err)
6801 cat conftest.err >&5
6802 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6803 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6804 cat conftest.err >&5
6805 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6806 cat conftest.out >&5
6807 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6808 lt_cv_nm_interface="MS dumpbin"
6810 rm -f conftest*
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6813 $as_echo "$lt_cv_nm_interface" >&6; }
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6816 $as_echo_n "checking whether ln -s works... " >&6; }
6817 LN_S=$as_ln_s
6818 if test "$LN_S" = "ln -s"; then
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6820 $as_echo "yes" >&6; }
6821 else
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6823 $as_echo "no, using $LN_S" >&6; }
6826 # find the maximum length of command line arguments
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6828 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6829 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6830 $as_echo_n "(cached) " >&6
6831 else
6833 teststring="ABCD"
6835 case $build_os in
6836 msdosdjgpp*)
6837 # On DJGPP, this test can blow up pretty badly due to problems in libc
6838 # (any single argument exceeding 2000 bytes causes a buffer overrun
6839 # during glob expansion). Even if it were fixed, the result of this
6840 # check would be larger than it should be.
6841 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6844 gnu*)
6845 # Under GNU Hurd, this test is not required because there is
6846 # no limit to the length of command line arguments.
6847 # Libtool will interpret -1 as no limit whatsoever
6848 lt_cv_sys_max_cmd_len=-1;
6851 cygwin* | mingw* | cegcc*)
6852 # On Win9x/ME, this test blows up -- it succeeds, but takes
6853 # about 5 minutes as the teststring grows exponentially.
6854 # Worse, since 9x/ME are not pre-emptively multitasking,
6855 # you end up with a "frozen" computer, even though with patience
6856 # the test eventually succeeds (with a max line length of 256k).
6857 # Instead, let's just punt: use the minimum linelength reported by
6858 # all of the supported platforms: 8192 (on NT/2K/XP).
6859 lt_cv_sys_max_cmd_len=8192;
6862 mint*)
6863 # On MiNT this can take a long time and run out of memory.
6864 lt_cv_sys_max_cmd_len=8192;
6867 amigaos*)
6868 # On AmigaOS with pdksh, this test takes hours, literally.
6869 # So we just punt and use a minimum line length of 8192.
6870 lt_cv_sys_max_cmd_len=8192;
6873 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6874 # This has been around since 386BSD, at least. Likely further.
6875 if test -x /sbin/sysctl; then
6876 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6877 elif test -x /usr/sbin/sysctl; then
6878 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6879 else
6880 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6882 # And add a safety zone
6883 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6884 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6887 interix*)
6888 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6889 lt_cv_sys_max_cmd_len=196608
6892 osf*)
6893 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6894 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6895 # nice to cause kernel panics so lets avoid the loop below.
6896 # First set a reasonable default.
6897 lt_cv_sys_max_cmd_len=16384
6899 if test -x /sbin/sysconfig; then
6900 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6901 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6902 esac
6905 sco3.2v5*)
6906 lt_cv_sys_max_cmd_len=102400
6908 sysv5* | sco5v6* | sysv4.2uw2*)
6909 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6910 if test -n "$kargmax"; then
6911 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6912 else
6913 lt_cv_sys_max_cmd_len=32768
6917 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6918 if test -n "$lt_cv_sys_max_cmd_len"; then
6919 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6920 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6921 else
6922 # Make teststring a little bigger before we do anything with it.
6923 # a 1K string should be a reasonable start.
6924 for i in 1 2 3 4 5 6 7 8 ; do
6925 teststring=$teststring$teststring
6926 done
6927 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6928 # If test is not a shell built-in, we'll probably end up computing a
6929 # maximum length that is only half of the actual maximum length, but
6930 # we can't tell.
6931 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6932 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6933 test $i != 17 # 1/2 MB should be enough
6935 i=`expr $i + 1`
6936 teststring=$teststring$teststring
6937 done
6938 # Only check the string length outside the loop.
6939 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6940 teststring=
6941 # Add a significant safety factor because C++ compilers can tack on
6942 # massive amounts of additional arguments before passing them to the
6943 # linker. It appears as though 1/2 is a usable value.
6944 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6947 esac
6951 if test -n $lt_cv_sys_max_cmd_len ; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6953 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6954 else
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6956 $as_echo "none" >&6; }
6958 max_cmd_len=$lt_cv_sys_max_cmd_len
6965 : ${CP="cp -f"}
6966 : ${MV="mv -f"}
6967 : ${RM="rm -f"}
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6970 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6971 # Try some XSI features
6972 xsi_shell=no
6973 ( _lt_dummy="a/b/c"
6974 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6975 = c,a/b,, \
6976 && eval 'test $(( 1 + 1 )) -eq 2 \
6977 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6978 && xsi_shell=yes
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6980 $as_echo "$xsi_shell" >&6; }
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6984 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6985 lt_shell_append=no
6986 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6987 >/dev/null 2>&1 \
6988 && lt_shell_append=yes
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6990 $as_echo "$lt_shell_append" >&6; }
6993 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6994 lt_unset=unset
6995 else
6996 lt_unset=false
7003 # test EBCDIC or ASCII
7004 case `echo X|tr X '\101'` in
7005 A) # ASCII based system
7006 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7007 lt_SP2NL='tr \040 \012'
7008 lt_NL2SP='tr \015\012 \040\040'
7010 *) # EBCDIC based system
7011 lt_SP2NL='tr \100 \n'
7012 lt_NL2SP='tr \r\n \100\100'
7014 esac
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7025 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7026 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7027 $as_echo_n "(cached) " >&6
7028 else
7029 lt_cv_ld_reload_flag='-r'
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7032 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7033 reload_flag=$lt_cv_ld_reload_flag
7034 case $reload_flag in
7035 "" | " "*) ;;
7036 *) reload_flag=" $reload_flag" ;;
7037 esac
7038 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7039 case $host_os in
7040 darwin*)
7041 if test "$GCC" = yes; then
7042 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7043 else
7044 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7047 esac
7057 if test -n "$ac_tool_prefix"; then
7058 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7059 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061 $as_echo_n "checking for $ac_word... " >&6; }
7062 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7063 $as_echo_n "(cached) " >&6
7064 else
7065 if test -n "$OBJDUMP"; then
7066 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7067 else
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7069 for as_dir in $PATH
7071 IFS=$as_save_IFS
7072 test -z "$as_dir" && as_dir=.
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7075 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077 break 2
7079 done
7080 done
7081 IFS=$as_save_IFS
7085 OBJDUMP=$ac_cv_prog_OBJDUMP
7086 if test -n "$OBJDUMP"; then
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7088 $as_echo "$OBJDUMP" >&6; }
7089 else
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7091 $as_echo "no" >&6; }
7096 if test -z "$ac_cv_prog_OBJDUMP"; then
7097 ac_ct_OBJDUMP=$OBJDUMP
7098 # Extract the first word of "objdump", so it can be a program name with args.
7099 set dummy objdump; ac_word=$2
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7101 $as_echo_n "checking for $ac_word... " >&6; }
7102 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7103 $as_echo_n "(cached) " >&6
7104 else
7105 if test -n "$ac_ct_OBJDUMP"; then
7106 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7107 else
7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7109 for as_dir in $PATH
7111 IFS=$as_save_IFS
7112 test -z "$as_dir" && as_dir=.
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7115 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117 break 2
7119 done
7120 done
7121 IFS=$as_save_IFS
7125 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7126 if test -n "$ac_ct_OBJDUMP"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7128 $as_echo "$ac_ct_OBJDUMP" >&6; }
7129 else
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 $as_echo "no" >&6; }
7134 if test "x$ac_ct_OBJDUMP" = x; then
7135 OBJDUMP="false"
7136 else
7137 case $cross_compiling:$ac_tool_warned in
7138 yes:)
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7141 ac_tool_warned=yes ;;
7142 esac
7143 OBJDUMP=$ac_ct_OBJDUMP
7145 else
7146 OBJDUMP="$ac_cv_prog_OBJDUMP"
7149 test -z "$OBJDUMP" && OBJDUMP=objdump
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7160 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7161 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7162 $as_echo_n "(cached) " >&6
7163 else
7164 lt_cv_file_magic_cmd='$MAGIC_CMD'
7165 lt_cv_file_magic_test_file=
7166 lt_cv_deplibs_check_method='unknown'
7167 # Need to set the preceding variable on all platforms that support
7168 # interlibrary dependencies.
7169 # 'none' -- dependencies not supported.
7170 # `unknown' -- same as none, but documents that we really don't know.
7171 # 'pass_all' -- all dependencies passed with no checks.
7172 # 'test_compile' -- check by making test program.
7173 # 'file_magic [[regex]]' -- check by looking for files in library path
7174 # which responds to the $file_magic_cmd with a given extended regex.
7175 # If you have `file' or equivalent on your system and you're not sure
7176 # whether `pass_all' will *always* work, you probably want this one.
7178 case $host_os in
7179 aix[4-9]*)
7180 lt_cv_deplibs_check_method=pass_all
7183 beos*)
7184 lt_cv_deplibs_check_method=pass_all
7187 bsdi[45]*)
7188 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7189 lt_cv_file_magic_cmd='/usr/bin/file -L'
7190 lt_cv_file_magic_test_file=/shlib/libc.so
7193 cygwin*)
7194 # func_win32_libid is a shell function defined in ltmain.sh
7195 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7196 lt_cv_file_magic_cmd='func_win32_libid'
7199 mingw* | pw32*)
7200 # Base MSYS/MinGW do not provide the 'file' command needed by
7201 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7202 # unless we find 'file', for example because we are cross-compiling.
7203 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7204 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7205 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7206 lt_cv_file_magic_cmd='func_win32_libid'
7207 else
7208 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7209 lt_cv_file_magic_cmd='$OBJDUMP -f'
7213 cegcc*)
7214 # use the weaker test based on 'objdump'. See mingw*.
7215 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7216 lt_cv_file_magic_cmd='$OBJDUMP -f'
7219 darwin* | rhapsody*)
7220 lt_cv_deplibs_check_method=pass_all
7223 freebsd* | dragonfly*)
7224 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7225 case $host_cpu in
7226 i*86 )
7227 # Not sure whether the presence of OpenBSD here was a mistake.
7228 # Let's accept both of them until this is cleared up.
7229 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7230 lt_cv_file_magic_cmd=/usr/bin/file
7231 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7233 esac
7234 else
7235 lt_cv_deplibs_check_method=pass_all
7239 gnu*)
7240 lt_cv_deplibs_check_method=pass_all
7243 haiku*)
7244 lt_cv_deplibs_check_method=pass_all
7247 hpux10.20* | hpux11*)
7248 lt_cv_file_magic_cmd=/usr/bin/file
7249 case $host_cpu in
7250 ia64*)
7251 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7252 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7254 hppa*64*)
7255 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]'
7256 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7259 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7260 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7262 esac
7265 interix[3-9]*)
7266 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7267 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7270 irix5* | irix6* | nonstopux*)
7271 case $LD in
7272 *-32|*"-32 ") libmagic=32-bit;;
7273 *-n32|*"-n32 ") libmagic=N32;;
7274 *-64|*"-64 ") libmagic=64-bit;;
7275 *) libmagic=never-match;;
7276 esac
7277 lt_cv_deplibs_check_method=pass_all
7280 # This must be Linux ELF.
7281 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7282 lt_cv_deplibs_check_method=pass_all
7285 netbsd*)
7286 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7287 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7288 else
7289 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7293 newos6*)
7294 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7295 lt_cv_file_magic_cmd=/usr/bin/file
7296 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7299 *nto* | *qnx*)
7300 lt_cv_deplibs_check_method=pass_all
7303 openbsd*)
7304 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7305 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7306 else
7307 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7311 osf3* | osf4* | osf5*)
7312 lt_cv_deplibs_check_method=pass_all
7315 rdos*)
7316 lt_cv_deplibs_check_method=pass_all
7319 solaris*)
7320 lt_cv_deplibs_check_method=pass_all
7323 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7324 lt_cv_deplibs_check_method=pass_all
7327 sysv4 | sysv4.3*)
7328 case $host_vendor in
7329 motorola)
7330 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]'
7331 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7333 ncr)
7334 lt_cv_deplibs_check_method=pass_all
7336 sequent)
7337 lt_cv_file_magic_cmd='/bin/file'
7338 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7340 sni)
7341 lt_cv_file_magic_cmd='/bin/file'
7342 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7343 lt_cv_file_magic_test_file=/lib/libc.so
7345 siemens)
7346 lt_cv_deplibs_check_method=pass_all
7349 lt_cv_deplibs_check_method=pass_all
7351 esac
7354 tpf*)
7355 lt_cv_deplibs_check_method=pass_all
7357 esac
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7361 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7362 file_magic_cmd=$lt_cv_file_magic_cmd
7363 deplibs_check_method=$lt_cv_deplibs_check_method
7364 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7377 if test -n "$ac_tool_prefix"; then
7378 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7379 set dummy ${ac_tool_prefix}ar; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if test "${ac_cv_prog_AR+set}" = set; then :
7383 $as_echo_n "(cached) " >&6
7384 else
7385 if test -n "$AR"; then
7386 ac_cv_prog_AR="$AR" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7391 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 ac_cv_prog_AR="${ac_tool_prefix}ar"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 break 2
7399 done
7400 done
7401 IFS=$as_save_IFS
7405 AR=$ac_cv_prog_AR
7406 if test -n "$AR"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7408 $as_echo "$AR" >&6; }
7409 else
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7416 if test -z "$ac_cv_prog_AR"; then
7417 ac_ct_AR=$AR
7418 # Extract the first word of "ar", so it can be a program name with args.
7419 set dummy ar; ac_word=$2
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7421 $as_echo_n "checking for $ac_word... " >&6; }
7422 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7423 $as_echo_n "(cached) " >&6
7424 else
7425 if test -n "$ac_ct_AR"; then
7426 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7427 else
7428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7429 for as_dir in $PATH
7431 IFS=$as_save_IFS
7432 test -z "$as_dir" && as_dir=.
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7435 ac_cv_prog_ac_ct_AR="ar"
7436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437 break 2
7439 done
7440 done
7441 IFS=$as_save_IFS
7445 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7446 if test -n "$ac_ct_AR"; then
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7448 $as_echo "$ac_ct_AR" >&6; }
7449 else
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 $as_echo "no" >&6; }
7454 if test "x$ac_ct_AR" = x; then
7455 AR="false"
7456 else
7457 case $cross_compiling:$ac_tool_warned in
7458 yes:)
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7461 ac_tool_warned=yes ;;
7462 esac
7463 AR=$ac_ct_AR
7465 else
7466 AR="$ac_cv_prog_AR"
7469 test -z "$AR" && AR=ar
7470 test -z "$AR_FLAGS" && AR_FLAGS=cru
7482 if test -n "$ac_tool_prefix"; then
7483 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7484 set dummy ${ac_tool_prefix}strip; ac_word=$2
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7486 $as_echo_n "checking for $ac_word... " >&6; }
7487 if test "${ac_cv_prog_STRIP+set}" = set; then :
7488 $as_echo_n "(cached) " >&6
7489 else
7490 if test -n "$STRIP"; then
7491 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7492 else
7493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7494 for as_dir in $PATH
7496 IFS=$as_save_IFS
7497 test -z "$as_dir" && as_dir=.
7498 for ac_exec_ext in '' $ac_executable_extensions; do
7499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7500 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7502 break 2
7504 done
7505 done
7506 IFS=$as_save_IFS
7510 STRIP=$ac_cv_prog_STRIP
7511 if test -n "$STRIP"; then
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7513 $as_echo "$STRIP" >&6; }
7514 else
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7516 $as_echo "no" >&6; }
7521 if test -z "$ac_cv_prog_STRIP"; then
7522 ac_ct_STRIP=$STRIP
7523 # Extract the first word of "strip", so it can be a program name with args.
7524 set dummy strip; ac_word=$2
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 $as_echo_n "checking for $ac_word... " >&6; }
7527 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7528 $as_echo_n "(cached) " >&6
7529 else
7530 if test -n "$ac_ct_STRIP"; then
7531 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7532 else
7533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7534 for as_dir in $PATH
7536 IFS=$as_save_IFS
7537 test -z "$as_dir" && as_dir=.
7538 for ac_exec_ext in '' $ac_executable_extensions; do
7539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7540 ac_cv_prog_ac_ct_STRIP="strip"
7541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542 break 2
7544 done
7545 done
7546 IFS=$as_save_IFS
7550 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7551 if test -n "$ac_ct_STRIP"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7553 $as_echo "$ac_ct_STRIP" >&6; }
7554 else
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7556 $as_echo "no" >&6; }
7559 if test "x$ac_ct_STRIP" = x; then
7560 STRIP=":"
7561 else
7562 case $cross_compiling:$ac_tool_warned in
7563 yes:)
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7566 ac_tool_warned=yes ;;
7567 esac
7568 STRIP=$ac_ct_STRIP
7570 else
7571 STRIP="$ac_cv_prog_STRIP"
7574 test -z "$STRIP" && STRIP=:
7581 if test -n "$ac_tool_prefix"; then
7582 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7583 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7587 $as_echo_n "(cached) " >&6
7588 else
7589 if test -n "$RANLIB"; then
7590 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7591 else
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 for as_dir in $PATH
7595 IFS=$as_save_IFS
7596 test -z "$as_dir" && as_dir=.
7597 for ac_exec_ext in '' $ac_executable_extensions; do
7598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7599 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7601 break 2
7603 done
7604 done
7605 IFS=$as_save_IFS
7609 RANLIB=$ac_cv_prog_RANLIB
7610 if test -n "$RANLIB"; then
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7612 $as_echo "$RANLIB" >&6; }
7613 else
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615 $as_echo "no" >&6; }
7620 if test -z "$ac_cv_prog_RANLIB"; then
7621 ac_ct_RANLIB=$RANLIB
7622 # Extract the first word of "ranlib", so it can be a program name with args.
7623 set dummy ranlib; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7627 $as_echo_n "(cached) " >&6
7628 else
7629 if test -n "$ac_ct_RANLIB"; then
7630 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7631 else
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 for as_dir in $PATH
7635 IFS=$as_save_IFS
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639 ac_cv_prog_ac_ct_RANLIB="ranlib"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7641 break 2
7643 done
7644 done
7645 IFS=$as_save_IFS
7649 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7650 if test -n "$ac_ct_RANLIB"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7652 $as_echo "$ac_ct_RANLIB" >&6; }
7653 else
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7658 if test "x$ac_ct_RANLIB" = x; then
7659 RANLIB=":"
7660 else
7661 case $cross_compiling:$ac_tool_warned in
7662 yes:)
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7665 ac_tool_warned=yes ;;
7666 esac
7667 RANLIB=$ac_ct_RANLIB
7669 else
7670 RANLIB="$ac_cv_prog_RANLIB"
7673 test -z "$RANLIB" && RANLIB=:
7680 # Determine commands to create old-style static archives.
7681 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7682 old_postinstall_cmds='chmod 644 $oldlib'
7683 old_postuninstall_cmds=
7685 if test -n "$RANLIB"; then
7686 case $host_os in
7687 openbsd*)
7688 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7691 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7693 esac
7694 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7697 case $host_os in
7698 darwin*)
7699 lock_old_archive_extraction=yes ;;
7701 lock_old_archive_extraction=no ;;
7702 esac
7742 # If no C compiler was specified, use CC.
7743 LTCC=${LTCC-"$CC"}
7745 # If no C compiler flags were specified, use CFLAGS.
7746 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7748 # Allow CC to be a program name with arguments.
7749 compiler=$CC
7752 # Check for command to grab the raw symbol name followed by C symbol from nm.
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7754 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7755 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7756 $as_echo_n "(cached) " >&6
7757 else
7759 # These are sane defaults that work on at least a few old systems.
7760 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7762 # Character class describing NM global symbol codes.
7763 symcode='[BCDEGRST]'
7765 # Regexp to match symbols that can be accessed directly from C.
7766 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7768 # Define system-specific variables.
7769 case $host_os in
7770 aix*)
7771 symcode='[BCDT]'
7773 cygwin* | mingw* | pw32* | cegcc*)
7774 symcode='[ABCDGISTW]'
7776 hpux*)
7777 if test "$host_cpu" = ia64; then
7778 symcode='[ABCDEGRST]'
7781 irix* | nonstopux*)
7782 symcode='[BCDEGRST]'
7784 osf*)
7785 symcode='[BCDEGQRST]'
7787 solaris*)
7788 symcode='[BDRT]'
7790 sco3.2v5*)
7791 symcode='[DT]'
7793 sysv4.2uw2*)
7794 symcode='[DT]'
7796 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7797 symcode='[ABDT]'
7799 sysv4)
7800 symcode='[DFNSTU]'
7802 esac
7804 # If we're using GNU nm, then use its standard symbol codes.
7805 case `$NM -V 2>&1` in
7806 *GNU* | *'with BFD'*)
7807 symcode='[ABCDGIRSTW]' ;;
7808 esac
7810 # Transform an extracted symbol line into a proper C declaration.
7811 # Some systems (esp. on ia64) link data and code symbols differently,
7812 # so use this general approach.
7813 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7815 # Transform an extracted symbol line into symbol name and symbol address
7816 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7817 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'"
7819 # Handle CRLF in mingw tool chain
7820 opt_cr=
7821 case $build_os in
7822 mingw*)
7823 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7825 esac
7827 # Try without a prefix underscore, then with it.
7828 for ac_symprfx in "" "_"; do
7830 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7831 symxfrm="\\1 $ac_symprfx\\2 \\2"
7833 # Write the raw and C identifiers.
7834 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7835 # Fake it for dumpbin and say T for any non-static function
7836 # and D for any global variable.
7837 # Also find C++ and __fastcall symbols from MSVC++,
7838 # which start with @ or ?.
7839 lt_cv_sys_global_symbol_pipe="$AWK '"\
7840 " {last_section=section; section=\$ 3};"\
7841 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7842 " \$ 0!~/External *\|/{next};"\
7843 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7844 " {if(hide[section]) next};"\
7845 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7846 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7847 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7848 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7849 " ' prfx=^$ac_symprfx"
7850 else
7851 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7854 # Check to see that the pipe works correctly.
7855 pipe_works=no
7857 rm -f conftest*
7858 cat > conftest.$ac_ext <<_LT_EOF
7859 #ifdef __cplusplus
7860 extern "C" {
7861 #endif
7862 char nm_test_var;
7863 void nm_test_func(void);
7864 void nm_test_func(void){}
7865 #ifdef __cplusplus
7867 #endif
7868 int main(){nm_test_var='a';nm_test_func();return(0);}
7869 _LT_EOF
7871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7872 (eval $ac_compile) 2>&5
7873 ac_status=$?
7874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7875 test $ac_status = 0; }; then
7876 # Now try to grab the symbols.
7877 nlist=conftest.nm
7878 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7879 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7880 ac_status=$?
7881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7882 test $ac_status = 0; } && test -s "$nlist"; then
7883 # Try sorting and uniquifying the output.
7884 if sort "$nlist" | uniq > "$nlist"T; then
7885 mv -f "$nlist"T "$nlist"
7886 else
7887 rm -f "$nlist"T
7890 # Make sure that we snagged all the symbols we need.
7891 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7892 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7893 cat <<_LT_EOF > conftest.$ac_ext
7894 #ifdef __cplusplus
7895 extern "C" {
7896 #endif
7898 _LT_EOF
7899 # Now generate the symbol file.
7900 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7902 cat <<_LT_EOF >> conftest.$ac_ext
7904 /* The mapping between symbol names and symbols. */
7905 const struct {
7906 const char *name;
7907 void *address;
7909 lt__PROGRAM__LTX_preloaded_symbols[] =
7911 { "@PROGRAM@", (void *) 0 },
7912 _LT_EOF
7913 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7914 cat <<\_LT_EOF >> conftest.$ac_ext
7915 {0, (void *) 0}
7918 /* This works around a problem in FreeBSD linker */
7919 #ifdef FREEBSD_WORKAROUND
7920 static const void *lt_preloaded_setup() {
7921 return lt__PROGRAM__LTX_preloaded_symbols;
7923 #endif
7925 #ifdef __cplusplus
7927 #endif
7928 _LT_EOF
7929 # Now try linking the two files.
7930 mv conftest.$ac_objext conftstm.$ac_objext
7931 lt_save_LIBS="$LIBS"
7932 lt_save_CFLAGS="$CFLAGS"
7933 LIBS="conftstm.$ac_objext"
7934 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7935 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7936 (eval $ac_link) 2>&5
7937 ac_status=$?
7938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7939 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7940 pipe_works=yes
7942 LIBS="$lt_save_LIBS"
7943 CFLAGS="$lt_save_CFLAGS"
7944 else
7945 echo "cannot find nm_test_func in $nlist" >&5
7947 else
7948 echo "cannot find nm_test_var in $nlist" >&5
7950 else
7951 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7953 else
7954 echo "$progname: failed program was:" >&5
7955 cat conftest.$ac_ext >&5
7957 rm -rf conftest* conftst*
7959 # Do not use the global_symbol_pipe unless it works.
7960 if test "$pipe_works" = yes; then
7961 break
7962 else
7963 lt_cv_sys_global_symbol_pipe=
7965 done
7969 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7970 lt_cv_sys_global_symbol_to_cdecl=
7972 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7974 $as_echo "failed" >&6; }
7975 else
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7977 $as_echo "ok" >&6; }
8001 # Check whether --enable-libtool-lock was given.
8002 if test "${enable_libtool_lock+set}" = set; then :
8003 enableval=$enable_libtool_lock;
8006 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8008 # Some flags need to be propagated to the compiler or linker for good
8009 # libtool support.
8010 case $host in
8011 ia64-*-hpux*)
8012 # Find out which ABI we are using.
8013 echo 'int i;' > conftest.$ac_ext
8014 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8015 (eval $ac_compile) 2>&5
8016 ac_status=$?
8017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8018 test $ac_status = 0; }; then
8019 case `/usr/bin/file conftest.$ac_objext` in
8020 *ELF-32*)
8021 HPUX_IA64_MODE="32"
8023 *ELF-64*)
8024 HPUX_IA64_MODE="64"
8026 esac
8028 rm -rf conftest*
8030 *-*-irix6*)
8031 # Find out which ABI we are using.
8032 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8034 (eval $ac_compile) 2>&5
8035 ac_status=$?
8036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8037 test $ac_status = 0; }; then
8038 if test "$lt_cv_prog_gnu_ld" = yes; then
8039 case `/usr/bin/file conftest.$ac_objext` in
8040 *32-bit*)
8041 LD="${LD-ld} -melf32bsmip"
8043 *N32*)
8044 LD="${LD-ld} -melf32bmipn32"
8046 *64-bit*)
8047 LD="${LD-ld} -melf64bmip"
8049 esac
8050 else
8051 case `/usr/bin/file conftest.$ac_objext` in
8052 *32-bit*)
8053 LD="${LD-ld} -32"
8055 *N32*)
8056 LD="${LD-ld} -n32"
8058 *64-bit*)
8059 LD="${LD-ld} -64"
8061 esac
8064 rm -rf conftest*
8067 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8068 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8069 # Find out which ABI we are using.
8070 echo 'int i;' > conftest.$ac_ext
8071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8072 (eval $ac_compile) 2>&5
8073 ac_status=$?
8074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8075 test $ac_status = 0; }; then
8076 case `/usr/bin/file conftest.o` in
8077 *32-bit*)
8078 case $host in
8079 x86_64-*kfreebsd*-gnu)
8080 LD="${LD-ld} -m elf_i386_fbsd"
8082 x86_64-*linux*)
8083 case `/usr/bin/file conftest.o` in
8084 *x86-64*)
8085 LD="${LD-ld} -m elf32_x86_64"
8088 LD="${LD-ld} -m elf_i386"
8090 esac
8092 ppc64-*linux*|powerpc64-*linux*)
8093 LD="${LD-ld} -m elf32ppclinux"
8095 s390x-*linux*)
8096 LD="${LD-ld} -m elf_s390"
8098 sparc64-*linux*)
8099 LD="${LD-ld} -m elf32_sparc"
8101 esac
8103 *64-bit*)
8104 case $host in
8105 x86_64-*kfreebsd*-gnu)
8106 LD="${LD-ld} -m elf_x86_64_fbsd"
8108 x86_64-*linux*)
8109 LD="${LD-ld} -m elf_x86_64"
8111 ppc*-*linux*|powerpc*-*linux*)
8112 LD="${LD-ld} -m elf64ppc"
8114 s390*-*linux*|s390*-*tpf*)
8115 LD="${LD-ld} -m elf64_s390"
8117 sparc*-*linux*)
8118 LD="${LD-ld} -m elf64_sparc"
8120 esac
8122 esac
8124 rm -rf conftest*
8127 *-*-sco3.2v5*)
8128 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8129 SAVE_CFLAGS="$CFLAGS"
8130 CFLAGS="$CFLAGS -belf"
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8132 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8133 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8134 $as_echo_n "(cached) " >&6
8135 else
8136 ac_ext=c
8137 ac_cpp='$CPP $CPPFLAGS'
8138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8142 if test x$gcc_no_link = xyes; then
8143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8149 main ()
8153 return 0;
8155 _ACEOF
8156 if ac_fn_c_try_link "$LINENO"; then :
8157 lt_cv_cc_needs_belf=yes
8158 else
8159 lt_cv_cc_needs_belf=no
8161 rm -f core conftest.err conftest.$ac_objext \
8162 conftest$ac_exeext conftest.$ac_ext
8163 ac_ext=c
8164 ac_cpp='$CPP $CPPFLAGS'
8165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8171 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8172 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8173 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8174 CFLAGS="$SAVE_CFLAGS"
8177 sparc*-*solaris*)
8178 # Find out which ABI we are using.
8179 echo 'int i;' > conftest.$ac_ext
8180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8181 (eval $ac_compile) 2>&5
8182 ac_status=$?
8183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8184 test $ac_status = 0; }; then
8185 case `/usr/bin/file conftest.o` in
8186 *64-bit*)
8187 case $lt_cv_prog_gnu_ld in
8188 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8190 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8191 LD="${LD-ld} -64"
8194 esac
8196 esac
8198 rm -rf conftest*
8200 esac
8202 need_locks="$enable_libtool_lock"
8205 case $host_os in
8206 rhapsody* | darwin*)
8207 if test -n "$ac_tool_prefix"; then
8208 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8209 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8211 $as_echo_n "checking for $ac_word... " >&6; }
8212 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8213 $as_echo_n "(cached) " >&6
8214 else
8215 if test -n "$DSYMUTIL"; then
8216 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8217 else
8218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8219 for as_dir in $PATH
8221 IFS=$as_save_IFS
8222 test -z "$as_dir" && as_dir=.
8223 for ac_exec_ext in '' $ac_executable_extensions; do
8224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8225 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8227 break 2
8229 done
8230 done
8231 IFS=$as_save_IFS
8235 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8236 if test -n "$DSYMUTIL"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8238 $as_echo "$DSYMUTIL" >&6; }
8239 else
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8241 $as_echo "no" >&6; }
8246 if test -z "$ac_cv_prog_DSYMUTIL"; then
8247 ac_ct_DSYMUTIL=$DSYMUTIL
8248 # Extract the first word of "dsymutil", so it can be a program name with args.
8249 set dummy dsymutil; ac_word=$2
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8251 $as_echo_n "checking for $ac_word... " >&6; }
8252 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 if test -n "$ac_ct_DSYMUTIL"; then
8256 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8257 else
8258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8259 for as_dir in $PATH
8261 IFS=$as_save_IFS
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8265 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8267 break 2
8269 done
8270 done
8271 IFS=$as_save_IFS
8275 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8276 if test -n "$ac_ct_DSYMUTIL"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8278 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8279 else
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281 $as_echo "no" >&6; }
8284 if test "x$ac_ct_DSYMUTIL" = x; then
8285 DSYMUTIL=":"
8286 else
8287 case $cross_compiling:$ac_tool_warned in
8288 yes:)
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8291 ac_tool_warned=yes ;;
8292 esac
8293 DSYMUTIL=$ac_ct_DSYMUTIL
8295 else
8296 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8299 if test -n "$ac_tool_prefix"; then
8300 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8301 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8303 $as_echo_n "checking for $ac_word... " >&6; }
8304 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8305 $as_echo_n "(cached) " >&6
8306 else
8307 if test -n "$NMEDIT"; then
8308 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8309 else
8310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8311 for as_dir in $PATH
8313 IFS=$as_save_IFS
8314 test -z "$as_dir" && as_dir=.
8315 for ac_exec_ext in '' $ac_executable_extensions; do
8316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8317 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8319 break 2
8321 done
8322 done
8323 IFS=$as_save_IFS
8327 NMEDIT=$ac_cv_prog_NMEDIT
8328 if test -n "$NMEDIT"; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8330 $as_echo "$NMEDIT" >&6; }
8331 else
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8338 if test -z "$ac_cv_prog_NMEDIT"; then
8339 ac_ct_NMEDIT=$NMEDIT
8340 # Extract the first word of "nmedit", so it can be a program name with args.
8341 set dummy nmedit; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8343 $as_echo_n "checking for $ac_word... " >&6; }
8344 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8347 if test -n "$ac_ct_NMEDIT"; then
8348 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8349 else
8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8351 for as_dir in $PATH
8353 IFS=$as_save_IFS
8354 test -z "$as_dir" && as_dir=.
8355 for ac_exec_ext in '' $ac_executable_extensions; do
8356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8357 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8359 break 2
8361 done
8362 done
8363 IFS=$as_save_IFS
8367 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8368 if test -n "$ac_ct_NMEDIT"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8370 $as_echo "$ac_ct_NMEDIT" >&6; }
8371 else
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8376 if test "x$ac_ct_NMEDIT" = x; then
8377 NMEDIT=":"
8378 else
8379 case $cross_compiling:$ac_tool_warned in
8380 yes:)
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8383 ac_tool_warned=yes ;;
8384 esac
8385 NMEDIT=$ac_ct_NMEDIT
8387 else
8388 NMEDIT="$ac_cv_prog_NMEDIT"
8391 if test -n "$ac_tool_prefix"; then
8392 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8393 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8395 $as_echo_n "checking for $ac_word... " >&6; }
8396 if test "${ac_cv_prog_LIPO+set}" = set; then :
8397 $as_echo_n "(cached) " >&6
8398 else
8399 if test -n "$LIPO"; then
8400 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8401 else
8402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8403 for as_dir in $PATH
8405 IFS=$as_save_IFS
8406 test -z "$as_dir" && as_dir=.
8407 for ac_exec_ext in '' $ac_executable_extensions; do
8408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8409 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8411 break 2
8413 done
8414 done
8415 IFS=$as_save_IFS
8419 LIPO=$ac_cv_prog_LIPO
8420 if test -n "$LIPO"; then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8422 $as_echo "$LIPO" >&6; }
8423 else
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8425 $as_echo "no" >&6; }
8430 if test -z "$ac_cv_prog_LIPO"; then
8431 ac_ct_LIPO=$LIPO
8432 # Extract the first word of "lipo", so it can be a program name with args.
8433 set dummy lipo; ac_word=$2
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8435 $as_echo_n "checking for $ac_word... " >&6; }
8436 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8437 $as_echo_n "(cached) " >&6
8438 else
8439 if test -n "$ac_ct_LIPO"; then
8440 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8441 else
8442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8443 for as_dir in $PATH
8445 IFS=$as_save_IFS
8446 test -z "$as_dir" && as_dir=.
8447 for ac_exec_ext in '' $ac_executable_extensions; do
8448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8449 ac_cv_prog_ac_ct_LIPO="lipo"
8450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8451 break 2
8453 done
8454 done
8455 IFS=$as_save_IFS
8459 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8460 if test -n "$ac_ct_LIPO"; then
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8462 $as_echo "$ac_ct_LIPO" >&6; }
8463 else
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8465 $as_echo "no" >&6; }
8468 if test "x$ac_ct_LIPO" = x; then
8469 LIPO=":"
8470 else
8471 case $cross_compiling:$ac_tool_warned in
8472 yes:)
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8475 ac_tool_warned=yes ;;
8476 esac
8477 LIPO=$ac_ct_LIPO
8479 else
8480 LIPO="$ac_cv_prog_LIPO"
8483 if test -n "$ac_tool_prefix"; then
8484 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8485 set dummy ${ac_tool_prefix}otool; ac_word=$2
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8487 $as_echo_n "checking for $ac_word... " >&6; }
8488 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 if test -n "$OTOOL"; then
8492 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8493 else
8494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8495 for as_dir in $PATH
8497 IFS=$as_save_IFS
8498 test -z "$as_dir" && as_dir=.
8499 for ac_exec_ext in '' $ac_executable_extensions; do
8500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8501 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8503 break 2
8505 done
8506 done
8507 IFS=$as_save_IFS
8511 OTOOL=$ac_cv_prog_OTOOL
8512 if test -n "$OTOOL"; then
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8514 $as_echo "$OTOOL" >&6; }
8515 else
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8517 $as_echo "no" >&6; }
8522 if test -z "$ac_cv_prog_OTOOL"; then
8523 ac_ct_OTOOL=$OTOOL
8524 # Extract the first word of "otool", so it can be a program name with args.
8525 set dummy otool; ac_word=$2
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8527 $as_echo_n "checking for $ac_word... " >&6; }
8528 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 if test -n "$ac_ct_OTOOL"; then
8532 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8533 else
8534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8535 for as_dir in $PATH
8537 IFS=$as_save_IFS
8538 test -z "$as_dir" && as_dir=.
8539 for ac_exec_ext in '' $ac_executable_extensions; do
8540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8541 ac_cv_prog_ac_ct_OTOOL="otool"
8542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8543 break 2
8545 done
8546 done
8547 IFS=$as_save_IFS
8551 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8552 if test -n "$ac_ct_OTOOL"; then
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8554 $as_echo "$ac_ct_OTOOL" >&6; }
8555 else
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8557 $as_echo "no" >&6; }
8560 if test "x$ac_ct_OTOOL" = x; then
8561 OTOOL=":"
8562 else
8563 case $cross_compiling:$ac_tool_warned in
8564 yes:)
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8567 ac_tool_warned=yes ;;
8568 esac
8569 OTOOL=$ac_ct_OTOOL
8571 else
8572 OTOOL="$ac_cv_prog_OTOOL"
8575 if test -n "$ac_tool_prefix"; then
8576 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8577 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8579 $as_echo_n "checking for $ac_word... " >&6; }
8580 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 if test -n "$OTOOL64"; then
8584 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8585 else
8586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8587 for as_dir in $PATH
8589 IFS=$as_save_IFS
8590 test -z "$as_dir" && as_dir=.
8591 for ac_exec_ext in '' $ac_executable_extensions; do
8592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8593 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8595 break 2
8597 done
8598 done
8599 IFS=$as_save_IFS
8603 OTOOL64=$ac_cv_prog_OTOOL64
8604 if test -n "$OTOOL64"; then
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8606 $as_echo "$OTOOL64" >&6; }
8607 else
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8609 $as_echo "no" >&6; }
8614 if test -z "$ac_cv_prog_OTOOL64"; then
8615 ac_ct_OTOOL64=$OTOOL64
8616 # Extract the first word of "otool64", so it can be a program name with args.
8617 set dummy otool64; ac_word=$2
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8619 $as_echo_n "checking for $ac_word... " >&6; }
8620 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8621 $as_echo_n "(cached) " >&6
8622 else
8623 if test -n "$ac_ct_OTOOL64"; then
8624 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8625 else
8626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8627 for as_dir in $PATH
8629 IFS=$as_save_IFS
8630 test -z "$as_dir" && as_dir=.
8631 for ac_exec_ext in '' $ac_executable_extensions; do
8632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8633 ac_cv_prog_ac_ct_OTOOL64="otool64"
8634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8635 break 2
8637 done
8638 done
8639 IFS=$as_save_IFS
8643 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8644 if test -n "$ac_ct_OTOOL64"; then
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8646 $as_echo "$ac_ct_OTOOL64" >&6; }
8647 else
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8649 $as_echo "no" >&6; }
8652 if test "x$ac_ct_OTOOL64" = x; then
8653 OTOOL64=":"
8654 else
8655 case $cross_compiling:$ac_tool_warned in
8656 yes:)
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8659 ac_tool_warned=yes ;;
8660 esac
8661 OTOOL64=$ac_ct_OTOOL64
8663 else
8664 OTOOL64="$ac_cv_prog_OTOOL64"
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8694 $as_echo_n "checking for -single_module linker flag... " >&6; }
8695 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8696 $as_echo_n "(cached) " >&6
8697 else
8698 lt_cv_apple_cc_single_mod=no
8699 if test -z "${LT_MULTI_MODULE}"; then
8700 # By default we will add the -single_module flag. You can override
8701 # by either setting the environment variable LT_MULTI_MODULE
8702 # non-empty at configure time, or by adding -multi_module to the
8703 # link flags.
8704 rm -rf libconftest.dylib*
8705 echo "int foo(void){return 1;}" > conftest.c
8706 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8707 -dynamiclib -Wl,-single_module conftest.c" >&5
8708 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8709 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8710 _lt_result=$?
8711 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8712 lt_cv_apple_cc_single_mod=yes
8713 else
8714 cat conftest.err >&5
8716 rm -rf libconftest.dylib*
8717 rm -f conftest.*
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8721 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8723 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8724 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8725 $as_echo_n "(cached) " >&6
8726 else
8727 lt_cv_ld_exported_symbols_list=no
8728 save_LDFLAGS=$LDFLAGS
8729 echo "_main" > conftest.sym
8730 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8731 if test x$gcc_no_link = xyes; then
8732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8735 /* end confdefs.h. */
8738 main ()
8742 return 0;
8744 _ACEOF
8745 if ac_fn_c_try_link "$LINENO"; then :
8746 lt_cv_ld_exported_symbols_list=yes
8747 else
8748 lt_cv_ld_exported_symbols_list=no
8750 rm -f core conftest.err conftest.$ac_objext \
8751 conftest$ac_exeext conftest.$ac_ext
8752 LDFLAGS="$save_LDFLAGS"
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8756 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8758 $as_echo_n "checking for -force_load linker flag... " >&6; }
8759 if test "${lt_cv_ld_force_load+set}" = set; then :
8760 $as_echo_n "(cached) " >&6
8761 else
8762 lt_cv_ld_force_load=no
8763 cat > conftest.c << _LT_EOF
8764 int forced_loaded() { return 2;}
8765 _LT_EOF
8766 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8767 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8768 echo "$AR cru libconftest.a conftest.o" >&5
8769 $AR cru libconftest.a conftest.o 2>&5
8770 cat > conftest.c << _LT_EOF
8771 int main() { return 0;}
8772 _LT_EOF
8773 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8774 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8775 _lt_result=$?
8776 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8777 lt_cv_ld_force_load=yes
8778 else
8779 cat conftest.err >&5
8781 rm -f conftest.err libconftest.a conftest conftest.c
8782 rm -rf conftest.dSYM
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8786 $as_echo "$lt_cv_ld_force_load" >&6; }
8787 case $host_os in
8788 rhapsody* | darwin1.[012])
8789 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8790 darwin1.*)
8791 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8792 darwin*) # darwin 5.x on
8793 # if running on 10.5 or later, the deployment target defaults
8794 # to the OS version, if on x86, and 10.4, the deployment
8795 # target defaults to 10.4. Don't you love it?
8796 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8797 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8798 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8799 10.[012]*)
8800 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8801 10.*)
8802 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8803 esac
8805 esac
8806 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8807 _lt_dar_single_mod='$single_module'
8809 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8810 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8811 else
8812 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8814 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8815 _lt_dsymutil='~$DSYMUTIL $lib || :'
8816 else
8817 _lt_dsymutil=
8820 esac
8822 for ac_header in dlfcn.h
8823 do :
8824 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8826 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8827 cat >>confdefs.h <<_ACEOF
8828 #define HAVE_DLFCN_H 1
8829 _ACEOF
8833 done
8839 # Set options
8844 enable_win32_dll=no
8847 # Check whether --enable-shared was given.
8848 if test "${enable_shared+set}" = set; then :
8849 enableval=$enable_shared; p=${PACKAGE-default}
8850 case $enableval in
8851 yes) enable_shared=yes ;;
8852 no) enable_shared=no ;;
8854 enable_shared=no
8855 # Look at the argument we got. We use all the common list separators.
8856 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8857 for pkg in $enableval; do
8858 IFS="$lt_save_ifs"
8859 if test "X$pkg" = "X$p"; then
8860 enable_shared=yes
8862 done
8863 IFS="$lt_save_ifs"
8865 esac
8866 else
8867 enable_shared=yes
8878 # Check whether --enable-static was given.
8879 if test "${enable_static+set}" = set; then :
8880 enableval=$enable_static; p=${PACKAGE-default}
8881 case $enableval in
8882 yes) enable_static=yes ;;
8883 no) enable_static=no ;;
8885 enable_static=no
8886 # Look at the argument we got. We use all the common list separators.
8887 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8888 for pkg in $enableval; do
8889 IFS="$lt_save_ifs"
8890 if test "X$pkg" = "X$p"; then
8891 enable_static=yes
8893 done
8894 IFS="$lt_save_ifs"
8896 esac
8897 else
8898 enable_static=yes
8910 # Check whether --with-pic was given.
8911 if test "${with_pic+set}" = set; then :
8912 withval=$with_pic; pic_mode="$withval"
8913 else
8914 pic_mode=default
8918 test -z "$pic_mode" && pic_mode=default
8926 # Check whether --enable-fast-install was given.
8927 if test "${enable_fast_install+set}" = set; then :
8928 enableval=$enable_fast_install; p=${PACKAGE-default}
8929 case $enableval in
8930 yes) enable_fast_install=yes ;;
8931 no) enable_fast_install=no ;;
8933 enable_fast_install=no
8934 # Look at the argument we got. We use all the common list separators.
8935 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8936 for pkg in $enableval; do
8937 IFS="$lt_save_ifs"
8938 if test "X$pkg" = "X$p"; then
8939 enable_fast_install=yes
8941 done
8942 IFS="$lt_save_ifs"
8944 esac
8945 else
8946 enable_fast_install=yes
8959 # This can be used to rebuild libtool when needed
8960 LIBTOOL_DEPS="$ltmain"
8962 # Always use our own libtool.
8963 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8990 test -z "$LN_S" && LN_S="ln -s"
9005 if test -n "${ZSH_VERSION+set}" ; then
9006 setopt NO_GLOB_SUBST
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9010 $as_echo_n "checking for objdir... " >&6; }
9011 if test "${lt_cv_objdir+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 rm -f .libs 2>/dev/null
9015 mkdir .libs 2>/dev/null
9016 if test -d .libs; then
9017 lt_cv_objdir=.libs
9018 else
9019 # MS-DOS does not allow filenames that begin with a dot.
9020 lt_cv_objdir=_libs
9022 rmdir .libs 2>/dev/null
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9025 $as_echo "$lt_cv_objdir" >&6; }
9026 objdir=$lt_cv_objdir
9032 cat >>confdefs.h <<_ACEOF
9033 #define LT_OBJDIR "$lt_cv_objdir/"
9034 _ACEOF
9039 case $host_os in
9040 aix3*)
9041 # AIX sometimes has problems with the GCC collect2 program. For some
9042 # reason, if we set the COLLECT_NAMES environment variable, the problems
9043 # vanish in a puff of smoke.
9044 if test "X${COLLECT_NAMES+set}" != Xset; then
9045 COLLECT_NAMES=
9046 export COLLECT_NAMES
9049 esac
9051 # Global variables:
9052 ofile=libtool
9053 can_build_shared=yes
9055 # All known linkers require a `.a' archive for static linking (except MSVC,
9056 # which needs '.lib').
9057 libext=a
9059 with_gnu_ld="$lt_cv_prog_gnu_ld"
9061 old_CC="$CC"
9062 old_CFLAGS="$CFLAGS"
9064 # Set sane defaults for various variables
9065 test -z "$CC" && CC=cc
9066 test -z "$LTCC" && LTCC=$CC
9067 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9068 test -z "$LD" && LD=ld
9069 test -z "$ac_objext" && ac_objext=o
9071 for cc_temp in $compiler""; do
9072 case $cc_temp in
9073 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9074 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9075 \-*) ;;
9076 *) break;;
9077 esac
9078 done
9079 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9082 # Only perform the check for file, if the check method requires it
9083 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9084 case $deplibs_check_method in
9085 file_magic*)
9086 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9088 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9089 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9090 $as_echo_n "(cached) " >&6
9091 else
9092 case $MAGIC_CMD in
9093 [\\/*] | ?:[\\/]*)
9094 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9097 lt_save_MAGIC_CMD="$MAGIC_CMD"
9098 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9099 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9100 for ac_dir in $ac_dummy; do
9101 IFS="$lt_save_ifs"
9102 test -z "$ac_dir" && ac_dir=.
9103 if test -f $ac_dir/${ac_tool_prefix}file; then
9104 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9105 if test -n "$file_magic_test_file"; then
9106 case $deplibs_check_method in
9107 "file_magic "*)
9108 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9109 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9110 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9111 $EGREP "$file_magic_regex" > /dev/null; then
9113 else
9114 cat <<_LT_EOF 1>&2
9116 *** Warning: the command libtool uses to detect shared libraries,
9117 *** $file_magic_cmd, produces output that libtool cannot recognize.
9118 *** The result is that libtool may fail to recognize shared libraries
9119 *** as such. This will affect the creation of libtool libraries that
9120 *** depend on shared libraries, but programs linked with such libtool
9121 *** libraries will work regardless of this problem. Nevertheless, you
9122 *** may want to report the problem to your system manager and/or to
9123 *** bug-libtool@gnu.org
9125 _LT_EOF
9126 fi ;;
9127 esac
9129 break
9131 done
9132 IFS="$lt_save_ifs"
9133 MAGIC_CMD="$lt_save_MAGIC_CMD"
9135 esac
9138 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9139 if test -n "$MAGIC_CMD"; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9141 $as_echo "$MAGIC_CMD" >&6; }
9142 else
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9144 $as_echo "no" >&6; }
9151 if test -z "$lt_cv_path_MAGIC_CMD"; then
9152 if test -n "$ac_tool_prefix"; then
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9154 $as_echo_n "checking for file... " >&6; }
9155 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9156 $as_echo_n "(cached) " >&6
9157 else
9158 case $MAGIC_CMD in
9159 [\\/*] | ?:[\\/]*)
9160 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9163 lt_save_MAGIC_CMD="$MAGIC_CMD"
9164 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9165 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9166 for ac_dir in $ac_dummy; do
9167 IFS="$lt_save_ifs"
9168 test -z "$ac_dir" && ac_dir=.
9169 if test -f $ac_dir/file; then
9170 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9171 if test -n "$file_magic_test_file"; then
9172 case $deplibs_check_method in
9173 "file_magic "*)
9174 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9175 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9176 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9177 $EGREP "$file_magic_regex" > /dev/null; then
9179 else
9180 cat <<_LT_EOF 1>&2
9182 *** Warning: the command libtool uses to detect shared libraries,
9183 *** $file_magic_cmd, produces output that libtool cannot recognize.
9184 *** The result is that libtool may fail to recognize shared libraries
9185 *** as such. This will affect the creation of libtool libraries that
9186 *** depend on shared libraries, but programs linked with such libtool
9187 *** libraries will work regardless of this problem. Nevertheless, you
9188 *** may want to report the problem to your system manager and/or to
9189 *** bug-libtool@gnu.org
9191 _LT_EOF
9192 fi ;;
9193 esac
9195 break
9197 done
9198 IFS="$lt_save_ifs"
9199 MAGIC_CMD="$lt_save_MAGIC_CMD"
9201 esac
9204 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9205 if test -n "$MAGIC_CMD"; then
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9207 $as_echo "$MAGIC_CMD" >&6; }
9208 else
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9210 $as_echo "no" >&6; }
9214 else
9215 MAGIC_CMD=:
9221 esac
9223 # Use C for the default configuration in the libtool script
9225 lt_save_CC="$CC"
9226 ac_ext=c
9227 ac_cpp='$CPP $CPPFLAGS'
9228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9233 # Source file extension for C test sources.
9234 ac_ext=c
9236 # Object file extension for compiled C test sources.
9237 objext=o
9238 objext=$objext
9240 # Code to be used in simple compile tests
9241 lt_simple_compile_test_code="int some_variable = 0;"
9243 # Code to be used in simple link tests
9244 lt_simple_link_test_code='int main(){return(0);}'
9252 # If no C compiler was specified, use CC.
9253 LTCC=${LTCC-"$CC"}
9255 # If no C compiler flags were specified, use CFLAGS.
9256 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9258 # Allow CC to be a program name with arguments.
9259 compiler=$CC
9261 # Save the default compiler, since it gets overwritten when the other
9262 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9263 compiler_DEFAULT=$CC
9265 # save warnings/boilerplate of simple test code
9266 ac_outfile=conftest.$ac_objext
9267 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9268 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9269 _lt_compiler_boilerplate=`cat conftest.err`
9270 $RM conftest*
9272 ac_outfile=conftest.$ac_objext
9273 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9274 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9275 _lt_linker_boilerplate=`cat conftest.err`
9276 $RM -r conftest*
9279 ## CAVEAT EMPTOR:
9280 ## There is no encapsulation within the following macros, do not change
9281 ## the running order or otherwise move them around unless you know exactly
9282 ## what you are doing...
9283 if test -n "$compiler"; then
9285 lt_prog_compiler_no_builtin_flag=
9287 if test "$GCC" = yes; then
9288 case $cc_basename in
9289 nvcc*)
9290 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9292 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9293 esac
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9296 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9297 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9298 $as_echo_n "(cached) " >&6
9299 else
9300 lt_cv_prog_compiler_rtti_exceptions=no
9301 ac_outfile=conftest.$ac_objext
9302 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9303 lt_compiler_flag="-fno-rtti -fno-exceptions"
9304 # Insert the option either (1) after the last *FLAGS variable, or
9305 # (2) before a word containing "conftest.", or (3) at the end.
9306 # Note that $ac_compile itself does not contain backslashes and begins
9307 # with a dollar sign (not a hyphen), so the echo should work correctly.
9308 # The option is referenced via a variable to avoid confusing sed.
9309 lt_compile=`echo "$ac_compile" | $SED \
9310 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9311 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9312 -e 's:$: $lt_compiler_flag:'`
9313 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9314 (eval "$lt_compile" 2>conftest.err)
9315 ac_status=$?
9316 cat conftest.err >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 if (exit $ac_status) && test -s "$ac_outfile"; then
9319 # The compiler can only warn and ignore the option if not recognized
9320 # So say no if there are warnings other than the usual output.
9321 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9322 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9323 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9324 lt_cv_prog_compiler_rtti_exceptions=yes
9327 $RM conftest*
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9331 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9333 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9334 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9335 else
9346 lt_prog_compiler_wl=
9347 lt_prog_compiler_pic=
9348 lt_prog_compiler_static=
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9351 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9353 if test "$GCC" = yes; then
9354 lt_prog_compiler_wl='-Wl,'
9355 lt_prog_compiler_static='-static'
9357 case $host_os in
9358 aix*)
9359 # All AIX code is PIC.
9360 if test "$host_cpu" = ia64; then
9361 # AIX 5 now supports IA64 processor
9362 lt_prog_compiler_static='-Bstatic'
9364 lt_prog_compiler_pic='-fPIC'
9367 amigaos*)
9368 case $host_cpu in
9369 powerpc)
9370 # see comment about AmigaOS4 .so support
9371 lt_prog_compiler_pic='-fPIC'
9373 m68k)
9374 # FIXME: we need at least 68020 code to build shared libraries, but
9375 # adding the `-m68020' flag to GCC prevents building anything better,
9376 # like `-m68040'.
9377 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9379 esac
9382 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9383 # PIC is the default for these OSes.
9386 mingw* | cygwin* | pw32* | os2* | cegcc*)
9387 # This hack is so that the source file can tell whether it is being
9388 # built for inclusion in a dll (and should export symbols for example).
9389 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9390 # (--disable-auto-import) libraries
9391 lt_prog_compiler_pic='-DDLL_EXPORT'
9394 darwin* | rhapsody*)
9395 # PIC is the default on this platform
9396 # Common symbols not allowed in MH_DYLIB files
9397 lt_prog_compiler_pic='-fno-common'
9400 haiku*)
9401 # PIC is the default for Haiku.
9402 # The "-static" flag exists, but is broken.
9403 lt_prog_compiler_static=
9406 hpux*)
9407 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9408 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9409 # sets the default TLS model and affects inlining.
9410 case $host_cpu in
9411 hppa*64*)
9412 # +Z the default
9415 lt_prog_compiler_pic='-fPIC'
9417 esac
9420 interix[3-9]*)
9421 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9422 # Instead, we relocate shared libraries at runtime.
9425 msdosdjgpp*)
9426 # Just because we use GCC doesn't mean we suddenly get shared libraries
9427 # on systems that don't support them.
9428 lt_prog_compiler_can_build_shared=no
9429 enable_shared=no
9432 *nto* | *qnx*)
9433 # QNX uses GNU C++, but need to define -shared option too, otherwise
9434 # it will coredump.
9435 lt_prog_compiler_pic='-fPIC -shared'
9438 sysv4*MP*)
9439 if test -d /usr/nec; then
9440 lt_prog_compiler_pic=-Kconform_pic
9445 lt_prog_compiler_pic='-fPIC'
9447 esac
9449 case $cc_basename in
9450 nvcc*) # Cuda Compiler Driver 2.2
9451 lt_prog_compiler_wl='-Xlinker '
9452 lt_prog_compiler_pic='-Xcompiler -fPIC'
9454 esac
9455 else
9456 # PORTME Check for flag to pass linker flags through the system compiler.
9457 case $host_os in
9458 aix*)
9459 lt_prog_compiler_wl='-Wl,'
9460 if test "$host_cpu" = ia64; then
9461 # AIX 5 now supports IA64 processor
9462 lt_prog_compiler_static='-Bstatic'
9463 else
9464 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9468 mingw* | cygwin* | pw32* | os2* | cegcc*)
9469 # This hack is so that the source file can tell whether it is being
9470 # built for inclusion in a dll (and should export symbols for example).
9471 lt_prog_compiler_pic='-DDLL_EXPORT'
9474 hpux9* | hpux10* | hpux11*)
9475 lt_prog_compiler_wl='-Wl,'
9476 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9477 # not for PA HP-UX.
9478 case $host_cpu in
9479 hppa*64*|ia64*)
9480 # +Z the default
9483 lt_prog_compiler_pic='+Z'
9485 esac
9486 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9487 lt_prog_compiler_static='${wl}-a ${wl}archive'
9490 irix5* | irix6* | nonstopux*)
9491 lt_prog_compiler_wl='-Wl,'
9492 # PIC (with -KPIC) is the default.
9493 lt_prog_compiler_static='-non_shared'
9496 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9497 case $cc_basename in
9498 # old Intel for x86_64 which still supported -KPIC.
9499 ecc*)
9500 lt_prog_compiler_wl='-Wl,'
9501 lt_prog_compiler_pic='-KPIC'
9502 lt_prog_compiler_static='-static'
9504 # icc used to be incompatible with GCC.
9505 # ICC 10 doesn't accept -KPIC any more.
9506 icc* | ifort*)
9507 lt_prog_compiler_wl='-Wl,'
9508 lt_prog_compiler_pic='-fPIC'
9509 lt_prog_compiler_static='-static'
9511 # Lahey Fortran 8.1.
9512 lf95*)
9513 lt_prog_compiler_wl='-Wl,'
9514 lt_prog_compiler_pic='--shared'
9515 lt_prog_compiler_static='--static'
9517 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9518 # Portland Group compilers (*not* the Pentium gcc compiler,
9519 # which looks to be a dead project)
9520 lt_prog_compiler_wl='-Wl,'
9521 lt_prog_compiler_pic='-fpic'
9522 lt_prog_compiler_static='-Bstatic'
9524 ccc*)
9525 lt_prog_compiler_wl='-Wl,'
9526 # All Alpha code is PIC.
9527 lt_prog_compiler_static='-non_shared'
9529 xl* | bgxl* | bgf* | mpixl*)
9530 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9531 lt_prog_compiler_wl='-Wl,'
9532 lt_prog_compiler_pic='-qpic'
9533 lt_prog_compiler_static='-qstaticlink'
9536 case `$CC -V 2>&1 | sed 5q` in
9537 *Sun\ F* | *Sun*Fortran*)
9538 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9539 lt_prog_compiler_pic='-KPIC'
9540 lt_prog_compiler_static='-Bstatic'
9541 lt_prog_compiler_wl=''
9543 *Sun\ C*)
9544 # Sun C 5.9
9545 lt_prog_compiler_pic='-KPIC'
9546 lt_prog_compiler_static='-Bstatic'
9547 lt_prog_compiler_wl='-Wl,'
9549 esac
9551 esac
9554 newsos6)
9555 lt_prog_compiler_pic='-KPIC'
9556 lt_prog_compiler_static='-Bstatic'
9559 *nto* | *qnx*)
9560 # QNX uses GNU C++, but need to define -shared option too, otherwise
9561 # it will coredump.
9562 lt_prog_compiler_pic='-fPIC -shared'
9565 osf3* | osf4* | osf5*)
9566 lt_prog_compiler_wl='-Wl,'
9567 # All OSF/1 code is PIC.
9568 lt_prog_compiler_static='-non_shared'
9571 rdos*)
9572 lt_prog_compiler_static='-non_shared'
9575 solaris*)
9576 lt_prog_compiler_pic='-KPIC'
9577 lt_prog_compiler_static='-Bstatic'
9578 case $cc_basename in
9579 f77* | f90* | f95*)
9580 lt_prog_compiler_wl='-Qoption ld ';;
9582 lt_prog_compiler_wl='-Wl,';;
9583 esac
9586 sunos4*)
9587 lt_prog_compiler_wl='-Qoption ld '
9588 lt_prog_compiler_pic='-PIC'
9589 lt_prog_compiler_static='-Bstatic'
9592 sysv4 | sysv4.2uw2* | sysv4.3*)
9593 lt_prog_compiler_wl='-Wl,'
9594 lt_prog_compiler_pic='-KPIC'
9595 lt_prog_compiler_static='-Bstatic'
9598 sysv4*MP*)
9599 if test -d /usr/nec ;then
9600 lt_prog_compiler_pic='-Kconform_pic'
9601 lt_prog_compiler_static='-Bstatic'
9605 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9606 lt_prog_compiler_wl='-Wl,'
9607 lt_prog_compiler_pic='-KPIC'
9608 lt_prog_compiler_static='-Bstatic'
9611 unicos*)
9612 lt_prog_compiler_wl='-Wl,'
9613 lt_prog_compiler_can_build_shared=no
9616 uts4*)
9617 lt_prog_compiler_pic='-pic'
9618 lt_prog_compiler_static='-Bstatic'
9622 lt_prog_compiler_can_build_shared=no
9624 esac
9627 case $host_os in
9628 # For platforms which do not support PIC, -DPIC is meaningless:
9629 *djgpp*)
9630 lt_prog_compiler_pic=
9633 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9635 esac
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9637 $as_echo "$lt_prog_compiler_pic" >&6; }
9645 # Check to make sure the PIC flag actually works.
9647 if test -n "$lt_prog_compiler_pic"; then
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9649 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9650 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 lt_cv_prog_compiler_pic_works=no
9654 ac_outfile=conftest.$ac_objext
9655 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9656 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9657 # Insert the option either (1) after the last *FLAGS variable, or
9658 # (2) before a word containing "conftest.", or (3) at the end.
9659 # Note that $ac_compile itself does not contain backslashes and begins
9660 # with a dollar sign (not a hyphen), so the echo should work correctly.
9661 # The option is referenced via a variable to avoid confusing sed.
9662 lt_compile=`echo "$ac_compile" | $SED \
9663 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9664 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9665 -e 's:$: $lt_compiler_flag:'`
9666 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9667 (eval "$lt_compile" 2>conftest.err)
9668 ac_status=$?
9669 cat conftest.err >&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 if (exit $ac_status) && test -s "$ac_outfile"; then
9672 # The compiler can only warn and ignore the option if not recognized
9673 # So say no if there are warnings other than the usual output.
9674 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9675 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9676 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9677 lt_cv_prog_compiler_pic_works=yes
9680 $RM conftest*
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9684 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9686 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9687 case $lt_prog_compiler_pic in
9688 "" | " "*) ;;
9689 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9690 esac
9691 else
9692 lt_prog_compiler_pic=
9693 lt_prog_compiler_can_build_shared=no
9704 # Check to make sure the static flag actually works.
9706 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9708 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9709 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9710 $as_echo_n "(cached) " >&6
9711 else
9712 lt_cv_prog_compiler_static_works=no
9713 save_LDFLAGS="$LDFLAGS"
9714 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9715 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9716 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9717 # The linker can only warn and ignore the option if not recognized
9718 # So say no if there are warnings
9719 if test -s conftest.err; then
9720 # Append any errors to the config.log.
9721 cat conftest.err 1>&5
9722 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9723 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9724 if diff conftest.exp conftest.er2 >/dev/null; then
9725 lt_cv_prog_compiler_static_works=yes
9727 else
9728 lt_cv_prog_compiler_static_works=yes
9731 $RM -r conftest*
9732 LDFLAGS="$save_LDFLAGS"
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9736 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9738 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9740 else
9741 lt_prog_compiler_static=
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9751 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9752 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9753 $as_echo_n "(cached) " >&6
9754 else
9755 lt_cv_prog_compiler_c_o=no
9756 $RM -r conftest 2>/dev/null
9757 mkdir conftest
9758 cd conftest
9759 mkdir out
9760 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9762 lt_compiler_flag="-o out/conftest2.$ac_objext"
9763 # Insert the option either (1) after the last *FLAGS variable, or
9764 # (2) before a word containing "conftest.", or (3) at the end.
9765 # Note that $ac_compile itself does not contain backslashes and begins
9766 # with a dollar sign (not a hyphen), so the echo should work correctly.
9767 lt_compile=`echo "$ac_compile" | $SED \
9768 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9769 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9770 -e 's:$: $lt_compiler_flag:'`
9771 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9772 (eval "$lt_compile" 2>out/conftest.err)
9773 ac_status=$?
9774 cat out/conftest.err >&5
9775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9777 then
9778 # The compiler can only warn and ignore the option if not recognized
9779 # So say no if there are warnings
9780 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9781 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9782 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9783 lt_cv_prog_compiler_c_o=yes
9786 chmod u+w . 2>&5
9787 $RM conftest*
9788 # SGI C++ compiler will create directory out/ii_files/ for
9789 # template instantiation
9790 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9791 $RM out/* && rmdir out
9792 cd ..
9793 $RM -r conftest
9794 $RM conftest*
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9798 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9806 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9807 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 lt_cv_prog_compiler_c_o=no
9811 $RM -r conftest 2>/dev/null
9812 mkdir conftest
9813 cd conftest
9814 mkdir out
9815 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9817 lt_compiler_flag="-o out/conftest2.$ac_objext"
9818 # Insert the option either (1) after the last *FLAGS variable, or
9819 # (2) before a word containing "conftest.", or (3) at the end.
9820 # Note that $ac_compile itself does not contain backslashes and begins
9821 # with a dollar sign (not a hyphen), so the echo should work correctly.
9822 lt_compile=`echo "$ac_compile" | $SED \
9823 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9824 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9825 -e 's:$: $lt_compiler_flag:'`
9826 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9827 (eval "$lt_compile" 2>out/conftest.err)
9828 ac_status=$?
9829 cat out/conftest.err >&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9832 then
9833 # The compiler can only warn and ignore the option if not recognized
9834 # So say no if there are warnings
9835 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9836 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9837 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9838 lt_cv_prog_compiler_c_o=yes
9841 chmod u+w . 2>&5
9842 $RM conftest*
9843 # SGI C++ compiler will create directory out/ii_files/ for
9844 # template instantiation
9845 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9846 $RM out/* && rmdir out
9847 cd ..
9848 $RM -r conftest
9849 $RM conftest*
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9853 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9858 hard_links="nottested"
9859 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9860 # do not overwrite the value of need_locks provided by the user
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9862 $as_echo_n "checking if we can lock with hard links... " >&6; }
9863 hard_links=yes
9864 $RM conftest*
9865 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9866 touch conftest.a
9867 ln conftest.a conftest.b 2>&5 || hard_links=no
9868 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9870 $as_echo "$hard_links" >&6; }
9871 if test "$hard_links" = no; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9873 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9874 need_locks=warn
9876 else
9877 need_locks=no
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9886 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9888 runpath_var=
9889 allow_undefined_flag=
9890 always_export_symbols=no
9891 archive_cmds=
9892 archive_expsym_cmds=
9893 compiler_needs_object=no
9894 enable_shared_with_static_runtimes=no
9895 export_dynamic_flag_spec=
9896 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9897 hardcode_automatic=no
9898 hardcode_direct=no
9899 hardcode_direct_absolute=no
9900 hardcode_libdir_flag_spec=
9901 hardcode_libdir_flag_spec_ld=
9902 hardcode_libdir_separator=
9903 hardcode_minus_L=no
9904 hardcode_shlibpath_var=unsupported
9905 inherit_rpath=no
9906 link_all_deplibs=unknown
9907 module_cmds=
9908 module_expsym_cmds=
9909 old_archive_from_new_cmds=
9910 old_archive_from_expsyms_cmds=
9911 thread_safe_flag_spec=
9912 whole_archive_flag_spec=
9913 # include_expsyms should be a list of space-separated symbols to be *always*
9914 # included in the symbol list
9915 include_expsyms=
9916 # exclude_expsyms can be an extended regexp of symbols to exclude
9917 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9918 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9919 # as well as any symbol that contains `d'.
9920 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9921 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9922 # platforms (ab)use it in PIC code, but their linkers get confused if
9923 # the symbol is explicitly referenced. Since portable code cannot
9924 # rely on this symbol name, it's probably fine to never include it in
9925 # preloaded symbol tables.
9926 # Exclude shared library initialization/finalization symbols.
9927 extract_expsyms_cmds=
9929 case $host_os in
9930 cygwin* | mingw* | pw32* | cegcc*)
9931 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9932 # When not using gcc, we currently assume that we are using
9933 # Microsoft Visual C++.
9934 if test "$GCC" != yes; then
9935 with_gnu_ld=no
9938 interix*)
9939 # we just hope/assume this is gcc and not c89 (= MSVC++)
9940 with_gnu_ld=yes
9942 openbsd*)
9943 with_gnu_ld=no
9945 esac
9947 ld_shlibs=yes
9949 # On some targets, GNU ld is compatible enough with the native linker
9950 # that we're better off using the native interface for both.
9951 lt_use_gnu_ld_interface=no
9952 if test "$with_gnu_ld" = yes; then
9953 case $host_os in
9954 aix*)
9955 # The AIX port of GNU ld has always aspired to compatibility
9956 # with the native linker. However, as the warning in the GNU ld
9957 # block says, versions before 2.19.5* couldn't really create working
9958 # shared libraries, regardless of the interface used.
9959 case `$LD -v 2>&1` in
9960 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9961 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9962 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9964 lt_use_gnu_ld_interface=yes
9966 esac
9969 lt_use_gnu_ld_interface=yes
9971 esac
9974 if test "$lt_use_gnu_ld_interface" = yes; then
9975 # If archive_cmds runs LD, not CC, wlarc should be empty
9976 wlarc='${wl}'
9978 # Set some defaults for GNU ld with shared library support. These
9979 # are reset later if shared libraries are not supported. Putting them
9980 # here allows them to be overridden if necessary.
9981 runpath_var=LD_RUN_PATH
9982 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9983 export_dynamic_flag_spec='${wl}--export-dynamic'
9984 # ancient GNU ld didn't support --whole-archive et. al.
9985 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9986 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9987 else
9988 whole_archive_flag_spec=
9990 supports_anon_versioning=no
9991 case `$LD -v 2>&1` in
9992 *GNU\ gold*) supports_anon_versioning=yes ;;
9993 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9994 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9995 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9996 *\ 2.11.*) ;; # other 2.11 versions
9997 *) supports_anon_versioning=yes ;;
9998 esac
10000 # See if GNU ld supports shared libraries.
10001 case $host_os in
10002 aix[3-9]*)
10003 # On AIX/PPC, the GNU linker is very broken
10004 if test "$host_cpu" != ia64; then
10005 ld_shlibs=no
10006 cat <<_LT_EOF 1>&2
10008 *** Warning: the GNU linker, at least up to release 2.19, is reported
10009 *** to be unable to reliably create shared libraries on AIX.
10010 *** Therefore, libtool is disabling shared libraries support. If you
10011 *** really care for shared libraries, you may want to install binutils
10012 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10013 *** You will then need to restart the configuration process.
10015 _LT_EOF
10019 amigaos*)
10020 case $host_cpu in
10021 powerpc)
10022 # see comment about AmigaOS4 .so support
10023 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10024 archive_expsym_cmds=''
10026 m68k)
10027 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)'
10028 hardcode_libdir_flag_spec='-L$libdir'
10029 hardcode_minus_L=yes
10031 esac
10034 beos*)
10035 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10036 allow_undefined_flag=unsupported
10037 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10038 # support --undefined. This deserves some investigation. FIXME
10039 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10040 else
10041 ld_shlibs=no
10045 cygwin* | mingw* | pw32* | cegcc*)
10046 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10047 # as there is no search path for DLLs.
10048 hardcode_libdir_flag_spec='-L$libdir'
10049 export_dynamic_flag_spec='${wl}--export-all-symbols'
10050 allow_undefined_flag=unsupported
10051 always_export_symbols=no
10052 enable_shared_with_static_runtimes=yes
10053 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10055 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10056 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10057 # If the export-symbols file already is a .def file (1st line
10058 # is EXPORTS), use it as is; otherwise, prepend...
10059 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10060 cp $export_symbols $output_objdir/$soname.def;
10061 else
10062 echo EXPORTS > $output_objdir/$soname.def;
10063 cat $export_symbols >> $output_objdir/$soname.def;
10065 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10066 else
10067 ld_shlibs=no
10071 haiku*)
10072 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10073 link_all_deplibs=yes
10076 interix[3-9]*)
10077 hardcode_direct=no
10078 hardcode_shlibpath_var=no
10079 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10080 export_dynamic_flag_spec='${wl}-E'
10081 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10082 # Instead, shared libraries are loaded at an image base (0x10000000 by
10083 # default) and relocated if they conflict, which is a slow very memory
10084 # consuming and fragmenting process. To avoid this, we pick a random,
10085 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10086 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10087 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10088 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'
10091 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10092 tmp_diet=no
10093 if test "$host_os" = linux-dietlibc; then
10094 case $cc_basename in
10095 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10096 esac
10098 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10099 && test "$tmp_diet" = no
10100 then
10101 tmp_addflag=
10102 tmp_sharedflag='-shared'
10103 case $cc_basename,$host_cpu in
10104 pgcc*) # Portland Group C compiler
10105 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'
10106 tmp_addflag=' $pic_flag'
10108 pgf77* | pgf90* | pgf95* | pgfortran*)
10109 # Portland Group f77 and f90 compilers
10110 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'
10111 tmp_addflag=' $pic_flag -Mnomain' ;;
10112 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10113 tmp_addflag=' -i_dynamic' ;;
10114 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10115 tmp_addflag=' -i_dynamic -nofor_main' ;;
10116 ifc* | ifort*) # Intel Fortran compiler
10117 tmp_addflag=' -nofor_main' ;;
10118 lf95*) # Lahey Fortran 8.1
10119 whole_archive_flag_spec=
10120 tmp_sharedflag='--shared' ;;
10121 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10122 tmp_sharedflag='-qmkshrobj'
10123 tmp_addflag= ;;
10124 nvcc*) # Cuda Compiler Driver 2.2
10125 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'
10126 compiler_needs_object=yes
10128 esac
10129 case `$CC -V 2>&1 | sed 5q` in
10130 *Sun\ C*) # Sun C 5.9
10131 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'
10132 compiler_needs_object=yes
10133 tmp_sharedflag='-G' ;;
10134 *Sun\ F*) # Sun Fortran 8.3
10135 tmp_sharedflag='-G' ;;
10136 esac
10137 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10139 if test "x$supports_anon_versioning" = xyes; then
10140 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10141 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10142 echo "local: *; };" >> $output_objdir/$libname.ver~
10143 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10146 case $cc_basename in
10147 xlf* | bgf* | bgxlf* | mpixlf*)
10148 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10149 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10150 hardcode_libdir_flag_spec=
10151 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10152 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10153 if test "x$supports_anon_versioning" = xyes; then
10154 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10155 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10156 echo "local: *; };" >> $output_objdir/$libname.ver~
10157 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10160 esac
10161 else
10162 ld_shlibs=no
10166 netbsd*)
10167 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10168 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10169 wlarc=
10170 else
10171 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10172 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10176 solaris*)
10177 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10178 ld_shlibs=no
10179 cat <<_LT_EOF 1>&2
10181 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10182 *** create shared libraries on Solaris systems. Therefore, libtool
10183 *** is disabling shared libraries support. We urge you to upgrade GNU
10184 *** binutils to release 2.9.1 or newer. Another option is to modify
10185 *** your PATH or compiler configuration so that the native linker is
10186 *** used, and then restart.
10188 _LT_EOF
10189 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10190 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10191 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10192 else
10193 ld_shlibs=no
10197 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10198 case `$LD -v 2>&1` in
10199 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10200 ld_shlibs=no
10201 cat <<_LT_EOF 1>&2
10203 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10204 *** reliably create shared libraries on SCO systems. Therefore, libtool
10205 *** is disabling shared libraries support. We urge you to upgrade GNU
10206 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10207 *** your PATH or compiler configuration so that the native linker is
10208 *** used, and then restart.
10210 _LT_EOF
10213 # For security reasons, it is highly recommended that you always
10214 # use absolute paths for naming shared libraries, and exclude the
10215 # DT_RUNPATH tag from executables and libraries. But doing so
10216 # requires that you compile everything twice, which is a pain.
10217 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10218 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10220 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10221 else
10222 ld_shlibs=no
10225 esac
10228 sunos4*)
10229 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10230 wlarc=
10231 hardcode_direct=yes
10232 hardcode_shlibpath_var=no
10236 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10237 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10238 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10239 else
10240 ld_shlibs=no
10243 esac
10245 if test "$ld_shlibs" = no; then
10246 runpath_var=
10247 hardcode_libdir_flag_spec=
10248 export_dynamic_flag_spec=
10249 whole_archive_flag_spec=
10251 else
10252 # PORTME fill in a description of your system's linker (not GNU ld)
10253 case $host_os in
10254 aix3*)
10255 allow_undefined_flag=unsupported
10256 always_export_symbols=yes
10257 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'
10258 # Note: this linker hardcodes the directories in LIBPATH if there
10259 # are no directories specified by -L.
10260 hardcode_minus_L=yes
10261 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10262 # Neither direct hardcoding nor static linking is supported with a
10263 # broken collect2.
10264 hardcode_direct=unsupported
10268 aix[4-9]*)
10269 if test "$host_cpu" = ia64; then
10270 # On IA64, the linker does run time linking by default, so we don't
10271 # have to do anything special.
10272 aix_use_runtimelinking=no
10273 exp_sym_flag='-Bexport'
10274 no_entry_flag=""
10275 else
10276 # If we're using GNU nm, then we don't want the "-C" option.
10277 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10278 # Also, AIX nm treats weak defined symbols like other global
10279 # defined symbols, whereas GNU nm marks them as "W".
10280 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10281 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'
10282 else
10283 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'
10285 aix_use_runtimelinking=no
10287 # Test if we are trying to use run time linking or normal
10288 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10289 # need to do runtime linking.
10290 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10291 for ld_flag in $LDFLAGS; do
10292 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10293 aix_use_runtimelinking=yes
10294 break
10296 done
10298 esac
10300 exp_sym_flag='-bexport'
10301 no_entry_flag='-bnoentry'
10304 # When large executables or shared objects are built, AIX ld can
10305 # have problems creating the table of contents. If linking a library
10306 # or program results in "error TOC overflow" add -mminimal-toc to
10307 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10308 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10310 archive_cmds=''
10311 hardcode_direct=yes
10312 hardcode_direct_absolute=yes
10313 hardcode_libdir_separator=':'
10314 link_all_deplibs=yes
10315 file_list_spec='${wl}-f,'
10317 if test "$GCC" = yes; then
10318 case $host_os in aix4.[012]|aix4.[012].*)
10319 # We only want to do this on AIX 4.2 and lower, the check
10320 # below for broken collect2 doesn't work under 4.3+
10321 collect2name=`${CC} -print-prog-name=collect2`
10322 if test -f "$collect2name" &&
10323 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10324 then
10325 # We have reworked collect2
10327 else
10328 # We have old collect2
10329 hardcode_direct=unsupported
10330 # It fails to find uninstalled libraries when the uninstalled
10331 # path is not listed in the libpath. Setting hardcode_minus_L
10332 # to unsupported forces relinking
10333 hardcode_minus_L=yes
10334 hardcode_libdir_flag_spec='-L$libdir'
10335 hardcode_libdir_separator=
10338 esac
10339 shared_flag='-shared'
10340 if test "$aix_use_runtimelinking" = yes; then
10341 shared_flag="$shared_flag "'${wl}-G'
10343 else
10344 # not using gcc
10345 if test "$host_cpu" = ia64; then
10346 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10347 # chokes on -Wl,-G. The following line is correct:
10348 shared_flag='-G'
10349 else
10350 if test "$aix_use_runtimelinking" = yes; then
10351 shared_flag='${wl}-G'
10352 else
10353 shared_flag='${wl}-bM:SRE'
10358 export_dynamic_flag_spec='${wl}-bexpall'
10359 # It seems that -bexpall does not export symbols beginning with
10360 # underscore (_), so it is better to generate a list of symbols to export.
10361 always_export_symbols=yes
10362 if test "$aix_use_runtimelinking" = yes; then
10363 # Warning - without using the other runtime loading flags (-brtl),
10364 # -berok will link without error, but may produce a broken library.
10365 allow_undefined_flag='-berok'
10366 # Determine the default libpath from the value encoded in an
10367 # empty executable.
10368 if test x$gcc_no_link = xyes; then
10369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10375 main ()
10379 return 0;
10381 _ACEOF
10382 if ac_fn_c_try_link "$LINENO"; then :
10384 lt_aix_libpath_sed='
10385 /Import File Strings/,/^$/ {
10386 /^0/ {
10387 s/^0 *\(.*\)$/\1/
10391 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10392 # Check for a 64-bit object if we didn't find anything.
10393 if test -z "$aix_libpath"; then
10394 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10397 rm -f core conftest.err conftest.$ac_objext \
10398 conftest$ac_exeext conftest.$ac_ext
10399 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10401 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10402 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"
10403 else
10404 if test "$host_cpu" = ia64; then
10405 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10406 allow_undefined_flag="-z nodefs"
10407 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"
10408 else
10409 # Determine the default libpath from the value encoded in an
10410 # empty executable.
10411 if test x$gcc_no_link = xyes; then
10412 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10418 main ()
10422 return 0;
10424 _ACEOF
10425 if ac_fn_c_try_link "$LINENO"; then :
10427 lt_aix_libpath_sed='
10428 /Import File Strings/,/^$/ {
10429 /^0/ {
10430 s/^0 *\(.*\)$/\1/
10434 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10435 # Check for a 64-bit object if we didn't find anything.
10436 if test -z "$aix_libpath"; then
10437 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10444 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10445 # Warning - without using the other run time loading flags,
10446 # -berok will link without error, but may produce a broken library.
10447 no_undefined_flag=' ${wl}-bernotok'
10448 allow_undefined_flag=' ${wl}-berok'
10449 if test "$with_gnu_ld" = yes; then
10450 # We only use this code for GNU lds that support --whole-archive.
10451 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10452 else
10453 # Exported symbols can be pulled into shared objects from archives
10454 whole_archive_flag_spec='$convenience'
10456 archive_cmds_need_lc=yes
10457 # This is similar to how AIX traditionally builds its shared libraries.
10458 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'
10463 amigaos*)
10464 case $host_cpu in
10465 powerpc)
10466 # see comment about AmigaOS4 .so support
10467 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10468 archive_expsym_cmds=''
10470 m68k)
10471 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)'
10472 hardcode_libdir_flag_spec='-L$libdir'
10473 hardcode_minus_L=yes
10475 esac
10478 bsdi[45]*)
10479 export_dynamic_flag_spec=-rdynamic
10482 cygwin* | mingw* | pw32* | cegcc*)
10483 # When not using gcc, we currently assume that we are using
10484 # Microsoft Visual C++.
10485 # hardcode_libdir_flag_spec is actually meaningless, as there is
10486 # no search path for DLLs.
10487 hardcode_libdir_flag_spec=' '
10488 allow_undefined_flag=unsupported
10489 # Tell ltmain to make .lib files, not .a files.
10490 libext=lib
10491 # Tell ltmain to make .dll files, not .so files.
10492 shrext_cmds=".dll"
10493 # FIXME: Setting linknames here is a bad hack.
10494 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10495 # The linker will automatically build a .lib file if we build a DLL.
10496 old_archive_from_new_cmds='true'
10497 # FIXME: Should let the user specify the lib program.
10498 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10499 fix_srcfile_path='`cygpath -w "$srcfile"`'
10500 enable_shared_with_static_runtimes=yes
10503 darwin* | rhapsody*)
10506 archive_cmds_need_lc=no
10507 hardcode_direct=no
10508 hardcode_automatic=yes
10509 hardcode_shlibpath_var=unsupported
10510 if test "$lt_cv_ld_force_load" = "yes"; then
10511 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\"`'
10512 else
10513 whole_archive_flag_spec=''
10515 link_all_deplibs=yes
10516 allow_undefined_flag="$_lt_dar_allow_undefined"
10517 case $cc_basename in
10518 ifort*) _lt_dar_can_shared=yes ;;
10519 *) _lt_dar_can_shared=$GCC ;;
10520 esac
10521 if test "$_lt_dar_can_shared" = "yes"; then
10522 output_verbose_link_cmd=func_echo_all
10523 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10524 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10525 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}"
10526 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}"
10528 else
10529 ld_shlibs=no
10534 dgux*)
10535 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10536 hardcode_libdir_flag_spec='-L$libdir'
10537 hardcode_shlibpath_var=no
10540 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10541 # support. Future versions do this automatically, but an explicit c++rt0.o
10542 # does not break anything, and helps significantly (at the cost of a little
10543 # extra space).
10544 freebsd2.2*)
10545 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10546 hardcode_libdir_flag_spec='-R$libdir'
10547 hardcode_direct=yes
10548 hardcode_shlibpath_var=no
10551 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10552 freebsd2.*)
10553 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10554 hardcode_direct=yes
10555 hardcode_minus_L=yes
10556 hardcode_shlibpath_var=no
10559 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10560 freebsd* | dragonfly*)
10561 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10562 hardcode_libdir_flag_spec='-R$libdir'
10563 hardcode_direct=yes
10564 hardcode_shlibpath_var=no
10567 hpux9*)
10568 if test "$GCC" = yes; then
10569 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'
10570 else
10571 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'
10573 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10574 hardcode_libdir_separator=:
10575 hardcode_direct=yes
10577 # hardcode_minus_L: Not really in the search PATH,
10578 # but as the default location of the library.
10579 hardcode_minus_L=yes
10580 export_dynamic_flag_spec='${wl}-E'
10583 hpux10*)
10584 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10585 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10586 else
10587 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10589 if test "$with_gnu_ld" = no; then
10590 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10591 hardcode_libdir_flag_spec_ld='+b $libdir'
10592 hardcode_libdir_separator=:
10593 hardcode_direct=yes
10594 hardcode_direct_absolute=yes
10595 export_dynamic_flag_spec='${wl}-E'
10596 # hardcode_minus_L: Not really in the search PATH,
10597 # but as the default location of the library.
10598 hardcode_minus_L=yes
10602 hpux11*)
10603 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10604 case $host_cpu in
10605 hppa*64*)
10606 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10608 ia64*)
10609 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10612 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10614 esac
10615 else
10616 case $host_cpu in
10617 hppa*64*)
10618 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10620 ia64*)
10621 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10625 # Older versions of the 11.00 compiler do not understand -b yet
10626 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10628 $as_echo_n "checking if $CC understands -b... " >&6; }
10629 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10630 $as_echo_n "(cached) " >&6
10631 else
10632 lt_cv_prog_compiler__b=no
10633 save_LDFLAGS="$LDFLAGS"
10634 LDFLAGS="$LDFLAGS -b"
10635 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10636 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10637 # The linker can only warn and ignore the option if not recognized
10638 # So say no if there are warnings
10639 if test -s conftest.err; then
10640 # Append any errors to the config.log.
10641 cat conftest.err 1>&5
10642 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10643 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10644 if diff conftest.exp conftest.er2 >/dev/null; then
10645 lt_cv_prog_compiler__b=yes
10647 else
10648 lt_cv_prog_compiler__b=yes
10651 $RM -r conftest*
10652 LDFLAGS="$save_LDFLAGS"
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10656 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10658 if test x"$lt_cv_prog_compiler__b" = xyes; then
10659 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10660 else
10661 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10665 esac
10667 if test "$with_gnu_ld" = no; then
10668 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10669 hardcode_libdir_separator=:
10671 case $host_cpu in
10672 hppa*64*|ia64*)
10673 hardcode_direct=no
10674 hardcode_shlibpath_var=no
10677 hardcode_direct=yes
10678 hardcode_direct_absolute=yes
10679 export_dynamic_flag_spec='${wl}-E'
10681 # hardcode_minus_L: Not really in the search PATH,
10682 # but as the default location of the library.
10683 hardcode_minus_L=yes
10685 esac
10689 irix5* | irix6* | nonstopux*)
10690 if test "$GCC" = yes; then
10691 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'
10692 # Try to use the -exported_symbol ld option, if it does not
10693 # work, assume that -exports_file does not work either and
10694 # implicitly export all symbols.
10695 save_LDFLAGS="$LDFLAGS"
10696 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10697 if test x$gcc_no_link = xyes; then
10698 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10702 int foo(void) {}
10703 _ACEOF
10704 if ac_fn_c_try_link "$LINENO"; then :
10705 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'
10708 rm -f core conftest.err conftest.$ac_objext \
10709 conftest$ac_exeext conftest.$ac_ext
10710 LDFLAGS="$save_LDFLAGS"
10711 else
10712 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'
10713 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'
10715 archive_cmds_need_lc='no'
10716 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10717 hardcode_libdir_separator=:
10718 inherit_rpath=yes
10719 link_all_deplibs=yes
10722 netbsd*)
10723 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10724 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10725 else
10726 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10728 hardcode_libdir_flag_spec='-R$libdir'
10729 hardcode_direct=yes
10730 hardcode_shlibpath_var=no
10733 newsos6)
10734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10735 hardcode_direct=yes
10736 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10737 hardcode_libdir_separator=:
10738 hardcode_shlibpath_var=no
10741 *nto* | *qnx*)
10744 openbsd*)
10745 if test -f /usr/libexec/ld.so; then
10746 hardcode_direct=yes
10747 hardcode_shlibpath_var=no
10748 hardcode_direct_absolute=yes
10749 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10750 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10751 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10752 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10753 export_dynamic_flag_spec='${wl}-E'
10754 else
10755 case $host_os in
10756 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10757 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10758 hardcode_libdir_flag_spec='-R$libdir'
10761 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10762 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10764 esac
10766 else
10767 ld_shlibs=no
10771 os2*)
10772 hardcode_libdir_flag_spec='-L$libdir'
10773 hardcode_minus_L=yes
10774 allow_undefined_flag=unsupported
10775 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'
10776 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10779 osf3*)
10780 if test "$GCC" = yes; then
10781 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10782 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'
10783 else
10784 allow_undefined_flag=' -expect_unresolved \*'
10785 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'
10787 archive_cmds_need_lc='no'
10788 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10789 hardcode_libdir_separator=:
10792 osf4* | osf5*) # as osf3* with the addition of -msym flag
10793 if test "$GCC" = yes; then
10794 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10795 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'
10796 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10797 else
10798 allow_undefined_flag=' -expect_unresolved \*'
10799 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'
10800 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~
10801 $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'
10803 # Both c and cxx compiler support -rpath directly
10804 hardcode_libdir_flag_spec='-rpath $libdir'
10806 archive_cmds_need_lc='no'
10807 hardcode_libdir_separator=:
10810 solaris*)
10811 no_undefined_flag=' -z defs'
10812 if test "$GCC" = yes; then
10813 wlarc='${wl}'
10814 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10815 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10816 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10817 else
10818 case `$CC -V 2>&1` in
10819 *"Compilers 5.0"*)
10820 wlarc=''
10821 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10822 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10823 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10826 wlarc='${wl}'
10827 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10828 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10829 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10831 esac
10833 hardcode_libdir_flag_spec='-R$libdir'
10834 hardcode_shlibpath_var=no
10835 case $host_os in
10836 solaris2.[0-5] | solaris2.[0-5].*) ;;
10838 # The compiler driver will combine and reorder linker options,
10839 # but understands `-z linker_flag'. GCC discards it without `$wl',
10840 # but is careful enough not to reorder.
10841 # Supported since Solaris 2.6 (maybe 2.5.1?)
10842 if test "$GCC" = yes; then
10843 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10844 else
10845 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10848 esac
10849 link_all_deplibs=yes
10852 sunos4*)
10853 if test "x$host_vendor" = xsequent; then
10854 # Use $CC to link under sequent, because it throws in some extra .o
10855 # files that make .init and .fini sections work.
10856 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10857 else
10858 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10860 hardcode_libdir_flag_spec='-L$libdir'
10861 hardcode_direct=yes
10862 hardcode_minus_L=yes
10863 hardcode_shlibpath_var=no
10866 sysv4)
10867 case $host_vendor in
10868 sni)
10869 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10870 hardcode_direct=yes # is this really true???
10872 siemens)
10873 ## LD is ld it makes a PLAMLIB
10874 ## CC just makes a GrossModule.
10875 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10876 reload_cmds='$CC -r -o $output$reload_objs'
10877 hardcode_direct=no
10879 motorola)
10880 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10881 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10883 esac
10884 runpath_var='LD_RUN_PATH'
10885 hardcode_shlibpath_var=no
10888 sysv4.3*)
10889 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10890 hardcode_shlibpath_var=no
10891 export_dynamic_flag_spec='-Bexport'
10894 sysv4*MP*)
10895 if test -d /usr/nec; then
10896 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10897 hardcode_shlibpath_var=no
10898 runpath_var=LD_RUN_PATH
10899 hardcode_runpath_var=yes
10900 ld_shlibs=yes
10904 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10905 no_undefined_flag='${wl}-z,text'
10906 archive_cmds_need_lc=no
10907 hardcode_shlibpath_var=no
10908 runpath_var='LD_RUN_PATH'
10910 if test "$GCC" = yes; then
10911 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10912 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10913 else
10914 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10915 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10919 sysv5* | sco3.2v5* | sco5v6*)
10920 # Note: We can NOT use -z defs as we might desire, because we do not
10921 # link with -lc, and that would cause any symbols used from libc to
10922 # always be unresolved, which means just about no library would
10923 # ever link correctly. If we're not using GNU ld we use -z text
10924 # though, which does catch some bad symbols but isn't as heavy-handed
10925 # as -z defs.
10926 no_undefined_flag='${wl}-z,text'
10927 allow_undefined_flag='${wl}-z,nodefs'
10928 archive_cmds_need_lc=no
10929 hardcode_shlibpath_var=no
10930 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10931 hardcode_libdir_separator=':'
10932 link_all_deplibs=yes
10933 export_dynamic_flag_spec='${wl}-Bexport'
10934 runpath_var='LD_RUN_PATH'
10936 if test "$GCC" = yes; then
10937 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10938 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10939 else
10940 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10941 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10945 uts4*)
10946 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10947 hardcode_libdir_flag_spec='-L$libdir'
10948 hardcode_shlibpath_var=no
10952 ld_shlibs=no
10954 esac
10956 if test x$host_vendor = xsni; then
10957 case $host in
10958 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10959 export_dynamic_flag_spec='${wl}-Blargedynsym'
10961 esac
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10966 $as_echo "$ld_shlibs" >&6; }
10967 test "$ld_shlibs" = no && can_build_shared=no
10969 with_gnu_ld=$with_gnu_ld
10986 # Do we need to explicitly link libc?
10988 case "x$archive_cmds_need_lc" in
10989 x|xyes)
10990 # Assume -lc should be added
10991 archive_cmds_need_lc=yes
10993 if test "$enable_shared" = yes && test "$GCC" = yes; then
10994 case $archive_cmds in
10995 *'~'*)
10996 # FIXME: we may have to deal with multi-command sequences.
10998 '$CC '*)
10999 # Test whether the compiler implicitly links with -lc since on some
11000 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11001 # to ld, don't add -lc before -lgcc.
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11003 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11004 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11005 $as_echo_n "(cached) " >&6
11006 else
11007 $RM conftest*
11008 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11010 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11011 (eval $ac_compile) 2>&5
11012 ac_status=$?
11013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11014 test $ac_status = 0; } 2>conftest.err; then
11015 soname=conftest
11016 lib=conftest
11017 libobjs=conftest.$ac_objext
11018 deplibs=
11019 wl=$lt_prog_compiler_wl
11020 pic_flag=$lt_prog_compiler_pic
11021 compiler_flags=-v
11022 linker_flags=-v
11023 verstring=
11024 output_objdir=.
11025 libname=conftest
11026 lt_save_allow_undefined_flag=$allow_undefined_flag
11027 allow_undefined_flag=
11028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11029 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11030 ac_status=$?
11031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11032 test $ac_status = 0; }
11033 then
11034 lt_cv_archive_cmds_need_lc=no
11035 else
11036 lt_cv_archive_cmds_need_lc=yes
11038 allow_undefined_flag=$lt_save_allow_undefined_flag
11039 else
11040 cat conftest.err 1>&5
11042 $RM conftest*
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11046 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11047 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11049 esac
11052 esac
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11211 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11213 if test "$GCC" = yes; then
11214 case $host_os in
11215 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11216 *) lt_awk_arg="/^libraries:/" ;;
11217 esac
11218 case $host_os in
11219 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11220 *) lt_sed_strip_eq="s,=/,/,g" ;;
11221 esac
11222 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11223 case $lt_search_path_spec in
11224 *\;*)
11225 # if the path contains ";" then we assume it to be the separator
11226 # otherwise default to the standard path separator (i.e. ":") - it is
11227 # assumed that no part of a normal pathname contains ";" but that should
11228 # okay in the real world where ";" in dirpaths is itself problematic.
11229 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11232 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11234 esac
11235 # Ok, now we have the path, separated by spaces, we can step through it
11236 # and add multilib dir if necessary.
11237 lt_tmp_lt_search_path_spec=
11238 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11239 for lt_sys_path in $lt_search_path_spec; do
11240 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11241 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11242 else
11243 test -d "$lt_sys_path" && \
11244 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11246 done
11247 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11248 BEGIN {RS=" "; FS="/|\n";} {
11249 lt_foo="";
11250 lt_count=0;
11251 for (lt_i = NF; lt_i > 0; lt_i--) {
11252 if ($lt_i != "" && $lt_i != ".") {
11253 if ($lt_i == "..") {
11254 lt_count++;
11255 } else {
11256 if (lt_count == 0) {
11257 lt_foo="/" $lt_i lt_foo;
11258 } else {
11259 lt_count--;
11264 if (lt_foo != "") { lt_freq[lt_foo]++; }
11265 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11267 # AWK program above erroneously prepends '/' to C:/dos/paths
11268 # for these hosts.
11269 case $host_os in
11270 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11271 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11272 esac
11273 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11274 else
11275 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11277 library_names_spec=
11278 libname_spec='lib$name'
11279 soname_spec=
11280 shrext_cmds=".so"
11281 postinstall_cmds=
11282 postuninstall_cmds=
11283 finish_cmds=
11284 finish_eval=
11285 shlibpath_var=
11286 shlibpath_overrides_runpath=unknown
11287 version_type=none
11288 dynamic_linker="$host_os ld.so"
11289 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11290 need_lib_prefix=unknown
11291 hardcode_into_libs=no
11293 # when you set need_version to no, make sure it does not cause -set_version
11294 # flags to be left without arguments
11295 need_version=unknown
11297 case $host_os in
11298 aix3*)
11299 version_type=linux
11300 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11301 shlibpath_var=LIBPATH
11303 # AIX 3 has no versioning support, so we append a major version to the name.
11304 soname_spec='${libname}${release}${shared_ext}$major'
11307 aix[4-9]*)
11308 version_type=linux
11309 need_lib_prefix=no
11310 need_version=no
11311 hardcode_into_libs=yes
11312 if test "$host_cpu" = ia64; then
11313 # AIX 5 supports IA64
11314 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11315 shlibpath_var=LD_LIBRARY_PATH
11316 else
11317 # With GCC up to 2.95.x, collect2 would create an import file
11318 # for dependence libraries. The import file would start with
11319 # the line `#! .'. This would cause the generated library to
11320 # depend on `.', always an invalid library. This was fixed in
11321 # development snapshots of GCC prior to 3.0.
11322 case $host_os in
11323 aix4 | aix4.[01] | aix4.[01].*)
11324 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11325 echo ' yes '
11326 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11328 else
11329 can_build_shared=no
11332 esac
11333 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11334 # soname into executable. Probably we can add versioning support to
11335 # collect2, so additional links can be useful in future.
11336 if test "$aix_use_runtimelinking" = yes; then
11337 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11338 # instead of lib<name>.a to let people know that these are not
11339 # typical AIX shared libraries.
11340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11341 else
11342 # We preserve .a as extension for shared libraries through AIX4.2
11343 # and later when we are not doing run time linking.
11344 library_names_spec='${libname}${release}.a $libname.a'
11345 soname_spec='${libname}${release}${shared_ext}$major'
11347 shlibpath_var=LIBPATH
11351 amigaos*)
11352 case $host_cpu in
11353 powerpc)
11354 # Since July 2007 AmigaOS4 officially supports .so libraries.
11355 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358 m68k)
11359 library_names_spec='$libname.ixlibrary $libname.a'
11360 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11361 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'
11363 esac
11366 beos*)
11367 library_names_spec='${libname}${shared_ext}'
11368 dynamic_linker="$host_os ld.so"
11369 shlibpath_var=LIBRARY_PATH
11372 bsdi[45]*)
11373 version_type=linux
11374 need_version=no
11375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11376 soname_spec='${libname}${release}${shared_ext}$major'
11377 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11378 shlibpath_var=LD_LIBRARY_PATH
11379 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11380 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11381 # the default ld.so.conf also contains /usr/contrib/lib and
11382 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11383 # libtool to hard-code these into programs
11386 cygwin* | mingw* | pw32* | cegcc*)
11387 version_type=windows
11388 shrext_cmds=".dll"
11389 need_version=no
11390 need_lib_prefix=no
11392 case $GCC,$host_os in
11393 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11394 library_names_spec='$libname.dll.a'
11395 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11396 postinstall_cmds='base_file=`basename \${file}`~
11397 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11398 dldir=$destdir/`dirname \$dlpath`~
11399 test -d \$dldir || mkdir -p \$dldir~
11400 $install_prog $dir/$dlname \$dldir/$dlname~
11401 chmod a+x \$dldir/$dlname~
11402 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11403 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11405 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11406 dlpath=$dir/\$dldll~
11407 $RM \$dlpath'
11408 shlibpath_overrides_runpath=yes
11410 case $host_os in
11411 cygwin*)
11412 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11413 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11415 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11417 mingw* | cegcc*)
11418 # MinGW DLLs use traditional 'lib' prefix
11419 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11421 pw32*)
11422 # pw32 DLLs use 'pw' prefix rather than 'lib'
11423 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11425 esac
11429 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11431 esac
11432 dynamic_linker='Win32 ld.exe'
11433 # FIXME: first we should search . and the directory the executable is in
11434 shlibpath_var=PATH
11437 darwin* | rhapsody*)
11438 dynamic_linker="$host_os dyld"
11439 version_type=darwin
11440 need_lib_prefix=no
11441 need_version=no
11442 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11443 soname_spec='${libname}${release}${major}$shared_ext'
11444 shlibpath_overrides_runpath=yes
11445 shlibpath_var=DYLD_LIBRARY_PATH
11446 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11448 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11449 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11452 dgux*)
11453 version_type=linux
11454 need_lib_prefix=no
11455 need_version=no
11456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11457 soname_spec='${libname}${release}${shared_ext}$major'
11458 shlibpath_var=LD_LIBRARY_PATH
11461 freebsd* | dragonfly*)
11462 # DragonFly does not have aout. When/if they implement a new
11463 # versioning mechanism, adjust this.
11464 if test -x /usr/bin/objformat; then
11465 objformat=`/usr/bin/objformat`
11466 else
11467 case $host_os in
11468 freebsd[23].*) objformat=aout ;;
11469 *) objformat=elf ;;
11470 esac
11472 version_type=freebsd-$objformat
11473 case $version_type in
11474 freebsd-elf*)
11475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11476 need_version=no
11477 need_lib_prefix=no
11479 freebsd-*)
11480 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11481 need_version=yes
11483 esac
11484 shlibpath_var=LD_LIBRARY_PATH
11485 case $host_os in
11486 freebsd2.*)
11487 shlibpath_overrides_runpath=yes
11489 freebsd3.[01]* | freebsdelf3.[01]*)
11490 shlibpath_overrides_runpath=yes
11491 hardcode_into_libs=yes
11493 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11494 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11495 shlibpath_overrides_runpath=no
11496 hardcode_into_libs=yes
11498 *) # from 4.6 on, and DragonFly
11499 shlibpath_overrides_runpath=yes
11500 hardcode_into_libs=yes
11502 esac
11505 gnu*)
11506 version_type=linux
11507 need_lib_prefix=no
11508 need_version=no
11509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11510 soname_spec='${libname}${release}${shared_ext}$major'
11511 shlibpath_var=LD_LIBRARY_PATH
11512 hardcode_into_libs=yes
11515 haiku*)
11516 version_type=linux
11517 need_lib_prefix=no
11518 need_version=no
11519 dynamic_linker="$host_os runtime_loader"
11520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11521 soname_spec='${libname}${release}${shared_ext}$major'
11522 shlibpath_var=LIBRARY_PATH
11523 shlibpath_overrides_runpath=yes
11524 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11525 hardcode_into_libs=yes
11528 hpux9* | hpux10* | hpux11*)
11529 # Give a soname corresponding to the major version so that dld.sl refuses to
11530 # link against other versions.
11531 version_type=sunos
11532 need_lib_prefix=no
11533 need_version=no
11534 case $host_cpu in
11535 ia64*)
11536 shrext_cmds='.so'
11537 hardcode_into_libs=yes
11538 dynamic_linker="$host_os dld.so"
11539 shlibpath_var=LD_LIBRARY_PATH
11540 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11542 soname_spec='${libname}${release}${shared_ext}$major'
11543 if test "X$HPUX_IA64_MODE" = X32; then
11544 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11545 else
11546 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11548 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11550 hppa*64*)
11551 shrext_cmds='.sl'
11552 hardcode_into_libs=yes
11553 dynamic_linker="$host_os dld.sl"
11554 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11555 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11557 soname_spec='${libname}${release}${shared_ext}$major'
11558 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11559 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11562 shrext_cmds='.sl'
11563 dynamic_linker="$host_os dld.sl"
11564 shlibpath_var=SHLIB_PATH
11565 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11567 soname_spec='${libname}${release}${shared_ext}$major'
11569 esac
11570 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11571 postinstall_cmds='chmod 555 $lib'
11572 # or fails outright, so override atomically:
11573 install_override_mode=555
11576 interix[3-9]*)
11577 version_type=linux
11578 need_lib_prefix=no
11579 need_version=no
11580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11581 soname_spec='${libname}${release}${shared_ext}$major'
11582 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11583 shlibpath_var=LD_LIBRARY_PATH
11584 shlibpath_overrides_runpath=no
11585 hardcode_into_libs=yes
11588 irix5* | irix6* | nonstopux*)
11589 case $host_os in
11590 nonstopux*) version_type=nonstopux ;;
11592 if test "$lt_cv_prog_gnu_ld" = yes; then
11593 version_type=linux
11594 else
11595 version_type=irix
11596 fi ;;
11597 esac
11598 need_lib_prefix=no
11599 need_version=no
11600 soname_spec='${libname}${release}${shared_ext}$major'
11601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11602 case $host_os in
11603 irix5* | nonstopux*)
11604 libsuff= shlibsuff=
11607 case $LD in # libtool.m4 will add one of these switches to LD
11608 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11609 libsuff= shlibsuff= libmagic=32-bit;;
11610 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11611 libsuff=32 shlibsuff=N32 libmagic=N32;;
11612 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11613 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11614 *) libsuff= shlibsuff= libmagic=never-match;;
11615 esac
11617 esac
11618 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11619 shlibpath_overrides_runpath=no
11620 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11621 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11622 hardcode_into_libs=yes
11625 # No shared lib support for Linux oldld, aout, or coff.
11626 linux*oldld* | linux*aout* | linux*coff*)
11627 dynamic_linker=no
11630 # This must be Linux ELF.
11631 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11632 version_type=linux
11633 need_lib_prefix=no
11634 need_version=no
11635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11636 soname_spec='${libname}${release}${shared_ext}$major'
11637 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11638 shlibpath_var=LD_LIBRARY_PATH
11639 shlibpath_overrides_runpath=no
11641 # Some binutils ld are patched to set DT_RUNPATH
11642 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11643 $as_echo_n "(cached) " >&6
11644 else
11645 lt_cv_shlibpath_overrides_runpath=no
11646 save_LDFLAGS=$LDFLAGS
11647 save_libdir=$libdir
11648 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11649 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11650 if test x$gcc_no_link = xyes; then
11651 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11654 /* end confdefs.h. */
11657 main ()
11661 return 0;
11663 _ACEOF
11664 if ac_fn_c_try_link "$LINENO"; then :
11665 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11666 lt_cv_shlibpath_overrides_runpath=yes
11669 rm -f core conftest.err conftest.$ac_objext \
11670 conftest$ac_exeext conftest.$ac_ext
11671 LDFLAGS=$save_LDFLAGS
11672 libdir=$save_libdir
11676 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11678 # This implies no fast_install, which is unacceptable.
11679 # Some rework will be needed to allow for fast_install
11680 # before this can be enabled.
11681 hardcode_into_libs=yes
11683 # Append ld.so.conf contents to the search path
11684 if test -f /etc/ld.so.conf; then
11685 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' ' '`
11686 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11689 # We used to test for /lib/ld.so.1 and disable shared libraries on
11690 # powerpc, because MkLinux only supported shared libraries with the
11691 # GNU dynamic linker. Since this was broken with cross compilers,
11692 # most powerpc-linux boxes support dynamic linking these days and
11693 # people can always --disable-shared, the test was removed, and we
11694 # assume the GNU/Linux dynamic linker is in use.
11695 dynamic_linker='GNU/Linux ld.so'
11698 netbsd*)
11699 version_type=sunos
11700 need_lib_prefix=no
11701 need_version=no
11702 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11704 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11705 dynamic_linker='NetBSD (a.out) ld.so'
11706 else
11707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11708 soname_spec='${libname}${release}${shared_ext}$major'
11709 dynamic_linker='NetBSD ld.elf_so'
11711 shlibpath_var=LD_LIBRARY_PATH
11712 shlibpath_overrides_runpath=yes
11713 hardcode_into_libs=yes
11716 newsos6)
11717 version_type=linux
11718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11719 shlibpath_var=LD_LIBRARY_PATH
11720 shlibpath_overrides_runpath=yes
11723 *nto* | *qnx*)
11724 version_type=qnx
11725 need_lib_prefix=no
11726 need_version=no
11727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728 soname_spec='${libname}${release}${shared_ext}$major'
11729 shlibpath_var=LD_LIBRARY_PATH
11730 shlibpath_overrides_runpath=no
11731 hardcode_into_libs=yes
11732 dynamic_linker='ldqnx.so'
11735 openbsd*)
11736 version_type=sunos
11737 sys_lib_dlsearch_path_spec="/usr/lib"
11738 need_lib_prefix=no
11739 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11740 case $host_os in
11741 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11742 *) need_version=no ;;
11743 esac
11744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11745 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11746 shlibpath_var=LD_LIBRARY_PATH
11747 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11748 case $host_os in
11749 openbsd2.[89] | openbsd2.[89].*)
11750 shlibpath_overrides_runpath=no
11753 shlibpath_overrides_runpath=yes
11755 esac
11756 else
11757 shlibpath_overrides_runpath=yes
11761 os2*)
11762 libname_spec='$name'
11763 shrext_cmds=".dll"
11764 need_lib_prefix=no
11765 library_names_spec='$libname${shared_ext} $libname.a'
11766 dynamic_linker='OS/2 ld.exe'
11767 shlibpath_var=LIBPATH
11770 osf3* | osf4* | osf5*)
11771 version_type=osf
11772 need_lib_prefix=no
11773 need_version=no
11774 soname_spec='${libname}${release}${shared_ext}$major'
11775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11776 shlibpath_var=LD_LIBRARY_PATH
11777 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11778 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11781 rdos*)
11782 dynamic_linker=no
11785 solaris*)
11786 version_type=linux
11787 need_lib_prefix=no
11788 need_version=no
11789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11790 soname_spec='${libname}${release}${shared_ext}$major'
11791 shlibpath_var=LD_LIBRARY_PATH
11792 shlibpath_overrides_runpath=yes
11793 hardcode_into_libs=yes
11794 # ldd complains unless libraries are executable
11795 postinstall_cmds='chmod +x $lib'
11798 sunos4*)
11799 version_type=sunos
11800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11801 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11802 shlibpath_var=LD_LIBRARY_PATH
11803 shlibpath_overrides_runpath=yes
11804 if test "$with_gnu_ld" = yes; then
11805 need_lib_prefix=no
11807 need_version=yes
11810 sysv4 | sysv4.3*)
11811 version_type=linux
11812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11813 soname_spec='${libname}${release}${shared_ext}$major'
11814 shlibpath_var=LD_LIBRARY_PATH
11815 case $host_vendor in
11816 sni)
11817 shlibpath_overrides_runpath=no
11818 need_lib_prefix=no
11819 runpath_var=LD_RUN_PATH
11821 siemens)
11822 need_lib_prefix=no
11824 motorola)
11825 need_lib_prefix=no
11826 need_version=no
11827 shlibpath_overrides_runpath=no
11828 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11830 esac
11833 sysv4*MP*)
11834 if test -d /usr/nec ;then
11835 version_type=linux
11836 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11837 soname_spec='$libname${shared_ext}.$major'
11838 shlibpath_var=LD_LIBRARY_PATH
11842 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11843 version_type=freebsd-elf
11844 need_lib_prefix=no
11845 need_version=no
11846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11847 soname_spec='${libname}${release}${shared_ext}$major'
11848 shlibpath_var=LD_LIBRARY_PATH
11849 shlibpath_overrides_runpath=yes
11850 hardcode_into_libs=yes
11851 if test "$with_gnu_ld" = yes; then
11852 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11853 else
11854 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11855 case $host_os in
11856 sco3.2v5*)
11857 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11859 esac
11861 sys_lib_dlsearch_path_spec='/usr/lib'
11864 tpf*)
11865 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11866 version_type=linux
11867 need_lib_prefix=no
11868 need_version=no
11869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11870 shlibpath_var=LD_LIBRARY_PATH
11871 shlibpath_overrides_runpath=no
11872 hardcode_into_libs=yes
11875 uts4*)
11876 version_type=linux
11877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11878 soname_spec='${libname}${release}${shared_ext}$major'
11879 shlibpath_var=LD_LIBRARY_PATH
11883 dynamic_linker=no
11885 esac
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11887 $as_echo "$dynamic_linker" >&6; }
11888 test "$dynamic_linker" = no && can_build_shared=no
11890 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11891 if test "$GCC" = yes; then
11892 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11895 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11896 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11898 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11899 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11994 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11995 hardcode_action=
11996 if test -n "$hardcode_libdir_flag_spec" ||
11997 test -n "$runpath_var" ||
11998 test "X$hardcode_automatic" = "Xyes" ; then
12000 # We can hardcode non-existent directories.
12001 if test "$hardcode_direct" != no &&
12002 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12003 # have to relink, otherwise we might link with an installed library
12004 # when we should be linking with a yet-to-be-installed one
12005 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12006 test "$hardcode_minus_L" != no; then
12007 # Linking always hardcodes the temporary library directory.
12008 hardcode_action=relink
12009 else
12010 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12011 hardcode_action=immediate
12013 else
12014 # We cannot hardcode anything, or else we can only hardcode existing
12015 # directories.
12016 hardcode_action=unsupported
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12019 $as_echo "$hardcode_action" >&6; }
12021 if test "$hardcode_action" = relink ||
12022 test "$inherit_rpath" = yes; then
12023 # Fast installation is not supported
12024 enable_fast_install=no
12025 elif test "$shlibpath_overrides_runpath" = yes ||
12026 test "$enable_shared" = no; then
12027 # Fast installation is not necessary
12028 enable_fast_install=needless
12036 if test "x$enable_dlopen" != xyes; then
12037 enable_dlopen=unknown
12038 enable_dlopen_self=unknown
12039 enable_dlopen_self_static=unknown
12040 else
12041 lt_cv_dlopen=no
12042 lt_cv_dlopen_libs=
12044 case $host_os in
12045 beos*)
12046 lt_cv_dlopen="load_add_on"
12047 lt_cv_dlopen_libs=
12048 lt_cv_dlopen_self=yes
12051 mingw* | pw32* | cegcc*)
12052 lt_cv_dlopen="LoadLibrary"
12053 lt_cv_dlopen_libs=
12056 cygwin*)
12057 lt_cv_dlopen="dlopen"
12058 lt_cv_dlopen_libs=
12061 darwin*)
12062 # if libdl is installed we need to link against it
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12064 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12065 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12066 $as_echo_n "(cached) " >&6
12067 else
12068 ac_check_lib_save_LIBS=$LIBS
12069 LIBS="-ldl $LIBS"
12070 if test x$gcc_no_link = xyes; then
12071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12079 #ifdef __cplusplus
12080 extern "C"
12081 #endif
12082 char dlopen ();
12084 main ()
12086 return dlopen ();
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 ac_cv_lib_dl_dlopen=yes
12093 else
12094 ac_cv_lib_dl_dlopen=no
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_lib_save_LIBS
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12101 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12102 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12103 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12104 else
12106 lt_cv_dlopen="dyld"
12107 lt_cv_dlopen_libs=
12108 lt_cv_dlopen_self=yes
12115 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12116 if test "x$ac_cv_func_shl_load" = x""yes; then :
12117 lt_cv_dlopen="shl_load"
12118 else
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12120 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12121 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12122 $as_echo_n "(cached) " >&6
12123 else
12124 ac_check_lib_save_LIBS=$LIBS
12125 LIBS="-ldld $LIBS"
12126 if test x$gcc_no_link = xyes; then
12127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12132 /* Override any GCC internal prototype to avoid an error.
12133 Use char because int might match the return type of a GCC
12134 builtin and then its argument prototype would still apply. */
12135 #ifdef __cplusplus
12136 extern "C"
12137 #endif
12138 char shl_load ();
12140 main ()
12142 return shl_load ();
12144 return 0;
12146 _ACEOF
12147 if ac_fn_c_try_link "$LINENO"; then :
12148 ac_cv_lib_dld_shl_load=yes
12149 else
12150 ac_cv_lib_dld_shl_load=no
12152 rm -f core conftest.err conftest.$ac_objext \
12153 conftest$ac_exeext conftest.$ac_ext
12154 LIBS=$ac_check_lib_save_LIBS
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12157 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12158 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12159 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12160 else
12161 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12162 if test "x$ac_cv_func_dlopen" = x""yes; then :
12163 lt_cv_dlopen="dlopen"
12164 else
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12166 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12167 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12168 $as_echo_n "(cached) " >&6
12169 else
12170 ac_check_lib_save_LIBS=$LIBS
12171 LIBS="-ldl $LIBS"
12172 if test x$gcc_no_link = xyes; then
12173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12178 /* Override any GCC internal prototype to avoid an error.
12179 Use char because int might match the return type of a GCC
12180 builtin and then its argument prototype would still apply. */
12181 #ifdef __cplusplus
12182 extern "C"
12183 #endif
12184 char dlopen ();
12186 main ()
12188 return dlopen ();
12190 return 0;
12192 _ACEOF
12193 if ac_fn_c_try_link "$LINENO"; then :
12194 ac_cv_lib_dl_dlopen=yes
12195 else
12196 ac_cv_lib_dl_dlopen=no
12198 rm -f core conftest.err conftest.$ac_objext \
12199 conftest$ac_exeext conftest.$ac_ext
12200 LIBS=$ac_check_lib_save_LIBS
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12203 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12204 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12205 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12206 else
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12208 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12209 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12210 $as_echo_n "(cached) " >&6
12211 else
12212 ac_check_lib_save_LIBS=$LIBS
12213 LIBS="-lsvld $LIBS"
12214 if test x$gcc_no_link = xyes; then
12215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12223 #ifdef __cplusplus
12224 extern "C"
12225 #endif
12226 char dlopen ();
12228 main ()
12230 return dlopen ();
12232 return 0;
12234 _ACEOF
12235 if ac_fn_c_try_link "$LINENO"; then :
12236 ac_cv_lib_svld_dlopen=yes
12237 else
12238 ac_cv_lib_svld_dlopen=no
12240 rm -f core conftest.err conftest.$ac_objext \
12241 conftest$ac_exeext conftest.$ac_ext
12242 LIBS=$ac_check_lib_save_LIBS
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12245 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12246 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12247 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12248 else
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12250 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12251 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12252 $as_echo_n "(cached) " >&6
12253 else
12254 ac_check_lib_save_LIBS=$LIBS
12255 LIBS="-ldld $LIBS"
12256 if test x$gcc_no_link = xyes; then
12257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12262 /* Override any GCC internal prototype to avoid an error.
12263 Use char because int might match the return type of a GCC
12264 builtin and then its argument prototype would still apply. */
12265 #ifdef __cplusplus
12266 extern "C"
12267 #endif
12268 char dld_link ();
12270 main ()
12272 return dld_link ();
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_link "$LINENO"; then :
12278 ac_cv_lib_dld_dld_link=yes
12279 else
12280 ac_cv_lib_dld_dld_link=no
12282 rm -f core conftest.err conftest.$ac_objext \
12283 conftest$ac_exeext conftest.$ac_ext
12284 LIBS=$ac_check_lib_save_LIBS
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12287 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12288 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12289 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12308 esac
12310 if test "x$lt_cv_dlopen" != xno; then
12311 enable_dlopen=yes
12312 else
12313 enable_dlopen=no
12316 case $lt_cv_dlopen in
12317 dlopen)
12318 save_CPPFLAGS="$CPPFLAGS"
12319 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12321 save_LDFLAGS="$LDFLAGS"
12322 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12324 save_LIBS="$LIBS"
12325 LIBS="$lt_cv_dlopen_libs $LIBS"
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12328 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12329 if test "${lt_cv_dlopen_self+set}" = set; then :
12330 $as_echo_n "(cached) " >&6
12331 else
12332 if test "$cross_compiling" = yes; then :
12333 lt_cv_dlopen_self=cross
12334 else
12335 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12336 lt_status=$lt_dlunknown
12337 cat > conftest.$ac_ext <<_LT_EOF
12338 #line 12338 "configure"
12339 #include "confdefs.h"
12341 #if HAVE_DLFCN_H
12342 #include <dlfcn.h>
12343 #endif
12345 #include <stdio.h>
12347 #ifdef RTLD_GLOBAL
12348 # define LT_DLGLOBAL RTLD_GLOBAL
12349 #else
12350 # ifdef DL_GLOBAL
12351 # define LT_DLGLOBAL DL_GLOBAL
12352 # else
12353 # define LT_DLGLOBAL 0
12354 # endif
12355 #endif
12357 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12358 find out it does not work in some platform. */
12359 #ifndef LT_DLLAZY_OR_NOW
12360 # ifdef RTLD_LAZY
12361 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12362 # else
12363 # ifdef DL_LAZY
12364 # define LT_DLLAZY_OR_NOW DL_LAZY
12365 # else
12366 # ifdef RTLD_NOW
12367 # define LT_DLLAZY_OR_NOW RTLD_NOW
12368 # else
12369 # ifdef DL_NOW
12370 # define LT_DLLAZY_OR_NOW DL_NOW
12371 # else
12372 # define LT_DLLAZY_OR_NOW 0
12373 # endif
12374 # endif
12375 # endif
12376 # endif
12377 #endif
12379 /* When -fvisbility=hidden is used, assume the code has been annotated
12380 correspondingly for the symbols needed. */
12381 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12382 void fnord () __attribute__((visibility("default")));
12383 #endif
12385 void fnord () { int i=42; }
12386 int main ()
12388 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12389 int status = $lt_dlunknown;
12391 if (self)
12393 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12394 else
12396 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12397 else puts (dlerror ());
12399 /* dlclose (self); */
12401 else
12402 puts (dlerror ());
12404 return status;
12406 _LT_EOF
12407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12408 (eval $ac_link) 2>&5
12409 ac_status=$?
12410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12411 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12412 (./conftest; exit; ) >&5 2>/dev/null
12413 lt_status=$?
12414 case x$lt_status in
12415 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12416 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12417 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12418 esac
12419 else :
12420 # compilation failed
12421 lt_cv_dlopen_self=no
12424 rm -fr conftest*
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12429 $as_echo "$lt_cv_dlopen_self" >&6; }
12431 if test "x$lt_cv_dlopen_self" = xyes; then
12432 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12434 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12435 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12436 $as_echo_n "(cached) " >&6
12437 else
12438 if test "$cross_compiling" = yes; then :
12439 lt_cv_dlopen_self_static=cross
12440 else
12441 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12442 lt_status=$lt_dlunknown
12443 cat > conftest.$ac_ext <<_LT_EOF
12444 #line 12444 "configure"
12445 #include "confdefs.h"
12447 #if HAVE_DLFCN_H
12448 #include <dlfcn.h>
12449 #endif
12451 #include <stdio.h>
12453 #ifdef RTLD_GLOBAL
12454 # define LT_DLGLOBAL RTLD_GLOBAL
12455 #else
12456 # ifdef DL_GLOBAL
12457 # define LT_DLGLOBAL DL_GLOBAL
12458 # else
12459 # define LT_DLGLOBAL 0
12460 # endif
12461 #endif
12463 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12464 find out it does not work in some platform. */
12465 #ifndef LT_DLLAZY_OR_NOW
12466 # ifdef RTLD_LAZY
12467 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12468 # else
12469 # ifdef DL_LAZY
12470 # define LT_DLLAZY_OR_NOW DL_LAZY
12471 # else
12472 # ifdef RTLD_NOW
12473 # define LT_DLLAZY_OR_NOW RTLD_NOW
12474 # else
12475 # ifdef DL_NOW
12476 # define LT_DLLAZY_OR_NOW DL_NOW
12477 # else
12478 # define LT_DLLAZY_OR_NOW 0
12479 # endif
12480 # endif
12481 # endif
12482 # endif
12483 #endif
12485 /* When -fvisbility=hidden is used, assume the code has been annotated
12486 correspondingly for the symbols needed. */
12487 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12488 void fnord () __attribute__((visibility("default")));
12489 #endif
12491 void fnord () { int i=42; }
12492 int main ()
12494 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12495 int status = $lt_dlunknown;
12497 if (self)
12499 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12500 else
12502 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12503 else puts (dlerror ());
12505 /* dlclose (self); */
12507 else
12508 puts (dlerror ());
12510 return status;
12512 _LT_EOF
12513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12514 (eval $ac_link) 2>&5
12515 ac_status=$?
12516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12517 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12518 (./conftest; exit; ) >&5 2>/dev/null
12519 lt_status=$?
12520 case x$lt_status in
12521 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12522 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12523 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12524 esac
12525 else :
12526 # compilation failed
12527 lt_cv_dlopen_self_static=no
12530 rm -fr conftest*
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12535 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12538 CPPFLAGS="$save_CPPFLAGS"
12539 LDFLAGS="$save_LDFLAGS"
12540 LIBS="$save_LIBS"
12542 esac
12544 case $lt_cv_dlopen_self in
12545 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12546 *) enable_dlopen_self=unknown ;;
12547 esac
12549 case $lt_cv_dlopen_self_static in
12550 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12551 *) enable_dlopen_self_static=unknown ;;
12552 esac
12571 striplib=
12572 old_striplib=
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12574 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12575 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12576 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12577 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12579 $as_echo "yes" >&6; }
12580 else
12581 # FIXME - insert some real tests, host_os isn't really good enough
12582 case $host_os in
12583 darwin*)
12584 if test -n "$STRIP" ; then
12585 striplib="$STRIP -x"
12586 old_striplib="$STRIP -S"
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12588 $as_echo "yes" >&6; }
12589 else
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12591 $as_echo "no" >&6; }
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12596 $as_echo "no" >&6; }
12598 esac
12612 # Report which library types will actually be built
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12614 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12616 $as_echo "$can_build_shared" >&6; }
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12619 $as_echo_n "checking whether to build shared libraries... " >&6; }
12620 test "$can_build_shared" = "no" && enable_shared=no
12622 # On AIX, shared libraries and static libraries use the same namespace, and
12623 # are all built from PIC.
12624 case $host_os in
12625 aix3*)
12626 test "$enable_shared" = yes && enable_static=no
12627 if test -n "$RANLIB"; then
12628 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12629 postinstall_cmds='$RANLIB $lib'
12633 aix[4-9]*)
12634 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12635 test "$enable_shared" = yes && enable_static=no
12638 esac
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12640 $as_echo "$enable_shared" >&6; }
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12643 $as_echo_n "checking whether to build static libraries... " >&6; }
12644 # Make sure either enable_shared or enable_static is yes.
12645 test "$enable_shared" = yes || enable_static=yes
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12647 $as_echo "$enable_static" >&6; }
12653 ac_ext=c
12654 ac_cpp='$CPP $CPPFLAGS'
12655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12659 CC="$lt_save_CC"
12673 ac_config_commands="$ac_config_commands libtool"
12678 # Only expand once:
12684 case $host in
12685 *-cygwin* | *-mingw*)
12686 # 'host' will be top-level target in the case of a target lib,
12687 # we must compare to with_cross_host to decide if this is a native
12688 # or cross-compiler and select where to install dlls appropriately.
12689 if test -n "$with_cross_host" &&
12690 test x"$with_cross_host" != x"no"; then
12691 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12692 else
12693 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12697 lt_host_flags=
12699 esac
12705 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12707 # We need gfortran to compile parts of the library
12708 #AC_PROG_FC(gfortran)
12709 FC="$GFORTRAN"
12710 ac_ext=${ac_fc_srcext-f}
12711 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12712 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12713 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12714 if test -n "$ac_tool_prefix"; then
12715 for ac_prog in gfortran
12717 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12718 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12720 $as_echo_n "checking for $ac_word... " >&6; }
12721 if test "${ac_cv_prog_FC+set}" = set; then :
12722 $as_echo_n "(cached) " >&6
12723 else
12724 if test -n "$FC"; then
12725 ac_cv_prog_FC="$FC" # Let the user override the test.
12726 else
12727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12728 for as_dir in $PATH
12730 IFS=$as_save_IFS
12731 test -z "$as_dir" && as_dir=.
12732 for ac_exec_ext in '' $ac_executable_extensions; do
12733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12734 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12736 break 2
12738 done
12739 done
12740 IFS=$as_save_IFS
12744 FC=$ac_cv_prog_FC
12745 if test -n "$FC"; then
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12747 $as_echo "$FC" >&6; }
12748 else
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12750 $as_echo "no" >&6; }
12754 test -n "$FC" && break
12755 done
12757 if test -z "$FC"; then
12758 ac_ct_FC=$FC
12759 for ac_prog in gfortran
12761 # Extract the first word of "$ac_prog", so it can be a program name with args.
12762 set dummy $ac_prog; ac_word=$2
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12764 $as_echo_n "checking for $ac_word... " >&6; }
12765 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12766 $as_echo_n "(cached) " >&6
12767 else
12768 if test -n "$ac_ct_FC"; then
12769 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12770 else
12771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12772 for as_dir in $PATH
12774 IFS=$as_save_IFS
12775 test -z "$as_dir" && as_dir=.
12776 for ac_exec_ext in '' $ac_executable_extensions; do
12777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12778 ac_cv_prog_ac_ct_FC="$ac_prog"
12779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12780 break 2
12782 done
12783 done
12784 IFS=$as_save_IFS
12788 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12789 if test -n "$ac_ct_FC"; then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12791 $as_echo "$ac_ct_FC" >&6; }
12792 else
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794 $as_echo "no" >&6; }
12798 test -n "$ac_ct_FC" && break
12799 done
12801 if test "x$ac_ct_FC" = x; then
12802 FC=""
12803 else
12804 case $cross_compiling:$ac_tool_warned in
12805 yes:)
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12808 ac_tool_warned=yes ;;
12809 esac
12810 FC=$ac_ct_FC
12815 # Provide some information about the compiler.
12816 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12817 set X $ac_compile
12818 ac_compiler=$2
12819 for ac_option in --version -v -V -qversion; do
12820 { { ac_try="$ac_compiler $ac_option >&5"
12821 case "(($ac_try" in
12822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12823 *) ac_try_echo=$ac_try;;
12824 esac
12825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12826 $as_echo "$ac_try_echo"; } >&5
12827 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12828 ac_status=$?
12829 if test -s conftest.err; then
12830 sed '10a\
12831 ... rest of stderr output deleted ...
12832 10q' conftest.err >conftest.er1
12833 cat conftest.er1 >&5
12834 rm -f conftest.er1 conftest.err
12836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12837 test $ac_status = 0; }
12838 done
12839 rm -f a.out
12841 # If we don't use `.F' as extension, the preprocessor is not run on the
12842 # input file. (Note that this only needs to work for GNU compilers.)
12843 ac_save_ext=$ac_ext
12844 ac_ext=F
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12846 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12847 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12848 $as_echo_n "(cached) " >&6
12849 else
12850 cat > conftest.$ac_ext <<_ACEOF
12851 program main
12852 #ifndef __GNUC__
12853 choke me
12854 #endif
12857 _ACEOF
12858 if ac_fn_fc_try_compile "$LINENO"; then :
12859 ac_compiler_gnu=yes
12860 else
12861 ac_compiler_gnu=no
12863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12864 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12868 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12869 ac_ext=$ac_save_ext
12870 ac_test_FCFLAGS=${FCFLAGS+set}
12871 ac_save_FCFLAGS=$FCFLAGS
12872 FCFLAGS=
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12874 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12875 if test "${ac_cv_prog_fc_g+set}" = set; then :
12876 $as_echo_n "(cached) " >&6
12877 else
12878 FCFLAGS=-g
12879 cat > conftest.$ac_ext <<_ACEOF
12880 program main
12883 _ACEOF
12884 if ac_fn_fc_try_compile "$LINENO"; then :
12885 ac_cv_prog_fc_g=yes
12886 else
12887 ac_cv_prog_fc_g=no
12889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12893 $as_echo "$ac_cv_prog_fc_g" >&6; }
12894 if test "$ac_test_FCFLAGS" = set; then
12895 FCFLAGS=$ac_save_FCFLAGS
12896 elif test $ac_cv_prog_fc_g = yes; then
12897 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12898 FCFLAGS="-g -O2"
12899 else
12900 FCFLAGS="-g"
12902 else
12903 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12904 FCFLAGS="-O2"
12905 else
12906 FCFLAGS=
12910 ac_ext=c
12911 ac_cpp='$CPP $CPPFLAGS'
12912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12916 ac_ext=${ac_fc_srcext-f}
12917 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12918 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12919 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12922 if test -z "$FC" || test "X$FC" = "Xno"; then
12923 _lt_disable_FC=yes
12926 archive_cmds_need_lc_FC=no
12927 allow_undefined_flag_FC=
12928 always_export_symbols_FC=no
12929 archive_expsym_cmds_FC=
12930 export_dynamic_flag_spec_FC=
12931 hardcode_direct_FC=no
12932 hardcode_direct_absolute_FC=no
12933 hardcode_libdir_flag_spec_FC=
12934 hardcode_libdir_flag_spec_ld_FC=
12935 hardcode_libdir_separator_FC=
12936 hardcode_minus_L_FC=no
12937 hardcode_automatic_FC=no
12938 inherit_rpath_FC=no
12939 module_cmds_FC=
12940 module_expsym_cmds_FC=
12941 link_all_deplibs_FC=unknown
12942 old_archive_cmds_FC=$old_archive_cmds
12943 reload_flag_FC=$reload_flag
12944 reload_cmds_FC=$reload_cmds
12945 no_undefined_flag_FC=
12946 whole_archive_flag_spec_FC=
12947 enable_shared_with_static_runtimes_FC=no
12949 # Source file extension for fc test sources.
12950 ac_ext=${ac_fc_srcext-f}
12952 # Object file extension for compiled fc test sources.
12953 objext=o
12954 objext_FC=$objext
12956 # No sense in running all these tests if we already determined that
12957 # the FC compiler isn't working. Some variables (like enable_shared)
12958 # are currently assumed to apply to all compilers on this platform,
12959 # and will be corrupted by setting them based on a non-working compiler.
12960 if test "$_lt_disable_FC" != yes; then
12961 # Code to be used in simple compile tests
12962 lt_simple_compile_test_code="\
12963 subroutine t
12964 return
12968 # Code to be used in simple link tests
12969 lt_simple_link_test_code="\
12970 program t
12974 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12981 # If no C compiler was specified, use CC.
12982 LTCC=${LTCC-"$CC"}
12984 # If no C compiler flags were specified, use CFLAGS.
12985 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12987 # Allow CC to be a program name with arguments.
12988 compiler=$CC
12991 # save warnings/boilerplate of simple test code
12992 ac_outfile=conftest.$ac_objext
12993 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12994 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12995 _lt_compiler_boilerplate=`cat conftest.err`
12996 $RM conftest*
12998 ac_outfile=conftest.$ac_objext
12999 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13000 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13001 _lt_linker_boilerplate=`cat conftest.err`
13002 $RM -r conftest*
13005 # Allow CC to be a program name with arguments.
13006 lt_save_CC="$CC"
13007 lt_save_GCC=$GCC
13008 CC=${FC-"f95"}
13009 compiler=$CC
13010 GCC=$ac_cv_fc_compiler_gnu
13012 compiler_FC=$CC
13013 for cc_temp in $compiler""; do
13014 case $cc_temp in
13015 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13016 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13017 \-*) ;;
13018 *) break;;
13019 esac
13020 done
13021 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13024 if test -n "$compiler"; then
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13026 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13028 $as_echo "$can_build_shared" >&6; }
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13031 $as_echo_n "checking whether to build shared libraries... " >&6; }
13032 test "$can_build_shared" = "no" && enable_shared=no
13034 # On AIX, shared libraries and static libraries use the same namespace, and
13035 # are all built from PIC.
13036 case $host_os in
13037 aix3*)
13038 test "$enable_shared" = yes && enable_static=no
13039 if test -n "$RANLIB"; then
13040 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13041 postinstall_cmds='$RANLIB $lib'
13044 aix[4-9]*)
13045 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13046 test "$enable_shared" = yes && enable_static=no
13049 esac
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13051 $as_echo "$enable_shared" >&6; }
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13054 $as_echo_n "checking whether to build static libraries... " >&6; }
13055 # Make sure either enable_shared or enable_static is yes.
13056 test "$enable_shared" = yes || enable_static=yes
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13058 $as_echo "$enable_static" >&6; }
13060 GCC_FC="$ac_cv_fc_compiler_gnu"
13061 LD_FC="$LD"
13063 ## CAVEAT EMPTOR:
13064 ## There is no encapsulation within the following macros, do not change
13065 ## the running order or otherwise move them around unless you know exactly
13066 ## what you are doing...
13067 # Dependencies to place before and after the object being linked:
13068 predep_objects_FC=
13069 postdep_objects_FC=
13070 predeps_FC=
13071 postdeps_FC=
13072 compiler_lib_search_path_FC=
13074 cat > conftest.$ac_ext <<_LT_EOF
13075 subroutine foo
13076 implicit none
13077 integer a
13079 return
13081 _LT_EOF
13083 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13084 (eval $ac_compile) 2>&5
13085 ac_status=$?
13086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13087 test $ac_status = 0; }; then
13088 # Parse the compiler output and extract the necessary
13089 # objects, libraries and library flags.
13091 # Sentinel used to keep track of whether or not we are before
13092 # the conftest object file.
13093 pre_test_object_deps_done=no
13095 for p in `eval "$output_verbose_link_cmd"`; do
13096 case $p in
13098 -L* | -R* | -l*)
13099 # Some compilers place space between "-{L,R}" and the path.
13100 # Remove the space.
13101 if test $p = "-L" ||
13102 test $p = "-R"; then
13103 prev=$p
13104 continue
13105 else
13106 prev=
13109 if test "$pre_test_object_deps_done" = no; then
13110 case $p in
13111 -L* | -R*)
13112 # Internal compiler library paths should come after those
13113 # provided the user. The postdeps already come after the
13114 # user supplied libs so there is no need to process them.
13115 if test -z "$compiler_lib_search_path_FC"; then
13116 compiler_lib_search_path_FC="${prev}${p}"
13117 else
13118 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13121 # The "-l" case would never come before the object being
13122 # linked, so don't bother handling this case.
13123 esac
13124 else
13125 if test -z "$postdeps_FC"; then
13126 postdeps_FC="${prev}${p}"
13127 else
13128 postdeps_FC="${postdeps_FC} ${prev}${p}"
13133 *.$objext)
13134 # This assumes that the test object file only shows up
13135 # once in the compiler output.
13136 if test "$p" = "conftest.$objext"; then
13137 pre_test_object_deps_done=yes
13138 continue
13141 if test "$pre_test_object_deps_done" = no; then
13142 if test -z "$predep_objects_FC"; then
13143 predep_objects_FC="$p"
13144 else
13145 predep_objects_FC="$predep_objects_FC $p"
13147 else
13148 if test -z "$postdep_objects_FC"; then
13149 postdep_objects_FC="$p"
13150 else
13151 postdep_objects_FC="$postdep_objects_FC $p"
13156 *) ;; # Ignore the rest.
13158 esac
13159 done
13161 # Clean up.
13162 rm -f a.out a.exe
13163 else
13164 echo "libtool.m4: error: problem compiling FC test program"
13167 $RM -f confest.$objext
13169 # PORTME: override above test on systems where it is broken
13172 case " $postdeps_FC " in
13173 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13174 esac
13175 compiler_lib_search_dirs_FC=
13176 if test -n "${compiler_lib_search_path_FC}"; then
13177 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13210 lt_prog_compiler_wl_FC=
13211 lt_prog_compiler_pic_FC=
13212 lt_prog_compiler_static_FC=
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13215 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13217 if test "$GCC" = yes; then
13218 lt_prog_compiler_wl_FC='-Wl,'
13219 lt_prog_compiler_static_FC='-static'
13221 case $host_os in
13222 aix*)
13223 # All AIX code is PIC.
13224 if test "$host_cpu" = ia64; then
13225 # AIX 5 now supports IA64 processor
13226 lt_prog_compiler_static_FC='-Bstatic'
13228 lt_prog_compiler_pic_FC='-fPIC'
13231 amigaos*)
13232 case $host_cpu in
13233 powerpc)
13234 # see comment about AmigaOS4 .so support
13235 lt_prog_compiler_pic_FC='-fPIC'
13237 m68k)
13238 # FIXME: we need at least 68020 code to build shared libraries, but
13239 # adding the `-m68020' flag to GCC prevents building anything better,
13240 # like `-m68040'.
13241 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13243 esac
13246 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13247 # PIC is the default for these OSes.
13250 mingw* | cygwin* | pw32* | os2* | cegcc*)
13251 # This hack is so that the source file can tell whether it is being
13252 # built for inclusion in a dll (and should export symbols for example).
13253 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13254 # (--disable-auto-import) libraries
13255 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13258 darwin* | rhapsody*)
13259 # PIC is the default on this platform
13260 # Common symbols not allowed in MH_DYLIB files
13261 lt_prog_compiler_pic_FC='-fno-common'
13264 haiku*)
13265 # PIC is the default for Haiku.
13266 # The "-static" flag exists, but is broken.
13267 lt_prog_compiler_static_FC=
13270 hpux*)
13271 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13272 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13273 # sets the default TLS model and affects inlining.
13274 case $host_cpu in
13275 hppa*64*)
13276 # +Z the default
13279 lt_prog_compiler_pic_FC='-fPIC'
13281 esac
13284 interix[3-9]*)
13285 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13286 # Instead, we relocate shared libraries at runtime.
13289 msdosdjgpp*)
13290 # Just because we use GCC doesn't mean we suddenly get shared libraries
13291 # on systems that don't support them.
13292 lt_prog_compiler_can_build_shared_FC=no
13293 enable_shared=no
13296 *nto* | *qnx*)
13297 # QNX uses GNU C++, but need to define -shared option too, otherwise
13298 # it will coredump.
13299 lt_prog_compiler_pic_FC='-fPIC -shared'
13302 sysv4*MP*)
13303 if test -d /usr/nec; then
13304 lt_prog_compiler_pic_FC=-Kconform_pic
13309 lt_prog_compiler_pic_FC='-fPIC'
13311 esac
13313 case $cc_basename in
13314 nvcc*) # Cuda Compiler Driver 2.2
13315 lt_prog_compiler_wl_FC='-Xlinker '
13316 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13318 esac
13319 else
13320 # PORTME Check for flag to pass linker flags through the system compiler.
13321 case $host_os in
13322 aix*)
13323 lt_prog_compiler_wl_FC='-Wl,'
13324 if test "$host_cpu" = ia64; then
13325 # AIX 5 now supports IA64 processor
13326 lt_prog_compiler_static_FC='-Bstatic'
13327 else
13328 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13332 mingw* | cygwin* | pw32* | os2* | cegcc*)
13333 # This hack is so that the source file can tell whether it is being
13334 # built for inclusion in a dll (and should export symbols for example).
13335 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13338 hpux9* | hpux10* | hpux11*)
13339 lt_prog_compiler_wl_FC='-Wl,'
13340 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13341 # not for PA HP-UX.
13342 case $host_cpu in
13343 hppa*64*|ia64*)
13344 # +Z the default
13347 lt_prog_compiler_pic_FC='+Z'
13349 esac
13350 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13351 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13354 irix5* | irix6* | nonstopux*)
13355 lt_prog_compiler_wl_FC='-Wl,'
13356 # PIC (with -KPIC) is the default.
13357 lt_prog_compiler_static_FC='-non_shared'
13360 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13361 case $cc_basename in
13362 # old Intel for x86_64 which still supported -KPIC.
13363 ecc*)
13364 lt_prog_compiler_wl_FC='-Wl,'
13365 lt_prog_compiler_pic_FC='-KPIC'
13366 lt_prog_compiler_static_FC='-static'
13368 # icc used to be incompatible with GCC.
13369 # ICC 10 doesn't accept -KPIC any more.
13370 icc* | ifort*)
13371 lt_prog_compiler_wl_FC='-Wl,'
13372 lt_prog_compiler_pic_FC='-fPIC'
13373 lt_prog_compiler_static_FC='-static'
13375 # Lahey Fortran 8.1.
13376 lf95*)
13377 lt_prog_compiler_wl_FC='-Wl,'
13378 lt_prog_compiler_pic_FC='--shared'
13379 lt_prog_compiler_static_FC='--static'
13381 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13382 # Portland Group compilers (*not* the Pentium gcc compiler,
13383 # which looks to be a dead project)
13384 lt_prog_compiler_wl_FC='-Wl,'
13385 lt_prog_compiler_pic_FC='-fpic'
13386 lt_prog_compiler_static_FC='-Bstatic'
13388 ccc*)
13389 lt_prog_compiler_wl_FC='-Wl,'
13390 # All Alpha code is PIC.
13391 lt_prog_compiler_static_FC='-non_shared'
13393 xl* | bgxl* | bgf* | mpixl*)
13394 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13395 lt_prog_compiler_wl_FC='-Wl,'
13396 lt_prog_compiler_pic_FC='-qpic'
13397 lt_prog_compiler_static_FC='-qstaticlink'
13400 case `$CC -V 2>&1 | sed 5q` in
13401 *Sun\ F* | *Sun*Fortran*)
13402 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13403 lt_prog_compiler_pic_FC='-KPIC'
13404 lt_prog_compiler_static_FC='-Bstatic'
13405 lt_prog_compiler_wl_FC=''
13407 *Sun\ C*)
13408 # Sun C 5.9
13409 lt_prog_compiler_pic_FC='-KPIC'
13410 lt_prog_compiler_static_FC='-Bstatic'
13411 lt_prog_compiler_wl_FC='-Wl,'
13413 esac
13415 esac
13418 newsos6)
13419 lt_prog_compiler_pic_FC='-KPIC'
13420 lt_prog_compiler_static_FC='-Bstatic'
13423 *nto* | *qnx*)
13424 # QNX uses GNU C++, but need to define -shared option too, otherwise
13425 # it will coredump.
13426 lt_prog_compiler_pic_FC='-fPIC -shared'
13429 osf3* | osf4* | osf5*)
13430 lt_prog_compiler_wl_FC='-Wl,'
13431 # All OSF/1 code is PIC.
13432 lt_prog_compiler_static_FC='-non_shared'
13435 rdos*)
13436 lt_prog_compiler_static_FC='-non_shared'
13439 solaris*)
13440 lt_prog_compiler_pic_FC='-KPIC'
13441 lt_prog_compiler_static_FC='-Bstatic'
13442 case $cc_basename in
13443 f77* | f90* | f95*)
13444 lt_prog_compiler_wl_FC='-Qoption ld ';;
13446 lt_prog_compiler_wl_FC='-Wl,';;
13447 esac
13450 sunos4*)
13451 lt_prog_compiler_wl_FC='-Qoption ld '
13452 lt_prog_compiler_pic_FC='-PIC'
13453 lt_prog_compiler_static_FC='-Bstatic'
13456 sysv4 | sysv4.2uw2* | sysv4.3*)
13457 lt_prog_compiler_wl_FC='-Wl,'
13458 lt_prog_compiler_pic_FC='-KPIC'
13459 lt_prog_compiler_static_FC='-Bstatic'
13462 sysv4*MP*)
13463 if test -d /usr/nec ;then
13464 lt_prog_compiler_pic_FC='-Kconform_pic'
13465 lt_prog_compiler_static_FC='-Bstatic'
13469 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13470 lt_prog_compiler_wl_FC='-Wl,'
13471 lt_prog_compiler_pic_FC='-KPIC'
13472 lt_prog_compiler_static_FC='-Bstatic'
13475 unicos*)
13476 lt_prog_compiler_wl_FC='-Wl,'
13477 lt_prog_compiler_can_build_shared_FC=no
13480 uts4*)
13481 lt_prog_compiler_pic_FC='-pic'
13482 lt_prog_compiler_static_FC='-Bstatic'
13486 lt_prog_compiler_can_build_shared_FC=no
13488 esac
13491 case $host_os in
13492 # For platforms which do not support PIC, -DPIC is meaningless:
13493 *djgpp*)
13494 lt_prog_compiler_pic_FC=
13497 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13499 esac
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13501 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13506 # Check to make sure the PIC flag actually works.
13508 if test -n "$lt_prog_compiler_pic_FC"; then
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13510 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13511 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13512 $as_echo_n "(cached) " >&6
13513 else
13514 lt_cv_prog_compiler_pic_works_FC=no
13515 ac_outfile=conftest.$ac_objext
13516 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13517 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13518 # Insert the option either (1) after the last *FLAGS variable, or
13519 # (2) before a word containing "conftest.", or (3) at the end.
13520 # Note that $ac_compile itself does not contain backslashes and begins
13521 # with a dollar sign (not a hyphen), so the echo should work correctly.
13522 # The option is referenced via a variable to avoid confusing sed.
13523 lt_compile=`echo "$ac_compile" | $SED \
13524 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13525 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13526 -e 's:$: $lt_compiler_flag:'`
13527 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13528 (eval "$lt_compile" 2>conftest.err)
13529 ac_status=$?
13530 cat conftest.err >&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 if (exit $ac_status) && test -s "$ac_outfile"; then
13533 # The compiler can only warn and ignore the option if not recognized
13534 # So say no if there are warnings other than the usual output.
13535 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13536 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13537 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13538 lt_cv_prog_compiler_pic_works_FC=yes
13541 $RM conftest*
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13545 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13547 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13548 case $lt_prog_compiler_pic_FC in
13549 "" | " "*) ;;
13550 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13551 esac
13552 else
13553 lt_prog_compiler_pic_FC=
13554 lt_prog_compiler_can_build_shared_FC=no
13562 # Check to make sure the static flag actually works.
13564 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13566 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13567 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13568 $as_echo_n "(cached) " >&6
13569 else
13570 lt_cv_prog_compiler_static_works_FC=no
13571 save_LDFLAGS="$LDFLAGS"
13572 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13573 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13574 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13575 # The linker can only warn and ignore the option if not recognized
13576 # So say no if there are warnings
13577 if test -s conftest.err; then
13578 # Append any errors to the config.log.
13579 cat conftest.err 1>&5
13580 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13581 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13582 if diff conftest.exp conftest.er2 >/dev/null; then
13583 lt_cv_prog_compiler_static_works_FC=yes
13585 else
13586 lt_cv_prog_compiler_static_works_FC=yes
13589 $RM -r conftest*
13590 LDFLAGS="$save_LDFLAGS"
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13594 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13596 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13598 else
13599 lt_prog_compiler_static_FC=
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13606 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13607 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13608 $as_echo_n "(cached) " >&6
13609 else
13610 lt_cv_prog_compiler_c_o_FC=no
13611 $RM -r conftest 2>/dev/null
13612 mkdir conftest
13613 cd conftest
13614 mkdir out
13615 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13617 lt_compiler_flag="-o out/conftest2.$ac_objext"
13618 # Insert the option either (1) after the last *FLAGS variable, or
13619 # (2) before a word containing "conftest.", or (3) at the end.
13620 # Note that $ac_compile itself does not contain backslashes and begins
13621 # with a dollar sign (not a hyphen), so the echo should work correctly.
13622 lt_compile=`echo "$ac_compile" | $SED \
13623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13625 -e 's:$: $lt_compiler_flag:'`
13626 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13627 (eval "$lt_compile" 2>out/conftest.err)
13628 ac_status=$?
13629 cat out/conftest.err >&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13632 then
13633 # The compiler can only warn and ignore the option if not recognized
13634 # So say no if there are warnings
13635 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13636 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13637 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13638 lt_cv_prog_compiler_c_o_FC=yes
13641 chmod u+w . 2>&5
13642 $RM conftest*
13643 # SGI C++ compiler will create directory out/ii_files/ for
13644 # template instantiation
13645 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13646 $RM out/* && rmdir out
13647 cd ..
13648 $RM -r conftest
13649 $RM conftest*
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13653 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13658 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13659 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13660 $as_echo_n "(cached) " >&6
13661 else
13662 lt_cv_prog_compiler_c_o_FC=no
13663 $RM -r conftest 2>/dev/null
13664 mkdir conftest
13665 cd conftest
13666 mkdir out
13667 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13669 lt_compiler_flag="-o out/conftest2.$ac_objext"
13670 # Insert the option either (1) after the last *FLAGS variable, or
13671 # (2) before a word containing "conftest.", or (3) at the end.
13672 # Note that $ac_compile itself does not contain backslashes and begins
13673 # with a dollar sign (not a hyphen), so the echo should work correctly.
13674 lt_compile=`echo "$ac_compile" | $SED \
13675 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13676 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13677 -e 's:$: $lt_compiler_flag:'`
13678 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13679 (eval "$lt_compile" 2>out/conftest.err)
13680 ac_status=$?
13681 cat out/conftest.err >&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13684 then
13685 # The compiler can only warn and ignore the option if not recognized
13686 # So say no if there are warnings
13687 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13688 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13689 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13690 lt_cv_prog_compiler_c_o_FC=yes
13693 chmod u+w . 2>&5
13694 $RM conftest*
13695 # SGI C++ compiler will create directory out/ii_files/ for
13696 # template instantiation
13697 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13698 $RM out/* && rmdir out
13699 cd ..
13700 $RM -r conftest
13701 $RM conftest*
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13705 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13710 hard_links="nottested"
13711 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13712 # do not overwrite the value of need_locks provided by the user
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13714 $as_echo_n "checking if we can lock with hard links... " >&6; }
13715 hard_links=yes
13716 $RM conftest*
13717 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13718 touch conftest.a
13719 ln conftest.a conftest.b 2>&5 || hard_links=no
13720 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13722 $as_echo "$hard_links" >&6; }
13723 if test "$hard_links" = no; then
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13725 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13726 need_locks=warn
13728 else
13729 need_locks=no
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13735 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13737 runpath_var=
13738 allow_undefined_flag_FC=
13739 always_export_symbols_FC=no
13740 archive_cmds_FC=
13741 archive_expsym_cmds_FC=
13742 compiler_needs_object_FC=no
13743 enable_shared_with_static_runtimes_FC=no
13744 export_dynamic_flag_spec_FC=
13745 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13746 hardcode_automatic_FC=no
13747 hardcode_direct_FC=no
13748 hardcode_direct_absolute_FC=no
13749 hardcode_libdir_flag_spec_FC=
13750 hardcode_libdir_flag_spec_ld_FC=
13751 hardcode_libdir_separator_FC=
13752 hardcode_minus_L_FC=no
13753 hardcode_shlibpath_var_FC=unsupported
13754 inherit_rpath_FC=no
13755 link_all_deplibs_FC=unknown
13756 module_cmds_FC=
13757 module_expsym_cmds_FC=
13758 old_archive_from_new_cmds_FC=
13759 old_archive_from_expsyms_cmds_FC=
13760 thread_safe_flag_spec_FC=
13761 whole_archive_flag_spec_FC=
13762 # include_expsyms should be a list of space-separated symbols to be *always*
13763 # included in the symbol list
13764 include_expsyms_FC=
13765 # exclude_expsyms can be an extended regexp of symbols to exclude
13766 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13767 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13768 # as well as any symbol that contains `d'.
13769 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13770 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13771 # platforms (ab)use it in PIC code, but their linkers get confused if
13772 # the symbol is explicitly referenced. Since portable code cannot
13773 # rely on this symbol name, it's probably fine to never include it in
13774 # preloaded symbol tables.
13775 # Exclude shared library initialization/finalization symbols.
13776 extract_expsyms_cmds=
13778 case $host_os in
13779 cygwin* | mingw* | pw32* | cegcc*)
13780 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13781 # When not using gcc, we currently assume that we are using
13782 # Microsoft Visual C++.
13783 if test "$GCC" != yes; then
13784 with_gnu_ld=no
13787 interix*)
13788 # we just hope/assume this is gcc and not c89 (= MSVC++)
13789 with_gnu_ld=yes
13791 openbsd*)
13792 with_gnu_ld=no
13794 esac
13796 ld_shlibs_FC=yes
13798 # On some targets, GNU ld is compatible enough with the native linker
13799 # that we're better off using the native interface for both.
13800 lt_use_gnu_ld_interface=no
13801 if test "$with_gnu_ld" = yes; then
13802 case $host_os in
13803 aix*)
13804 # The AIX port of GNU ld has always aspired to compatibility
13805 # with the native linker. However, as the warning in the GNU ld
13806 # block says, versions before 2.19.5* couldn't really create working
13807 # shared libraries, regardless of the interface used.
13808 case `$LD -v 2>&1` in
13809 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13810 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13811 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13813 lt_use_gnu_ld_interface=yes
13815 esac
13818 lt_use_gnu_ld_interface=yes
13820 esac
13823 if test "$lt_use_gnu_ld_interface" = yes; then
13824 # If archive_cmds runs LD, not CC, wlarc should be empty
13825 wlarc='${wl}'
13827 # Set some defaults for GNU ld with shared library support. These
13828 # are reset later if shared libraries are not supported. Putting them
13829 # here allows them to be overridden if necessary.
13830 runpath_var=LD_RUN_PATH
13831 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13832 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13833 # ancient GNU ld didn't support --whole-archive et. al.
13834 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13835 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13836 else
13837 whole_archive_flag_spec_FC=
13839 supports_anon_versioning=no
13840 case `$LD -v 2>&1` in
13841 *GNU\ gold*) supports_anon_versioning=yes ;;
13842 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13843 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13844 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13845 *\ 2.11.*) ;; # other 2.11 versions
13846 *) supports_anon_versioning=yes ;;
13847 esac
13849 # See if GNU ld supports shared libraries.
13850 case $host_os in
13851 aix[3-9]*)
13852 # On AIX/PPC, the GNU linker is very broken
13853 if test "$host_cpu" != ia64; then
13854 ld_shlibs_FC=no
13855 cat <<_LT_EOF 1>&2
13857 *** Warning: the GNU linker, at least up to release 2.19, is reported
13858 *** to be unable to reliably create shared libraries on AIX.
13859 *** Therefore, libtool is disabling shared libraries support. If you
13860 *** really care for shared libraries, you may want to install binutils
13861 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13862 *** You will then need to restart the configuration process.
13864 _LT_EOF
13868 amigaos*)
13869 case $host_cpu in
13870 powerpc)
13871 # see comment about AmigaOS4 .so support
13872 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13873 archive_expsym_cmds_FC=''
13875 m68k)
13876 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)'
13877 hardcode_libdir_flag_spec_FC='-L$libdir'
13878 hardcode_minus_L_FC=yes
13880 esac
13883 beos*)
13884 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13885 allow_undefined_flag_FC=unsupported
13886 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13887 # support --undefined. This deserves some investigation. FIXME
13888 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13889 else
13890 ld_shlibs_FC=no
13894 cygwin* | mingw* | pw32* | cegcc*)
13895 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13896 # as there is no search path for DLLs.
13897 hardcode_libdir_flag_spec_FC='-L$libdir'
13898 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13899 allow_undefined_flag_FC=unsupported
13900 always_export_symbols_FC=no
13901 enable_shared_with_static_runtimes_FC=yes
13902 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13904 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13905 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13906 # If the export-symbols file already is a .def file (1st line
13907 # is EXPORTS), use it as is; otherwise, prepend...
13908 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13909 cp $export_symbols $output_objdir/$soname.def;
13910 else
13911 echo EXPORTS > $output_objdir/$soname.def;
13912 cat $export_symbols >> $output_objdir/$soname.def;
13914 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13915 else
13916 ld_shlibs_FC=no
13920 haiku*)
13921 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13922 link_all_deplibs_FC=yes
13925 interix[3-9]*)
13926 hardcode_direct_FC=no
13927 hardcode_shlibpath_var_FC=no
13928 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13929 export_dynamic_flag_spec_FC='${wl}-E'
13930 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13931 # Instead, shared libraries are loaded at an image base (0x10000000 by
13932 # default) and relocated if they conflict, which is a slow very memory
13933 # consuming and fragmenting process. To avoid this, we pick a random,
13934 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13935 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13936 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'
13937 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'
13940 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13941 tmp_diet=no
13942 if test "$host_os" = linux-dietlibc; then
13943 case $cc_basename in
13944 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13945 esac
13947 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13948 && test "$tmp_diet" = no
13949 then
13950 tmp_addflag=
13951 tmp_sharedflag='-shared'
13952 case $cc_basename,$host_cpu in
13953 pgcc*) # Portland Group C compiler
13954 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'
13955 tmp_addflag=' $pic_flag'
13957 pgf77* | pgf90* | pgf95* | pgfortran*)
13958 # Portland Group f77 and f90 compilers
13959 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'
13960 tmp_addflag=' $pic_flag -Mnomain' ;;
13961 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13962 tmp_addflag=' -i_dynamic' ;;
13963 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13964 tmp_addflag=' -i_dynamic -nofor_main' ;;
13965 ifc* | ifort*) # Intel Fortran compiler
13966 tmp_addflag=' -nofor_main' ;;
13967 lf95*) # Lahey Fortran 8.1
13968 whole_archive_flag_spec_FC=
13969 tmp_sharedflag='--shared' ;;
13970 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13971 tmp_sharedflag='-qmkshrobj'
13972 tmp_addflag= ;;
13973 nvcc*) # Cuda Compiler Driver 2.2
13974 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'
13975 compiler_needs_object_FC=yes
13977 esac
13978 case `$CC -V 2>&1 | sed 5q` in
13979 *Sun\ C*) # Sun C 5.9
13980 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'
13981 compiler_needs_object_FC=yes
13982 tmp_sharedflag='-G' ;;
13983 *Sun\ F*) # Sun Fortran 8.3
13984 tmp_sharedflag='-G' ;;
13985 esac
13986 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13988 if test "x$supports_anon_versioning" = xyes; then
13989 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13990 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13991 echo "local: *; };" >> $output_objdir/$libname.ver~
13992 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13995 case $cc_basename in
13996 xlf* | bgf* | bgxlf* | mpixlf*)
13997 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13998 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13999 hardcode_libdir_flag_spec_FC=
14000 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14001 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14002 if test "x$supports_anon_versioning" = xyes; then
14003 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14004 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14005 echo "local: *; };" >> $output_objdir/$libname.ver~
14006 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14009 esac
14010 else
14011 ld_shlibs_FC=no
14015 netbsd*)
14016 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14017 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14018 wlarc=
14019 else
14020 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14021 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14025 solaris*)
14026 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14027 ld_shlibs_FC=no
14028 cat <<_LT_EOF 1>&2
14030 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14031 *** create shared libraries on Solaris systems. Therefore, libtool
14032 *** is disabling shared libraries support. We urge you to upgrade GNU
14033 *** binutils to release 2.9.1 or newer. Another option is to modify
14034 *** your PATH or compiler configuration so that the native linker is
14035 *** used, and then restart.
14037 _LT_EOF
14038 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14039 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14040 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14041 else
14042 ld_shlibs_FC=no
14046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14047 case `$LD -v 2>&1` in
14048 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14049 ld_shlibs_FC=no
14050 cat <<_LT_EOF 1>&2
14052 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14053 *** reliably create shared libraries on SCO systems. Therefore, libtool
14054 *** is disabling shared libraries support. We urge you to upgrade GNU
14055 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14056 *** your PATH or compiler configuration so that the native linker is
14057 *** used, and then restart.
14059 _LT_EOF
14062 # For security reasons, it is highly recommended that you always
14063 # use absolute paths for naming shared libraries, and exclude the
14064 # DT_RUNPATH tag from executables and libraries. But doing so
14065 # requires that you compile everything twice, which is a pain.
14066 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14067 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14068 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14069 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14070 else
14071 ld_shlibs_FC=no
14074 esac
14077 sunos4*)
14078 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14079 wlarc=
14080 hardcode_direct_FC=yes
14081 hardcode_shlibpath_var_FC=no
14085 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14086 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14087 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14088 else
14089 ld_shlibs_FC=no
14092 esac
14094 if test "$ld_shlibs_FC" = no; then
14095 runpath_var=
14096 hardcode_libdir_flag_spec_FC=
14097 export_dynamic_flag_spec_FC=
14098 whole_archive_flag_spec_FC=
14100 else
14101 # PORTME fill in a description of your system's linker (not GNU ld)
14102 case $host_os in
14103 aix3*)
14104 allow_undefined_flag_FC=unsupported
14105 always_export_symbols_FC=yes
14106 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'
14107 # Note: this linker hardcodes the directories in LIBPATH if there
14108 # are no directories specified by -L.
14109 hardcode_minus_L_FC=yes
14110 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14111 # Neither direct hardcoding nor static linking is supported with a
14112 # broken collect2.
14113 hardcode_direct_FC=unsupported
14117 aix[4-9]*)
14118 if test "$host_cpu" = ia64; then
14119 # On IA64, the linker does run time linking by default, so we don't
14120 # have to do anything special.
14121 aix_use_runtimelinking=no
14122 exp_sym_flag='-Bexport'
14123 no_entry_flag=""
14124 else
14125 # If we're using GNU nm, then we don't want the "-C" option.
14126 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14127 # Also, AIX nm treats weak defined symbols like other global
14128 # defined symbols, whereas GNU nm marks them as "W".
14129 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14130 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'
14131 else
14132 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'
14134 aix_use_runtimelinking=no
14136 # Test if we are trying to use run time linking or normal
14137 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14138 # need to do runtime linking.
14139 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14140 for ld_flag in $LDFLAGS; do
14141 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14142 aix_use_runtimelinking=yes
14143 break
14145 done
14147 esac
14149 exp_sym_flag='-bexport'
14150 no_entry_flag='-bnoentry'
14153 # When large executables or shared objects are built, AIX ld can
14154 # have problems creating the table of contents. If linking a library
14155 # or program results in "error TOC overflow" add -mminimal-toc to
14156 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14157 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14159 archive_cmds_FC=''
14160 hardcode_direct_FC=yes
14161 hardcode_direct_absolute_FC=yes
14162 hardcode_libdir_separator_FC=':'
14163 link_all_deplibs_FC=yes
14164 file_list_spec_FC='${wl}-f,'
14166 if test "$GCC" = yes; then
14167 case $host_os in aix4.[012]|aix4.[012].*)
14168 # We only want to do this on AIX 4.2 and lower, the check
14169 # below for broken collect2 doesn't work under 4.3+
14170 collect2name=`${CC} -print-prog-name=collect2`
14171 if test -f "$collect2name" &&
14172 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14173 then
14174 # We have reworked collect2
14176 else
14177 # We have old collect2
14178 hardcode_direct_FC=unsupported
14179 # It fails to find uninstalled libraries when the uninstalled
14180 # path is not listed in the libpath. Setting hardcode_minus_L
14181 # to unsupported forces relinking
14182 hardcode_minus_L_FC=yes
14183 hardcode_libdir_flag_spec_FC='-L$libdir'
14184 hardcode_libdir_separator_FC=
14187 esac
14188 shared_flag='-shared'
14189 if test "$aix_use_runtimelinking" = yes; then
14190 shared_flag="$shared_flag "'${wl}-G'
14192 else
14193 # not using gcc
14194 if test "$host_cpu" = ia64; then
14195 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14196 # chokes on -Wl,-G. The following line is correct:
14197 shared_flag='-G'
14198 else
14199 if test "$aix_use_runtimelinking" = yes; then
14200 shared_flag='${wl}-G'
14201 else
14202 shared_flag='${wl}-bM:SRE'
14207 export_dynamic_flag_spec_FC='${wl}-bexpall'
14208 # It seems that -bexpall does not export symbols beginning with
14209 # underscore (_), so it is better to generate a list of symbols to export.
14210 always_export_symbols_FC=yes
14211 if test "$aix_use_runtimelinking" = yes; then
14212 # Warning - without using the other runtime loading flags (-brtl),
14213 # -berok will link without error, but may produce a broken library.
14214 allow_undefined_flag_FC='-berok'
14215 # Determine the default libpath from the value encoded in an
14216 # empty executable.
14217 if test x$gcc_no_link = xyes; then
14218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14220 cat > conftest.$ac_ext <<_ACEOF
14221 program main
14224 _ACEOF
14225 if ac_fn_fc_try_link "$LINENO"; then :
14227 lt_aix_libpath_sed='
14228 /Import File Strings/,/^$/ {
14229 /^0/ {
14230 s/^0 *\(.*\)$/\1/
14234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14235 # Check for a 64-bit object if we didn't find anything.
14236 if test -z "$aix_libpath"; then
14237 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14240 rm -f core conftest.err conftest.$ac_objext \
14241 conftest$ac_exeext conftest.$ac_ext
14242 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14244 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14245 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"
14246 else
14247 if test "$host_cpu" = ia64; then
14248 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14249 allow_undefined_flag_FC="-z nodefs"
14250 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"
14251 else
14252 # Determine the default libpath from the value encoded in an
14253 # empty executable.
14254 if test x$gcc_no_link = xyes; then
14255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14257 cat > conftest.$ac_ext <<_ACEOF
14258 program main
14261 _ACEOF
14262 if ac_fn_fc_try_link "$LINENO"; then :
14264 lt_aix_libpath_sed='
14265 /Import File Strings/,/^$/ {
14266 /^0/ {
14267 s/^0 *\(.*\)$/\1/
14271 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14272 # Check for a 64-bit object if we didn't find anything.
14273 if test -z "$aix_libpath"; then
14274 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14277 rm -f core conftest.err conftest.$ac_objext \
14278 conftest$ac_exeext conftest.$ac_ext
14279 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14281 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14282 # Warning - without using the other run time loading flags,
14283 # -berok will link without error, but may produce a broken library.
14284 no_undefined_flag_FC=' ${wl}-bernotok'
14285 allow_undefined_flag_FC=' ${wl}-berok'
14286 if test "$with_gnu_ld" = yes; then
14287 # We only use this code for GNU lds that support --whole-archive.
14288 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14289 else
14290 # Exported symbols can be pulled into shared objects from archives
14291 whole_archive_flag_spec_FC='$convenience'
14293 archive_cmds_need_lc_FC=yes
14294 # This is similar to how AIX traditionally builds its shared libraries.
14295 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'
14300 amigaos*)
14301 case $host_cpu in
14302 powerpc)
14303 # see comment about AmigaOS4 .so support
14304 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14305 archive_expsym_cmds_FC=''
14307 m68k)
14308 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)'
14309 hardcode_libdir_flag_spec_FC='-L$libdir'
14310 hardcode_minus_L_FC=yes
14312 esac
14315 bsdi[45]*)
14316 export_dynamic_flag_spec_FC=-rdynamic
14319 cygwin* | mingw* | pw32* | cegcc*)
14320 # When not using gcc, we currently assume that we are using
14321 # Microsoft Visual C++.
14322 # hardcode_libdir_flag_spec is actually meaningless, as there is
14323 # no search path for DLLs.
14324 hardcode_libdir_flag_spec_FC=' '
14325 allow_undefined_flag_FC=unsupported
14326 # Tell ltmain to make .lib files, not .a files.
14327 libext=lib
14328 # Tell ltmain to make .dll files, not .so files.
14329 shrext_cmds=".dll"
14330 # FIXME: Setting linknames here is a bad hack.
14331 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14332 # The linker will automatically build a .lib file if we build a DLL.
14333 old_archive_from_new_cmds_FC='true'
14334 # FIXME: Should let the user specify the lib program.
14335 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14336 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14337 enable_shared_with_static_runtimes_FC=yes
14340 darwin* | rhapsody*)
14343 archive_cmds_need_lc_FC=no
14344 hardcode_direct_FC=no
14345 hardcode_automatic_FC=yes
14346 hardcode_shlibpath_var_FC=unsupported
14347 if test "$lt_cv_ld_force_load" = "yes"; then
14348 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\"`'
14349 else
14350 whole_archive_flag_spec_FC=''
14352 link_all_deplibs_FC=yes
14353 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14354 case $cc_basename in
14355 ifort*) _lt_dar_can_shared=yes ;;
14356 *) _lt_dar_can_shared=$GCC ;;
14357 esac
14358 if test "$_lt_dar_can_shared" = "yes"; then
14359 output_verbose_link_cmd=func_echo_all
14360 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}"
14361 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14362 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}"
14363 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}"
14365 else
14366 ld_shlibs_FC=no
14371 dgux*)
14372 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14373 hardcode_libdir_flag_spec_FC='-L$libdir'
14374 hardcode_shlibpath_var_FC=no
14377 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14378 # support. Future versions do this automatically, but an explicit c++rt0.o
14379 # does not break anything, and helps significantly (at the cost of a little
14380 # extra space).
14381 freebsd2.2*)
14382 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14383 hardcode_libdir_flag_spec_FC='-R$libdir'
14384 hardcode_direct_FC=yes
14385 hardcode_shlibpath_var_FC=no
14388 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14389 freebsd2.*)
14390 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14391 hardcode_direct_FC=yes
14392 hardcode_minus_L_FC=yes
14393 hardcode_shlibpath_var_FC=no
14396 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14397 freebsd* | dragonfly*)
14398 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14399 hardcode_libdir_flag_spec_FC='-R$libdir'
14400 hardcode_direct_FC=yes
14401 hardcode_shlibpath_var_FC=no
14404 hpux9*)
14405 if test "$GCC" = yes; then
14406 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'
14407 else
14408 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'
14410 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14411 hardcode_libdir_separator_FC=:
14412 hardcode_direct_FC=yes
14414 # hardcode_minus_L: Not really in the search PATH,
14415 # but as the default location of the library.
14416 hardcode_minus_L_FC=yes
14417 export_dynamic_flag_spec_FC='${wl}-E'
14420 hpux10*)
14421 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14422 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14423 else
14424 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14426 if test "$with_gnu_ld" = no; then
14427 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14428 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14429 hardcode_libdir_separator_FC=:
14430 hardcode_direct_FC=yes
14431 hardcode_direct_absolute_FC=yes
14432 export_dynamic_flag_spec_FC='${wl}-E'
14433 # hardcode_minus_L: Not really in the search PATH,
14434 # but as the default location of the library.
14435 hardcode_minus_L_FC=yes
14439 hpux11*)
14440 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14441 case $host_cpu in
14442 hppa*64*)
14443 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14445 ia64*)
14446 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14449 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14451 esac
14452 else
14453 case $host_cpu in
14454 hppa*64*)
14455 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14457 ia64*)
14458 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14461 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14463 esac
14465 if test "$with_gnu_ld" = no; then
14466 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14467 hardcode_libdir_separator_FC=:
14469 case $host_cpu in
14470 hppa*64*|ia64*)
14471 hardcode_direct_FC=no
14472 hardcode_shlibpath_var_FC=no
14475 hardcode_direct_FC=yes
14476 hardcode_direct_absolute_FC=yes
14477 export_dynamic_flag_spec_FC='${wl}-E'
14479 # hardcode_minus_L: Not really in the search PATH,
14480 # but as the default location of the library.
14481 hardcode_minus_L_FC=yes
14483 esac
14487 irix5* | irix6* | nonstopux*)
14488 if test "$GCC" = yes; then
14489 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'
14490 # Try to use the -exported_symbol ld option, if it does not
14491 # work, assume that -exports_file does not work either and
14492 # implicitly export all symbols.
14493 save_LDFLAGS="$LDFLAGS"
14494 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14495 if test x$gcc_no_link = xyes; then
14496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14498 cat > conftest.$ac_ext <<_ACEOF
14499 int foo(void) {}
14500 _ACEOF
14501 if ac_fn_fc_try_link "$LINENO"; then :
14502 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'
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LDFLAGS="$save_LDFLAGS"
14508 else
14509 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'
14510 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'
14512 archive_cmds_need_lc_FC='no'
14513 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14514 hardcode_libdir_separator_FC=:
14515 inherit_rpath_FC=yes
14516 link_all_deplibs_FC=yes
14519 netbsd*)
14520 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14521 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14522 else
14523 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14525 hardcode_libdir_flag_spec_FC='-R$libdir'
14526 hardcode_direct_FC=yes
14527 hardcode_shlibpath_var_FC=no
14530 newsos6)
14531 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14532 hardcode_direct_FC=yes
14533 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14534 hardcode_libdir_separator_FC=:
14535 hardcode_shlibpath_var_FC=no
14538 *nto* | *qnx*)
14541 openbsd*)
14542 if test -f /usr/libexec/ld.so; then
14543 hardcode_direct_FC=yes
14544 hardcode_shlibpath_var_FC=no
14545 hardcode_direct_absolute_FC=yes
14546 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14547 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14548 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14549 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14550 export_dynamic_flag_spec_FC='${wl}-E'
14551 else
14552 case $host_os in
14553 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14554 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14555 hardcode_libdir_flag_spec_FC='-R$libdir'
14558 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14559 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14561 esac
14563 else
14564 ld_shlibs_FC=no
14568 os2*)
14569 hardcode_libdir_flag_spec_FC='-L$libdir'
14570 hardcode_minus_L_FC=yes
14571 allow_undefined_flag_FC=unsupported
14572 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'
14573 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14576 osf3*)
14577 if test "$GCC" = yes; then
14578 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14579 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'
14580 else
14581 allow_undefined_flag_FC=' -expect_unresolved \*'
14582 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'
14584 archive_cmds_need_lc_FC='no'
14585 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14586 hardcode_libdir_separator_FC=:
14589 osf4* | osf5*) # as osf3* with the addition of -msym flag
14590 if test "$GCC" = yes; then
14591 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14592 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'
14593 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14594 else
14595 allow_undefined_flag_FC=' -expect_unresolved \*'
14596 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'
14597 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~
14598 $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'
14600 # Both c and cxx compiler support -rpath directly
14601 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14603 archive_cmds_need_lc_FC='no'
14604 hardcode_libdir_separator_FC=:
14607 solaris*)
14608 no_undefined_flag_FC=' -z defs'
14609 if test "$GCC" = yes; then
14610 wlarc='${wl}'
14611 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14612 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14613 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14614 else
14615 case `$CC -V 2>&1` in
14616 *"Compilers 5.0"*)
14617 wlarc=''
14618 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14619 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14620 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14623 wlarc='${wl}'
14624 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14625 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14626 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14628 esac
14630 hardcode_libdir_flag_spec_FC='-R$libdir'
14631 hardcode_shlibpath_var_FC=no
14632 case $host_os in
14633 solaris2.[0-5] | solaris2.[0-5].*) ;;
14635 # The compiler driver will combine and reorder linker options,
14636 # but understands `-z linker_flag'. GCC discards it without `$wl',
14637 # but is careful enough not to reorder.
14638 # Supported since Solaris 2.6 (maybe 2.5.1?)
14639 if test "$GCC" = yes; then
14640 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14641 else
14642 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14645 esac
14646 link_all_deplibs_FC=yes
14649 sunos4*)
14650 if test "x$host_vendor" = xsequent; then
14651 # Use $CC to link under sequent, because it throws in some extra .o
14652 # files that make .init and .fini sections work.
14653 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14654 else
14655 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14657 hardcode_libdir_flag_spec_FC='-L$libdir'
14658 hardcode_direct_FC=yes
14659 hardcode_minus_L_FC=yes
14660 hardcode_shlibpath_var_FC=no
14663 sysv4)
14664 case $host_vendor in
14665 sni)
14666 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14667 hardcode_direct_FC=yes # is this really true???
14669 siemens)
14670 ## LD is ld it makes a PLAMLIB
14671 ## CC just makes a GrossModule.
14672 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14673 reload_cmds_FC='$CC -r -o $output$reload_objs'
14674 hardcode_direct_FC=no
14676 motorola)
14677 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14678 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14680 esac
14681 runpath_var='LD_RUN_PATH'
14682 hardcode_shlibpath_var_FC=no
14685 sysv4.3*)
14686 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14687 hardcode_shlibpath_var_FC=no
14688 export_dynamic_flag_spec_FC='-Bexport'
14691 sysv4*MP*)
14692 if test -d /usr/nec; then
14693 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14694 hardcode_shlibpath_var_FC=no
14695 runpath_var=LD_RUN_PATH
14696 hardcode_runpath_var=yes
14697 ld_shlibs_FC=yes
14701 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14702 no_undefined_flag_FC='${wl}-z,text'
14703 archive_cmds_need_lc_FC=no
14704 hardcode_shlibpath_var_FC=no
14705 runpath_var='LD_RUN_PATH'
14707 if test "$GCC" = yes; then
14708 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14709 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14710 else
14711 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14712 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14716 sysv5* | sco3.2v5* | sco5v6*)
14717 # Note: We can NOT use -z defs as we might desire, because we do not
14718 # link with -lc, and that would cause any symbols used from libc to
14719 # always be unresolved, which means just about no library would
14720 # ever link correctly. If we're not using GNU ld we use -z text
14721 # though, which does catch some bad symbols but isn't as heavy-handed
14722 # as -z defs.
14723 no_undefined_flag_FC='${wl}-z,text'
14724 allow_undefined_flag_FC='${wl}-z,nodefs'
14725 archive_cmds_need_lc_FC=no
14726 hardcode_shlibpath_var_FC=no
14727 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14728 hardcode_libdir_separator_FC=':'
14729 link_all_deplibs_FC=yes
14730 export_dynamic_flag_spec_FC='${wl}-Bexport'
14731 runpath_var='LD_RUN_PATH'
14733 if test "$GCC" = yes; then
14734 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14735 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14736 else
14737 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14738 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14742 uts4*)
14743 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14744 hardcode_libdir_flag_spec_FC='-L$libdir'
14745 hardcode_shlibpath_var_FC=no
14749 ld_shlibs_FC=no
14751 esac
14753 if test x$host_vendor = xsni; then
14754 case $host in
14755 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14756 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14758 esac
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14763 $as_echo "$ld_shlibs_FC" >&6; }
14764 test "$ld_shlibs_FC" = no && can_build_shared=no
14766 with_gnu_ld_FC=$with_gnu_ld
14774 # Do we need to explicitly link libc?
14776 case "x$archive_cmds_need_lc_FC" in
14777 x|xyes)
14778 # Assume -lc should be added
14779 archive_cmds_need_lc_FC=yes
14781 if test "$enable_shared" = yes && test "$GCC" = yes; then
14782 case $archive_cmds_FC in
14783 *'~'*)
14784 # FIXME: we may have to deal with multi-command sequences.
14786 '$CC '*)
14787 # Test whether the compiler implicitly links with -lc since on some
14788 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14789 # to ld, don't add -lc before -lgcc.
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14791 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14792 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14793 $as_echo_n "(cached) " >&6
14794 else
14795 $RM conftest*
14796 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14799 (eval $ac_compile) 2>&5
14800 ac_status=$?
14801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14802 test $ac_status = 0; } 2>conftest.err; then
14803 soname=conftest
14804 lib=conftest
14805 libobjs=conftest.$ac_objext
14806 deplibs=
14807 wl=$lt_prog_compiler_wl_FC
14808 pic_flag=$lt_prog_compiler_pic_FC
14809 compiler_flags=-v
14810 linker_flags=-v
14811 verstring=
14812 output_objdir=.
14813 libname=conftest
14814 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14815 allow_undefined_flag_FC=
14816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14817 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14818 ac_status=$?
14819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14820 test $ac_status = 0; }
14821 then
14822 lt_cv_archive_cmds_need_lc_FC=no
14823 else
14824 lt_cv_archive_cmds_need_lc_FC=yes
14826 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14827 else
14828 cat conftest.err 1>&5
14830 $RM conftest*
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14834 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14835 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14837 esac
14840 esac
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14906 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14908 library_names_spec=
14909 libname_spec='lib$name'
14910 soname_spec=
14911 shrext_cmds=".so"
14912 postinstall_cmds=
14913 postuninstall_cmds=
14914 finish_cmds=
14915 finish_eval=
14916 shlibpath_var=
14917 shlibpath_overrides_runpath=unknown
14918 version_type=none
14919 dynamic_linker="$host_os ld.so"
14920 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14921 need_lib_prefix=unknown
14922 hardcode_into_libs=no
14924 # when you set need_version to no, make sure it does not cause -set_version
14925 # flags to be left without arguments
14926 need_version=unknown
14928 case $host_os in
14929 aix3*)
14930 version_type=linux
14931 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14932 shlibpath_var=LIBPATH
14934 # AIX 3 has no versioning support, so we append a major version to the name.
14935 soname_spec='${libname}${release}${shared_ext}$major'
14938 aix[4-9]*)
14939 version_type=linux
14940 need_lib_prefix=no
14941 need_version=no
14942 hardcode_into_libs=yes
14943 if test "$host_cpu" = ia64; then
14944 # AIX 5 supports IA64
14945 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14946 shlibpath_var=LD_LIBRARY_PATH
14947 else
14948 # With GCC up to 2.95.x, collect2 would create an import file
14949 # for dependence libraries. The import file would start with
14950 # the line `#! .'. This would cause the generated library to
14951 # depend on `.', always an invalid library. This was fixed in
14952 # development snapshots of GCC prior to 3.0.
14953 case $host_os in
14954 aix4 | aix4.[01] | aix4.[01].*)
14955 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14956 echo ' yes '
14957 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14959 else
14960 can_build_shared=no
14963 esac
14964 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14965 # soname into executable. Probably we can add versioning support to
14966 # collect2, so additional links can be useful in future.
14967 if test "$aix_use_runtimelinking" = yes; then
14968 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14969 # instead of lib<name>.a to let people know that these are not
14970 # typical AIX shared libraries.
14971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14972 else
14973 # We preserve .a as extension for shared libraries through AIX4.2
14974 # and later when we are not doing run time linking.
14975 library_names_spec='${libname}${release}.a $libname.a'
14976 soname_spec='${libname}${release}${shared_ext}$major'
14978 shlibpath_var=LIBPATH
14982 amigaos*)
14983 case $host_cpu in
14984 powerpc)
14985 # Since July 2007 AmigaOS4 officially supports .so libraries.
14986 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14989 m68k)
14990 library_names_spec='$libname.ixlibrary $libname.a'
14991 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14992 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'
14994 esac
14997 beos*)
14998 library_names_spec='${libname}${shared_ext}'
14999 dynamic_linker="$host_os ld.so"
15000 shlibpath_var=LIBRARY_PATH
15003 bsdi[45]*)
15004 version_type=linux
15005 need_version=no
15006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15007 soname_spec='${libname}${release}${shared_ext}$major'
15008 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15009 shlibpath_var=LD_LIBRARY_PATH
15010 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15011 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15012 # the default ld.so.conf also contains /usr/contrib/lib and
15013 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15014 # libtool to hard-code these into programs
15017 cygwin* | mingw* | pw32* | cegcc*)
15018 version_type=windows
15019 shrext_cmds=".dll"
15020 need_version=no
15021 need_lib_prefix=no
15023 case $GCC,$host_os in
15024 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15025 library_names_spec='$libname.dll.a'
15026 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15027 postinstall_cmds='base_file=`basename \${file}`~
15028 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15029 dldir=$destdir/`dirname \$dlpath`~
15030 test -d \$dldir || mkdir -p \$dldir~
15031 $install_prog $dir/$dlname \$dldir/$dlname~
15032 chmod a+x \$dldir/$dlname~
15033 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15034 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15036 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15037 dlpath=$dir/\$dldll~
15038 $RM \$dlpath'
15039 shlibpath_overrides_runpath=yes
15041 case $host_os in
15042 cygwin*)
15043 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15044 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15047 mingw* | cegcc*)
15048 # MinGW DLLs use traditional 'lib' prefix
15049 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15051 pw32*)
15052 # pw32 DLLs use 'pw' prefix rather than 'lib'
15053 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15055 esac
15059 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15061 esac
15062 dynamic_linker='Win32 ld.exe'
15063 # FIXME: first we should search . and the directory the executable is in
15064 shlibpath_var=PATH
15067 darwin* | rhapsody*)
15068 dynamic_linker="$host_os dyld"
15069 version_type=darwin
15070 need_lib_prefix=no
15071 need_version=no
15072 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15073 soname_spec='${libname}${release}${major}$shared_ext'
15074 shlibpath_overrides_runpath=yes
15075 shlibpath_var=DYLD_LIBRARY_PATH
15076 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15078 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15081 dgux*)
15082 version_type=linux
15083 need_lib_prefix=no
15084 need_version=no
15085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15086 soname_spec='${libname}${release}${shared_ext}$major'
15087 shlibpath_var=LD_LIBRARY_PATH
15090 freebsd* | dragonfly*)
15091 # DragonFly does not have aout. When/if they implement a new
15092 # versioning mechanism, adjust this.
15093 if test -x /usr/bin/objformat; then
15094 objformat=`/usr/bin/objformat`
15095 else
15096 case $host_os in
15097 freebsd[23].*) objformat=aout ;;
15098 *) objformat=elf ;;
15099 esac
15101 version_type=freebsd-$objformat
15102 case $version_type in
15103 freebsd-elf*)
15104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15105 need_version=no
15106 need_lib_prefix=no
15108 freebsd-*)
15109 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15110 need_version=yes
15112 esac
15113 shlibpath_var=LD_LIBRARY_PATH
15114 case $host_os in
15115 freebsd2.*)
15116 shlibpath_overrides_runpath=yes
15118 freebsd3.[01]* | freebsdelf3.[01]*)
15119 shlibpath_overrides_runpath=yes
15120 hardcode_into_libs=yes
15122 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15123 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15124 shlibpath_overrides_runpath=no
15125 hardcode_into_libs=yes
15127 *) # from 4.6 on, and DragonFly
15128 shlibpath_overrides_runpath=yes
15129 hardcode_into_libs=yes
15131 esac
15134 gnu*)
15135 version_type=linux
15136 need_lib_prefix=no
15137 need_version=no
15138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15139 soname_spec='${libname}${release}${shared_ext}$major'
15140 shlibpath_var=LD_LIBRARY_PATH
15141 hardcode_into_libs=yes
15144 haiku*)
15145 version_type=linux
15146 need_lib_prefix=no
15147 need_version=no
15148 dynamic_linker="$host_os runtime_loader"
15149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15150 soname_spec='${libname}${release}${shared_ext}$major'
15151 shlibpath_var=LIBRARY_PATH
15152 shlibpath_overrides_runpath=yes
15153 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15154 hardcode_into_libs=yes
15157 hpux9* | hpux10* | hpux11*)
15158 # Give a soname corresponding to the major version so that dld.sl refuses to
15159 # link against other versions.
15160 version_type=sunos
15161 need_lib_prefix=no
15162 need_version=no
15163 case $host_cpu in
15164 ia64*)
15165 shrext_cmds='.so'
15166 hardcode_into_libs=yes
15167 dynamic_linker="$host_os dld.so"
15168 shlibpath_var=LD_LIBRARY_PATH
15169 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15171 soname_spec='${libname}${release}${shared_ext}$major'
15172 if test "X$HPUX_IA64_MODE" = X32; then
15173 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15174 else
15175 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15177 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15179 hppa*64*)
15180 shrext_cmds='.sl'
15181 hardcode_into_libs=yes
15182 dynamic_linker="$host_os dld.sl"
15183 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15184 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15186 soname_spec='${libname}${release}${shared_ext}$major'
15187 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15188 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15191 shrext_cmds='.sl'
15192 dynamic_linker="$host_os dld.sl"
15193 shlibpath_var=SHLIB_PATH
15194 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15196 soname_spec='${libname}${release}${shared_ext}$major'
15198 esac
15199 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15200 postinstall_cmds='chmod 555 $lib'
15201 # or fails outright, so override atomically:
15202 install_override_mode=555
15205 interix[3-9]*)
15206 version_type=linux
15207 need_lib_prefix=no
15208 need_version=no
15209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15210 soname_spec='${libname}${release}${shared_ext}$major'
15211 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15212 shlibpath_var=LD_LIBRARY_PATH
15213 shlibpath_overrides_runpath=no
15214 hardcode_into_libs=yes
15217 irix5* | irix6* | nonstopux*)
15218 case $host_os in
15219 nonstopux*) version_type=nonstopux ;;
15221 if test "$lt_cv_prog_gnu_ld" = yes; then
15222 version_type=linux
15223 else
15224 version_type=irix
15225 fi ;;
15226 esac
15227 need_lib_prefix=no
15228 need_version=no
15229 soname_spec='${libname}${release}${shared_ext}$major'
15230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15231 case $host_os in
15232 irix5* | nonstopux*)
15233 libsuff= shlibsuff=
15236 case $LD in # libtool.m4 will add one of these switches to LD
15237 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15238 libsuff= shlibsuff= libmagic=32-bit;;
15239 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15240 libsuff=32 shlibsuff=N32 libmagic=N32;;
15241 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15242 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15243 *) libsuff= shlibsuff= libmagic=never-match;;
15244 esac
15246 esac
15247 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15248 shlibpath_overrides_runpath=no
15249 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15250 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15251 hardcode_into_libs=yes
15254 # No shared lib support for Linux oldld, aout, or coff.
15255 linux*oldld* | linux*aout* | linux*coff*)
15256 dynamic_linker=no
15259 # This must be Linux ELF.
15260 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15261 version_type=linux
15262 need_lib_prefix=no
15263 need_version=no
15264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15265 soname_spec='${libname}${release}${shared_ext}$major'
15266 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15267 shlibpath_var=LD_LIBRARY_PATH
15268 shlibpath_overrides_runpath=no
15270 # Some binutils ld are patched to set DT_RUNPATH
15271 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15272 $as_echo_n "(cached) " >&6
15273 else
15274 lt_cv_shlibpath_overrides_runpath=no
15275 save_LDFLAGS=$LDFLAGS
15276 save_libdir=$libdir
15277 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15278 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15279 if test x$gcc_no_link = xyes; then
15280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15282 cat > conftest.$ac_ext <<_ACEOF
15283 program main
15286 _ACEOF
15287 if ac_fn_fc_try_link "$LINENO"; then :
15288 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15289 lt_cv_shlibpath_overrides_runpath=yes
15292 rm -f core conftest.err conftest.$ac_objext \
15293 conftest$ac_exeext conftest.$ac_ext
15294 LDFLAGS=$save_LDFLAGS
15295 libdir=$save_libdir
15299 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15301 # This implies no fast_install, which is unacceptable.
15302 # Some rework will be needed to allow for fast_install
15303 # before this can be enabled.
15304 hardcode_into_libs=yes
15306 # Append ld.so.conf contents to the search path
15307 if test -f /etc/ld.so.conf; then
15308 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' ' '`
15309 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15312 # We used to test for /lib/ld.so.1 and disable shared libraries on
15313 # powerpc, because MkLinux only supported shared libraries with the
15314 # GNU dynamic linker. Since this was broken with cross compilers,
15315 # most powerpc-linux boxes support dynamic linking these days and
15316 # people can always --disable-shared, the test was removed, and we
15317 # assume the GNU/Linux dynamic linker is in use.
15318 dynamic_linker='GNU/Linux ld.so'
15321 netbsd*)
15322 version_type=sunos
15323 need_lib_prefix=no
15324 need_version=no
15325 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15327 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15328 dynamic_linker='NetBSD (a.out) ld.so'
15329 else
15330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15331 soname_spec='${libname}${release}${shared_ext}$major'
15332 dynamic_linker='NetBSD ld.elf_so'
15334 shlibpath_var=LD_LIBRARY_PATH
15335 shlibpath_overrides_runpath=yes
15336 hardcode_into_libs=yes
15339 newsos6)
15340 version_type=linux
15341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15342 shlibpath_var=LD_LIBRARY_PATH
15343 shlibpath_overrides_runpath=yes
15346 *nto* | *qnx*)
15347 version_type=qnx
15348 need_lib_prefix=no
15349 need_version=no
15350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15351 soname_spec='${libname}${release}${shared_ext}$major'
15352 shlibpath_var=LD_LIBRARY_PATH
15353 shlibpath_overrides_runpath=no
15354 hardcode_into_libs=yes
15355 dynamic_linker='ldqnx.so'
15358 openbsd*)
15359 version_type=sunos
15360 sys_lib_dlsearch_path_spec="/usr/lib"
15361 need_lib_prefix=no
15362 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15363 case $host_os in
15364 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15365 *) need_version=no ;;
15366 esac
15367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15368 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15369 shlibpath_var=LD_LIBRARY_PATH
15370 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15371 case $host_os in
15372 openbsd2.[89] | openbsd2.[89].*)
15373 shlibpath_overrides_runpath=no
15376 shlibpath_overrides_runpath=yes
15378 esac
15379 else
15380 shlibpath_overrides_runpath=yes
15384 os2*)
15385 libname_spec='$name'
15386 shrext_cmds=".dll"
15387 need_lib_prefix=no
15388 library_names_spec='$libname${shared_ext} $libname.a'
15389 dynamic_linker='OS/2 ld.exe'
15390 shlibpath_var=LIBPATH
15393 osf3* | osf4* | osf5*)
15394 version_type=osf
15395 need_lib_prefix=no
15396 need_version=no
15397 soname_spec='${libname}${release}${shared_ext}$major'
15398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15399 shlibpath_var=LD_LIBRARY_PATH
15400 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15401 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15404 rdos*)
15405 dynamic_linker=no
15408 solaris*)
15409 version_type=linux
15410 need_lib_prefix=no
15411 need_version=no
15412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15413 soname_spec='${libname}${release}${shared_ext}$major'
15414 shlibpath_var=LD_LIBRARY_PATH
15415 shlibpath_overrides_runpath=yes
15416 hardcode_into_libs=yes
15417 # ldd complains unless libraries are executable
15418 postinstall_cmds='chmod +x $lib'
15421 sunos4*)
15422 version_type=sunos
15423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15424 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15425 shlibpath_var=LD_LIBRARY_PATH
15426 shlibpath_overrides_runpath=yes
15427 if test "$with_gnu_ld" = yes; then
15428 need_lib_prefix=no
15430 need_version=yes
15433 sysv4 | sysv4.3*)
15434 version_type=linux
15435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15436 soname_spec='${libname}${release}${shared_ext}$major'
15437 shlibpath_var=LD_LIBRARY_PATH
15438 case $host_vendor in
15439 sni)
15440 shlibpath_overrides_runpath=no
15441 need_lib_prefix=no
15442 runpath_var=LD_RUN_PATH
15444 siemens)
15445 need_lib_prefix=no
15447 motorola)
15448 need_lib_prefix=no
15449 need_version=no
15450 shlibpath_overrides_runpath=no
15451 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15453 esac
15456 sysv4*MP*)
15457 if test -d /usr/nec ;then
15458 version_type=linux
15459 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15460 soname_spec='$libname${shared_ext}.$major'
15461 shlibpath_var=LD_LIBRARY_PATH
15465 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15466 version_type=freebsd-elf
15467 need_lib_prefix=no
15468 need_version=no
15469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15470 soname_spec='${libname}${release}${shared_ext}$major'
15471 shlibpath_var=LD_LIBRARY_PATH
15472 shlibpath_overrides_runpath=yes
15473 hardcode_into_libs=yes
15474 if test "$with_gnu_ld" = yes; then
15475 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15476 else
15477 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15478 case $host_os in
15479 sco3.2v5*)
15480 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15482 esac
15484 sys_lib_dlsearch_path_spec='/usr/lib'
15487 tpf*)
15488 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15489 version_type=linux
15490 need_lib_prefix=no
15491 need_version=no
15492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15493 shlibpath_var=LD_LIBRARY_PATH
15494 shlibpath_overrides_runpath=no
15495 hardcode_into_libs=yes
15498 uts4*)
15499 version_type=linux
15500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15501 soname_spec='${libname}${release}${shared_ext}$major'
15502 shlibpath_var=LD_LIBRARY_PATH
15506 dynamic_linker=no
15508 esac
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15510 $as_echo "$dynamic_linker" >&6; }
15511 test "$dynamic_linker" = no && can_build_shared=no
15513 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15514 if test "$GCC" = yes; then
15515 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15518 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15519 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15521 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15522 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15563 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15564 hardcode_action_FC=
15565 if test -n "$hardcode_libdir_flag_spec_FC" ||
15566 test -n "$runpath_var_FC" ||
15567 test "X$hardcode_automatic_FC" = "Xyes" ; then
15569 # We can hardcode non-existent directories.
15570 if test "$hardcode_direct_FC" != no &&
15571 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15572 # have to relink, otherwise we might link with an installed library
15573 # when we should be linking with a yet-to-be-installed one
15574 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15575 test "$hardcode_minus_L_FC" != no; then
15576 # Linking always hardcodes the temporary library directory.
15577 hardcode_action_FC=relink
15578 else
15579 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15580 hardcode_action_FC=immediate
15582 else
15583 # We cannot hardcode anything, or else we can only hardcode existing
15584 # directories.
15585 hardcode_action_FC=unsupported
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15588 $as_echo "$hardcode_action_FC" >&6; }
15590 if test "$hardcode_action_FC" = relink ||
15591 test "$inherit_rpath_FC" = yes; then
15592 # Fast installation is not supported
15593 enable_fast_install=no
15594 elif test "$shlibpath_overrides_runpath" = yes ||
15595 test "$enable_shared" = no; then
15596 # Fast installation is not necessary
15597 enable_fast_install=needless
15606 fi # test -n "$compiler"
15608 GCC=$lt_save_GCC
15609 CC="$lt_save_CC"
15610 fi # test "$_lt_disable_FC" != yes
15612 ac_ext=c
15613 ac_cpp='$CPP $CPPFLAGS'
15614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15620 # extra LD Flags which are required for targets
15621 case "${host}" in
15622 *-darwin*)
15623 # Darwin needs -single_module when linking libgfortran
15624 extra_ldflags_libgfortran=-Wl,-single_module
15626 esac
15629 # We need a working compiler at that point, otherwise give a clear
15630 # error message and bail out.
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15633 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15634 ac_ext=${ac_fc_srcext-f}
15635 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15636 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15637 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15639 cat > conftest.$ac_ext <<_ACEOF
15641 program foo
15642 real, parameter :: bar = sin (12.34 / 2.5)
15643 end program foo
15644 _ACEOF
15645 if ac_fn_fc_try_compile "$LINENO"; then :
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15647 $as_echo "yes" >&6; }
15648 else
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15650 $as_echo "no" >&6; }
15651 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15655 ac_ext=c
15656 ac_cpp='$CPP $CPPFLAGS'
15657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15663 # Check whether --enable-largefile was given.
15664 if test "${enable_largefile+set}" = set; then :
15665 enableval=$enable_largefile;
15668 if test "$enable_largefile" != no; then
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15671 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15672 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15673 $as_echo_n "(cached) " >&6
15674 else
15675 ac_cv_sys_largefile_CC=no
15676 if test "$GCC" != yes; then
15677 ac_save_CC=$CC
15678 while :; do
15679 # IRIX 6.2 and later do not support large files by default,
15680 # so use the C compiler's -n32 option if that helps.
15681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15683 #include <sys/types.h>
15684 /* Check that off_t can represent 2**63 - 1 correctly.
15685 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15686 since some C++ compilers masquerading as C compilers
15687 incorrectly reject 9223372036854775807. */
15688 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15689 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15690 && LARGE_OFF_T % 2147483647 == 1)
15691 ? 1 : -1];
15693 main ()
15697 return 0;
15699 _ACEOF
15700 if ac_fn_c_try_compile "$LINENO"; then :
15701 break
15703 rm -f core conftest.err conftest.$ac_objext
15704 CC="$CC -n32"
15705 if ac_fn_c_try_compile "$LINENO"; then :
15706 ac_cv_sys_largefile_CC=' -n32'; break
15708 rm -f core conftest.err conftest.$ac_objext
15709 break
15710 done
15711 CC=$ac_save_CC
15712 rm -f conftest.$ac_ext
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15716 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15717 if test "$ac_cv_sys_largefile_CC" != no; then
15718 CC=$CC$ac_cv_sys_largefile_CC
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15722 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15723 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15724 $as_echo_n "(cached) " >&6
15725 else
15726 while :; do
15727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15728 /* end confdefs.h. */
15729 #include <sys/types.h>
15730 /* Check that off_t can represent 2**63 - 1 correctly.
15731 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15732 since some C++ compilers masquerading as C compilers
15733 incorrectly reject 9223372036854775807. */
15734 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15735 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15736 && LARGE_OFF_T % 2147483647 == 1)
15737 ? 1 : -1];
15739 main ()
15743 return 0;
15745 _ACEOF
15746 if ac_fn_c_try_compile "$LINENO"; then :
15747 ac_cv_sys_file_offset_bits=no; break
15749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15751 /* end confdefs.h. */
15752 #define _FILE_OFFSET_BITS 64
15753 #include <sys/types.h>
15754 /* Check that off_t can represent 2**63 - 1 correctly.
15755 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15756 since some C++ compilers masquerading as C compilers
15757 incorrectly reject 9223372036854775807. */
15758 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15759 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15760 && LARGE_OFF_T % 2147483647 == 1)
15761 ? 1 : -1];
15763 main ()
15767 return 0;
15769 _ACEOF
15770 if ac_fn_c_try_compile "$LINENO"; then :
15771 ac_cv_sys_file_offset_bits=64; break
15773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15774 ac_cv_sys_file_offset_bits=unknown
15775 break
15776 done
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15779 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15780 case $ac_cv_sys_file_offset_bits in #(
15781 no | unknown) ;;
15783 cat >>confdefs.h <<_ACEOF
15784 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15785 _ACEOF
15787 esac
15788 rm -rf conftest*
15789 if test $ac_cv_sys_file_offset_bits = unknown; then
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15791 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15792 if test "${ac_cv_sys_large_files+set}" = set; then :
15793 $as_echo_n "(cached) " >&6
15794 else
15795 while :; do
15796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15798 #include <sys/types.h>
15799 /* Check that off_t can represent 2**63 - 1 correctly.
15800 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15801 since some C++ compilers masquerading as C compilers
15802 incorrectly reject 9223372036854775807. */
15803 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15804 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15805 && LARGE_OFF_T % 2147483647 == 1)
15806 ? 1 : -1];
15808 main ()
15812 return 0;
15814 _ACEOF
15815 if ac_fn_c_try_compile "$LINENO"; then :
15816 ac_cv_sys_large_files=no; break
15818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15821 #define _LARGE_FILES 1
15822 #include <sys/types.h>
15823 /* Check that off_t can represent 2**63 - 1 correctly.
15824 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15825 since some C++ compilers masquerading as C compilers
15826 incorrectly reject 9223372036854775807. */
15827 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15828 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15829 && LARGE_OFF_T % 2147483647 == 1)
15830 ? 1 : -1];
15832 main ()
15836 return 0;
15838 _ACEOF
15839 if ac_fn_c_try_compile "$LINENO"; then :
15840 ac_cv_sys_large_files=1; break
15842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15843 ac_cv_sys_large_files=unknown
15844 break
15845 done
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15848 $as_echo "$ac_cv_sys_large_files" >&6; }
15849 case $ac_cv_sys_large_files in #(
15850 no | unknown) ;;
15852 cat >>confdefs.h <<_ACEOF
15853 #define _LARGE_FILES $ac_cv_sys_large_files
15854 _ACEOF
15856 esac
15857 rm -rf conftest*
15862 # Types
15863 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15864 if test "x$ac_cv_type_off_t" = x""yes; then :
15866 else
15868 cat >>confdefs.h <<_ACEOF
15869 #define off_t long int
15870 _ACEOF
15875 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15876 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15878 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15880 else
15881 for ac_type in 'int' 'long int' 'long long int'; do
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15884 $ac_includes_default
15886 main ()
15888 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15889 test_array [0] = 0
15892 return 0;
15894 _ACEOF
15895 if ac_fn_c_try_compile "$LINENO"; then :
15897 cat >>confdefs.h <<_ACEOF
15898 #define intptr_t $ac_type
15899 _ACEOF
15901 ac_type=
15903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15904 test -z "$ac_type" && break
15905 done
15910 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15911 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15913 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15915 else
15916 for ac_type in 'unsigned int' 'unsigned long int' \
15917 'unsigned long long int'; do
15918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15919 /* end confdefs.h. */
15920 $ac_includes_default
15922 main ()
15924 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15925 test_array [0] = 0
15928 return 0;
15930 _ACEOF
15931 if ac_fn_c_try_compile "$LINENO"; then :
15933 cat >>confdefs.h <<_ACEOF
15934 #define uintptr_t $ac_type
15935 _ACEOF
15937 ac_type=
15939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15940 test -z "$ac_type" && break
15941 done
15945 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15946 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15948 cat >>confdefs.h <<_ACEOF
15949 #define HAVE_PTRDIFF_T 1
15950 _ACEOF
15956 # check header files (we assume C89 is available, so don't check for that)
15960 for ac_header in $ac_header_list
15961 do :
15962 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15963 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15965 eval as_val=\$$as_ac_Header
15966 if test "x$as_val" = x""yes; then :
15967 cat >>confdefs.h <<_ACEOF
15968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15969 _ACEOF
15973 done
16007 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16009 acx_cv_header_stdint=stddef.h
16010 acx_cv_header_stdint_kind="(already complete)"
16011 for i in stdint.h $inttype_headers; do
16012 unset ac_cv_type_uintptr_t
16013 unset ac_cv_type_uintmax_t
16014 unset ac_cv_type_int_least32_t
16015 unset ac_cv_type_int_fast32_t
16016 unset ac_cv_type_uint64_t
16017 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16018 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16019 #include <$i>
16021 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16022 acx_cv_header_stdint=$i
16023 else
16024 continue
16027 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16028 #include <$i>
16030 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16032 else
16033 acx_cv_header_stdint_kind="(mostly complete)"
16036 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16037 #include <$i>
16039 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16041 else
16042 acx_cv_header_stdint_kind="(mostly complete)"
16045 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16046 #include <$i>
16048 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16050 else
16051 acx_cv_header_stdint_kind="(mostly complete)"
16054 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16055 #include <$i>
16057 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16059 else
16060 acx_cv_header_stdint_kind="(lacks uint64_t)"
16063 break
16064 done
16065 if test "$acx_cv_header_stdint" = stddef.h; then
16066 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16067 for i in stdint.h $inttype_headers; do
16068 unset ac_cv_type_uintptr_t
16069 unset ac_cv_type_uint32_t
16070 unset ac_cv_type_uint64_t
16071 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16072 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16073 #include <$i>
16075 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16076 acx_cv_header_stdint=$i
16077 else
16078 continue
16081 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16082 #include <$i>
16084 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16088 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16089 #include <$i>
16091 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16095 break
16096 done
16098 if test "$acx_cv_header_stdint" = stddef.h; then
16099 acx_cv_header_stdint_kind="(u_intXX_t style)"
16100 for i in sys/types.h $inttype_headers; do
16101 unset ac_cv_type_u_int32_t
16102 unset ac_cv_type_u_int64_t
16103 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16104 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16105 #include <$i>
16107 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16108 acx_cv_header_stdint=$i
16109 else
16110 continue
16113 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16114 #include <$i>
16116 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16120 break
16121 done
16123 if test "$acx_cv_header_stdint" = stddef.h; then
16124 acx_cv_header_stdint_kind="(using manual detection)"
16127 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16128 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16129 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16130 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16131 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16133 # ----------------- Summarize what we found so far
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16136 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16138 case `$as_basename -- gstdint.h ||
16139 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16140 Xgstdint.h : 'X\(//\)$' \| \
16141 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16142 $as_echo X/gstdint.h |
16143 sed '/^.*\/\([^/][^/]*\)\/*$/{
16144 s//\1/
16147 /^X\/\(\/\/\)$/{
16148 s//\1/
16151 /^X\/\(\/\).*/{
16152 s//\1/
16155 s/.*/./; q'` in
16156 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16157 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16158 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16159 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16160 *) ;;
16161 esac
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16164 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16166 # ----------------- done included file, check C basic types --------
16168 # Lacking an uintptr_t? Test size of void *
16169 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16170 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16173 # This bug is HP SR number 8606223364.
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16175 $as_echo_n "checking size of void *... " >&6; }
16176 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16177 $as_echo_n "(cached) " >&6
16178 else
16179 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16181 else
16182 if test "$ac_cv_type_void_p" = yes; then
16183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16185 { as_fn_set_status 77
16186 as_fn_error "cannot compute sizeof (void *)
16187 See \`config.log' for more details." "$LINENO" 5; }; }
16188 else
16189 ac_cv_sizeof_void_p=0
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16195 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16199 cat >>confdefs.h <<_ACEOF
16200 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16201 _ACEOF
16204 esac
16206 # Lacking an uint64_t? Test size of long
16207 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16208 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16211 # This bug is HP SR number 8606223364.
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16213 $as_echo_n "checking size of long... " >&6; }
16214 if test "${ac_cv_sizeof_long+set}" = set; then :
16215 $as_echo_n "(cached) " >&6
16216 else
16217 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16219 else
16220 if test "$ac_cv_type_long" = yes; then
16221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16223 { as_fn_set_status 77
16224 as_fn_error "cannot compute sizeof (long)
16225 See \`config.log' for more details." "$LINENO" 5; }; }
16226 else
16227 ac_cv_sizeof_long=0
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16233 $as_echo "$ac_cv_sizeof_long" >&6; }
16237 cat >>confdefs.h <<_ACEOF
16238 #define SIZEOF_LONG $ac_cv_sizeof_long
16239 _ACEOF
16242 esac
16244 if test $acx_cv_header_stdint = stddef.h; then
16245 # Lacking a good header? Test size of everything and deduce all types.
16246 # The cast to long int works around a bug in the HP C Compiler
16247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16249 # This bug is HP SR number 8606223364.
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16251 $as_echo_n "checking size of int... " >&6; }
16252 if test "${ac_cv_sizeof_int+set}" = set; then :
16253 $as_echo_n "(cached) " >&6
16254 else
16255 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16257 else
16258 if test "$ac_cv_type_int" = yes; then
16259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16261 { as_fn_set_status 77
16262 as_fn_error "cannot compute sizeof (int)
16263 See \`config.log' for more details." "$LINENO" 5; }; }
16264 else
16265 ac_cv_sizeof_int=0
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16271 $as_echo "$ac_cv_sizeof_int" >&6; }
16275 cat >>confdefs.h <<_ACEOF
16276 #define SIZEOF_INT $ac_cv_sizeof_int
16277 _ACEOF
16280 # The cast to long int works around a bug in the HP C Compiler
16281 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16282 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16283 # This bug is HP SR number 8606223364.
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16285 $as_echo_n "checking size of short... " >&6; }
16286 if test "${ac_cv_sizeof_short+set}" = set; then :
16287 $as_echo_n "(cached) " >&6
16288 else
16289 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16291 else
16292 if test "$ac_cv_type_short" = yes; then
16293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16295 { as_fn_set_status 77
16296 as_fn_error "cannot compute sizeof (short)
16297 See \`config.log' for more details." "$LINENO" 5; }; }
16298 else
16299 ac_cv_sizeof_short=0
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16305 $as_echo "$ac_cv_sizeof_short" >&6; }
16309 cat >>confdefs.h <<_ACEOF
16310 #define SIZEOF_SHORT $ac_cv_sizeof_short
16311 _ACEOF
16314 # The cast to long int works around a bug in the HP C Compiler
16315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16317 # This bug is HP SR number 8606223364.
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16319 $as_echo_n "checking size of char... " >&6; }
16320 if test "${ac_cv_sizeof_char+set}" = set; then :
16321 $as_echo_n "(cached) " >&6
16322 else
16323 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16325 else
16326 if test "$ac_cv_type_char" = yes; then
16327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16329 { as_fn_set_status 77
16330 as_fn_error "cannot compute sizeof (char)
16331 See \`config.log' for more details." "$LINENO" 5; }; }
16332 else
16333 ac_cv_sizeof_char=0
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16339 $as_echo "$ac_cv_sizeof_char" >&6; }
16343 cat >>confdefs.h <<_ACEOF
16344 #define SIZEOF_CHAR $ac_cv_sizeof_char
16345 _ACEOF
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16350 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16351 case "$ac_cv_sizeof_char" in
16352 1) acx_cv_type_int8_t=char ;;
16353 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16354 esac
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16356 $as_echo "$acx_cv_type_int8_t" >&6; }
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16359 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16360 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16361 2:*) acx_cv_type_int16_t=int ;;
16362 *:2) acx_cv_type_int16_t=short ;;
16363 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16364 esac
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16366 $as_echo "$acx_cv_type_int16_t" >&6; }
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16369 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16370 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16371 4:*) acx_cv_type_int32_t=int ;;
16372 *:4) acx_cv_type_int32_t=long ;;
16373 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16374 esac
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16376 $as_echo "$acx_cv_type_int32_t" >&6; }
16379 # These tests are here to make the output prettier
16381 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16382 case "$ac_cv_sizeof_long" in
16383 8) acx_cv_type_int64_t=long ;;
16384 esac
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16386 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16388 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16391 # Now we can use the above types
16393 if test "$ac_cv_type_uintptr_t" != yes; then
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16395 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16396 case $ac_cv_sizeof_void_p in
16397 2) acx_cv_type_intptr_t=int16_t ;;
16398 4) acx_cv_type_intptr_t=int32_t ;;
16399 8) acx_cv_type_intptr_t=int64_t ;;
16400 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16401 esac
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16403 $as_echo "$acx_cv_type_intptr_t" >&6; }
16406 # ----------------- done all checks, emit header -------------
16407 ac_config_commands="$ac_config_commands gstdint.h"
16412 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16413 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16415 cat >>confdefs.h <<_ACEOF
16416 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16417 _ACEOF
16421 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16422 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16426 _ACEOF
16430 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16431 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16433 cat >>confdefs.h <<_ACEOF
16434 #define HAVE_STRUCT_STAT_ST_RDEV 1
16435 _ACEOF
16441 # Check for library functions.
16442 if test "x${with_newlib}" = "xyes"; then
16443 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16444 # may not work correctly, because the compiler may not be able to
16445 # link executables.
16447 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16450 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16453 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16456 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16459 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16462 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16465 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16468 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16470 else
16474 for ac_func in $ac_func_list
16475 do :
16476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16478 eval as_val=\$$as_ac_var
16479 if test "x$as_val" = x""yes; then :
16480 cat >>confdefs.h <<_ACEOF
16481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16482 _ACEOF
16485 done
16592 # Check strerror_r, cannot be above as versions with two and three arguments exist
16594 ac_save_CFLAGS="$CFLAGS"
16595 CFLAGS="-Wimplicit-function-declaration -Werror"
16596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16598 #define _GNU_SOURCE 1
16599 #include <string.h>
16600 #include <locale.h>
16602 main ()
16604 char s[128]; strerror_r(5, s, 128);
16606 return 0;
16608 _ACEOF
16609 if ac_fn_c_try_compile "$LINENO"; then :
16611 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16615 CFLAGS="$ac_save_CFLAGS"
16617 ac_save_CFLAGS="$CFLAGS"
16618 CFLAGS="-Wimplicit-function-declaration -Werror"
16619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16621 #define _GNU_SOURCE 1
16622 #include <string.h>
16623 #include <locale.h>
16625 main ()
16627 char s[128]; strerror_r(5, s);
16629 return 0;
16631 _ACEOF
16632 if ac_fn_c_try_compile "$LINENO"; then :
16634 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16638 CFLAGS="$ac_save_CFLAGS"
16641 # Check for C99 (and other IEEE) math functions
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16643 $as_echo_n "checking for sin in -lm... " >&6; }
16644 if test "${ac_cv_lib_m_sin+set}" = set; then :
16645 $as_echo_n "(cached) " >&6
16646 else
16647 ac_check_lib_save_LIBS=$LIBS
16648 LIBS="-lm $LIBS"
16649 if test x$gcc_no_link = xyes; then
16650 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16655 /* Override any GCC internal prototype to avoid an error.
16656 Use char because int might match the return type of a GCC
16657 builtin and then its argument prototype would still apply. */
16658 #ifdef __cplusplus
16659 extern "C"
16660 #endif
16661 char sin ();
16663 main ()
16665 return sin ();
16667 return 0;
16669 _ACEOF
16670 if ac_fn_c_try_link "$LINENO"; then :
16671 ac_cv_lib_m_sin=yes
16672 else
16673 ac_cv_lib_m_sin=no
16675 rm -f core conftest.err conftest.$ac_objext \
16676 conftest$ac_exeext conftest.$ac_ext
16677 LIBS=$ac_check_lib_save_LIBS
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16680 $as_echo "$ac_cv_lib_m_sin" >&6; }
16681 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16682 cat >>confdefs.h <<_ACEOF
16683 #define HAVE_LIBM 1
16684 _ACEOF
16686 LIBS="-lm $LIBS"
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16697 $as_echo_n "checking for acosf... " >&6; }
16698 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16699 $as_echo_n "(cached) " >&6
16700 else
16701 if test x$gcc_no_link = xyes; then
16702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16707 #ifdef HAVE_COMPLEX_H
16708 #include <complex.h>
16709 #endif
16710 #ifdef HAVE_MATH_H
16711 #include <math.h>
16712 #endif
16714 int (*ptr)() = (int (*)())acosf;
16717 main ()
16719 return 0;
16722 _ACEOF
16723 if ac_fn_c_try_link "$LINENO"; then :
16724 gcc_cv_math_func_acosf=yes
16725 else
16726 gcc_cv_math_func_acosf=no
16728 rm -f core conftest.err conftest.$ac_objext \
16729 conftest$ac_exeext conftest.$ac_ext
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16732 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16733 if test $gcc_cv_math_func_acosf = yes; then
16735 cat >>confdefs.h <<_ACEOF
16736 #define HAVE_ACOSF 1
16737 _ACEOF
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16745 $as_echo_n "checking for acos... " >&6; }
16746 if test "${gcc_cv_math_func_acos+set}" = set; then :
16747 $as_echo_n "(cached) " >&6
16748 else
16749 if test x$gcc_no_link = xyes; then
16750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16755 #ifdef HAVE_COMPLEX_H
16756 #include <complex.h>
16757 #endif
16758 #ifdef HAVE_MATH_H
16759 #include <math.h>
16760 #endif
16762 int (*ptr)() = (int (*)())acos;
16765 main ()
16767 return 0;
16770 _ACEOF
16771 if ac_fn_c_try_link "$LINENO"; then :
16772 gcc_cv_math_func_acos=yes
16773 else
16774 gcc_cv_math_func_acos=no
16776 rm -f core conftest.err conftest.$ac_objext \
16777 conftest$ac_exeext conftest.$ac_ext
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16780 $as_echo "$gcc_cv_math_func_acos" >&6; }
16781 if test $gcc_cv_math_func_acos = yes; then
16783 cat >>confdefs.h <<_ACEOF
16784 #define HAVE_ACOS 1
16785 _ACEOF
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16793 $as_echo_n "checking for acosl... " >&6; }
16794 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16795 $as_echo_n "(cached) " >&6
16796 else
16797 if test x$gcc_no_link = xyes; then
16798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16803 #ifdef HAVE_COMPLEX_H
16804 #include <complex.h>
16805 #endif
16806 #ifdef HAVE_MATH_H
16807 #include <math.h>
16808 #endif
16810 int (*ptr)() = (int (*)())acosl;
16813 main ()
16815 return 0;
16818 _ACEOF
16819 if ac_fn_c_try_link "$LINENO"; then :
16820 gcc_cv_math_func_acosl=yes
16821 else
16822 gcc_cv_math_func_acosl=no
16824 rm -f core conftest.err conftest.$ac_objext \
16825 conftest$ac_exeext conftest.$ac_ext
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16828 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16829 if test $gcc_cv_math_func_acosl = yes; then
16831 cat >>confdefs.h <<_ACEOF
16832 #define HAVE_ACOSL 1
16833 _ACEOF
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16841 $as_echo_n "checking for acoshf... " >&6; }
16842 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16843 $as_echo_n "(cached) " >&6
16844 else
16845 if test x$gcc_no_link = xyes; then
16846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16849 /* end confdefs.h. */
16851 #ifdef HAVE_COMPLEX_H
16852 #include <complex.h>
16853 #endif
16854 #ifdef HAVE_MATH_H
16855 #include <math.h>
16856 #endif
16858 int (*ptr)() = (int (*)())acoshf;
16861 main ()
16863 return 0;
16866 _ACEOF
16867 if ac_fn_c_try_link "$LINENO"; then :
16868 gcc_cv_math_func_acoshf=yes
16869 else
16870 gcc_cv_math_func_acoshf=no
16872 rm -f core conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext conftest.$ac_ext
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16876 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16877 if test $gcc_cv_math_func_acoshf = yes; then
16879 cat >>confdefs.h <<_ACEOF
16880 #define HAVE_ACOSHF 1
16881 _ACEOF
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16889 $as_echo_n "checking for acosh... " >&6; }
16890 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16891 $as_echo_n "(cached) " >&6
16892 else
16893 if test x$gcc_no_link = xyes; then
16894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16899 #ifdef HAVE_COMPLEX_H
16900 #include <complex.h>
16901 #endif
16902 #ifdef HAVE_MATH_H
16903 #include <math.h>
16904 #endif
16906 int (*ptr)() = (int (*)())acosh;
16909 main ()
16911 return 0;
16914 _ACEOF
16915 if ac_fn_c_try_link "$LINENO"; then :
16916 gcc_cv_math_func_acosh=yes
16917 else
16918 gcc_cv_math_func_acosh=no
16920 rm -f core conftest.err conftest.$ac_objext \
16921 conftest$ac_exeext conftest.$ac_ext
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16924 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16925 if test $gcc_cv_math_func_acosh = yes; then
16927 cat >>confdefs.h <<_ACEOF
16928 #define HAVE_ACOSH 1
16929 _ACEOF
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16937 $as_echo_n "checking for acoshl... " >&6; }
16938 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16939 $as_echo_n "(cached) " >&6
16940 else
16941 if test x$gcc_no_link = xyes; then
16942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16947 #ifdef HAVE_COMPLEX_H
16948 #include <complex.h>
16949 #endif
16950 #ifdef HAVE_MATH_H
16951 #include <math.h>
16952 #endif
16954 int (*ptr)() = (int (*)())acoshl;
16957 main ()
16959 return 0;
16962 _ACEOF
16963 if ac_fn_c_try_link "$LINENO"; then :
16964 gcc_cv_math_func_acoshl=yes
16965 else
16966 gcc_cv_math_func_acoshl=no
16968 rm -f core conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16972 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16973 if test $gcc_cv_math_func_acoshl = yes; then
16975 cat >>confdefs.h <<_ACEOF
16976 #define HAVE_ACOSHL 1
16977 _ACEOF
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
16985 $as_echo_n "checking for asinf... " >&6; }
16986 if test "${gcc_cv_math_func_asinf+set}" = set; then :
16987 $as_echo_n "(cached) " >&6
16988 else
16989 if test x$gcc_no_link = xyes; then
16990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16995 #ifdef HAVE_COMPLEX_H
16996 #include <complex.h>
16997 #endif
16998 #ifdef HAVE_MATH_H
16999 #include <math.h>
17000 #endif
17002 int (*ptr)() = (int (*)())asinf;
17005 main ()
17007 return 0;
17010 _ACEOF
17011 if ac_fn_c_try_link "$LINENO"; then :
17012 gcc_cv_math_func_asinf=yes
17013 else
17014 gcc_cv_math_func_asinf=no
17016 rm -f core conftest.err conftest.$ac_objext \
17017 conftest$ac_exeext conftest.$ac_ext
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17020 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17021 if test $gcc_cv_math_func_asinf = yes; then
17023 cat >>confdefs.h <<_ACEOF
17024 #define HAVE_ASINF 1
17025 _ACEOF
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17033 $as_echo_n "checking for asin... " >&6; }
17034 if test "${gcc_cv_math_func_asin+set}" = set; then :
17035 $as_echo_n "(cached) " >&6
17036 else
17037 if test x$gcc_no_link = xyes; then
17038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17043 #ifdef HAVE_COMPLEX_H
17044 #include <complex.h>
17045 #endif
17046 #ifdef HAVE_MATH_H
17047 #include <math.h>
17048 #endif
17050 int (*ptr)() = (int (*)())asin;
17053 main ()
17055 return 0;
17058 _ACEOF
17059 if ac_fn_c_try_link "$LINENO"; then :
17060 gcc_cv_math_func_asin=yes
17061 else
17062 gcc_cv_math_func_asin=no
17064 rm -f core conftest.err conftest.$ac_objext \
17065 conftest$ac_exeext conftest.$ac_ext
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17068 $as_echo "$gcc_cv_math_func_asin" >&6; }
17069 if test $gcc_cv_math_func_asin = yes; then
17071 cat >>confdefs.h <<_ACEOF
17072 #define HAVE_ASIN 1
17073 _ACEOF
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17081 $as_echo_n "checking for asinl... " >&6; }
17082 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 if test x$gcc_no_link = xyes; then
17086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17091 #ifdef HAVE_COMPLEX_H
17092 #include <complex.h>
17093 #endif
17094 #ifdef HAVE_MATH_H
17095 #include <math.h>
17096 #endif
17098 int (*ptr)() = (int (*)())asinl;
17101 main ()
17103 return 0;
17106 _ACEOF
17107 if ac_fn_c_try_link "$LINENO"; then :
17108 gcc_cv_math_func_asinl=yes
17109 else
17110 gcc_cv_math_func_asinl=no
17112 rm -f core conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17116 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17117 if test $gcc_cv_math_func_asinl = yes; then
17119 cat >>confdefs.h <<_ACEOF
17120 #define HAVE_ASINL 1
17121 _ACEOF
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17129 $as_echo_n "checking for asinhf... " >&6; }
17130 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17131 $as_echo_n "(cached) " >&6
17132 else
17133 if test x$gcc_no_link = xyes; then
17134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17139 #ifdef HAVE_COMPLEX_H
17140 #include <complex.h>
17141 #endif
17142 #ifdef HAVE_MATH_H
17143 #include <math.h>
17144 #endif
17146 int (*ptr)() = (int (*)())asinhf;
17149 main ()
17151 return 0;
17154 _ACEOF
17155 if ac_fn_c_try_link "$LINENO"; then :
17156 gcc_cv_math_func_asinhf=yes
17157 else
17158 gcc_cv_math_func_asinhf=no
17160 rm -f core conftest.err conftest.$ac_objext \
17161 conftest$ac_exeext conftest.$ac_ext
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17164 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17165 if test $gcc_cv_math_func_asinhf = yes; then
17167 cat >>confdefs.h <<_ACEOF
17168 #define HAVE_ASINHF 1
17169 _ACEOF
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17177 $as_echo_n "checking for asinh... " >&6; }
17178 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 if test x$gcc_no_link = xyes; then
17182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17185 /* end confdefs.h. */
17187 #ifdef HAVE_COMPLEX_H
17188 #include <complex.h>
17189 #endif
17190 #ifdef HAVE_MATH_H
17191 #include <math.h>
17192 #endif
17194 int (*ptr)() = (int (*)())asinh;
17197 main ()
17199 return 0;
17202 _ACEOF
17203 if ac_fn_c_try_link "$LINENO"; then :
17204 gcc_cv_math_func_asinh=yes
17205 else
17206 gcc_cv_math_func_asinh=no
17208 rm -f core conftest.err conftest.$ac_objext \
17209 conftest$ac_exeext conftest.$ac_ext
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17212 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17213 if test $gcc_cv_math_func_asinh = yes; then
17215 cat >>confdefs.h <<_ACEOF
17216 #define HAVE_ASINH 1
17217 _ACEOF
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17225 $as_echo_n "checking for asinhl... " >&6; }
17226 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17229 if test x$gcc_no_link = xyes; then
17230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17235 #ifdef HAVE_COMPLEX_H
17236 #include <complex.h>
17237 #endif
17238 #ifdef HAVE_MATH_H
17239 #include <math.h>
17240 #endif
17242 int (*ptr)() = (int (*)())asinhl;
17245 main ()
17247 return 0;
17250 _ACEOF
17251 if ac_fn_c_try_link "$LINENO"; then :
17252 gcc_cv_math_func_asinhl=yes
17253 else
17254 gcc_cv_math_func_asinhl=no
17256 rm -f core conftest.err conftest.$ac_objext \
17257 conftest$ac_exeext conftest.$ac_ext
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17260 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17261 if test $gcc_cv_math_func_asinhl = yes; then
17263 cat >>confdefs.h <<_ACEOF
17264 #define HAVE_ASINHL 1
17265 _ACEOF
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17273 $as_echo_n "checking for atan2f... " >&6; }
17274 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17277 if test x$gcc_no_link = xyes; then
17278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17283 #ifdef HAVE_COMPLEX_H
17284 #include <complex.h>
17285 #endif
17286 #ifdef HAVE_MATH_H
17287 #include <math.h>
17288 #endif
17290 int (*ptr)() = (int (*)())atan2f;
17293 main ()
17295 return 0;
17298 _ACEOF
17299 if ac_fn_c_try_link "$LINENO"; then :
17300 gcc_cv_math_func_atan2f=yes
17301 else
17302 gcc_cv_math_func_atan2f=no
17304 rm -f core conftest.err conftest.$ac_objext \
17305 conftest$ac_exeext conftest.$ac_ext
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17308 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17309 if test $gcc_cv_math_func_atan2f = yes; then
17311 cat >>confdefs.h <<_ACEOF
17312 #define HAVE_ATAN2F 1
17313 _ACEOF
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17321 $as_echo_n "checking for atan2... " >&6; }
17322 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17323 $as_echo_n "(cached) " >&6
17324 else
17325 if test x$gcc_no_link = xyes; then
17326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17331 #ifdef HAVE_COMPLEX_H
17332 #include <complex.h>
17333 #endif
17334 #ifdef HAVE_MATH_H
17335 #include <math.h>
17336 #endif
17338 int (*ptr)() = (int (*)())atan2;
17341 main ()
17343 return 0;
17346 _ACEOF
17347 if ac_fn_c_try_link "$LINENO"; then :
17348 gcc_cv_math_func_atan2=yes
17349 else
17350 gcc_cv_math_func_atan2=no
17352 rm -f core conftest.err conftest.$ac_objext \
17353 conftest$ac_exeext conftest.$ac_ext
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17356 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17357 if test $gcc_cv_math_func_atan2 = yes; then
17359 cat >>confdefs.h <<_ACEOF
17360 #define HAVE_ATAN2 1
17361 _ACEOF
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17369 $as_echo_n "checking for atan2l... " >&6; }
17370 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17371 $as_echo_n "(cached) " >&6
17372 else
17373 if test x$gcc_no_link = xyes; then
17374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17379 #ifdef HAVE_COMPLEX_H
17380 #include <complex.h>
17381 #endif
17382 #ifdef HAVE_MATH_H
17383 #include <math.h>
17384 #endif
17386 int (*ptr)() = (int (*)())atan2l;
17389 main ()
17391 return 0;
17394 _ACEOF
17395 if ac_fn_c_try_link "$LINENO"; then :
17396 gcc_cv_math_func_atan2l=yes
17397 else
17398 gcc_cv_math_func_atan2l=no
17400 rm -f core conftest.err conftest.$ac_objext \
17401 conftest$ac_exeext conftest.$ac_ext
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17404 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17405 if test $gcc_cv_math_func_atan2l = yes; then
17407 cat >>confdefs.h <<_ACEOF
17408 #define HAVE_ATAN2L 1
17409 _ACEOF
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17417 $as_echo_n "checking for atanf... " >&6; }
17418 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17419 $as_echo_n "(cached) " >&6
17420 else
17421 if test x$gcc_no_link = xyes; then
17422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17427 #ifdef HAVE_COMPLEX_H
17428 #include <complex.h>
17429 #endif
17430 #ifdef HAVE_MATH_H
17431 #include <math.h>
17432 #endif
17434 int (*ptr)() = (int (*)())atanf;
17437 main ()
17439 return 0;
17442 _ACEOF
17443 if ac_fn_c_try_link "$LINENO"; then :
17444 gcc_cv_math_func_atanf=yes
17445 else
17446 gcc_cv_math_func_atanf=no
17448 rm -f core conftest.err conftest.$ac_objext \
17449 conftest$ac_exeext conftest.$ac_ext
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17452 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17453 if test $gcc_cv_math_func_atanf = yes; then
17455 cat >>confdefs.h <<_ACEOF
17456 #define HAVE_ATANF 1
17457 _ACEOF
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17465 $as_echo_n "checking for atan... " >&6; }
17466 if test "${gcc_cv_math_func_atan+set}" = set; then :
17467 $as_echo_n "(cached) " >&6
17468 else
17469 if test x$gcc_no_link = xyes; then
17470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h. */
17475 #ifdef HAVE_COMPLEX_H
17476 #include <complex.h>
17477 #endif
17478 #ifdef HAVE_MATH_H
17479 #include <math.h>
17480 #endif
17482 int (*ptr)() = (int (*)())atan;
17485 main ()
17487 return 0;
17490 _ACEOF
17491 if ac_fn_c_try_link "$LINENO"; then :
17492 gcc_cv_math_func_atan=yes
17493 else
17494 gcc_cv_math_func_atan=no
17496 rm -f core conftest.err conftest.$ac_objext \
17497 conftest$ac_exeext conftest.$ac_ext
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17500 $as_echo "$gcc_cv_math_func_atan" >&6; }
17501 if test $gcc_cv_math_func_atan = yes; then
17503 cat >>confdefs.h <<_ACEOF
17504 #define HAVE_ATAN 1
17505 _ACEOF
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17513 $as_echo_n "checking for atanl... " >&6; }
17514 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17515 $as_echo_n "(cached) " >&6
17516 else
17517 if test x$gcc_no_link = xyes; then
17518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17523 #ifdef HAVE_COMPLEX_H
17524 #include <complex.h>
17525 #endif
17526 #ifdef HAVE_MATH_H
17527 #include <math.h>
17528 #endif
17530 int (*ptr)() = (int (*)())atanl;
17533 main ()
17535 return 0;
17538 _ACEOF
17539 if ac_fn_c_try_link "$LINENO"; then :
17540 gcc_cv_math_func_atanl=yes
17541 else
17542 gcc_cv_math_func_atanl=no
17544 rm -f core conftest.err conftest.$ac_objext \
17545 conftest$ac_exeext conftest.$ac_ext
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17548 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17549 if test $gcc_cv_math_func_atanl = yes; then
17551 cat >>confdefs.h <<_ACEOF
17552 #define HAVE_ATANL 1
17553 _ACEOF
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17561 $as_echo_n "checking for atanhf... " >&6; }
17562 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17565 if test x$gcc_no_link = xyes; then
17566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17571 #ifdef HAVE_COMPLEX_H
17572 #include <complex.h>
17573 #endif
17574 #ifdef HAVE_MATH_H
17575 #include <math.h>
17576 #endif
17578 int (*ptr)() = (int (*)())atanhf;
17581 main ()
17583 return 0;
17586 _ACEOF
17587 if ac_fn_c_try_link "$LINENO"; then :
17588 gcc_cv_math_func_atanhf=yes
17589 else
17590 gcc_cv_math_func_atanhf=no
17592 rm -f core conftest.err conftest.$ac_objext \
17593 conftest$ac_exeext conftest.$ac_ext
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17596 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17597 if test $gcc_cv_math_func_atanhf = yes; then
17599 cat >>confdefs.h <<_ACEOF
17600 #define HAVE_ATANHF 1
17601 _ACEOF
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17609 $as_echo_n "checking for atanh... " >&6; }
17610 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17611 $as_echo_n "(cached) " >&6
17612 else
17613 if test x$gcc_no_link = xyes; then
17614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17619 #ifdef HAVE_COMPLEX_H
17620 #include <complex.h>
17621 #endif
17622 #ifdef HAVE_MATH_H
17623 #include <math.h>
17624 #endif
17626 int (*ptr)() = (int (*)())atanh;
17629 main ()
17631 return 0;
17634 _ACEOF
17635 if ac_fn_c_try_link "$LINENO"; then :
17636 gcc_cv_math_func_atanh=yes
17637 else
17638 gcc_cv_math_func_atanh=no
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17644 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17645 if test $gcc_cv_math_func_atanh = yes; then
17647 cat >>confdefs.h <<_ACEOF
17648 #define HAVE_ATANH 1
17649 _ACEOF
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17657 $as_echo_n "checking for atanhl... " >&6; }
17658 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17661 if test x$gcc_no_link = xyes; then
17662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17667 #ifdef HAVE_COMPLEX_H
17668 #include <complex.h>
17669 #endif
17670 #ifdef HAVE_MATH_H
17671 #include <math.h>
17672 #endif
17674 int (*ptr)() = (int (*)())atanhl;
17677 main ()
17679 return 0;
17682 _ACEOF
17683 if ac_fn_c_try_link "$LINENO"; then :
17684 gcc_cv_math_func_atanhl=yes
17685 else
17686 gcc_cv_math_func_atanhl=no
17688 rm -f core conftest.err conftest.$ac_objext \
17689 conftest$ac_exeext conftest.$ac_ext
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17692 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17693 if test $gcc_cv_math_func_atanhl = yes; then
17695 cat >>confdefs.h <<_ACEOF
17696 #define HAVE_ATANHL 1
17697 _ACEOF
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17705 $as_echo_n "checking for cargf... " >&6; }
17706 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17707 $as_echo_n "(cached) " >&6
17708 else
17709 if test x$gcc_no_link = xyes; then
17710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17713 /* end confdefs.h. */
17715 #ifdef HAVE_COMPLEX_H
17716 #include <complex.h>
17717 #endif
17718 #ifdef HAVE_MATH_H
17719 #include <math.h>
17720 #endif
17722 int (*ptr)() = (int (*)())cargf;
17725 main ()
17727 return 0;
17730 _ACEOF
17731 if ac_fn_c_try_link "$LINENO"; then :
17732 gcc_cv_math_func_cargf=yes
17733 else
17734 gcc_cv_math_func_cargf=no
17736 rm -f core conftest.err conftest.$ac_objext \
17737 conftest$ac_exeext conftest.$ac_ext
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17740 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17741 if test $gcc_cv_math_func_cargf = yes; then
17743 cat >>confdefs.h <<_ACEOF
17744 #define HAVE_CARGF 1
17745 _ACEOF
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17753 $as_echo_n "checking for carg... " >&6; }
17754 if test "${gcc_cv_math_func_carg+set}" = set; then :
17755 $as_echo_n "(cached) " >&6
17756 else
17757 if test x$gcc_no_link = xyes; then
17758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17763 #ifdef HAVE_COMPLEX_H
17764 #include <complex.h>
17765 #endif
17766 #ifdef HAVE_MATH_H
17767 #include <math.h>
17768 #endif
17770 int (*ptr)() = (int (*)())carg;
17773 main ()
17775 return 0;
17778 _ACEOF
17779 if ac_fn_c_try_link "$LINENO"; then :
17780 gcc_cv_math_func_carg=yes
17781 else
17782 gcc_cv_math_func_carg=no
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17788 $as_echo "$gcc_cv_math_func_carg" >&6; }
17789 if test $gcc_cv_math_func_carg = yes; then
17791 cat >>confdefs.h <<_ACEOF
17792 #define HAVE_CARG 1
17793 _ACEOF
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17801 $as_echo_n "checking for cargl... " >&6; }
17802 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17803 $as_echo_n "(cached) " >&6
17804 else
17805 if test x$gcc_no_link = xyes; then
17806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17809 /* end confdefs.h. */
17811 #ifdef HAVE_COMPLEX_H
17812 #include <complex.h>
17813 #endif
17814 #ifdef HAVE_MATH_H
17815 #include <math.h>
17816 #endif
17818 int (*ptr)() = (int (*)())cargl;
17821 main ()
17823 return 0;
17826 _ACEOF
17827 if ac_fn_c_try_link "$LINENO"; then :
17828 gcc_cv_math_func_cargl=yes
17829 else
17830 gcc_cv_math_func_cargl=no
17832 rm -f core conftest.err conftest.$ac_objext \
17833 conftest$ac_exeext conftest.$ac_ext
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17836 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17837 if test $gcc_cv_math_func_cargl = yes; then
17839 cat >>confdefs.h <<_ACEOF
17840 #define HAVE_CARGL 1
17841 _ACEOF
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17849 $as_echo_n "checking for ceilf... " >&6; }
17850 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17853 if test x$gcc_no_link = xyes; then
17854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17859 #ifdef HAVE_COMPLEX_H
17860 #include <complex.h>
17861 #endif
17862 #ifdef HAVE_MATH_H
17863 #include <math.h>
17864 #endif
17866 int (*ptr)() = (int (*)())ceilf;
17869 main ()
17871 return 0;
17874 _ACEOF
17875 if ac_fn_c_try_link "$LINENO"; then :
17876 gcc_cv_math_func_ceilf=yes
17877 else
17878 gcc_cv_math_func_ceilf=no
17880 rm -f core conftest.err conftest.$ac_objext \
17881 conftest$ac_exeext conftest.$ac_ext
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17884 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17885 if test $gcc_cv_math_func_ceilf = yes; then
17887 cat >>confdefs.h <<_ACEOF
17888 #define HAVE_CEILF 1
17889 _ACEOF
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17897 $as_echo_n "checking for ceil... " >&6; }
17898 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17899 $as_echo_n "(cached) " >&6
17900 else
17901 if test x$gcc_no_link = xyes; then
17902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h. */
17907 #ifdef HAVE_COMPLEX_H
17908 #include <complex.h>
17909 #endif
17910 #ifdef HAVE_MATH_H
17911 #include <math.h>
17912 #endif
17914 int (*ptr)() = (int (*)())ceil;
17917 main ()
17919 return 0;
17922 _ACEOF
17923 if ac_fn_c_try_link "$LINENO"; then :
17924 gcc_cv_math_func_ceil=yes
17925 else
17926 gcc_cv_math_func_ceil=no
17928 rm -f core conftest.err conftest.$ac_objext \
17929 conftest$ac_exeext conftest.$ac_ext
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17932 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17933 if test $gcc_cv_math_func_ceil = yes; then
17935 cat >>confdefs.h <<_ACEOF
17936 #define HAVE_CEIL 1
17937 _ACEOF
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17945 $as_echo_n "checking for ceill... " >&6; }
17946 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17949 if test x$gcc_no_link = xyes; then
17950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17955 #ifdef HAVE_COMPLEX_H
17956 #include <complex.h>
17957 #endif
17958 #ifdef HAVE_MATH_H
17959 #include <math.h>
17960 #endif
17962 int (*ptr)() = (int (*)())ceill;
17965 main ()
17967 return 0;
17970 _ACEOF
17971 if ac_fn_c_try_link "$LINENO"; then :
17972 gcc_cv_math_func_ceill=yes
17973 else
17974 gcc_cv_math_func_ceill=no
17976 rm -f core conftest.err conftest.$ac_objext \
17977 conftest$ac_exeext conftest.$ac_ext
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17980 $as_echo "$gcc_cv_math_func_ceill" >&6; }
17981 if test $gcc_cv_math_func_ceill = yes; then
17983 cat >>confdefs.h <<_ACEOF
17984 #define HAVE_CEILL 1
17985 _ACEOF
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
17993 $as_echo_n "checking for copysignf... " >&6; }
17994 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
17995 $as_echo_n "(cached) " >&6
17996 else
17997 if test x$gcc_no_link = xyes; then
17998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18003 #ifdef HAVE_COMPLEX_H
18004 #include <complex.h>
18005 #endif
18006 #ifdef HAVE_MATH_H
18007 #include <math.h>
18008 #endif
18010 int (*ptr)() = (int (*)())copysignf;
18013 main ()
18015 return 0;
18018 _ACEOF
18019 if ac_fn_c_try_link "$LINENO"; then :
18020 gcc_cv_math_func_copysignf=yes
18021 else
18022 gcc_cv_math_func_copysignf=no
18024 rm -f core conftest.err conftest.$ac_objext \
18025 conftest$ac_exeext conftest.$ac_ext
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18028 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18029 if test $gcc_cv_math_func_copysignf = yes; then
18031 cat >>confdefs.h <<_ACEOF
18032 #define HAVE_COPYSIGNF 1
18033 _ACEOF
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18041 $as_echo_n "checking for copysign... " >&6; }
18042 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18043 $as_echo_n "(cached) " >&6
18044 else
18045 if test x$gcc_no_link = xyes; then
18046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18051 #ifdef HAVE_COMPLEX_H
18052 #include <complex.h>
18053 #endif
18054 #ifdef HAVE_MATH_H
18055 #include <math.h>
18056 #endif
18058 int (*ptr)() = (int (*)())copysign;
18061 main ()
18063 return 0;
18066 _ACEOF
18067 if ac_fn_c_try_link "$LINENO"; then :
18068 gcc_cv_math_func_copysign=yes
18069 else
18070 gcc_cv_math_func_copysign=no
18072 rm -f core conftest.err conftest.$ac_objext \
18073 conftest$ac_exeext conftest.$ac_ext
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18076 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18077 if test $gcc_cv_math_func_copysign = yes; then
18079 cat >>confdefs.h <<_ACEOF
18080 #define HAVE_COPYSIGN 1
18081 _ACEOF
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18089 $as_echo_n "checking for copysignl... " >&6; }
18090 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18091 $as_echo_n "(cached) " >&6
18092 else
18093 if test x$gcc_no_link = xyes; then
18094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18099 #ifdef HAVE_COMPLEX_H
18100 #include <complex.h>
18101 #endif
18102 #ifdef HAVE_MATH_H
18103 #include <math.h>
18104 #endif
18106 int (*ptr)() = (int (*)())copysignl;
18109 main ()
18111 return 0;
18114 _ACEOF
18115 if ac_fn_c_try_link "$LINENO"; then :
18116 gcc_cv_math_func_copysignl=yes
18117 else
18118 gcc_cv_math_func_copysignl=no
18120 rm -f core conftest.err conftest.$ac_objext \
18121 conftest$ac_exeext conftest.$ac_ext
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18124 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18125 if test $gcc_cv_math_func_copysignl = yes; then
18127 cat >>confdefs.h <<_ACEOF
18128 #define HAVE_COPYSIGNL 1
18129 _ACEOF
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18137 $as_echo_n "checking for cosf... " >&6; }
18138 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18139 $as_echo_n "(cached) " >&6
18140 else
18141 if test x$gcc_no_link = xyes; then
18142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18145 /* end confdefs.h. */
18147 #ifdef HAVE_COMPLEX_H
18148 #include <complex.h>
18149 #endif
18150 #ifdef HAVE_MATH_H
18151 #include <math.h>
18152 #endif
18154 int (*ptr)() = (int (*)())cosf;
18157 main ()
18159 return 0;
18162 _ACEOF
18163 if ac_fn_c_try_link "$LINENO"; then :
18164 gcc_cv_math_func_cosf=yes
18165 else
18166 gcc_cv_math_func_cosf=no
18168 rm -f core conftest.err conftest.$ac_objext \
18169 conftest$ac_exeext conftest.$ac_ext
18171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18172 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18173 if test $gcc_cv_math_func_cosf = yes; then
18175 cat >>confdefs.h <<_ACEOF
18176 #define HAVE_COSF 1
18177 _ACEOF
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18185 $as_echo_n "checking for cos... " >&6; }
18186 if test "${gcc_cv_math_func_cos+set}" = set; then :
18187 $as_echo_n "(cached) " >&6
18188 else
18189 if test x$gcc_no_link = xyes; then
18190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18193 /* end confdefs.h. */
18195 #ifdef HAVE_COMPLEX_H
18196 #include <complex.h>
18197 #endif
18198 #ifdef HAVE_MATH_H
18199 #include <math.h>
18200 #endif
18202 int (*ptr)() = (int (*)())cos;
18205 main ()
18207 return 0;
18210 _ACEOF
18211 if ac_fn_c_try_link "$LINENO"; then :
18212 gcc_cv_math_func_cos=yes
18213 else
18214 gcc_cv_math_func_cos=no
18216 rm -f core conftest.err conftest.$ac_objext \
18217 conftest$ac_exeext conftest.$ac_ext
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18220 $as_echo "$gcc_cv_math_func_cos" >&6; }
18221 if test $gcc_cv_math_func_cos = yes; then
18223 cat >>confdefs.h <<_ACEOF
18224 #define HAVE_COS 1
18225 _ACEOF
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18233 $as_echo_n "checking for cosl... " >&6; }
18234 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18235 $as_echo_n "(cached) " >&6
18236 else
18237 if test x$gcc_no_link = xyes; then
18238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h. */
18243 #ifdef HAVE_COMPLEX_H
18244 #include <complex.h>
18245 #endif
18246 #ifdef HAVE_MATH_H
18247 #include <math.h>
18248 #endif
18250 int (*ptr)() = (int (*)())cosl;
18253 main ()
18255 return 0;
18258 _ACEOF
18259 if ac_fn_c_try_link "$LINENO"; then :
18260 gcc_cv_math_func_cosl=yes
18261 else
18262 gcc_cv_math_func_cosl=no
18264 rm -f core conftest.err conftest.$ac_objext \
18265 conftest$ac_exeext conftest.$ac_ext
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18268 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18269 if test $gcc_cv_math_func_cosl = yes; then
18271 cat >>confdefs.h <<_ACEOF
18272 #define HAVE_COSL 1
18273 _ACEOF
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18281 $as_echo_n "checking for ccosf... " >&6; }
18282 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18283 $as_echo_n "(cached) " >&6
18284 else
18285 if test x$gcc_no_link = xyes; then
18286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h. */
18291 #ifdef HAVE_COMPLEX_H
18292 #include <complex.h>
18293 #endif
18294 #ifdef HAVE_MATH_H
18295 #include <math.h>
18296 #endif
18298 int (*ptr)() = (int (*)())ccosf;
18301 main ()
18303 return 0;
18306 _ACEOF
18307 if ac_fn_c_try_link "$LINENO"; then :
18308 gcc_cv_math_func_ccosf=yes
18309 else
18310 gcc_cv_math_func_ccosf=no
18312 rm -f core conftest.err conftest.$ac_objext \
18313 conftest$ac_exeext conftest.$ac_ext
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18316 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18317 if test $gcc_cv_math_func_ccosf = yes; then
18319 cat >>confdefs.h <<_ACEOF
18320 #define HAVE_CCOSF 1
18321 _ACEOF
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18329 $as_echo_n "checking for ccos... " >&6; }
18330 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18331 $as_echo_n "(cached) " >&6
18332 else
18333 if test x$gcc_no_link = xyes; then
18334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18337 /* end confdefs.h. */
18339 #ifdef HAVE_COMPLEX_H
18340 #include <complex.h>
18341 #endif
18342 #ifdef HAVE_MATH_H
18343 #include <math.h>
18344 #endif
18346 int (*ptr)() = (int (*)())ccos;
18349 main ()
18351 return 0;
18354 _ACEOF
18355 if ac_fn_c_try_link "$LINENO"; then :
18356 gcc_cv_math_func_ccos=yes
18357 else
18358 gcc_cv_math_func_ccos=no
18360 rm -f core conftest.err conftest.$ac_objext \
18361 conftest$ac_exeext conftest.$ac_ext
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18364 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18365 if test $gcc_cv_math_func_ccos = yes; then
18367 cat >>confdefs.h <<_ACEOF
18368 #define HAVE_CCOS 1
18369 _ACEOF
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18377 $as_echo_n "checking for ccosl... " >&6; }
18378 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18379 $as_echo_n "(cached) " >&6
18380 else
18381 if test x$gcc_no_link = xyes; then
18382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18385 /* end confdefs.h. */
18387 #ifdef HAVE_COMPLEX_H
18388 #include <complex.h>
18389 #endif
18390 #ifdef HAVE_MATH_H
18391 #include <math.h>
18392 #endif
18394 int (*ptr)() = (int (*)())ccosl;
18397 main ()
18399 return 0;
18402 _ACEOF
18403 if ac_fn_c_try_link "$LINENO"; then :
18404 gcc_cv_math_func_ccosl=yes
18405 else
18406 gcc_cv_math_func_ccosl=no
18408 rm -f core conftest.err conftest.$ac_objext \
18409 conftest$ac_exeext conftest.$ac_ext
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18412 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18413 if test $gcc_cv_math_func_ccosl = yes; then
18415 cat >>confdefs.h <<_ACEOF
18416 #define HAVE_CCOSL 1
18417 _ACEOF
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18425 $as_echo_n "checking for coshf... " >&6; }
18426 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18427 $as_echo_n "(cached) " >&6
18428 else
18429 if test x$gcc_no_link = xyes; then
18430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18435 #ifdef HAVE_COMPLEX_H
18436 #include <complex.h>
18437 #endif
18438 #ifdef HAVE_MATH_H
18439 #include <math.h>
18440 #endif
18442 int (*ptr)() = (int (*)())coshf;
18445 main ()
18447 return 0;
18450 _ACEOF
18451 if ac_fn_c_try_link "$LINENO"; then :
18452 gcc_cv_math_func_coshf=yes
18453 else
18454 gcc_cv_math_func_coshf=no
18456 rm -f core conftest.err conftest.$ac_objext \
18457 conftest$ac_exeext conftest.$ac_ext
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18460 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18461 if test $gcc_cv_math_func_coshf = yes; then
18463 cat >>confdefs.h <<_ACEOF
18464 #define HAVE_COSHF 1
18465 _ACEOF
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18473 $as_echo_n "checking for cosh... " >&6; }
18474 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18475 $as_echo_n "(cached) " >&6
18476 else
18477 if test x$gcc_no_link = xyes; then
18478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18481 /* end confdefs.h. */
18483 #ifdef HAVE_COMPLEX_H
18484 #include <complex.h>
18485 #endif
18486 #ifdef HAVE_MATH_H
18487 #include <math.h>
18488 #endif
18490 int (*ptr)() = (int (*)())cosh;
18493 main ()
18495 return 0;
18498 _ACEOF
18499 if ac_fn_c_try_link "$LINENO"; then :
18500 gcc_cv_math_func_cosh=yes
18501 else
18502 gcc_cv_math_func_cosh=no
18504 rm -f core conftest.err conftest.$ac_objext \
18505 conftest$ac_exeext conftest.$ac_ext
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18508 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18509 if test $gcc_cv_math_func_cosh = yes; then
18511 cat >>confdefs.h <<_ACEOF
18512 #define HAVE_COSH 1
18513 _ACEOF
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18521 $as_echo_n "checking for coshl... " >&6; }
18522 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18523 $as_echo_n "(cached) " >&6
18524 else
18525 if test x$gcc_no_link = xyes; then
18526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18529 /* end confdefs.h. */
18531 #ifdef HAVE_COMPLEX_H
18532 #include <complex.h>
18533 #endif
18534 #ifdef HAVE_MATH_H
18535 #include <math.h>
18536 #endif
18538 int (*ptr)() = (int (*)())coshl;
18541 main ()
18543 return 0;
18546 _ACEOF
18547 if ac_fn_c_try_link "$LINENO"; then :
18548 gcc_cv_math_func_coshl=yes
18549 else
18550 gcc_cv_math_func_coshl=no
18552 rm -f core conftest.err conftest.$ac_objext \
18553 conftest$ac_exeext conftest.$ac_ext
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18556 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18557 if test $gcc_cv_math_func_coshl = yes; then
18559 cat >>confdefs.h <<_ACEOF
18560 #define HAVE_COSHL 1
18561 _ACEOF
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18569 $as_echo_n "checking for ccoshf... " >&6; }
18570 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18571 $as_echo_n "(cached) " >&6
18572 else
18573 if test x$gcc_no_link = xyes; then
18574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18579 #ifdef HAVE_COMPLEX_H
18580 #include <complex.h>
18581 #endif
18582 #ifdef HAVE_MATH_H
18583 #include <math.h>
18584 #endif
18586 int (*ptr)() = (int (*)())ccoshf;
18589 main ()
18591 return 0;
18594 _ACEOF
18595 if ac_fn_c_try_link "$LINENO"; then :
18596 gcc_cv_math_func_ccoshf=yes
18597 else
18598 gcc_cv_math_func_ccoshf=no
18600 rm -f core conftest.err conftest.$ac_objext \
18601 conftest$ac_exeext conftest.$ac_ext
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18604 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18605 if test $gcc_cv_math_func_ccoshf = yes; then
18607 cat >>confdefs.h <<_ACEOF
18608 #define HAVE_CCOSHF 1
18609 _ACEOF
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18617 $as_echo_n "checking for ccosh... " >&6; }
18618 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18619 $as_echo_n "(cached) " >&6
18620 else
18621 if test x$gcc_no_link = xyes; then
18622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18627 #ifdef HAVE_COMPLEX_H
18628 #include <complex.h>
18629 #endif
18630 #ifdef HAVE_MATH_H
18631 #include <math.h>
18632 #endif
18634 int (*ptr)() = (int (*)())ccosh;
18637 main ()
18639 return 0;
18642 _ACEOF
18643 if ac_fn_c_try_link "$LINENO"; then :
18644 gcc_cv_math_func_ccosh=yes
18645 else
18646 gcc_cv_math_func_ccosh=no
18648 rm -f core conftest.err conftest.$ac_objext \
18649 conftest$ac_exeext conftest.$ac_ext
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18652 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18653 if test $gcc_cv_math_func_ccosh = yes; then
18655 cat >>confdefs.h <<_ACEOF
18656 #define HAVE_CCOSH 1
18657 _ACEOF
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18665 $as_echo_n "checking for ccoshl... " >&6; }
18666 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18667 $as_echo_n "(cached) " >&6
18668 else
18669 if test x$gcc_no_link = xyes; then
18670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18673 /* end confdefs.h. */
18675 #ifdef HAVE_COMPLEX_H
18676 #include <complex.h>
18677 #endif
18678 #ifdef HAVE_MATH_H
18679 #include <math.h>
18680 #endif
18682 int (*ptr)() = (int (*)())ccoshl;
18685 main ()
18687 return 0;
18690 _ACEOF
18691 if ac_fn_c_try_link "$LINENO"; then :
18692 gcc_cv_math_func_ccoshl=yes
18693 else
18694 gcc_cv_math_func_ccoshl=no
18696 rm -f core conftest.err conftest.$ac_objext \
18697 conftest$ac_exeext conftest.$ac_ext
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18700 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18701 if test $gcc_cv_math_func_ccoshl = yes; then
18703 cat >>confdefs.h <<_ACEOF
18704 #define HAVE_CCOSHL 1
18705 _ACEOF
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18713 $as_echo_n "checking for expf... " >&6; }
18714 if test "${gcc_cv_math_func_expf+set}" = set; then :
18715 $as_echo_n "(cached) " >&6
18716 else
18717 if test x$gcc_no_link = xyes; then
18718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18721 /* end confdefs.h. */
18723 #ifdef HAVE_COMPLEX_H
18724 #include <complex.h>
18725 #endif
18726 #ifdef HAVE_MATH_H
18727 #include <math.h>
18728 #endif
18730 int (*ptr)() = (int (*)())expf;
18733 main ()
18735 return 0;
18738 _ACEOF
18739 if ac_fn_c_try_link "$LINENO"; then :
18740 gcc_cv_math_func_expf=yes
18741 else
18742 gcc_cv_math_func_expf=no
18744 rm -f core conftest.err conftest.$ac_objext \
18745 conftest$ac_exeext conftest.$ac_ext
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18748 $as_echo "$gcc_cv_math_func_expf" >&6; }
18749 if test $gcc_cv_math_func_expf = yes; then
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_EXPF 1
18753 _ACEOF
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18761 $as_echo_n "checking for exp... " >&6; }
18762 if test "${gcc_cv_math_func_exp+set}" = set; then :
18763 $as_echo_n "(cached) " >&6
18764 else
18765 if test x$gcc_no_link = xyes; then
18766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18769 /* end confdefs.h. */
18771 #ifdef HAVE_COMPLEX_H
18772 #include <complex.h>
18773 #endif
18774 #ifdef HAVE_MATH_H
18775 #include <math.h>
18776 #endif
18778 int (*ptr)() = (int (*)())exp;
18781 main ()
18783 return 0;
18786 _ACEOF
18787 if ac_fn_c_try_link "$LINENO"; then :
18788 gcc_cv_math_func_exp=yes
18789 else
18790 gcc_cv_math_func_exp=no
18792 rm -f core conftest.err conftest.$ac_objext \
18793 conftest$ac_exeext conftest.$ac_ext
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18796 $as_echo "$gcc_cv_math_func_exp" >&6; }
18797 if test $gcc_cv_math_func_exp = yes; then
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_EXP 1
18801 _ACEOF
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18809 $as_echo_n "checking for expl... " >&6; }
18810 if test "${gcc_cv_math_func_expl+set}" = set; then :
18811 $as_echo_n "(cached) " >&6
18812 else
18813 if test x$gcc_no_link = xyes; then
18814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18817 /* end confdefs.h. */
18819 #ifdef HAVE_COMPLEX_H
18820 #include <complex.h>
18821 #endif
18822 #ifdef HAVE_MATH_H
18823 #include <math.h>
18824 #endif
18826 int (*ptr)() = (int (*)())expl;
18829 main ()
18831 return 0;
18834 _ACEOF
18835 if ac_fn_c_try_link "$LINENO"; then :
18836 gcc_cv_math_func_expl=yes
18837 else
18838 gcc_cv_math_func_expl=no
18840 rm -f core conftest.err conftest.$ac_objext \
18841 conftest$ac_exeext conftest.$ac_ext
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18844 $as_echo "$gcc_cv_math_func_expl" >&6; }
18845 if test $gcc_cv_math_func_expl = yes; then
18847 cat >>confdefs.h <<_ACEOF
18848 #define HAVE_EXPL 1
18849 _ACEOF
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18857 $as_echo_n "checking for cexpf... " >&6; }
18858 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18859 $as_echo_n "(cached) " >&6
18860 else
18861 if test x$gcc_no_link = xyes; then
18862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18867 #ifdef HAVE_COMPLEX_H
18868 #include <complex.h>
18869 #endif
18870 #ifdef HAVE_MATH_H
18871 #include <math.h>
18872 #endif
18874 int (*ptr)() = (int (*)())cexpf;
18877 main ()
18879 return 0;
18882 _ACEOF
18883 if ac_fn_c_try_link "$LINENO"; then :
18884 gcc_cv_math_func_cexpf=yes
18885 else
18886 gcc_cv_math_func_cexpf=no
18888 rm -f core conftest.err conftest.$ac_objext \
18889 conftest$ac_exeext conftest.$ac_ext
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18892 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18893 if test $gcc_cv_math_func_cexpf = yes; then
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_CEXPF 1
18897 _ACEOF
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18905 $as_echo_n "checking for cexp... " >&6; }
18906 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18907 $as_echo_n "(cached) " >&6
18908 else
18909 if test x$gcc_no_link = xyes; then
18910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18915 #ifdef HAVE_COMPLEX_H
18916 #include <complex.h>
18917 #endif
18918 #ifdef HAVE_MATH_H
18919 #include <math.h>
18920 #endif
18922 int (*ptr)() = (int (*)())cexp;
18925 main ()
18927 return 0;
18930 _ACEOF
18931 if ac_fn_c_try_link "$LINENO"; then :
18932 gcc_cv_math_func_cexp=yes
18933 else
18934 gcc_cv_math_func_cexp=no
18936 rm -f core conftest.err conftest.$ac_objext \
18937 conftest$ac_exeext conftest.$ac_ext
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18940 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18941 if test $gcc_cv_math_func_cexp = yes; then
18943 cat >>confdefs.h <<_ACEOF
18944 #define HAVE_CEXP 1
18945 _ACEOF
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18953 $as_echo_n "checking for cexpl... " >&6; }
18954 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18955 $as_echo_n "(cached) " >&6
18956 else
18957 if test x$gcc_no_link = xyes; then
18958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18961 /* end confdefs.h. */
18963 #ifdef HAVE_COMPLEX_H
18964 #include <complex.h>
18965 #endif
18966 #ifdef HAVE_MATH_H
18967 #include <math.h>
18968 #endif
18970 int (*ptr)() = (int (*)())cexpl;
18973 main ()
18975 return 0;
18978 _ACEOF
18979 if ac_fn_c_try_link "$LINENO"; then :
18980 gcc_cv_math_func_cexpl=yes
18981 else
18982 gcc_cv_math_func_cexpl=no
18984 rm -f core conftest.err conftest.$ac_objext \
18985 conftest$ac_exeext conftest.$ac_ext
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
18988 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
18989 if test $gcc_cv_math_func_cexpl = yes; then
18991 cat >>confdefs.h <<_ACEOF
18992 #define HAVE_CEXPL 1
18993 _ACEOF
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19001 $as_echo_n "checking for fabsf... " >&6; }
19002 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19003 $as_echo_n "(cached) " >&6
19004 else
19005 if test x$gcc_no_link = xyes; then
19006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19011 #ifdef HAVE_COMPLEX_H
19012 #include <complex.h>
19013 #endif
19014 #ifdef HAVE_MATH_H
19015 #include <math.h>
19016 #endif
19018 int (*ptr)() = (int (*)())fabsf;
19021 main ()
19023 return 0;
19026 _ACEOF
19027 if ac_fn_c_try_link "$LINENO"; then :
19028 gcc_cv_math_func_fabsf=yes
19029 else
19030 gcc_cv_math_func_fabsf=no
19032 rm -f core conftest.err conftest.$ac_objext \
19033 conftest$ac_exeext conftest.$ac_ext
19035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19036 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19037 if test $gcc_cv_math_func_fabsf = yes; then
19039 cat >>confdefs.h <<_ACEOF
19040 #define HAVE_FABSF 1
19041 _ACEOF
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19049 $as_echo_n "checking for fabs... " >&6; }
19050 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19051 $as_echo_n "(cached) " >&6
19052 else
19053 if test x$gcc_no_link = xyes; then
19054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19059 #ifdef HAVE_COMPLEX_H
19060 #include <complex.h>
19061 #endif
19062 #ifdef HAVE_MATH_H
19063 #include <math.h>
19064 #endif
19066 int (*ptr)() = (int (*)())fabs;
19069 main ()
19071 return 0;
19074 _ACEOF
19075 if ac_fn_c_try_link "$LINENO"; then :
19076 gcc_cv_math_func_fabs=yes
19077 else
19078 gcc_cv_math_func_fabs=no
19080 rm -f core conftest.err conftest.$ac_objext \
19081 conftest$ac_exeext conftest.$ac_ext
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19084 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19085 if test $gcc_cv_math_func_fabs = yes; then
19087 cat >>confdefs.h <<_ACEOF
19088 #define HAVE_FABS 1
19089 _ACEOF
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19097 $as_echo_n "checking for fabsl... " >&6; }
19098 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19099 $as_echo_n "(cached) " >&6
19100 else
19101 if test x$gcc_no_link = xyes; then
19102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19105 /* end confdefs.h. */
19107 #ifdef HAVE_COMPLEX_H
19108 #include <complex.h>
19109 #endif
19110 #ifdef HAVE_MATH_H
19111 #include <math.h>
19112 #endif
19114 int (*ptr)() = (int (*)())fabsl;
19117 main ()
19119 return 0;
19122 _ACEOF
19123 if ac_fn_c_try_link "$LINENO"; then :
19124 gcc_cv_math_func_fabsl=yes
19125 else
19126 gcc_cv_math_func_fabsl=no
19128 rm -f core conftest.err conftest.$ac_objext \
19129 conftest$ac_exeext conftest.$ac_ext
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19132 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19133 if test $gcc_cv_math_func_fabsl = yes; then
19135 cat >>confdefs.h <<_ACEOF
19136 #define HAVE_FABSL 1
19137 _ACEOF
19144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19145 $as_echo_n "checking for cabsf... " >&6; }
19146 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19147 $as_echo_n "(cached) " >&6
19148 else
19149 if test x$gcc_no_link = xyes; then
19150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19153 /* end confdefs.h. */
19155 #ifdef HAVE_COMPLEX_H
19156 #include <complex.h>
19157 #endif
19158 #ifdef HAVE_MATH_H
19159 #include <math.h>
19160 #endif
19162 int (*ptr)() = (int (*)())cabsf;
19165 main ()
19167 return 0;
19170 _ACEOF
19171 if ac_fn_c_try_link "$LINENO"; then :
19172 gcc_cv_math_func_cabsf=yes
19173 else
19174 gcc_cv_math_func_cabsf=no
19176 rm -f core conftest.err conftest.$ac_objext \
19177 conftest$ac_exeext conftest.$ac_ext
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19180 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19181 if test $gcc_cv_math_func_cabsf = yes; then
19183 cat >>confdefs.h <<_ACEOF
19184 #define HAVE_CABSF 1
19185 _ACEOF
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19193 $as_echo_n "checking for cabs... " >&6; }
19194 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19195 $as_echo_n "(cached) " >&6
19196 else
19197 if test x$gcc_no_link = xyes; then
19198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19201 /* end confdefs.h. */
19203 #ifdef HAVE_COMPLEX_H
19204 #include <complex.h>
19205 #endif
19206 #ifdef HAVE_MATH_H
19207 #include <math.h>
19208 #endif
19210 int (*ptr)() = (int (*)())cabs;
19213 main ()
19215 return 0;
19218 _ACEOF
19219 if ac_fn_c_try_link "$LINENO"; then :
19220 gcc_cv_math_func_cabs=yes
19221 else
19222 gcc_cv_math_func_cabs=no
19224 rm -f core conftest.err conftest.$ac_objext \
19225 conftest$ac_exeext conftest.$ac_ext
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19228 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19229 if test $gcc_cv_math_func_cabs = yes; then
19231 cat >>confdefs.h <<_ACEOF
19232 #define HAVE_CABS 1
19233 _ACEOF
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19241 $as_echo_n "checking for cabsl... " >&6; }
19242 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19243 $as_echo_n "(cached) " >&6
19244 else
19245 if test x$gcc_no_link = xyes; then
19246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19249 /* end confdefs.h. */
19251 #ifdef HAVE_COMPLEX_H
19252 #include <complex.h>
19253 #endif
19254 #ifdef HAVE_MATH_H
19255 #include <math.h>
19256 #endif
19258 int (*ptr)() = (int (*)())cabsl;
19261 main ()
19263 return 0;
19266 _ACEOF
19267 if ac_fn_c_try_link "$LINENO"; then :
19268 gcc_cv_math_func_cabsl=yes
19269 else
19270 gcc_cv_math_func_cabsl=no
19272 rm -f core conftest.err conftest.$ac_objext \
19273 conftest$ac_exeext conftest.$ac_ext
19275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19276 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19277 if test $gcc_cv_math_func_cabsl = yes; then
19279 cat >>confdefs.h <<_ACEOF
19280 #define HAVE_CABSL 1
19281 _ACEOF
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19289 $as_echo_n "checking for floorf... " >&6; }
19290 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19291 $as_echo_n "(cached) " >&6
19292 else
19293 if test x$gcc_no_link = xyes; then
19294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19297 /* end confdefs.h. */
19299 #ifdef HAVE_COMPLEX_H
19300 #include <complex.h>
19301 #endif
19302 #ifdef HAVE_MATH_H
19303 #include <math.h>
19304 #endif
19306 int (*ptr)() = (int (*)())floorf;
19309 main ()
19311 return 0;
19314 _ACEOF
19315 if ac_fn_c_try_link "$LINENO"; then :
19316 gcc_cv_math_func_floorf=yes
19317 else
19318 gcc_cv_math_func_floorf=no
19320 rm -f core conftest.err conftest.$ac_objext \
19321 conftest$ac_exeext conftest.$ac_ext
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19324 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19325 if test $gcc_cv_math_func_floorf = yes; then
19327 cat >>confdefs.h <<_ACEOF
19328 #define HAVE_FLOORF 1
19329 _ACEOF
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19337 $as_echo_n "checking for floor... " >&6; }
19338 if test "${gcc_cv_math_func_floor+set}" = set; then :
19339 $as_echo_n "(cached) " >&6
19340 else
19341 if test x$gcc_no_link = xyes; then
19342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19345 /* end confdefs.h. */
19347 #ifdef HAVE_COMPLEX_H
19348 #include <complex.h>
19349 #endif
19350 #ifdef HAVE_MATH_H
19351 #include <math.h>
19352 #endif
19354 int (*ptr)() = (int (*)())floor;
19357 main ()
19359 return 0;
19362 _ACEOF
19363 if ac_fn_c_try_link "$LINENO"; then :
19364 gcc_cv_math_func_floor=yes
19365 else
19366 gcc_cv_math_func_floor=no
19368 rm -f core conftest.err conftest.$ac_objext \
19369 conftest$ac_exeext conftest.$ac_ext
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19372 $as_echo "$gcc_cv_math_func_floor" >&6; }
19373 if test $gcc_cv_math_func_floor = yes; then
19375 cat >>confdefs.h <<_ACEOF
19376 #define HAVE_FLOOR 1
19377 _ACEOF
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19385 $as_echo_n "checking for floorl... " >&6; }
19386 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19387 $as_echo_n "(cached) " >&6
19388 else
19389 if test x$gcc_no_link = xyes; then
19390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19395 #ifdef HAVE_COMPLEX_H
19396 #include <complex.h>
19397 #endif
19398 #ifdef HAVE_MATH_H
19399 #include <math.h>
19400 #endif
19402 int (*ptr)() = (int (*)())floorl;
19405 main ()
19407 return 0;
19410 _ACEOF
19411 if ac_fn_c_try_link "$LINENO"; then :
19412 gcc_cv_math_func_floorl=yes
19413 else
19414 gcc_cv_math_func_floorl=no
19416 rm -f core conftest.err conftest.$ac_objext \
19417 conftest$ac_exeext conftest.$ac_ext
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19420 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19421 if test $gcc_cv_math_func_floorl = yes; then
19423 cat >>confdefs.h <<_ACEOF
19424 #define HAVE_FLOORL 1
19425 _ACEOF
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19433 $as_echo_n "checking for fmodf... " >&6; }
19434 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19435 $as_echo_n "(cached) " >&6
19436 else
19437 if test x$gcc_no_link = xyes; then
19438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441 /* end confdefs.h. */
19443 #ifdef HAVE_COMPLEX_H
19444 #include <complex.h>
19445 #endif
19446 #ifdef HAVE_MATH_H
19447 #include <math.h>
19448 #endif
19450 int (*ptr)() = (int (*)())fmodf;
19453 main ()
19455 return 0;
19458 _ACEOF
19459 if ac_fn_c_try_link "$LINENO"; then :
19460 gcc_cv_math_func_fmodf=yes
19461 else
19462 gcc_cv_math_func_fmodf=no
19464 rm -f core conftest.err conftest.$ac_objext \
19465 conftest$ac_exeext conftest.$ac_ext
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19468 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19469 if test $gcc_cv_math_func_fmodf = yes; then
19471 cat >>confdefs.h <<_ACEOF
19472 #define HAVE_FMODF 1
19473 _ACEOF
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19481 $as_echo_n "checking for fmod... " >&6; }
19482 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19483 $as_echo_n "(cached) " >&6
19484 else
19485 if test x$gcc_no_link = xyes; then
19486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19491 #ifdef HAVE_COMPLEX_H
19492 #include <complex.h>
19493 #endif
19494 #ifdef HAVE_MATH_H
19495 #include <math.h>
19496 #endif
19498 int (*ptr)() = (int (*)())fmod;
19501 main ()
19503 return 0;
19506 _ACEOF
19507 if ac_fn_c_try_link "$LINENO"; then :
19508 gcc_cv_math_func_fmod=yes
19509 else
19510 gcc_cv_math_func_fmod=no
19512 rm -f core conftest.err conftest.$ac_objext \
19513 conftest$ac_exeext conftest.$ac_ext
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19516 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19517 if test $gcc_cv_math_func_fmod = yes; then
19519 cat >>confdefs.h <<_ACEOF
19520 #define HAVE_FMOD 1
19521 _ACEOF
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19529 $as_echo_n "checking for fmodl... " >&6; }
19530 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19531 $as_echo_n "(cached) " >&6
19532 else
19533 if test x$gcc_no_link = xyes; then
19534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19539 #ifdef HAVE_COMPLEX_H
19540 #include <complex.h>
19541 #endif
19542 #ifdef HAVE_MATH_H
19543 #include <math.h>
19544 #endif
19546 int (*ptr)() = (int (*)())fmodl;
19549 main ()
19551 return 0;
19554 _ACEOF
19555 if ac_fn_c_try_link "$LINENO"; then :
19556 gcc_cv_math_func_fmodl=yes
19557 else
19558 gcc_cv_math_func_fmodl=no
19560 rm -f core conftest.err conftest.$ac_objext \
19561 conftest$ac_exeext conftest.$ac_ext
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19564 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19565 if test $gcc_cv_math_func_fmodl = yes; then
19567 cat >>confdefs.h <<_ACEOF
19568 #define HAVE_FMODL 1
19569 _ACEOF
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19577 $as_echo_n "checking for frexpf... " >&6; }
19578 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19579 $as_echo_n "(cached) " >&6
19580 else
19581 if test x$gcc_no_link = xyes; then
19582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19585 /* end confdefs.h. */
19587 #ifdef HAVE_COMPLEX_H
19588 #include <complex.h>
19589 #endif
19590 #ifdef HAVE_MATH_H
19591 #include <math.h>
19592 #endif
19594 int (*ptr)() = (int (*)())frexpf;
19597 main ()
19599 return 0;
19602 _ACEOF
19603 if ac_fn_c_try_link "$LINENO"; then :
19604 gcc_cv_math_func_frexpf=yes
19605 else
19606 gcc_cv_math_func_frexpf=no
19608 rm -f core conftest.err conftest.$ac_objext \
19609 conftest$ac_exeext conftest.$ac_ext
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19612 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19613 if test $gcc_cv_math_func_frexpf = yes; then
19615 cat >>confdefs.h <<_ACEOF
19616 #define HAVE_FREXPF 1
19617 _ACEOF
19624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19625 $as_echo_n "checking for frexp... " >&6; }
19626 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19627 $as_echo_n "(cached) " >&6
19628 else
19629 if test x$gcc_no_link = xyes; then
19630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19633 /* end confdefs.h. */
19635 #ifdef HAVE_COMPLEX_H
19636 #include <complex.h>
19637 #endif
19638 #ifdef HAVE_MATH_H
19639 #include <math.h>
19640 #endif
19642 int (*ptr)() = (int (*)())frexp;
19645 main ()
19647 return 0;
19650 _ACEOF
19651 if ac_fn_c_try_link "$LINENO"; then :
19652 gcc_cv_math_func_frexp=yes
19653 else
19654 gcc_cv_math_func_frexp=no
19656 rm -f core conftest.err conftest.$ac_objext \
19657 conftest$ac_exeext conftest.$ac_ext
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19660 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19661 if test $gcc_cv_math_func_frexp = yes; then
19663 cat >>confdefs.h <<_ACEOF
19664 #define HAVE_FREXP 1
19665 _ACEOF
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19673 $as_echo_n "checking for frexpl... " >&6; }
19674 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 if test x$gcc_no_link = xyes; then
19678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h. */
19683 #ifdef HAVE_COMPLEX_H
19684 #include <complex.h>
19685 #endif
19686 #ifdef HAVE_MATH_H
19687 #include <math.h>
19688 #endif
19690 int (*ptr)() = (int (*)())frexpl;
19693 main ()
19695 return 0;
19698 _ACEOF
19699 if ac_fn_c_try_link "$LINENO"; then :
19700 gcc_cv_math_func_frexpl=yes
19701 else
19702 gcc_cv_math_func_frexpl=no
19704 rm -f core conftest.err conftest.$ac_objext \
19705 conftest$ac_exeext conftest.$ac_ext
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19708 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19709 if test $gcc_cv_math_func_frexpl = yes; then
19711 cat >>confdefs.h <<_ACEOF
19712 #define HAVE_FREXPL 1
19713 _ACEOF
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19721 $as_echo_n "checking for hypotf... " >&6; }
19722 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19723 $as_echo_n "(cached) " >&6
19724 else
19725 if test x$gcc_no_link = xyes; then
19726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19731 #ifdef HAVE_COMPLEX_H
19732 #include <complex.h>
19733 #endif
19734 #ifdef HAVE_MATH_H
19735 #include <math.h>
19736 #endif
19738 int (*ptr)() = (int (*)())hypotf;
19741 main ()
19743 return 0;
19746 _ACEOF
19747 if ac_fn_c_try_link "$LINENO"; then :
19748 gcc_cv_math_func_hypotf=yes
19749 else
19750 gcc_cv_math_func_hypotf=no
19752 rm -f core conftest.err conftest.$ac_objext \
19753 conftest$ac_exeext conftest.$ac_ext
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19756 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19757 if test $gcc_cv_math_func_hypotf = yes; then
19759 cat >>confdefs.h <<_ACEOF
19760 #define HAVE_HYPOTF 1
19761 _ACEOF
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19769 $as_echo_n "checking for hypot... " >&6; }
19770 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19771 $as_echo_n "(cached) " >&6
19772 else
19773 if test x$gcc_no_link = xyes; then
19774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19777 /* end confdefs.h. */
19779 #ifdef HAVE_COMPLEX_H
19780 #include <complex.h>
19781 #endif
19782 #ifdef HAVE_MATH_H
19783 #include <math.h>
19784 #endif
19786 int (*ptr)() = (int (*)())hypot;
19789 main ()
19791 return 0;
19794 _ACEOF
19795 if ac_fn_c_try_link "$LINENO"; then :
19796 gcc_cv_math_func_hypot=yes
19797 else
19798 gcc_cv_math_func_hypot=no
19800 rm -f core conftest.err conftest.$ac_objext \
19801 conftest$ac_exeext conftest.$ac_ext
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19804 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19805 if test $gcc_cv_math_func_hypot = yes; then
19807 cat >>confdefs.h <<_ACEOF
19808 #define HAVE_HYPOT 1
19809 _ACEOF
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19817 $as_echo_n "checking for hypotl... " >&6; }
19818 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19819 $as_echo_n "(cached) " >&6
19820 else
19821 if test x$gcc_no_link = xyes; then
19822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h. */
19827 #ifdef HAVE_COMPLEX_H
19828 #include <complex.h>
19829 #endif
19830 #ifdef HAVE_MATH_H
19831 #include <math.h>
19832 #endif
19834 int (*ptr)() = (int (*)())hypotl;
19837 main ()
19839 return 0;
19842 _ACEOF
19843 if ac_fn_c_try_link "$LINENO"; then :
19844 gcc_cv_math_func_hypotl=yes
19845 else
19846 gcc_cv_math_func_hypotl=no
19848 rm -f core conftest.err conftest.$ac_objext \
19849 conftest$ac_exeext conftest.$ac_ext
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19852 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19853 if test $gcc_cv_math_func_hypotl = yes; then
19855 cat >>confdefs.h <<_ACEOF
19856 #define HAVE_HYPOTL 1
19857 _ACEOF
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19865 $as_echo_n "checking for ldexpf... " >&6; }
19866 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19867 $as_echo_n "(cached) " >&6
19868 else
19869 if test x$gcc_no_link = xyes; then
19870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19875 #ifdef HAVE_COMPLEX_H
19876 #include <complex.h>
19877 #endif
19878 #ifdef HAVE_MATH_H
19879 #include <math.h>
19880 #endif
19882 int (*ptr)() = (int (*)())ldexpf;
19885 main ()
19887 return 0;
19890 _ACEOF
19891 if ac_fn_c_try_link "$LINENO"; then :
19892 gcc_cv_math_func_ldexpf=yes
19893 else
19894 gcc_cv_math_func_ldexpf=no
19896 rm -f core conftest.err conftest.$ac_objext \
19897 conftest$ac_exeext conftest.$ac_ext
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19900 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19901 if test $gcc_cv_math_func_ldexpf = yes; then
19903 cat >>confdefs.h <<_ACEOF
19904 #define HAVE_LDEXPF 1
19905 _ACEOF
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19913 $as_echo_n "checking for ldexp... " >&6; }
19914 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19915 $as_echo_n "(cached) " >&6
19916 else
19917 if test x$gcc_no_link = xyes; then
19918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19923 #ifdef HAVE_COMPLEX_H
19924 #include <complex.h>
19925 #endif
19926 #ifdef HAVE_MATH_H
19927 #include <math.h>
19928 #endif
19930 int (*ptr)() = (int (*)())ldexp;
19933 main ()
19935 return 0;
19938 _ACEOF
19939 if ac_fn_c_try_link "$LINENO"; then :
19940 gcc_cv_math_func_ldexp=yes
19941 else
19942 gcc_cv_math_func_ldexp=no
19944 rm -f core conftest.err conftest.$ac_objext \
19945 conftest$ac_exeext conftest.$ac_ext
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19948 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19949 if test $gcc_cv_math_func_ldexp = yes; then
19951 cat >>confdefs.h <<_ACEOF
19952 #define HAVE_LDEXP 1
19953 _ACEOF
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19961 $as_echo_n "checking for ldexpl... " >&6; }
19962 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19963 $as_echo_n "(cached) " >&6
19964 else
19965 if test x$gcc_no_link = xyes; then
19966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19969 /* end confdefs.h. */
19971 #ifdef HAVE_COMPLEX_H
19972 #include <complex.h>
19973 #endif
19974 #ifdef HAVE_MATH_H
19975 #include <math.h>
19976 #endif
19978 int (*ptr)() = (int (*)())ldexpl;
19981 main ()
19983 return 0;
19986 _ACEOF
19987 if ac_fn_c_try_link "$LINENO"; then :
19988 gcc_cv_math_func_ldexpl=yes
19989 else
19990 gcc_cv_math_func_ldexpl=no
19992 rm -f core conftest.err conftest.$ac_objext \
19993 conftest$ac_exeext conftest.$ac_ext
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
19996 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
19997 if test $gcc_cv_math_func_ldexpl = yes; then
19999 cat >>confdefs.h <<_ACEOF
20000 #define HAVE_LDEXPL 1
20001 _ACEOF
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20009 $as_echo_n "checking for logf... " >&6; }
20010 if test "${gcc_cv_math_func_logf+set}" = set; then :
20011 $as_echo_n "(cached) " >&6
20012 else
20013 if test x$gcc_no_link = xyes; then
20014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20017 /* end confdefs.h. */
20019 #ifdef HAVE_COMPLEX_H
20020 #include <complex.h>
20021 #endif
20022 #ifdef HAVE_MATH_H
20023 #include <math.h>
20024 #endif
20026 int (*ptr)() = (int (*)())logf;
20029 main ()
20031 return 0;
20034 _ACEOF
20035 if ac_fn_c_try_link "$LINENO"; then :
20036 gcc_cv_math_func_logf=yes
20037 else
20038 gcc_cv_math_func_logf=no
20040 rm -f core conftest.err conftest.$ac_objext \
20041 conftest$ac_exeext conftest.$ac_ext
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20044 $as_echo "$gcc_cv_math_func_logf" >&6; }
20045 if test $gcc_cv_math_func_logf = yes; then
20047 cat >>confdefs.h <<_ACEOF
20048 #define HAVE_LOGF 1
20049 _ACEOF
20056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20057 $as_echo_n "checking for log... " >&6; }
20058 if test "${gcc_cv_math_func_log+set}" = set; then :
20059 $as_echo_n "(cached) " >&6
20060 else
20061 if test x$gcc_no_link = xyes; then
20062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20067 #ifdef HAVE_COMPLEX_H
20068 #include <complex.h>
20069 #endif
20070 #ifdef HAVE_MATH_H
20071 #include <math.h>
20072 #endif
20074 int (*ptr)() = (int (*)())log;
20077 main ()
20079 return 0;
20082 _ACEOF
20083 if ac_fn_c_try_link "$LINENO"; then :
20084 gcc_cv_math_func_log=yes
20085 else
20086 gcc_cv_math_func_log=no
20088 rm -f core conftest.err conftest.$ac_objext \
20089 conftest$ac_exeext conftest.$ac_ext
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20092 $as_echo "$gcc_cv_math_func_log" >&6; }
20093 if test $gcc_cv_math_func_log = yes; then
20095 cat >>confdefs.h <<_ACEOF
20096 #define HAVE_LOG 1
20097 _ACEOF
20104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20105 $as_echo_n "checking for logl... " >&6; }
20106 if test "${gcc_cv_math_func_logl+set}" = set; then :
20107 $as_echo_n "(cached) " >&6
20108 else
20109 if test x$gcc_no_link = xyes; then
20110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20113 /* end confdefs.h. */
20115 #ifdef HAVE_COMPLEX_H
20116 #include <complex.h>
20117 #endif
20118 #ifdef HAVE_MATH_H
20119 #include <math.h>
20120 #endif
20122 int (*ptr)() = (int (*)())logl;
20125 main ()
20127 return 0;
20130 _ACEOF
20131 if ac_fn_c_try_link "$LINENO"; then :
20132 gcc_cv_math_func_logl=yes
20133 else
20134 gcc_cv_math_func_logl=no
20136 rm -f core conftest.err conftest.$ac_objext \
20137 conftest$ac_exeext conftest.$ac_ext
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20140 $as_echo "$gcc_cv_math_func_logl" >&6; }
20141 if test $gcc_cv_math_func_logl = yes; then
20143 cat >>confdefs.h <<_ACEOF
20144 #define HAVE_LOGL 1
20145 _ACEOF
20152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20153 $as_echo_n "checking for clogf... " >&6; }
20154 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20155 $as_echo_n "(cached) " >&6
20156 else
20157 if test x$gcc_no_link = xyes; then
20158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20163 #ifdef HAVE_COMPLEX_H
20164 #include <complex.h>
20165 #endif
20166 #ifdef HAVE_MATH_H
20167 #include <math.h>
20168 #endif
20170 int (*ptr)() = (int (*)())clogf;
20173 main ()
20175 return 0;
20178 _ACEOF
20179 if ac_fn_c_try_link "$LINENO"; then :
20180 gcc_cv_math_func_clogf=yes
20181 else
20182 gcc_cv_math_func_clogf=no
20184 rm -f core conftest.err conftest.$ac_objext \
20185 conftest$ac_exeext conftest.$ac_ext
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20188 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20189 if test $gcc_cv_math_func_clogf = yes; then
20191 cat >>confdefs.h <<_ACEOF
20192 #define HAVE_CLOGF 1
20193 _ACEOF
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20201 $as_echo_n "checking for clog... " >&6; }
20202 if test "${gcc_cv_math_func_clog+set}" = set; then :
20203 $as_echo_n "(cached) " >&6
20204 else
20205 if test x$gcc_no_link = xyes; then
20206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20209 /* end confdefs.h. */
20211 #ifdef HAVE_COMPLEX_H
20212 #include <complex.h>
20213 #endif
20214 #ifdef HAVE_MATH_H
20215 #include <math.h>
20216 #endif
20218 int (*ptr)() = (int (*)())clog;
20221 main ()
20223 return 0;
20226 _ACEOF
20227 if ac_fn_c_try_link "$LINENO"; then :
20228 gcc_cv_math_func_clog=yes
20229 else
20230 gcc_cv_math_func_clog=no
20232 rm -f core conftest.err conftest.$ac_objext \
20233 conftest$ac_exeext conftest.$ac_ext
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20236 $as_echo "$gcc_cv_math_func_clog" >&6; }
20237 if test $gcc_cv_math_func_clog = yes; then
20239 cat >>confdefs.h <<_ACEOF
20240 #define HAVE_CLOG 1
20241 _ACEOF
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20249 $as_echo_n "checking for clogl... " >&6; }
20250 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20251 $as_echo_n "(cached) " >&6
20252 else
20253 if test x$gcc_no_link = xyes; then
20254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20257 /* end confdefs.h. */
20259 #ifdef HAVE_COMPLEX_H
20260 #include <complex.h>
20261 #endif
20262 #ifdef HAVE_MATH_H
20263 #include <math.h>
20264 #endif
20266 int (*ptr)() = (int (*)())clogl;
20269 main ()
20271 return 0;
20274 _ACEOF
20275 if ac_fn_c_try_link "$LINENO"; then :
20276 gcc_cv_math_func_clogl=yes
20277 else
20278 gcc_cv_math_func_clogl=no
20280 rm -f core conftest.err conftest.$ac_objext \
20281 conftest$ac_exeext conftest.$ac_ext
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20284 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20285 if test $gcc_cv_math_func_clogl = yes; then
20287 cat >>confdefs.h <<_ACEOF
20288 #define HAVE_CLOGL 1
20289 _ACEOF
20296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20297 $as_echo_n "checking for log10f... " >&6; }
20298 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20299 $as_echo_n "(cached) " >&6
20300 else
20301 if test x$gcc_no_link = xyes; then
20302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20305 /* end confdefs.h. */
20307 #ifdef HAVE_COMPLEX_H
20308 #include <complex.h>
20309 #endif
20310 #ifdef HAVE_MATH_H
20311 #include <math.h>
20312 #endif
20314 int (*ptr)() = (int (*)())log10f;
20317 main ()
20319 return 0;
20322 _ACEOF
20323 if ac_fn_c_try_link "$LINENO"; then :
20324 gcc_cv_math_func_log10f=yes
20325 else
20326 gcc_cv_math_func_log10f=no
20328 rm -f core conftest.err conftest.$ac_objext \
20329 conftest$ac_exeext conftest.$ac_ext
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20332 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20333 if test $gcc_cv_math_func_log10f = yes; then
20335 cat >>confdefs.h <<_ACEOF
20336 #define HAVE_LOG10F 1
20337 _ACEOF
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20345 $as_echo_n "checking for log10... " >&6; }
20346 if test "${gcc_cv_math_func_log10+set}" = set; then :
20347 $as_echo_n "(cached) " >&6
20348 else
20349 if test x$gcc_no_link = xyes; then
20350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20353 /* end confdefs.h. */
20355 #ifdef HAVE_COMPLEX_H
20356 #include <complex.h>
20357 #endif
20358 #ifdef HAVE_MATH_H
20359 #include <math.h>
20360 #endif
20362 int (*ptr)() = (int (*)())log10;
20365 main ()
20367 return 0;
20370 _ACEOF
20371 if ac_fn_c_try_link "$LINENO"; then :
20372 gcc_cv_math_func_log10=yes
20373 else
20374 gcc_cv_math_func_log10=no
20376 rm -f core conftest.err conftest.$ac_objext \
20377 conftest$ac_exeext conftest.$ac_ext
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20380 $as_echo "$gcc_cv_math_func_log10" >&6; }
20381 if test $gcc_cv_math_func_log10 = yes; then
20383 cat >>confdefs.h <<_ACEOF
20384 #define HAVE_LOG10 1
20385 _ACEOF
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20393 $as_echo_n "checking for log10l... " >&6; }
20394 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20395 $as_echo_n "(cached) " >&6
20396 else
20397 if test x$gcc_no_link = xyes; then
20398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20401 /* end confdefs.h. */
20403 #ifdef HAVE_COMPLEX_H
20404 #include <complex.h>
20405 #endif
20406 #ifdef HAVE_MATH_H
20407 #include <math.h>
20408 #endif
20410 int (*ptr)() = (int (*)())log10l;
20413 main ()
20415 return 0;
20418 _ACEOF
20419 if ac_fn_c_try_link "$LINENO"; then :
20420 gcc_cv_math_func_log10l=yes
20421 else
20422 gcc_cv_math_func_log10l=no
20424 rm -f core conftest.err conftest.$ac_objext \
20425 conftest$ac_exeext conftest.$ac_ext
20427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20428 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20429 if test $gcc_cv_math_func_log10l = yes; then
20431 cat >>confdefs.h <<_ACEOF
20432 #define HAVE_LOG10L 1
20433 _ACEOF
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20441 $as_echo_n "checking for clog10f... " >&6; }
20442 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20443 $as_echo_n "(cached) " >&6
20444 else
20445 if test x$gcc_no_link = xyes; then
20446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20449 /* end confdefs.h. */
20451 #ifdef HAVE_COMPLEX_H
20452 #include <complex.h>
20453 #endif
20454 #ifdef HAVE_MATH_H
20455 #include <math.h>
20456 #endif
20458 int (*ptr)() = (int (*)())clog10f;
20461 main ()
20463 return 0;
20466 _ACEOF
20467 if ac_fn_c_try_link "$LINENO"; then :
20468 gcc_cv_math_func_clog10f=yes
20469 else
20470 gcc_cv_math_func_clog10f=no
20472 rm -f core conftest.err conftest.$ac_objext \
20473 conftest$ac_exeext conftest.$ac_ext
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20476 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20477 if test $gcc_cv_math_func_clog10f = yes; then
20479 cat >>confdefs.h <<_ACEOF
20480 #define HAVE_CLOG10F 1
20481 _ACEOF
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20489 $as_echo_n "checking for clog10... " >&6; }
20490 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20491 $as_echo_n "(cached) " >&6
20492 else
20493 if test x$gcc_no_link = xyes; then
20494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h. */
20499 #ifdef HAVE_COMPLEX_H
20500 #include <complex.h>
20501 #endif
20502 #ifdef HAVE_MATH_H
20503 #include <math.h>
20504 #endif
20506 int (*ptr)() = (int (*)())clog10;
20509 main ()
20511 return 0;
20514 _ACEOF
20515 if ac_fn_c_try_link "$LINENO"; then :
20516 gcc_cv_math_func_clog10=yes
20517 else
20518 gcc_cv_math_func_clog10=no
20520 rm -f core conftest.err conftest.$ac_objext \
20521 conftest$ac_exeext conftest.$ac_ext
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20524 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20525 if test $gcc_cv_math_func_clog10 = yes; then
20527 cat >>confdefs.h <<_ACEOF
20528 #define HAVE_CLOG10 1
20529 _ACEOF
20536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20537 $as_echo_n "checking for clog10l... " >&6; }
20538 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20539 $as_echo_n "(cached) " >&6
20540 else
20541 if test x$gcc_no_link = xyes; then
20542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20545 /* end confdefs.h. */
20547 #ifdef HAVE_COMPLEX_H
20548 #include <complex.h>
20549 #endif
20550 #ifdef HAVE_MATH_H
20551 #include <math.h>
20552 #endif
20554 int (*ptr)() = (int (*)())clog10l;
20557 main ()
20559 return 0;
20562 _ACEOF
20563 if ac_fn_c_try_link "$LINENO"; then :
20564 gcc_cv_math_func_clog10l=yes
20565 else
20566 gcc_cv_math_func_clog10l=no
20568 rm -f core conftest.err conftest.$ac_objext \
20569 conftest$ac_exeext conftest.$ac_ext
20571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20572 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20573 if test $gcc_cv_math_func_clog10l = yes; then
20575 cat >>confdefs.h <<_ACEOF
20576 #define HAVE_CLOG10L 1
20577 _ACEOF
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20585 $as_echo_n "checking for nextafterf... " >&6; }
20586 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20587 $as_echo_n "(cached) " >&6
20588 else
20589 if test x$gcc_no_link = xyes; then
20590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20593 /* end confdefs.h. */
20595 #ifdef HAVE_COMPLEX_H
20596 #include <complex.h>
20597 #endif
20598 #ifdef HAVE_MATH_H
20599 #include <math.h>
20600 #endif
20602 int (*ptr)() = (int (*)())nextafterf;
20605 main ()
20607 return 0;
20610 _ACEOF
20611 if ac_fn_c_try_link "$LINENO"; then :
20612 gcc_cv_math_func_nextafterf=yes
20613 else
20614 gcc_cv_math_func_nextafterf=no
20616 rm -f core conftest.err conftest.$ac_objext \
20617 conftest$ac_exeext conftest.$ac_ext
20619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20620 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20621 if test $gcc_cv_math_func_nextafterf = yes; then
20623 cat >>confdefs.h <<_ACEOF
20624 #define HAVE_NEXTAFTERF 1
20625 _ACEOF
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20633 $as_echo_n "checking for nextafter... " >&6; }
20634 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20635 $as_echo_n "(cached) " >&6
20636 else
20637 if test x$gcc_no_link = xyes; then
20638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20641 /* end confdefs.h. */
20643 #ifdef HAVE_COMPLEX_H
20644 #include <complex.h>
20645 #endif
20646 #ifdef HAVE_MATH_H
20647 #include <math.h>
20648 #endif
20650 int (*ptr)() = (int (*)())nextafter;
20653 main ()
20655 return 0;
20658 _ACEOF
20659 if ac_fn_c_try_link "$LINENO"; then :
20660 gcc_cv_math_func_nextafter=yes
20661 else
20662 gcc_cv_math_func_nextafter=no
20664 rm -f core conftest.err conftest.$ac_objext \
20665 conftest$ac_exeext conftest.$ac_ext
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20668 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20669 if test $gcc_cv_math_func_nextafter = yes; then
20671 cat >>confdefs.h <<_ACEOF
20672 #define HAVE_NEXTAFTER 1
20673 _ACEOF
20680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20681 $as_echo_n "checking for nextafterl... " >&6; }
20682 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20683 $as_echo_n "(cached) " >&6
20684 else
20685 if test x$gcc_no_link = xyes; then
20686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20689 /* end confdefs.h. */
20691 #ifdef HAVE_COMPLEX_H
20692 #include <complex.h>
20693 #endif
20694 #ifdef HAVE_MATH_H
20695 #include <math.h>
20696 #endif
20698 int (*ptr)() = (int (*)())nextafterl;
20701 main ()
20703 return 0;
20706 _ACEOF
20707 if ac_fn_c_try_link "$LINENO"; then :
20708 gcc_cv_math_func_nextafterl=yes
20709 else
20710 gcc_cv_math_func_nextafterl=no
20712 rm -f core conftest.err conftest.$ac_objext \
20713 conftest$ac_exeext conftest.$ac_ext
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20716 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20717 if test $gcc_cv_math_func_nextafterl = yes; then
20719 cat >>confdefs.h <<_ACEOF
20720 #define HAVE_NEXTAFTERL 1
20721 _ACEOF
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20729 $as_echo_n "checking for powf... " >&6; }
20730 if test "${gcc_cv_math_func_powf+set}" = set; then :
20731 $as_echo_n "(cached) " >&6
20732 else
20733 if test x$gcc_no_link = xyes; then
20734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20737 /* end confdefs.h. */
20739 #ifdef HAVE_COMPLEX_H
20740 #include <complex.h>
20741 #endif
20742 #ifdef HAVE_MATH_H
20743 #include <math.h>
20744 #endif
20746 int (*ptr)() = (int (*)())powf;
20749 main ()
20751 return 0;
20754 _ACEOF
20755 if ac_fn_c_try_link "$LINENO"; then :
20756 gcc_cv_math_func_powf=yes
20757 else
20758 gcc_cv_math_func_powf=no
20760 rm -f core conftest.err conftest.$ac_objext \
20761 conftest$ac_exeext conftest.$ac_ext
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20764 $as_echo "$gcc_cv_math_func_powf" >&6; }
20765 if test $gcc_cv_math_func_powf = yes; then
20767 cat >>confdefs.h <<_ACEOF
20768 #define HAVE_POWF 1
20769 _ACEOF
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20777 $as_echo_n "checking for pow... " >&6; }
20778 if test "${gcc_cv_math_func_pow+set}" = set; then :
20779 $as_echo_n "(cached) " >&6
20780 else
20781 if test x$gcc_no_link = xyes; then
20782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20785 /* end confdefs.h. */
20787 #ifdef HAVE_COMPLEX_H
20788 #include <complex.h>
20789 #endif
20790 #ifdef HAVE_MATH_H
20791 #include <math.h>
20792 #endif
20794 int (*ptr)() = (int (*)())pow;
20797 main ()
20799 return 0;
20802 _ACEOF
20803 if ac_fn_c_try_link "$LINENO"; then :
20804 gcc_cv_math_func_pow=yes
20805 else
20806 gcc_cv_math_func_pow=no
20808 rm -f core conftest.err conftest.$ac_objext \
20809 conftest$ac_exeext conftest.$ac_ext
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20812 $as_echo "$gcc_cv_math_func_pow" >&6; }
20813 if test $gcc_cv_math_func_pow = yes; then
20815 cat >>confdefs.h <<_ACEOF
20816 #define HAVE_POW 1
20817 _ACEOF
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20825 $as_echo_n "checking for powl... " >&6; }
20826 if test "${gcc_cv_math_func_powl+set}" = set; then :
20827 $as_echo_n "(cached) " >&6
20828 else
20829 if test x$gcc_no_link = xyes; then
20830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20833 /* end confdefs.h. */
20835 #ifdef HAVE_COMPLEX_H
20836 #include <complex.h>
20837 #endif
20838 #ifdef HAVE_MATH_H
20839 #include <math.h>
20840 #endif
20842 int (*ptr)() = (int (*)())powl;
20845 main ()
20847 return 0;
20850 _ACEOF
20851 if ac_fn_c_try_link "$LINENO"; then :
20852 gcc_cv_math_func_powl=yes
20853 else
20854 gcc_cv_math_func_powl=no
20856 rm -f core conftest.err conftest.$ac_objext \
20857 conftest$ac_exeext conftest.$ac_ext
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20860 $as_echo "$gcc_cv_math_func_powl" >&6; }
20861 if test $gcc_cv_math_func_powl = yes; then
20863 cat >>confdefs.h <<_ACEOF
20864 #define HAVE_POWL 1
20865 _ACEOF
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20873 $as_echo_n "checking for cpowf... " >&6; }
20874 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20875 $as_echo_n "(cached) " >&6
20876 else
20877 if test x$gcc_no_link = xyes; then
20878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20883 #ifdef HAVE_COMPLEX_H
20884 #include <complex.h>
20885 #endif
20886 #ifdef HAVE_MATH_H
20887 #include <math.h>
20888 #endif
20890 int (*ptr)() = (int (*)())cpowf;
20893 main ()
20895 return 0;
20898 _ACEOF
20899 if ac_fn_c_try_link "$LINENO"; then :
20900 gcc_cv_math_func_cpowf=yes
20901 else
20902 gcc_cv_math_func_cpowf=no
20904 rm -f core conftest.err conftest.$ac_objext \
20905 conftest$ac_exeext conftest.$ac_ext
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20908 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20909 if test $gcc_cv_math_func_cpowf = yes; then
20911 cat >>confdefs.h <<_ACEOF
20912 #define HAVE_CPOWF 1
20913 _ACEOF
20920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20921 $as_echo_n "checking for cpow... " >&6; }
20922 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20923 $as_echo_n "(cached) " >&6
20924 else
20925 if test x$gcc_no_link = xyes; then
20926 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20929 /* end confdefs.h. */
20931 #ifdef HAVE_COMPLEX_H
20932 #include <complex.h>
20933 #endif
20934 #ifdef HAVE_MATH_H
20935 #include <math.h>
20936 #endif
20938 int (*ptr)() = (int (*)())cpow;
20941 main ()
20943 return 0;
20946 _ACEOF
20947 if ac_fn_c_try_link "$LINENO"; then :
20948 gcc_cv_math_func_cpow=yes
20949 else
20950 gcc_cv_math_func_cpow=no
20952 rm -f core conftest.err conftest.$ac_objext \
20953 conftest$ac_exeext conftest.$ac_ext
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20956 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20957 if test $gcc_cv_math_func_cpow = yes; then
20959 cat >>confdefs.h <<_ACEOF
20960 #define HAVE_CPOW 1
20961 _ACEOF
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20969 $as_echo_n "checking for cpowl... " >&6; }
20970 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20971 $as_echo_n "(cached) " >&6
20972 else
20973 if test x$gcc_no_link = xyes; then
20974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20977 /* end confdefs.h. */
20979 #ifdef HAVE_COMPLEX_H
20980 #include <complex.h>
20981 #endif
20982 #ifdef HAVE_MATH_H
20983 #include <math.h>
20984 #endif
20986 int (*ptr)() = (int (*)())cpowl;
20989 main ()
20991 return 0;
20994 _ACEOF
20995 if ac_fn_c_try_link "$LINENO"; then :
20996 gcc_cv_math_func_cpowl=yes
20997 else
20998 gcc_cv_math_func_cpowl=no
21000 rm -f core conftest.err conftest.$ac_objext \
21001 conftest$ac_exeext conftest.$ac_ext
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21004 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21005 if test $gcc_cv_math_func_cpowl = yes; then
21007 cat >>confdefs.h <<_ACEOF
21008 #define HAVE_CPOWL 1
21009 _ACEOF
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21017 $as_echo_n "checking for roundf... " >&6; }
21018 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21019 $as_echo_n "(cached) " >&6
21020 else
21021 if test x$gcc_no_link = xyes; then
21022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21025 /* end confdefs.h. */
21027 #ifdef HAVE_COMPLEX_H
21028 #include <complex.h>
21029 #endif
21030 #ifdef HAVE_MATH_H
21031 #include <math.h>
21032 #endif
21034 int (*ptr)() = (int (*)())roundf;
21037 main ()
21039 return 0;
21042 _ACEOF
21043 if ac_fn_c_try_link "$LINENO"; then :
21044 gcc_cv_math_func_roundf=yes
21045 else
21046 gcc_cv_math_func_roundf=no
21048 rm -f core conftest.err conftest.$ac_objext \
21049 conftest$ac_exeext conftest.$ac_ext
21051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21052 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21053 if test $gcc_cv_math_func_roundf = yes; then
21055 cat >>confdefs.h <<_ACEOF
21056 #define HAVE_ROUNDF 1
21057 _ACEOF
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21065 $as_echo_n "checking for round... " >&6; }
21066 if test "${gcc_cv_math_func_round+set}" = set; then :
21067 $as_echo_n "(cached) " >&6
21068 else
21069 if test x$gcc_no_link = xyes; then
21070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h. */
21075 #ifdef HAVE_COMPLEX_H
21076 #include <complex.h>
21077 #endif
21078 #ifdef HAVE_MATH_H
21079 #include <math.h>
21080 #endif
21082 int (*ptr)() = (int (*)())round;
21085 main ()
21087 return 0;
21090 _ACEOF
21091 if ac_fn_c_try_link "$LINENO"; then :
21092 gcc_cv_math_func_round=yes
21093 else
21094 gcc_cv_math_func_round=no
21096 rm -f core conftest.err conftest.$ac_objext \
21097 conftest$ac_exeext conftest.$ac_ext
21099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21100 $as_echo "$gcc_cv_math_func_round" >&6; }
21101 if test $gcc_cv_math_func_round = yes; then
21103 cat >>confdefs.h <<_ACEOF
21104 #define HAVE_ROUND 1
21105 _ACEOF
21112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21113 $as_echo_n "checking for roundl... " >&6; }
21114 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21115 $as_echo_n "(cached) " >&6
21116 else
21117 if test x$gcc_no_link = xyes; then
21118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h. */
21123 #ifdef HAVE_COMPLEX_H
21124 #include <complex.h>
21125 #endif
21126 #ifdef HAVE_MATH_H
21127 #include <math.h>
21128 #endif
21130 int (*ptr)() = (int (*)())roundl;
21133 main ()
21135 return 0;
21138 _ACEOF
21139 if ac_fn_c_try_link "$LINENO"; then :
21140 gcc_cv_math_func_roundl=yes
21141 else
21142 gcc_cv_math_func_roundl=no
21144 rm -f core conftest.err conftest.$ac_objext \
21145 conftest$ac_exeext conftest.$ac_ext
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21148 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21149 if test $gcc_cv_math_func_roundl = yes; then
21151 cat >>confdefs.h <<_ACEOF
21152 #define HAVE_ROUNDL 1
21153 _ACEOF
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21161 $as_echo_n "checking for lroundf... " >&6; }
21162 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21163 $as_echo_n "(cached) " >&6
21164 else
21165 if test x$gcc_no_link = xyes; then
21166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21169 /* end confdefs.h. */
21171 #ifdef HAVE_COMPLEX_H
21172 #include <complex.h>
21173 #endif
21174 #ifdef HAVE_MATH_H
21175 #include <math.h>
21176 #endif
21178 int (*ptr)() = (int (*)())lroundf;
21181 main ()
21183 return 0;
21186 _ACEOF
21187 if ac_fn_c_try_link "$LINENO"; then :
21188 gcc_cv_math_func_lroundf=yes
21189 else
21190 gcc_cv_math_func_lroundf=no
21192 rm -f core conftest.err conftest.$ac_objext \
21193 conftest$ac_exeext conftest.$ac_ext
21195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21196 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21197 if test $gcc_cv_math_func_lroundf = yes; then
21199 cat >>confdefs.h <<_ACEOF
21200 #define HAVE_LROUNDF 1
21201 _ACEOF
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21209 $as_echo_n "checking for lround... " >&6; }
21210 if test "${gcc_cv_math_func_lround+set}" = set; then :
21211 $as_echo_n "(cached) " >&6
21212 else
21213 if test x$gcc_no_link = xyes; then
21214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21217 /* end confdefs.h. */
21219 #ifdef HAVE_COMPLEX_H
21220 #include <complex.h>
21221 #endif
21222 #ifdef HAVE_MATH_H
21223 #include <math.h>
21224 #endif
21226 int (*ptr)() = (int (*)())lround;
21229 main ()
21231 return 0;
21234 _ACEOF
21235 if ac_fn_c_try_link "$LINENO"; then :
21236 gcc_cv_math_func_lround=yes
21237 else
21238 gcc_cv_math_func_lround=no
21240 rm -f core conftest.err conftest.$ac_objext \
21241 conftest$ac_exeext conftest.$ac_ext
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21244 $as_echo "$gcc_cv_math_func_lround" >&6; }
21245 if test $gcc_cv_math_func_lround = yes; then
21247 cat >>confdefs.h <<_ACEOF
21248 #define HAVE_LROUND 1
21249 _ACEOF
21256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21257 $as_echo_n "checking for lroundl... " >&6; }
21258 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21259 $as_echo_n "(cached) " >&6
21260 else
21261 if test x$gcc_no_link = xyes; then
21262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21265 /* end confdefs.h. */
21267 #ifdef HAVE_COMPLEX_H
21268 #include <complex.h>
21269 #endif
21270 #ifdef HAVE_MATH_H
21271 #include <math.h>
21272 #endif
21274 int (*ptr)() = (int (*)())lroundl;
21277 main ()
21279 return 0;
21282 _ACEOF
21283 if ac_fn_c_try_link "$LINENO"; then :
21284 gcc_cv_math_func_lroundl=yes
21285 else
21286 gcc_cv_math_func_lroundl=no
21288 rm -f core conftest.err conftest.$ac_objext \
21289 conftest$ac_exeext conftest.$ac_ext
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21292 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21293 if test $gcc_cv_math_func_lroundl = yes; then
21295 cat >>confdefs.h <<_ACEOF
21296 #define HAVE_LROUNDL 1
21297 _ACEOF
21304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21305 $as_echo_n "checking for llroundf... " >&6; }
21306 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21307 $as_echo_n "(cached) " >&6
21308 else
21309 if test x$gcc_no_link = xyes; then
21310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21313 /* end confdefs.h. */
21315 #ifdef HAVE_COMPLEX_H
21316 #include <complex.h>
21317 #endif
21318 #ifdef HAVE_MATH_H
21319 #include <math.h>
21320 #endif
21322 int (*ptr)() = (int (*)())llroundf;
21325 main ()
21327 return 0;
21330 _ACEOF
21331 if ac_fn_c_try_link "$LINENO"; then :
21332 gcc_cv_math_func_llroundf=yes
21333 else
21334 gcc_cv_math_func_llroundf=no
21336 rm -f core conftest.err conftest.$ac_objext \
21337 conftest$ac_exeext conftest.$ac_ext
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21340 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21341 if test $gcc_cv_math_func_llroundf = yes; then
21343 cat >>confdefs.h <<_ACEOF
21344 #define HAVE_LLROUNDF 1
21345 _ACEOF
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21353 $as_echo_n "checking for llround... " >&6; }
21354 if test "${gcc_cv_math_func_llround+set}" = set; then :
21355 $as_echo_n "(cached) " >&6
21356 else
21357 if test x$gcc_no_link = xyes; then
21358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21361 /* end confdefs.h. */
21363 #ifdef HAVE_COMPLEX_H
21364 #include <complex.h>
21365 #endif
21366 #ifdef HAVE_MATH_H
21367 #include <math.h>
21368 #endif
21370 int (*ptr)() = (int (*)())llround;
21373 main ()
21375 return 0;
21378 _ACEOF
21379 if ac_fn_c_try_link "$LINENO"; then :
21380 gcc_cv_math_func_llround=yes
21381 else
21382 gcc_cv_math_func_llround=no
21384 rm -f core conftest.err conftest.$ac_objext \
21385 conftest$ac_exeext conftest.$ac_ext
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21388 $as_echo "$gcc_cv_math_func_llround" >&6; }
21389 if test $gcc_cv_math_func_llround = yes; then
21391 cat >>confdefs.h <<_ACEOF
21392 #define HAVE_LLROUND 1
21393 _ACEOF
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21401 $as_echo_n "checking for llroundl... " >&6; }
21402 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21403 $as_echo_n "(cached) " >&6
21404 else
21405 if test x$gcc_no_link = xyes; then
21406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21409 /* end confdefs.h. */
21411 #ifdef HAVE_COMPLEX_H
21412 #include <complex.h>
21413 #endif
21414 #ifdef HAVE_MATH_H
21415 #include <math.h>
21416 #endif
21418 int (*ptr)() = (int (*)())llroundl;
21421 main ()
21423 return 0;
21426 _ACEOF
21427 if ac_fn_c_try_link "$LINENO"; then :
21428 gcc_cv_math_func_llroundl=yes
21429 else
21430 gcc_cv_math_func_llroundl=no
21432 rm -f core conftest.err conftest.$ac_objext \
21433 conftest$ac_exeext conftest.$ac_ext
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21436 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21437 if test $gcc_cv_math_func_llroundl = yes; then
21439 cat >>confdefs.h <<_ACEOF
21440 #define HAVE_LLROUNDL 1
21441 _ACEOF
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21449 $as_echo_n "checking for scalbnf... " >&6; }
21450 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21451 $as_echo_n "(cached) " >&6
21452 else
21453 if test x$gcc_no_link = xyes; then
21454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21457 /* end confdefs.h. */
21459 #ifdef HAVE_COMPLEX_H
21460 #include <complex.h>
21461 #endif
21462 #ifdef HAVE_MATH_H
21463 #include <math.h>
21464 #endif
21466 int (*ptr)() = (int (*)())scalbnf;
21469 main ()
21471 return 0;
21474 _ACEOF
21475 if ac_fn_c_try_link "$LINENO"; then :
21476 gcc_cv_math_func_scalbnf=yes
21477 else
21478 gcc_cv_math_func_scalbnf=no
21480 rm -f core conftest.err conftest.$ac_objext \
21481 conftest$ac_exeext conftest.$ac_ext
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21484 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21485 if test $gcc_cv_math_func_scalbnf = yes; then
21487 cat >>confdefs.h <<_ACEOF
21488 #define HAVE_SCALBNF 1
21489 _ACEOF
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21497 $as_echo_n "checking for scalbn... " >&6; }
21498 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21499 $as_echo_n "(cached) " >&6
21500 else
21501 if test x$gcc_no_link = xyes; then
21502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21505 /* end confdefs.h. */
21507 #ifdef HAVE_COMPLEX_H
21508 #include <complex.h>
21509 #endif
21510 #ifdef HAVE_MATH_H
21511 #include <math.h>
21512 #endif
21514 int (*ptr)() = (int (*)())scalbn;
21517 main ()
21519 return 0;
21522 _ACEOF
21523 if ac_fn_c_try_link "$LINENO"; then :
21524 gcc_cv_math_func_scalbn=yes
21525 else
21526 gcc_cv_math_func_scalbn=no
21528 rm -f core conftest.err conftest.$ac_objext \
21529 conftest$ac_exeext conftest.$ac_ext
21531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21532 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21533 if test $gcc_cv_math_func_scalbn = yes; then
21535 cat >>confdefs.h <<_ACEOF
21536 #define HAVE_SCALBN 1
21537 _ACEOF
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21545 $as_echo_n "checking for scalbnl... " >&6; }
21546 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21547 $as_echo_n "(cached) " >&6
21548 else
21549 if test x$gcc_no_link = xyes; then
21550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21553 /* end confdefs.h. */
21555 #ifdef HAVE_COMPLEX_H
21556 #include <complex.h>
21557 #endif
21558 #ifdef HAVE_MATH_H
21559 #include <math.h>
21560 #endif
21562 int (*ptr)() = (int (*)())scalbnl;
21565 main ()
21567 return 0;
21570 _ACEOF
21571 if ac_fn_c_try_link "$LINENO"; then :
21572 gcc_cv_math_func_scalbnl=yes
21573 else
21574 gcc_cv_math_func_scalbnl=no
21576 rm -f core conftest.err conftest.$ac_objext \
21577 conftest$ac_exeext conftest.$ac_ext
21579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21580 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21581 if test $gcc_cv_math_func_scalbnl = yes; then
21583 cat >>confdefs.h <<_ACEOF
21584 #define HAVE_SCALBNL 1
21585 _ACEOF
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21593 $as_echo_n "checking for sinf... " >&6; }
21594 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21595 $as_echo_n "(cached) " >&6
21596 else
21597 if test x$gcc_no_link = xyes; then
21598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21601 /* end confdefs.h. */
21603 #ifdef HAVE_COMPLEX_H
21604 #include <complex.h>
21605 #endif
21606 #ifdef HAVE_MATH_H
21607 #include <math.h>
21608 #endif
21610 int (*ptr)() = (int (*)())sinf;
21613 main ()
21615 return 0;
21618 _ACEOF
21619 if ac_fn_c_try_link "$LINENO"; then :
21620 gcc_cv_math_func_sinf=yes
21621 else
21622 gcc_cv_math_func_sinf=no
21624 rm -f core conftest.err conftest.$ac_objext \
21625 conftest$ac_exeext conftest.$ac_ext
21627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21628 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21629 if test $gcc_cv_math_func_sinf = yes; then
21631 cat >>confdefs.h <<_ACEOF
21632 #define HAVE_SINF 1
21633 _ACEOF
21640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21641 $as_echo_n "checking for sin... " >&6; }
21642 if test "${gcc_cv_math_func_sin+set}" = set; then :
21643 $as_echo_n "(cached) " >&6
21644 else
21645 if test x$gcc_no_link = xyes; then
21646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21649 /* end confdefs.h. */
21651 #ifdef HAVE_COMPLEX_H
21652 #include <complex.h>
21653 #endif
21654 #ifdef HAVE_MATH_H
21655 #include <math.h>
21656 #endif
21658 int (*ptr)() = (int (*)())sin;
21661 main ()
21663 return 0;
21666 _ACEOF
21667 if ac_fn_c_try_link "$LINENO"; then :
21668 gcc_cv_math_func_sin=yes
21669 else
21670 gcc_cv_math_func_sin=no
21672 rm -f core conftest.err conftest.$ac_objext \
21673 conftest$ac_exeext conftest.$ac_ext
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21676 $as_echo "$gcc_cv_math_func_sin" >&6; }
21677 if test $gcc_cv_math_func_sin = yes; then
21679 cat >>confdefs.h <<_ACEOF
21680 #define HAVE_SIN 1
21681 _ACEOF
21688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21689 $as_echo_n "checking for sinl... " >&6; }
21690 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21691 $as_echo_n "(cached) " >&6
21692 else
21693 if test x$gcc_no_link = xyes; then
21694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21697 /* end confdefs.h. */
21699 #ifdef HAVE_COMPLEX_H
21700 #include <complex.h>
21701 #endif
21702 #ifdef HAVE_MATH_H
21703 #include <math.h>
21704 #endif
21706 int (*ptr)() = (int (*)())sinl;
21709 main ()
21711 return 0;
21714 _ACEOF
21715 if ac_fn_c_try_link "$LINENO"; then :
21716 gcc_cv_math_func_sinl=yes
21717 else
21718 gcc_cv_math_func_sinl=no
21720 rm -f core conftest.err conftest.$ac_objext \
21721 conftest$ac_exeext conftest.$ac_ext
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21724 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21725 if test $gcc_cv_math_func_sinl = yes; then
21727 cat >>confdefs.h <<_ACEOF
21728 #define HAVE_SINL 1
21729 _ACEOF
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21737 $as_echo_n "checking for csinf... " >&6; }
21738 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21739 $as_echo_n "(cached) " >&6
21740 else
21741 if test x$gcc_no_link = xyes; then
21742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21745 /* end confdefs.h. */
21747 #ifdef HAVE_COMPLEX_H
21748 #include <complex.h>
21749 #endif
21750 #ifdef HAVE_MATH_H
21751 #include <math.h>
21752 #endif
21754 int (*ptr)() = (int (*)())csinf;
21757 main ()
21759 return 0;
21762 _ACEOF
21763 if ac_fn_c_try_link "$LINENO"; then :
21764 gcc_cv_math_func_csinf=yes
21765 else
21766 gcc_cv_math_func_csinf=no
21768 rm -f core conftest.err conftest.$ac_objext \
21769 conftest$ac_exeext conftest.$ac_ext
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21772 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21773 if test $gcc_cv_math_func_csinf = yes; then
21775 cat >>confdefs.h <<_ACEOF
21776 #define HAVE_CSINF 1
21777 _ACEOF
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21785 $as_echo_n "checking for csin... " >&6; }
21786 if test "${gcc_cv_math_func_csin+set}" = set; then :
21787 $as_echo_n "(cached) " >&6
21788 else
21789 if test x$gcc_no_link = xyes; then
21790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21793 /* end confdefs.h. */
21795 #ifdef HAVE_COMPLEX_H
21796 #include <complex.h>
21797 #endif
21798 #ifdef HAVE_MATH_H
21799 #include <math.h>
21800 #endif
21802 int (*ptr)() = (int (*)())csin;
21805 main ()
21807 return 0;
21810 _ACEOF
21811 if ac_fn_c_try_link "$LINENO"; then :
21812 gcc_cv_math_func_csin=yes
21813 else
21814 gcc_cv_math_func_csin=no
21816 rm -f core conftest.err conftest.$ac_objext \
21817 conftest$ac_exeext conftest.$ac_ext
21819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21820 $as_echo "$gcc_cv_math_func_csin" >&6; }
21821 if test $gcc_cv_math_func_csin = yes; then
21823 cat >>confdefs.h <<_ACEOF
21824 #define HAVE_CSIN 1
21825 _ACEOF
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21833 $as_echo_n "checking for csinl... " >&6; }
21834 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21835 $as_echo_n "(cached) " >&6
21836 else
21837 if test x$gcc_no_link = xyes; then
21838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21841 /* end confdefs.h. */
21843 #ifdef HAVE_COMPLEX_H
21844 #include <complex.h>
21845 #endif
21846 #ifdef HAVE_MATH_H
21847 #include <math.h>
21848 #endif
21850 int (*ptr)() = (int (*)())csinl;
21853 main ()
21855 return 0;
21858 _ACEOF
21859 if ac_fn_c_try_link "$LINENO"; then :
21860 gcc_cv_math_func_csinl=yes
21861 else
21862 gcc_cv_math_func_csinl=no
21864 rm -f core conftest.err conftest.$ac_objext \
21865 conftest$ac_exeext conftest.$ac_ext
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21868 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21869 if test $gcc_cv_math_func_csinl = yes; then
21871 cat >>confdefs.h <<_ACEOF
21872 #define HAVE_CSINL 1
21873 _ACEOF
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21881 $as_echo_n "checking for sinhf... " >&6; }
21882 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21883 $as_echo_n "(cached) " >&6
21884 else
21885 if test x$gcc_no_link = xyes; then
21886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21889 /* end confdefs.h. */
21891 #ifdef HAVE_COMPLEX_H
21892 #include <complex.h>
21893 #endif
21894 #ifdef HAVE_MATH_H
21895 #include <math.h>
21896 #endif
21898 int (*ptr)() = (int (*)())sinhf;
21901 main ()
21903 return 0;
21906 _ACEOF
21907 if ac_fn_c_try_link "$LINENO"; then :
21908 gcc_cv_math_func_sinhf=yes
21909 else
21910 gcc_cv_math_func_sinhf=no
21912 rm -f core conftest.err conftest.$ac_objext \
21913 conftest$ac_exeext conftest.$ac_ext
21915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21916 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21917 if test $gcc_cv_math_func_sinhf = yes; then
21919 cat >>confdefs.h <<_ACEOF
21920 #define HAVE_SINHF 1
21921 _ACEOF
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21929 $as_echo_n "checking for sinh... " >&6; }
21930 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21931 $as_echo_n "(cached) " >&6
21932 else
21933 if test x$gcc_no_link = xyes; then
21934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21937 /* end confdefs.h. */
21939 #ifdef HAVE_COMPLEX_H
21940 #include <complex.h>
21941 #endif
21942 #ifdef HAVE_MATH_H
21943 #include <math.h>
21944 #endif
21946 int (*ptr)() = (int (*)())sinh;
21949 main ()
21951 return 0;
21954 _ACEOF
21955 if ac_fn_c_try_link "$LINENO"; then :
21956 gcc_cv_math_func_sinh=yes
21957 else
21958 gcc_cv_math_func_sinh=no
21960 rm -f core conftest.err conftest.$ac_objext \
21961 conftest$ac_exeext conftest.$ac_ext
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21964 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21965 if test $gcc_cv_math_func_sinh = yes; then
21967 cat >>confdefs.h <<_ACEOF
21968 #define HAVE_SINH 1
21969 _ACEOF
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21977 $as_echo_n "checking for sinhl... " >&6; }
21978 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21979 $as_echo_n "(cached) " >&6
21980 else
21981 if test x$gcc_no_link = xyes; then
21982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21985 /* end confdefs.h. */
21987 #ifdef HAVE_COMPLEX_H
21988 #include <complex.h>
21989 #endif
21990 #ifdef HAVE_MATH_H
21991 #include <math.h>
21992 #endif
21994 int (*ptr)() = (int (*)())sinhl;
21997 main ()
21999 return 0;
22002 _ACEOF
22003 if ac_fn_c_try_link "$LINENO"; then :
22004 gcc_cv_math_func_sinhl=yes
22005 else
22006 gcc_cv_math_func_sinhl=no
22008 rm -f core conftest.err conftest.$ac_objext \
22009 conftest$ac_exeext conftest.$ac_ext
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22012 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22013 if test $gcc_cv_math_func_sinhl = yes; then
22015 cat >>confdefs.h <<_ACEOF
22016 #define HAVE_SINHL 1
22017 _ACEOF
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22025 $as_echo_n "checking for csinhf... " >&6; }
22026 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22027 $as_echo_n "(cached) " >&6
22028 else
22029 if test x$gcc_no_link = xyes; then
22030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22033 /* end confdefs.h. */
22035 #ifdef HAVE_COMPLEX_H
22036 #include <complex.h>
22037 #endif
22038 #ifdef HAVE_MATH_H
22039 #include <math.h>
22040 #endif
22042 int (*ptr)() = (int (*)())csinhf;
22045 main ()
22047 return 0;
22050 _ACEOF
22051 if ac_fn_c_try_link "$LINENO"; then :
22052 gcc_cv_math_func_csinhf=yes
22053 else
22054 gcc_cv_math_func_csinhf=no
22056 rm -f core conftest.err conftest.$ac_objext \
22057 conftest$ac_exeext conftest.$ac_ext
22059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22060 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22061 if test $gcc_cv_math_func_csinhf = yes; then
22063 cat >>confdefs.h <<_ACEOF
22064 #define HAVE_CSINHF 1
22065 _ACEOF
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22073 $as_echo_n "checking for csinh... " >&6; }
22074 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22075 $as_echo_n "(cached) " >&6
22076 else
22077 if test x$gcc_no_link = xyes; then
22078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22081 /* end confdefs.h. */
22083 #ifdef HAVE_COMPLEX_H
22084 #include <complex.h>
22085 #endif
22086 #ifdef HAVE_MATH_H
22087 #include <math.h>
22088 #endif
22090 int (*ptr)() = (int (*)())csinh;
22093 main ()
22095 return 0;
22098 _ACEOF
22099 if ac_fn_c_try_link "$LINENO"; then :
22100 gcc_cv_math_func_csinh=yes
22101 else
22102 gcc_cv_math_func_csinh=no
22104 rm -f core conftest.err conftest.$ac_objext \
22105 conftest$ac_exeext conftest.$ac_ext
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22108 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22109 if test $gcc_cv_math_func_csinh = yes; then
22111 cat >>confdefs.h <<_ACEOF
22112 #define HAVE_CSINH 1
22113 _ACEOF
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22121 $as_echo_n "checking for csinhl... " >&6; }
22122 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22123 $as_echo_n "(cached) " >&6
22124 else
22125 if test x$gcc_no_link = xyes; then
22126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22129 /* end confdefs.h. */
22131 #ifdef HAVE_COMPLEX_H
22132 #include <complex.h>
22133 #endif
22134 #ifdef HAVE_MATH_H
22135 #include <math.h>
22136 #endif
22138 int (*ptr)() = (int (*)())csinhl;
22141 main ()
22143 return 0;
22146 _ACEOF
22147 if ac_fn_c_try_link "$LINENO"; then :
22148 gcc_cv_math_func_csinhl=yes
22149 else
22150 gcc_cv_math_func_csinhl=no
22152 rm -f core conftest.err conftest.$ac_objext \
22153 conftest$ac_exeext conftest.$ac_ext
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22156 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22157 if test $gcc_cv_math_func_csinhl = yes; then
22159 cat >>confdefs.h <<_ACEOF
22160 #define HAVE_CSINHL 1
22161 _ACEOF
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22169 $as_echo_n "checking for sqrtf... " >&6; }
22170 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22171 $as_echo_n "(cached) " >&6
22172 else
22173 if test x$gcc_no_link = xyes; then
22174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22177 /* end confdefs.h. */
22179 #ifdef HAVE_COMPLEX_H
22180 #include <complex.h>
22181 #endif
22182 #ifdef HAVE_MATH_H
22183 #include <math.h>
22184 #endif
22186 int (*ptr)() = (int (*)())sqrtf;
22189 main ()
22191 return 0;
22194 _ACEOF
22195 if ac_fn_c_try_link "$LINENO"; then :
22196 gcc_cv_math_func_sqrtf=yes
22197 else
22198 gcc_cv_math_func_sqrtf=no
22200 rm -f core conftest.err conftest.$ac_objext \
22201 conftest$ac_exeext conftest.$ac_ext
22203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22204 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22205 if test $gcc_cv_math_func_sqrtf = yes; then
22207 cat >>confdefs.h <<_ACEOF
22208 #define HAVE_SQRTF 1
22209 _ACEOF
22216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22217 $as_echo_n "checking for sqrt... " >&6; }
22218 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22219 $as_echo_n "(cached) " >&6
22220 else
22221 if test x$gcc_no_link = xyes; then
22222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22225 /* end confdefs.h. */
22227 #ifdef HAVE_COMPLEX_H
22228 #include <complex.h>
22229 #endif
22230 #ifdef HAVE_MATH_H
22231 #include <math.h>
22232 #endif
22234 int (*ptr)() = (int (*)())sqrt;
22237 main ()
22239 return 0;
22242 _ACEOF
22243 if ac_fn_c_try_link "$LINENO"; then :
22244 gcc_cv_math_func_sqrt=yes
22245 else
22246 gcc_cv_math_func_sqrt=no
22248 rm -f core conftest.err conftest.$ac_objext \
22249 conftest$ac_exeext conftest.$ac_ext
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22252 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22253 if test $gcc_cv_math_func_sqrt = yes; then
22255 cat >>confdefs.h <<_ACEOF
22256 #define HAVE_SQRT 1
22257 _ACEOF
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22265 $as_echo_n "checking for sqrtl... " >&6; }
22266 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22268 else
22269 if test x$gcc_no_link = xyes; then
22270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22273 /* end confdefs.h. */
22275 #ifdef HAVE_COMPLEX_H
22276 #include <complex.h>
22277 #endif
22278 #ifdef HAVE_MATH_H
22279 #include <math.h>
22280 #endif
22282 int (*ptr)() = (int (*)())sqrtl;
22285 main ()
22287 return 0;
22290 _ACEOF
22291 if ac_fn_c_try_link "$LINENO"; then :
22292 gcc_cv_math_func_sqrtl=yes
22293 else
22294 gcc_cv_math_func_sqrtl=no
22296 rm -f core conftest.err conftest.$ac_objext \
22297 conftest$ac_exeext conftest.$ac_ext
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22300 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22301 if test $gcc_cv_math_func_sqrtl = yes; then
22303 cat >>confdefs.h <<_ACEOF
22304 #define HAVE_SQRTL 1
22305 _ACEOF
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22313 $as_echo_n "checking for csqrtf... " >&6; }
22314 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22315 $as_echo_n "(cached) " >&6
22316 else
22317 if test x$gcc_no_link = xyes; then
22318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22321 /* end confdefs.h. */
22323 #ifdef HAVE_COMPLEX_H
22324 #include <complex.h>
22325 #endif
22326 #ifdef HAVE_MATH_H
22327 #include <math.h>
22328 #endif
22330 int (*ptr)() = (int (*)())csqrtf;
22333 main ()
22335 return 0;
22338 _ACEOF
22339 if ac_fn_c_try_link "$LINENO"; then :
22340 gcc_cv_math_func_csqrtf=yes
22341 else
22342 gcc_cv_math_func_csqrtf=no
22344 rm -f core conftest.err conftest.$ac_objext \
22345 conftest$ac_exeext conftest.$ac_ext
22347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22348 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22349 if test $gcc_cv_math_func_csqrtf = yes; then
22351 cat >>confdefs.h <<_ACEOF
22352 #define HAVE_CSQRTF 1
22353 _ACEOF
22360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22361 $as_echo_n "checking for csqrt... " >&6; }
22362 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22363 $as_echo_n "(cached) " >&6
22364 else
22365 if test x$gcc_no_link = xyes; then
22366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22369 /* end confdefs.h. */
22371 #ifdef HAVE_COMPLEX_H
22372 #include <complex.h>
22373 #endif
22374 #ifdef HAVE_MATH_H
22375 #include <math.h>
22376 #endif
22378 int (*ptr)() = (int (*)())csqrt;
22381 main ()
22383 return 0;
22386 _ACEOF
22387 if ac_fn_c_try_link "$LINENO"; then :
22388 gcc_cv_math_func_csqrt=yes
22389 else
22390 gcc_cv_math_func_csqrt=no
22392 rm -f core conftest.err conftest.$ac_objext \
22393 conftest$ac_exeext conftest.$ac_ext
22395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22396 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22397 if test $gcc_cv_math_func_csqrt = yes; then
22399 cat >>confdefs.h <<_ACEOF
22400 #define HAVE_CSQRT 1
22401 _ACEOF
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22409 $as_echo_n "checking for csqrtl... " >&6; }
22410 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22411 $as_echo_n "(cached) " >&6
22412 else
22413 if test x$gcc_no_link = xyes; then
22414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h. */
22419 #ifdef HAVE_COMPLEX_H
22420 #include <complex.h>
22421 #endif
22422 #ifdef HAVE_MATH_H
22423 #include <math.h>
22424 #endif
22426 int (*ptr)() = (int (*)())csqrtl;
22429 main ()
22431 return 0;
22434 _ACEOF
22435 if ac_fn_c_try_link "$LINENO"; then :
22436 gcc_cv_math_func_csqrtl=yes
22437 else
22438 gcc_cv_math_func_csqrtl=no
22440 rm -f core conftest.err conftest.$ac_objext \
22441 conftest$ac_exeext conftest.$ac_ext
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22444 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22445 if test $gcc_cv_math_func_csqrtl = yes; then
22447 cat >>confdefs.h <<_ACEOF
22448 #define HAVE_CSQRTL 1
22449 _ACEOF
22456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22457 $as_echo_n "checking for tanf... " >&6; }
22458 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22459 $as_echo_n "(cached) " >&6
22460 else
22461 if test x$gcc_no_link = xyes; then
22462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22465 /* end confdefs.h. */
22467 #ifdef HAVE_COMPLEX_H
22468 #include <complex.h>
22469 #endif
22470 #ifdef HAVE_MATH_H
22471 #include <math.h>
22472 #endif
22474 int (*ptr)() = (int (*)())tanf;
22477 main ()
22479 return 0;
22482 _ACEOF
22483 if ac_fn_c_try_link "$LINENO"; then :
22484 gcc_cv_math_func_tanf=yes
22485 else
22486 gcc_cv_math_func_tanf=no
22488 rm -f core conftest.err conftest.$ac_objext \
22489 conftest$ac_exeext conftest.$ac_ext
22491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22492 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22493 if test $gcc_cv_math_func_tanf = yes; then
22495 cat >>confdefs.h <<_ACEOF
22496 #define HAVE_TANF 1
22497 _ACEOF
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22505 $as_echo_n "checking for tan... " >&6; }
22506 if test "${gcc_cv_math_func_tan+set}" = set; then :
22507 $as_echo_n "(cached) " >&6
22508 else
22509 if test x$gcc_no_link = xyes; then
22510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22513 /* end confdefs.h. */
22515 #ifdef HAVE_COMPLEX_H
22516 #include <complex.h>
22517 #endif
22518 #ifdef HAVE_MATH_H
22519 #include <math.h>
22520 #endif
22522 int (*ptr)() = (int (*)())tan;
22525 main ()
22527 return 0;
22530 _ACEOF
22531 if ac_fn_c_try_link "$LINENO"; then :
22532 gcc_cv_math_func_tan=yes
22533 else
22534 gcc_cv_math_func_tan=no
22536 rm -f core conftest.err conftest.$ac_objext \
22537 conftest$ac_exeext conftest.$ac_ext
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22540 $as_echo "$gcc_cv_math_func_tan" >&6; }
22541 if test $gcc_cv_math_func_tan = yes; then
22543 cat >>confdefs.h <<_ACEOF
22544 #define HAVE_TAN 1
22545 _ACEOF
22552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22553 $as_echo_n "checking for tanl... " >&6; }
22554 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22555 $as_echo_n "(cached) " >&6
22556 else
22557 if test x$gcc_no_link = xyes; then
22558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22561 /* end confdefs.h. */
22563 #ifdef HAVE_COMPLEX_H
22564 #include <complex.h>
22565 #endif
22566 #ifdef HAVE_MATH_H
22567 #include <math.h>
22568 #endif
22570 int (*ptr)() = (int (*)())tanl;
22573 main ()
22575 return 0;
22578 _ACEOF
22579 if ac_fn_c_try_link "$LINENO"; then :
22580 gcc_cv_math_func_tanl=yes
22581 else
22582 gcc_cv_math_func_tanl=no
22584 rm -f core conftest.err conftest.$ac_objext \
22585 conftest$ac_exeext conftest.$ac_ext
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22588 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22589 if test $gcc_cv_math_func_tanl = yes; then
22591 cat >>confdefs.h <<_ACEOF
22592 #define HAVE_TANL 1
22593 _ACEOF
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22601 $as_echo_n "checking for ctanf... " >&6; }
22602 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22603 $as_echo_n "(cached) " >&6
22604 else
22605 if test x$gcc_no_link = xyes; then
22606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22609 /* end confdefs.h. */
22611 #ifdef HAVE_COMPLEX_H
22612 #include <complex.h>
22613 #endif
22614 #ifdef HAVE_MATH_H
22615 #include <math.h>
22616 #endif
22618 int (*ptr)() = (int (*)())ctanf;
22621 main ()
22623 return 0;
22626 _ACEOF
22627 if ac_fn_c_try_link "$LINENO"; then :
22628 gcc_cv_math_func_ctanf=yes
22629 else
22630 gcc_cv_math_func_ctanf=no
22632 rm -f core conftest.err conftest.$ac_objext \
22633 conftest$ac_exeext conftest.$ac_ext
22635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22636 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22637 if test $gcc_cv_math_func_ctanf = yes; then
22639 cat >>confdefs.h <<_ACEOF
22640 #define HAVE_CTANF 1
22641 _ACEOF
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22649 $as_echo_n "checking for ctan... " >&6; }
22650 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22651 $as_echo_n "(cached) " >&6
22652 else
22653 if test x$gcc_no_link = xyes; then
22654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22657 /* end confdefs.h. */
22659 #ifdef HAVE_COMPLEX_H
22660 #include <complex.h>
22661 #endif
22662 #ifdef HAVE_MATH_H
22663 #include <math.h>
22664 #endif
22666 int (*ptr)() = (int (*)())ctan;
22669 main ()
22671 return 0;
22674 _ACEOF
22675 if ac_fn_c_try_link "$LINENO"; then :
22676 gcc_cv_math_func_ctan=yes
22677 else
22678 gcc_cv_math_func_ctan=no
22680 rm -f core conftest.err conftest.$ac_objext \
22681 conftest$ac_exeext conftest.$ac_ext
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22684 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22685 if test $gcc_cv_math_func_ctan = yes; then
22687 cat >>confdefs.h <<_ACEOF
22688 #define HAVE_CTAN 1
22689 _ACEOF
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22697 $as_echo_n "checking for ctanl... " >&6; }
22698 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22699 $as_echo_n "(cached) " >&6
22700 else
22701 if test x$gcc_no_link = xyes; then
22702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22705 /* end confdefs.h. */
22707 #ifdef HAVE_COMPLEX_H
22708 #include <complex.h>
22709 #endif
22710 #ifdef HAVE_MATH_H
22711 #include <math.h>
22712 #endif
22714 int (*ptr)() = (int (*)())ctanl;
22717 main ()
22719 return 0;
22722 _ACEOF
22723 if ac_fn_c_try_link "$LINENO"; then :
22724 gcc_cv_math_func_ctanl=yes
22725 else
22726 gcc_cv_math_func_ctanl=no
22728 rm -f core conftest.err conftest.$ac_objext \
22729 conftest$ac_exeext conftest.$ac_ext
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22732 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22733 if test $gcc_cv_math_func_ctanl = yes; then
22735 cat >>confdefs.h <<_ACEOF
22736 #define HAVE_CTANL 1
22737 _ACEOF
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22745 $as_echo_n "checking for tanhf... " >&6; }
22746 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22747 $as_echo_n "(cached) " >&6
22748 else
22749 if test x$gcc_no_link = xyes; then
22750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22753 /* end confdefs.h. */
22755 #ifdef HAVE_COMPLEX_H
22756 #include <complex.h>
22757 #endif
22758 #ifdef HAVE_MATH_H
22759 #include <math.h>
22760 #endif
22762 int (*ptr)() = (int (*)())tanhf;
22765 main ()
22767 return 0;
22770 _ACEOF
22771 if ac_fn_c_try_link "$LINENO"; then :
22772 gcc_cv_math_func_tanhf=yes
22773 else
22774 gcc_cv_math_func_tanhf=no
22776 rm -f core conftest.err conftest.$ac_objext \
22777 conftest$ac_exeext conftest.$ac_ext
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22780 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22781 if test $gcc_cv_math_func_tanhf = yes; then
22783 cat >>confdefs.h <<_ACEOF
22784 #define HAVE_TANHF 1
22785 _ACEOF
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22793 $as_echo_n "checking for tanh... " >&6; }
22794 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22795 $as_echo_n "(cached) " >&6
22796 else
22797 if test x$gcc_no_link = xyes; then
22798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22801 /* end confdefs.h. */
22803 #ifdef HAVE_COMPLEX_H
22804 #include <complex.h>
22805 #endif
22806 #ifdef HAVE_MATH_H
22807 #include <math.h>
22808 #endif
22810 int (*ptr)() = (int (*)())tanh;
22813 main ()
22815 return 0;
22818 _ACEOF
22819 if ac_fn_c_try_link "$LINENO"; then :
22820 gcc_cv_math_func_tanh=yes
22821 else
22822 gcc_cv_math_func_tanh=no
22824 rm -f core conftest.err conftest.$ac_objext \
22825 conftest$ac_exeext conftest.$ac_ext
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22828 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22829 if test $gcc_cv_math_func_tanh = yes; then
22831 cat >>confdefs.h <<_ACEOF
22832 #define HAVE_TANH 1
22833 _ACEOF
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22841 $as_echo_n "checking for tanhl... " >&6; }
22842 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22843 $as_echo_n "(cached) " >&6
22844 else
22845 if test x$gcc_no_link = xyes; then
22846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22849 /* end confdefs.h. */
22851 #ifdef HAVE_COMPLEX_H
22852 #include <complex.h>
22853 #endif
22854 #ifdef HAVE_MATH_H
22855 #include <math.h>
22856 #endif
22858 int (*ptr)() = (int (*)())tanhl;
22861 main ()
22863 return 0;
22866 _ACEOF
22867 if ac_fn_c_try_link "$LINENO"; then :
22868 gcc_cv_math_func_tanhl=yes
22869 else
22870 gcc_cv_math_func_tanhl=no
22872 rm -f core conftest.err conftest.$ac_objext \
22873 conftest$ac_exeext conftest.$ac_ext
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22876 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22877 if test $gcc_cv_math_func_tanhl = yes; then
22879 cat >>confdefs.h <<_ACEOF
22880 #define HAVE_TANHL 1
22881 _ACEOF
22888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22889 $as_echo_n "checking for ctanhf... " >&6; }
22890 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22891 $as_echo_n "(cached) " >&6
22892 else
22893 if test x$gcc_no_link = xyes; then
22894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22897 /* end confdefs.h. */
22899 #ifdef HAVE_COMPLEX_H
22900 #include <complex.h>
22901 #endif
22902 #ifdef HAVE_MATH_H
22903 #include <math.h>
22904 #endif
22906 int (*ptr)() = (int (*)())ctanhf;
22909 main ()
22911 return 0;
22914 _ACEOF
22915 if ac_fn_c_try_link "$LINENO"; then :
22916 gcc_cv_math_func_ctanhf=yes
22917 else
22918 gcc_cv_math_func_ctanhf=no
22920 rm -f core conftest.err conftest.$ac_objext \
22921 conftest$ac_exeext conftest.$ac_ext
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22924 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22925 if test $gcc_cv_math_func_ctanhf = yes; then
22927 cat >>confdefs.h <<_ACEOF
22928 #define HAVE_CTANHF 1
22929 _ACEOF
22936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22937 $as_echo_n "checking for ctanh... " >&6; }
22938 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22939 $as_echo_n "(cached) " >&6
22940 else
22941 if test x$gcc_no_link = xyes; then
22942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22945 /* end confdefs.h. */
22947 #ifdef HAVE_COMPLEX_H
22948 #include <complex.h>
22949 #endif
22950 #ifdef HAVE_MATH_H
22951 #include <math.h>
22952 #endif
22954 int (*ptr)() = (int (*)())ctanh;
22957 main ()
22959 return 0;
22962 _ACEOF
22963 if ac_fn_c_try_link "$LINENO"; then :
22964 gcc_cv_math_func_ctanh=yes
22965 else
22966 gcc_cv_math_func_ctanh=no
22968 rm -f core conftest.err conftest.$ac_objext \
22969 conftest$ac_exeext conftest.$ac_ext
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22972 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22973 if test $gcc_cv_math_func_ctanh = yes; then
22975 cat >>confdefs.h <<_ACEOF
22976 #define HAVE_CTANH 1
22977 _ACEOF
22984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
22985 $as_echo_n "checking for ctanhl... " >&6; }
22986 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
22987 $as_echo_n "(cached) " >&6
22988 else
22989 if test x$gcc_no_link = xyes; then
22990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22993 /* end confdefs.h. */
22995 #ifdef HAVE_COMPLEX_H
22996 #include <complex.h>
22997 #endif
22998 #ifdef HAVE_MATH_H
22999 #include <math.h>
23000 #endif
23002 int (*ptr)() = (int (*)())ctanhl;
23005 main ()
23007 return 0;
23010 _ACEOF
23011 if ac_fn_c_try_link "$LINENO"; then :
23012 gcc_cv_math_func_ctanhl=yes
23013 else
23014 gcc_cv_math_func_ctanhl=no
23016 rm -f core conftest.err conftest.$ac_objext \
23017 conftest$ac_exeext conftest.$ac_ext
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23020 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23021 if test $gcc_cv_math_func_ctanhl = yes; then
23023 cat >>confdefs.h <<_ACEOF
23024 #define HAVE_CTANHL 1
23025 _ACEOF
23032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23033 $as_echo_n "checking for truncf... " >&6; }
23034 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23035 $as_echo_n "(cached) " >&6
23036 else
23037 if test x$gcc_no_link = xyes; then
23038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23041 /* end confdefs.h. */
23043 #ifdef HAVE_COMPLEX_H
23044 #include <complex.h>
23045 #endif
23046 #ifdef HAVE_MATH_H
23047 #include <math.h>
23048 #endif
23050 int (*ptr)() = (int (*)())truncf;
23053 main ()
23055 return 0;
23058 _ACEOF
23059 if ac_fn_c_try_link "$LINENO"; then :
23060 gcc_cv_math_func_truncf=yes
23061 else
23062 gcc_cv_math_func_truncf=no
23064 rm -f core conftest.err conftest.$ac_objext \
23065 conftest$ac_exeext conftest.$ac_ext
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23068 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23069 if test $gcc_cv_math_func_truncf = yes; then
23071 cat >>confdefs.h <<_ACEOF
23072 #define HAVE_TRUNCF 1
23073 _ACEOF
23080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23081 $as_echo_n "checking for trunc... " >&6; }
23082 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23083 $as_echo_n "(cached) " >&6
23084 else
23085 if test x$gcc_no_link = xyes; then
23086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23089 /* end confdefs.h. */
23091 #ifdef HAVE_COMPLEX_H
23092 #include <complex.h>
23093 #endif
23094 #ifdef HAVE_MATH_H
23095 #include <math.h>
23096 #endif
23098 int (*ptr)() = (int (*)())trunc;
23101 main ()
23103 return 0;
23106 _ACEOF
23107 if ac_fn_c_try_link "$LINENO"; then :
23108 gcc_cv_math_func_trunc=yes
23109 else
23110 gcc_cv_math_func_trunc=no
23112 rm -f core conftest.err conftest.$ac_objext \
23113 conftest$ac_exeext conftest.$ac_ext
23115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23116 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23117 if test $gcc_cv_math_func_trunc = yes; then
23119 cat >>confdefs.h <<_ACEOF
23120 #define HAVE_TRUNC 1
23121 _ACEOF
23128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23129 $as_echo_n "checking for truncl... " >&6; }
23130 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23131 $as_echo_n "(cached) " >&6
23132 else
23133 if test x$gcc_no_link = xyes; then
23134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23137 /* end confdefs.h. */
23139 #ifdef HAVE_COMPLEX_H
23140 #include <complex.h>
23141 #endif
23142 #ifdef HAVE_MATH_H
23143 #include <math.h>
23144 #endif
23146 int (*ptr)() = (int (*)())truncl;
23149 main ()
23151 return 0;
23154 _ACEOF
23155 if ac_fn_c_try_link "$LINENO"; then :
23156 gcc_cv_math_func_truncl=yes
23157 else
23158 gcc_cv_math_func_truncl=no
23160 rm -f core conftest.err conftest.$ac_objext \
23161 conftest$ac_exeext conftest.$ac_ext
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23164 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23165 if test $gcc_cv_math_func_truncl = yes; then
23167 cat >>confdefs.h <<_ACEOF
23168 #define HAVE_TRUNCL 1
23169 _ACEOF
23176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23177 $as_echo_n "checking for erff... " >&6; }
23178 if test "${gcc_cv_math_func_erff+set}" = set; then :
23179 $as_echo_n "(cached) " >&6
23180 else
23181 if test x$gcc_no_link = xyes; then
23182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23185 /* end confdefs.h. */
23187 #ifdef HAVE_COMPLEX_H
23188 #include <complex.h>
23189 #endif
23190 #ifdef HAVE_MATH_H
23191 #include <math.h>
23192 #endif
23194 int (*ptr)() = (int (*)())erff;
23197 main ()
23199 return 0;
23202 _ACEOF
23203 if ac_fn_c_try_link "$LINENO"; then :
23204 gcc_cv_math_func_erff=yes
23205 else
23206 gcc_cv_math_func_erff=no
23208 rm -f core conftest.err conftest.$ac_objext \
23209 conftest$ac_exeext conftest.$ac_ext
23211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23212 $as_echo "$gcc_cv_math_func_erff" >&6; }
23213 if test $gcc_cv_math_func_erff = yes; then
23215 cat >>confdefs.h <<_ACEOF
23216 #define HAVE_ERFF 1
23217 _ACEOF
23224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23225 $as_echo_n "checking for erf... " >&6; }
23226 if test "${gcc_cv_math_func_erf+set}" = set; then :
23227 $as_echo_n "(cached) " >&6
23228 else
23229 if test x$gcc_no_link = xyes; then
23230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23233 /* end confdefs.h. */
23235 #ifdef HAVE_COMPLEX_H
23236 #include <complex.h>
23237 #endif
23238 #ifdef HAVE_MATH_H
23239 #include <math.h>
23240 #endif
23242 int (*ptr)() = (int (*)())erf;
23245 main ()
23247 return 0;
23250 _ACEOF
23251 if ac_fn_c_try_link "$LINENO"; then :
23252 gcc_cv_math_func_erf=yes
23253 else
23254 gcc_cv_math_func_erf=no
23256 rm -f core conftest.err conftest.$ac_objext \
23257 conftest$ac_exeext conftest.$ac_ext
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23260 $as_echo "$gcc_cv_math_func_erf" >&6; }
23261 if test $gcc_cv_math_func_erf = yes; then
23263 cat >>confdefs.h <<_ACEOF
23264 #define HAVE_ERF 1
23265 _ACEOF
23272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23273 $as_echo_n "checking for erfl... " >&6; }
23274 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23275 $as_echo_n "(cached) " >&6
23276 else
23277 if test x$gcc_no_link = xyes; then
23278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23281 /* end confdefs.h. */
23283 #ifdef HAVE_COMPLEX_H
23284 #include <complex.h>
23285 #endif
23286 #ifdef HAVE_MATH_H
23287 #include <math.h>
23288 #endif
23290 int (*ptr)() = (int (*)())erfl;
23293 main ()
23295 return 0;
23298 _ACEOF
23299 if ac_fn_c_try_link "$LINENO"; then :
23300 gcc_cv_math_func_erfl=yes
23301 else
23302 gcc_cv_math_func_erfl=no
23304 rm -f core conftest.err conftest.$ac_objext \
23305 conftest$ac_exeext conftest.$ac_ext
23307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23308 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23309 if test $gcc_cv_math_func_erfl = yes; then
23311 cat >>confdefs.h <<_ACEOF
23312 #define HAVE_ERFL 1
23313 _ACEOF
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23321 $as_echo_n "checking for erfcf... " >&6; }
23322 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23323 $as_echo_n "(cached) " >&6
23324 else
23325 if test x$gcc_no_link = xyes; then
23326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23329 /* end confdefs.h. */
23331 #ifdef HAVE_COMPLEX_H
23332 #include <complex.h>
23333 #endif
23334 #ifdef HAVE_MATH_H
23335 #include <math.h>
23336 #endif
23338 int (*ptr)() = (int (*)())erfcf;
23341 main ()
23343 return 0;
23346 _ACEOF
23347 if ac_fn_c_try_link "$LINENO"; then :
23348 gcc_cv_math_func_erfcf=yes
23349 else
23350 gcc_cv_math_func_erfcf=no
23352 rm -f core conftest.err conftest.$ac_objext \
23353 conftest$ac_exeext conftest.$ac_ext
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23356 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23357 if test $gcc_cv_math_func_erfcf = yes; then
23359 cat >>confdefs.h <<_ACEOF
23360 #define HAVE_ERFCF 1
23361 _ACEOF
23368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23369 $as_echo_n "checking for erfc... " >&6; }
23370 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23371 $as_echo_n "(cached) " >&6
23372 else
23373 if test x$gcc_no_link = xyes; then
23374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23377 /* end confdefs.h. */
23379 #ifdef HAVE_COMPLEX_H
23380 #include <complex.h>
23381 #endif
23382 #ifdef HAVE_MATH_H
23383 #include <math.h>
23384 #endif
23386 int (*ptr)() = (int (*)())erfc;
23389 main ()
23391 return 0;
23394 _ACEOF
23395 if ac_fn_c_try_link "$LINENO"; then :
23396 gcc_cv_math_func_erfc=yes
23397 else
23398 gcc_cv_math_func_erfc=no
23400 rm -f core conftest.err conftest.$ac_objext \
23401 conftest$ac_exeext conftest.$ac_ext
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23404 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23405 if test $gcc_cv_math_func_erfc = yes; then
23407 cat >>confdefs.h <<_ACEOF
23408 #define HAVE_ERFC 1
23409 _ACEOF
23416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23417 $as_echo_n "checking for erfcl... " >&6; }
23418 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23419 $as_echo_n "(cached) " >&6
23420 else
23421 if test x$gcc_no_link = xyes; then
23422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23425 /* end confdefs.h. */
23427 #ifdef HAVE_COMPLEX_H
23428 #include <complex.h>
23429 #endif
23430 #ifdef HAVE_MATH_H
23431 #include <math.h>
23432 #endif
23434 int (*ptr)() = (int (*)())erfcl;
23437 main ()
23439 return 0;
23442 _ACEOF
23443 if ac_fn_c_try_link "$LINENO"; then :
23444 gcc_cv_math_func_erfcl=yes
23445 else
23446 gcc_cv_math_func_erfcl=no
23448 rm -f core conftest.err conftest.$ac_objext \
23449 conftest$ac_exeext conftest.$ac_ext
23451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23452 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23453 if test $gcc_cv_math_func_erfcl = yes; then
23455 cat >>confdefs.h <<_ACEOF
23456 #define HAVE_ERFCL 1
23457 _ACEOF
23464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23465 $as_echo_n "checking for j0f... " >&6; }
23466 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23467 $as_echo_n "(cached) " >&6
23468 else
23469 if test x$gcc_no_link = xyes; then
23470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23473 /* end confdefs.h. */
23475 #ifdef HAVE_COMPLEX_H
23476 #include <complex.h>
23477 #endif
23478 #ifdef HAVE_MATH_H
23479 #include <math.h>
23480 #endif
23482 int (*ptr)() = (int (*)())j0f;
23485 main ()
23487 return 0;
23490 _ACEOF
23491 if ac_fn_c_try_link "$LINENO"; then :
23492 gcc_cv_math_func_j0f=yes
23493 else
23494 gcc_cv_math_func_j0f=no
23496 rm -f core conftest.err conftest.$ac_objext \
23497 conftest$ac_exeext conftest.$ac_ext
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23500 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23501 if test $gcc_cv_math_func_j0f = yes; then
23503 cat >>confdefs.h <<_ACEOF
23504 #define HAVE_J0F 1
23505 _ACEOF
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23513 $as_echo_n "checking for j0... " >&6; }
23514 if test "${gcc_cv_math_func_j0+set}" = set; then :
23515 $as_echo_n "(cached) " >&6
23516 else
23517 if test x$gcc_no_link = xyes; then
23518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23521 /* end confdefs.h. */
23523 #ifdef HAVE_COMPLEX_H
23524 #include <complex.h>
23525 #endif
23526 #ifdef HAVE_MATH_H
23527 #include <math.h>
23528 #endif
23530 int (*ptr)() = (int (*)())j0;
23533 main ()
23535 return 0;
23538 _ACEOF
23539 if ac_fn_c_try_link "$LINENO"; then :
23540 gcc_cv_math_func_j0=yes
23541 else
23542 gcc_cv_math_func_j0=no
23544 rm -f core conftest.err conftest.$ac_objext \
23545 conftest$ac_exeext conftest.$ac_ext
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23548 $as_echo "$gcc_cv_math_func_j0" >&6; }
23549 if test $gcc_cv_math_func_j0 = yes; then
23551 cat >>confdefs.h <<_ACEOF
23552 #define HAVE_J0 1
23553 _ACEOF
23560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23561 $as_echo_n "checking for j0l... " >&6; }
23562 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23563 $as_echo_n "(cached) " >&6
23564 else
23565 if test x$gcc_no_link = xyes; then
23566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23569 /* end confdefs.h. */
23571 #ifdef HAVE_COMPLEX_H
23572 #include <complex.h>
23573 #endif
23574 #ifdef HAVE_MATH_H
23575 #include <math.h>
23576 #endif
23578 int (*ptr)() = (int (*)())j0l;
23581 main ()
23583 return 0;
23586 _ACEOF
23587 if ac_fn_c_try_link "$LINENO"; then :
23588 gcc_cv_math_func_j0l=yes
23589 else
23590 gcc_cv_math_func_j0l=no
23592 rm -f core conftest.err conftest.$ac_objext \
23593 conftest$ac_exeext conftest.$ac_ext
23595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23596 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23597 if test $gcc_cv_math_func_j0l = yes; then
23599 cat >>confdefs.h <<_ACEOF
23600 #define HAVE_J0L 1
23601 _ACEOF
23608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23609 $as_echo_n "checking for j1f... " >&6; }
23610 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23611 $as_echo_n "(cached) " >&6
23612 else
23613 if test x$gcc_no_link = xyes; then
23614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23617 /* end confdefs.h. */
23619 #ifdef HAVE_COMPLEX_H
23620 #include <complex.h>
23621 #endif
23622 #ifdef HAVE_MATH_H
23623 #include <math.h>
23624 #endif
23626 int (*ptr)() = (int (*)())j1f;
23629 main ()
23631 return 0;
23634 _ACEOF
23635 if ac_fn_c_try_link "$LINENO"; then :
23636 gcc_cv_math_func_j1f=yes
23637 else
23638 gcc_cv_math_func_j1f=no
23640 rm -f core conftest.err conftest.$ac_objext \
23641 conftest$ac_exeext conftest.$ac_ext
23643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23644 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23645 if test $gcc_cv_math_func_j1f = yes; then
23647 cat >>confdefs.h <<_ACEOF
23648 #define HAVE_J1F 1
23649 _ACEOF
23656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23657 $as_echo_n "checking for j1... " >&6; }
23658 if test "${gcc_cv_math_func_j1+set}" = set; then :
23659 $as_echo_n "(cached) " >&6
23660 else
23661 if test x$gcc_no_link = xyes; then
23662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h. */
23667 #ifdef HAVE_COMPLEX_H
23668 #include <complex.h>
23669 #endif
23670 #ifdef HAVE_MATH_H
23671 #include <math.h>
23672 #endif
23674 int (*ptr)() = (int (*)())j1;
23677 main ()
23679 return 0;
23682 _ACEOF
23683 if ac_fn_c_try_link "$LINENO"; then :
23684 gcc_cv_math_func_j1=yes
23685 else
23686 gcc_cv_math_func_j1=no
23688 rm -f core conftest.err conftest.$ac_objext \
23689 conftest$ac_exeext conftest.$ac_ext
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23692 $as_echo "$gcc_cv_math_func_j1" >&6; }
23693 if test $gcc_cv_math_func_j1 = yes; then
23695 cat >>confdefs.h <<_ACEOF
23696 #define HAVE_J1 1
23697 _ACEOF
23704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23705 $as_echo_n "checking for j1l... " >&6; }
23706 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23707 $as_echo_n "(cached) " >&6
23708 else
23709 if test x$gcc_no_link = xyes; then
23710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23713 /* end confdefs.h. */
23715 #ifdef HAVE_COMPLEX_H
23716 #include <complex.h>
23717 #endif
23718 #ifdef HAVE_MATH_H
23719 #include <math.h>
23720 #endif
23722 int (*ptr)() = (int (*)())j1l;
23725 main ()
23727 return 0;
23730 _ACEOF
23731 if ac_fn_c_try_link "$LINENO"; then :
23732 gcc_cv_math_func_j1l=yes
23733 else
23734 gcc_cv_math_func_j1l=no
23736 rm -f core conftest.err conftest.$ac_objext \
23737 conftest$ac_exeext conftest.$ac_ext
23739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23740 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23741 if test $gcc_cv_math_func_j1l = yes; then
23743 cat >>confdefs.h <<_ACEOF
23744 #define HAVE_J1L 1
23745 _ACEOF
23752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23753 $as_echo_n "checking for jnf... " >&6; }
23754 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23755 $as_echo_n "(cached) " >&6
23756 else
23757 if test x$gcc_no_link = xyes; then
23758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23761 /* end confdefs.h. */
23763 #ifdef HAVE_COMPLEX_H
23764 #include <complex.h>
23765 #endif
23766 #ifdef HAVE_MATH_H
23767 #include <math.h>
23768 #endif
23770 int (*ptr)() = (int (*)())jnf;
23773 main ()
23775 return 0;
23778 _ACEOF
23779 if ac_fn_c_try_link "$LINENO"; then :
23780 gcc_cv_math_func_jnf=yes
23781 else
23782 gcc_cv_math_func_jnf=no
23784 rm -f core conftest.err conftest.$ac_objext \
23785 conftest$ac_exeext conftest.$ac_ext
23787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23788 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23789 if test $gcc_cv_math_func_jnf = yes; then
23791 cat >>confdefs.h <<_ACEOF
23792 #define HAVE_JNF 1
23793 _ACEOF
23800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23801 $as_echo_n "checking for jn... " >&6; }
23802 if test "${gcc_cv_math_func_jn+set}" = set; then :
23803 $as_echo_n "(cached) " >&6
23804 else
23805 if test x$gcc_no_link = xyes; then
23806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23809 /* end confdefs.h. */
23811 #ifdef HAVE_COMPLEX_H
23812 #include <complex.h>
23813 #endif
23814 #ifdef HAVE_MATH_H
23815 #include <math.h>
23816 #endif
23818 int (*ptr)() = (int (*)())jn;
23821 main ()
23823 return 0;
23826 _ACEOF
23827 if ac_fn_c_try_link "$LINENO"; then :
23828 gcc_cv_math_func_jn=yes
23829 else
23830 gcc_cv_math_func_jn=no
23832 rm -f core conftest.err conftest.$ac_objext \
23833 conftest$ac_exeext conftest.$ac_ext
23835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23836 $as_echo "$gcc_cv_math_func_jn" >&6; }
23837 if test $gcc_cv_math_func_jn = yes; then
23839 cat >>confdefs.h <<_ACEOF
23840 #define HAVE_JN 1
23841 _ACEOF
23848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23849 $as_echo_n "checking for jnl... " >&6; }
23850 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23851 $as_echo_n "(cached) " >&6
23852 else
23853 if test x$gcc_no_link = xyes; then
23854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23857 /* end confdefs.h. */
23859 #ifdef HAVE_COMPLEX_H
23860 #include <complex.h>
23861 #endif
23862 #ifdef HAVE_MATH_H
23863 #include <math.h>
23864 #endif
23866 int (*ptr)() = (int (*)())jnl;
23869 main ()
23871 return 0;
23874 _ACEOF
23875 if ac_fn_c_try_link "$LINENO"; then :
23876 gcc_cv_math_func_jnl=yes
23877 else
23878 gcc_cv_math_func_jnl=no
23880 rm -f core conftest.err conftest.$ac_objext \
23881 conftest$ac_exeext conftest.$ac_ext
23883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23884 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23885 if test $gcc_cv_math_func_jnl = yes; then
23887 cat >>confdefs.h <<_ACEOF
23888 #define HAVE_JNL 1
23889 _ACEOF
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23897 $as_echo_n "checking for y0f... " >&6; }
23898 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23899 $as_echo_n "(cached) " >&6
23900 else
23901 if test x$gcc_no_link = xyes; then
23902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23905 /* end confdefs.h. */
23907 #ifdef HAVE_COMPLEX_H
23908 #include <complex.h>
23909 #endif
23910 #ifdef HAVE_MATH_H
23911 #include <math.h>
23912 #endif
23914 int (*ptr)() = (int (*)())y0f;
23917 main ()
23919 return 0;
23922 _ACEOF
23923 if ac_fn_c_try_link "$LINENO"; then :
23924 gcc_cv_math_func_y0f=yes
23925 else
23926 gcc_cv_math_func_y0f=no
23928 rm -f core conftest.err conftest.$ac_objext \
23929 conftest$ac_exeext conftest.$ac_ext
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23932 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23933 if test $gcc_cv_math_func_y0f = yes; then
23935 cat >>confdefs.h <<_ACEOF
23936 #define HAVE_Y0F 1
23937 _ACEOF
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23945 $as_echo_n "checking for y0... " >&6; }
23946 if test "${gcc_cv_math_func_y0+set}" = set; then :
23947 $as_echo_n "(cached) " >&6
23948 else
23949 if test x$gcc_no_link = xyes; then
23950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23953 /* end confdefs.h. */
23955 #ifdef HAVE_COMPLEX_H
23956 #include <complex.h>
23957 #endif
23958 #ifdef HAVE_MATH_H
23959 #include <math.h>
23960 #endif
23962 int (*ptr)() = (int (*)())y0;
23965 main ()
23967 return 0;
23970 _ACEOF
23971 if ac_fn_c_try_link "$LINENO"; then :
23972 gcc_cv_math_func_y0=yes
23973 else
23974 gcc_cv_math_func_y0=no
23976 rm -f core conftest.err conftest.$ac_objext \
23977 conftest$ac_exeext conftest.$ac_ext
23979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23980 $as_echo "$gcc_cv_math_func_y0" >&6; }
23981 if test $gcc_cv_math_func_y0 = yes; then
23983 cat >>confdefs.h <<_ACEOF
23984 #define HAVE_Y0 1
23985 _ACEOF
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
23993 $as_echo_n "checking for y0l... " >&6; }
23994 if test "${gcc_cv_math_func_y0l+set}" = set; then :
23995 $as_echo_n "(cached) " >&6
23996 else
23997 if test x$gcc_no_link = xyes; then
23998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24001 /* end confdefs.h. */
24003 #ifdef HAVE_COMPLEX_H
24004 #include <complex.h>
24005 #endif
24006 #ifdef HAVE_MATH_H
24007 #include <math.h>
24008 #endif
24010 int (*ptr)() = (int (*)())y0l;
24013 main ()
24015 return 0;
24018 _ACEOF
24019 if ac_fn_c_try_link "$LINENO"; then :
24020 gcc_cv_math_func_y0l=yes
24021 else
24022 gcc_cv_math_func_y0l=no
24024 rm -f core conftest.err conftest.$ac_objext \
24025 conftest$ac_exeext conftest.$ac_ext
24027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24028 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24029 if test $gcc_cv_math_func_y0l = yes; then
24031 cat >>confdefs.h <<_ACEOF
24032 #define HAVE_Y0L 1
24033 _ACEOF
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24041 $as_echo_n "checking for y1f... " >&6; }
24042 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24043 $as_echo_n "(cached) " >&6
24044 else
24045 if test x$gcc_no_link = xyes; then
24046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24049 /* end confdefs.h. */
24051 #ifdef HAVE_COMPLEX_H
24052 #include <complex.h>
24053 #endif
24054 #ifdef HAVE_MATH_H
24055 #include <math.h>
24056 #endif
24058 int (*ptr)() = (int (*)())y1f;
24061 main ()
24063 return 0;
24066 _ACEOF
24067 if ac_fn_c_try_link "$LINENO"; then :
24068 gcc_cv_math_func_y1f=yes
24069 else
24070 gcc_cv_math_func_y1f=no
24072 rm -f core conftest.err conftest.$ac_objext \
24073 conftest$ac_exeext conftest.$ac_ext
24075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24076 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24077 if test $gcc_cv_math_func_y1f = yes; then
24079 cat >>confdefs.h <<_ACEOF
24080 #define HAVE_Y1F 1
24081 _ACEOF
24088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24089 $as_echo_n "checking for y1... " >&6; }
24090 if test "${gcc_cv_math_func_y1+set}" = set; then :
24091 $as_echo_n "(cached) " >&6
24092 else
24093 if test x$gcc_no_link = xyes; then
24094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24097 /* end confdefs.h. */
24099 #ifdef HAVE_COMPLEX_H
24100 #include <complex.h>
24101 #endif
24102 #ifdef HAVE_MATH_H
24103 #include <math.h>
24104 #endif
24106 int (*ptr)() = (int (*)())y1;
24109 main ()
24111 return 0;
24114 _ACEOF
24115 if ac_fn_c_try_link "$LINENO"; then :
24116 gcc_cv_math_func_y1=yes
24117 else
24118 gcc_cv_math_func_y1=no
24120 rm -f core conftest.err conftest.$ac_objext \
24121 conftest$ac_exeext conftest.$ac_ext
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24124 $as_echo "$gcc_cv_math_func_y1" >&6; }
24125 if test $gcc_cv_math_func_y1 = yes; then
24127 cat >>confdefs.h <<_ACEOF
24128 #define HAVE_Y1 1
24129 _ACEOF
24136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24137 $as_echo_n "checking for y1l... " >&6; }
24138 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24139 $as_echo_n "(cached) " >&6
24140 else
24141 if test x$gcc_no_link = xyes; then
24142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24145 /* end confdefs.h. */
24147 #ifdef HAVE_COMPLEX_H
24148 #include <complex.h>
24149 #endif
24150 #ifdef HAVE_MATH_H
24151 #include <math.h>
24152 #endif
24154 int (*ptr)() = (int (*)())y1l;
24157 main ()
24159 return 0;
24162 _ACEOF
24163 if ac_fn_c_try_link "$LINENO"; then :
24164 gcc_cv_math_func_y1l=yes
24165 else
24166 gcc_cv_math_func_y1l=no
24168 rm -f core conftest.err conftest.$ac_objext \
24169 conftest$ac_exeext conftest.$ac_ext
24171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24172 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24173 if test $gcc_cv_math_func_y1l = yes; then
24175 cat >>confdefs.h <<_ACEOF
24176 #define HAVE_Y1L 1
24177 _ACEOF
24184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24185 $as_echo_n "checking for ynf... " >&6; }
24186 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24187 $as_echo_n "(cached) " >&6
24188 else
24189 if test x$gcc_no_link = xyes; then
24190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24193 /* end confdefs.h. */
24195 #ifdef HAVE_COMPLEX_H
24196 #include <complex.h>
24197 #endif
24198 #ifdef HAVE_MATH_H
24199 #include <math.h>
24200 #endif
24202 int (*ptr)() = (int (*)())ynf;
24205 main ()
24207 return 0;
24210 _ACEOF
24211 if ac_fn_c_try_link "$LINENO"; then :
24212 gcc_cv_math_func_ynf=yes
24213 else
24214 gcc_cv_math_func_ynf=no
24216 rm -f core conftest.err conftest.$ac_objext \
24217 conftest$ac_exeext conftest.$ac_ext
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24220 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24221 if test $gcc_cv_math_func_ynf = yes; then
24223 cat >>confdefs.h <<_ACEOF
24224 #define HAVE_YNF 1
24225 _ACEOF
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24233 $as_echo_n "checking for yn... " >&6; }
24234 if test "${gcc_cv_math_func_yn+set}" = set; then :
24235 $as_echo_n "(cached) " >&6
24236 else
24237 if test x$gcc_no_link = xyes; then
24238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h. */
24243 #ifdef HAVE_COMPLEX_H
24244 #include <complex.h>
24245 #endif
24246 #ifdef HAVE_MATH_H
24247 #include <math.h>
24248 #endif
24250 int (*ptr)() = (int (*)())yn;
24253 main ()
24255 return 0;
24258 _ACEOF
24259 if ac_fn_c_try_link "$LINENO"; then :
24260 gcc_cv_math_func_yn=yes
24261 else
24262 gcc_cv_math_func_yn=no
24264 rm -f core conftest.err conftest.$ac_objext \
24265 conftest$ac_exeext conftest.$ac_ext
24267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24268 $as_echo "$gcc_cv_math_func_yn" >&6; }
24269 if test $gcc_cv_math_func_yn = yes; then
24271 cat >>confdefs.h <<_ACEOF
24272 #define HAVE_YN 1
24273 _ACEOF
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24281 $as_echo_n "checking for ynl... " >&6; }
24282 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24283 $as_echo_n "(cached) " >&6
24284 else
24285 if test x$gcc_no_link = xyes; then
24286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24289 /* end confdefs.h. */
24291 #ifdef HAVE_COMPLEX_H
24292 #include <complex.h>
24293 #endif
24294 #ifdef HAVE_MATH_H
24295 #include <math.h>
24296 #endif
24298 int (*ptr)() = (int (*)())ynl;
24301 main ()
24303 return 0;
24306 _ACEOF
24307 if ac_fn_c_try_link "$LINENO"; then :
24308 gcc_cv_math_func_ynl=yes
24309 else
24310 gcc_cv_math_func_ynl=no
24312 rm -f core conftest.err conftest.$ac_objext \
24313 conftest$ac_exeext conftest.$ac_ext
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24316 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24317 if test $gcc_cv_math_func_ynl = yes; then
24319 cat >>confdefs.h <<_ACEOF
24320 #define HAVE_YNL 1
24321 _ACEOF
24328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24329 $as_echo_n "checking for tgamma... " >&6; }
24330 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24331 $as_echo_n "(cached) " >&6
24332 else
24333 if test x$gcc_no_link = xyes; then
24334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h. */
24339 #ifdef HAVE_COMPLEX_H
24340 #include <complex.h>
24341 #endif
24342 #ifdef HAVE_MATH_H
24343 #include <math.h>
24344 #endif
24346 int (*ptr)() = (int (*)())tgamma;
24349 main ()
24351 return 0;
24354 _ACEOF
24355 if ac_fn_c_try_link "$LINENO"; then :
24356 gcc_cv_math_func_tgamma=yes
24357 else
24358 gcc_cv_math_func_tgamma=no
24360 rm -f core conftest.err conftest.$ac_objext \
24361 conftest$ac_exeext conftest.$ac_ext
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24364 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24365 if test $gcc_cv_math_func_tgamma = yes; then
24367 cat >>confdefs.h <<_ACEOF
24368 #define HAVE_TGAMMA 1
24369 _ACEOF
24376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24377 $as_echo_n "checking for tgammaf... " >&6; }
24378 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24379 $as_echo_n "(cached) " >&6
24380 else
24381 if test x$gcc_no_link = xyes; then
24382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24385 /* end confdefs.h. */
24387 #ifdef HAVE_COMPLEX_H
24388 #include <complex.h>
24389 #endif
24390 #ifdef HAVE_MATH_H
24391 #include <math.h>
24392 #endif
24394 int (*ptr)() = (int (*)())tgammaf;
24397 main ()
24399 return 0;
24402 _ACEOF
24403 if ac_fn_c_try_link "$LINENO"; then :
24404 gcc_cv_math_func_tgammaf=yes
24405 else
24406 gcc_cv_math_func_tgammaf=no
24408 rm -f core conftest.err conftest.$ac_objext \
24409 conftest$ac_exeext conftest.$ac_ext
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24412 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24413 if test $gcc_cv_math_func_tgammaf = yes; then
24415 cat >>confdefs.h <<_ACEOF
24416 #define HAVE_TGAMMAF 1
24417 _ACEOF
24424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24425 $as_echo_n "checking for tgammal... " >&6; }
24426 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24427 $as_echo_n "(cached) " >&6
24428 else
24429 if test x$gcc_no_link = xyes; then
24430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24433 /* end confdefs.h. */
24435 #ifdef HAVE_COMPLEX_H
24436 #include <complex.h>
24437 #endif
24438 #ifdef HAVE_MATH_H
24439 #include <math.h>
24440 #endif
24442 int (*ptr)() = (int (*)())tgammal;
24445 main ()
24447 return 0;
24450 _ACEOF
24451 if ac_fn_c_try_link "$LINENO"; then :
24452 gcc_cv_math_func_tgammal=yes
24453 else
24454 gcc_cv_math_func_tgammal=no
24456 rm -f core conftest.err conftest.$ac_objext \
24457 conftest$ac_exeext conftest.$ac_ext
24459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24460 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24461 if test $gcc_cv_math_func_tgammal = yes; then
24463 cat >>confdefs.h <<_ACEOF
24464 #define HAVE_TGAMMAL 1
24465 _ACEOF
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24473 $as_echo_n "checking for lgamma... " >&6; }
24474 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24475 $as_echo_n "(cached) " >&6
24476 else
24477 if test x$gcc_no_link = xyes; then
24478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24481 /* end confdefs.h. */
24483 #ifdef HAVE_COMPLEX_H
24484 #include <complex.h>
24485 #endif
24486 #ifdef HAVE_MATH_H
24487 #include <math.h>
24488 #endif
24490 int (*ptr)() = (int (*)())lgamma;
24493 main ()
24495 return 0;
24498 _ACEOF
24499 if ac_fn_c_try_link "$LINENO"; then :
24500 gcc_cv_math_func_lgamma=yes
24501 else
24502 gcc_cv_math_func_lgamma=no
24504 rm -f core conftest.err conftest.$ac_objext \
24505 conftest$ac_exeext conftest.$ac_ext
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24508 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24509 if test $gcc_cv_math_func_lgamma = yes; then
24511 cat >>confdefs.h <<_ACEOF
24512 #define HAVE_LGAMMA 1
24513 _ACEOF
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24521 $as_echo_n "checking for lgammaf... " >&6; }
24522 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24523 $as_echo_n "(cached) " >&6
24524 else
24525 if test x$gcc_no_link = xyes; then
24526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24531 #ifdef HAVE_COMPLEX_H
24532 #include <complex.h>
24533 #endif
24534 #ifdef HAVE_MATH_H
24535 #include <math.h>
24536 #endif
24538 int (*ptr)() = (int (*)())lgammaf;
24541 main ()
24543 return 0;
24546 _ACEOF
24547 if ac_fn_c_try_link "$LINENO"; then :
24548 gcc_cv_math_func_lgammaf=yes
24549 else
24550 gcc_cv_math_func_lgammaf=no
24552 rm -f core conftest.err conftest.$ac_objext \
24553 conftest$ac_exeext conftest.$ac_ext
24555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24556 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24557 if test $gcc_cv_math_func_lgammaf = yes; then
24559 cat >>confdefs.h <<_ACEOF
24560 #define HAVE_LGAMMAF 1
24561 _ACEOF
24568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24569 $as_echo_n "checking for lgammal... " >&6; }
24570 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24571 $as_echo_n "(cached) " >&6
24572 else
24573 if test x$gcc_no_link = xyes; then
24574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24577 /* end confdefs.h. */
24579 #ifdef HAVE_COMPLEX_H
24580 #include <complex.h>
24581 #endif
24582 #ifdef HAVE_MATH_H
24583 #include <math.h>
24584 #endif
24586 int (*ptr)() = (int (*)())lgammal;
24589 main ()
24591 return 0;
24594 _ACEOF
24595 if ac_fn_c_try_link "$LINENO"; then :
24596 gcc_cv_math_func_lgammal=yes
24597 else
24598 gcc_cv_math_func_lgammal=no
24600 rm -f core conftest.err conftest.$ac_objext \
24601 conftest$ac_exeext conftest.$ac_ext
24603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24604 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24605 if test $gcc_cv_math_func_lgammal = yes; then
24607 cat >>confdefs.h <<_ACEOF
24608 #define HAVE_LGAMMAL 1
24609 _ACEOF
24614 # Check for GFORTRAN_C99_1.1 funcs
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24619 $as_echo_n "checking for cacos... " >&6; }
24620 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24621 $as_echo_n "(cached) " >&6
24622 else
24623 if test x$gcc_no_link = xyes; then
24624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24627 /* end confdefs.h. */
24629 #ifdef HAVE_COMPLEX_H
24630 #include <complex.h>
24631 #endif
24632 #ifdef HAVE_MATH_H
24633 #include <math.h>
24634 #endif
24636 int (*ptr)() = (int (*)())cacos;
24639 main ()
24641 return 0;
24644 _ACEOF
24645 if ac_fn_c_try_link "$LINENO"; then :
24646 gcc_cv_math_func_cacos=yes
24647 else
24648 gcc_cv_math_func_cacos=no
24650 rm -f core conftest.err conftest.$ac_objext \
24651 conftest$ac_exeext conftest.$ac_ext
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24654 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24655 if test $gcc_cv_math_func_cacos = yes; then
24657 cat >>confdefs.h <<_ACEOF
24658 #define HAVE_CACOS 1
24659 _ACEOF
24666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24667 $as_echo_n "checking for cacosf... " >&6; }
24668 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24669 $as_echo_n "(cached) " >&6
24670 else
24671 if test x$gcc_no_link = xyes; then
24672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24675 /* end confdefs.h. */
24677 #ifdef HAVE_COMPLEX_H
24678 #include <complex.h>
24679 #endif
24680 #ifdef HAVE_MATH_H
24681 #include <math.h>
24682 #endif
24684 int (*ptr)() = (int (*)())cacosf;
24687 main ()
24689 return 0;
24692 _ACEOF
24693 if ac_fn_c_try_link "$LINENO"; then :
24694 gcc_cv_math_func_cacosf=yes
24695 else
24696 gcc_cv_math_func_cacosf=no
24698 rm -f core conftest.err conftest.$ac_objext \
24699 conftest$ac_exeext conftest.$ac_ext
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24702 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24703 if test $gcc_cv_math_func_cacosf = yes; then
24705 cat >>confdefs.h <<_ACEOF
24706 #define HAVE_CACOSF 1
24707 _ACEOF
24714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24715 $as_echo_n "checking for cacosh... " >&6; }
24716 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24717 $as_echo_n "(cached) " >&6
24718 else
24719 if test x$gcc_no_link = xyes; then
24720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24723 /* end confdefs.h. */
24725 #ifdef HAVE_COMPLEX_H
24726 #include <complex.h>
24727 #endif
24728 #ifdef HAVE_MATH_H
24729 #include <math.h>
24730 #endif
24732 int (*ptr)() = (int (*)())cacosh;
24735 main ()
24737 return 0;
24740 _ACEOF
24741 if ac_fn_c_try_link "$LINENO"; then :
24742 gcc_cv_math_func_cacosh=yes
24743 else
24744 gcc_cv_math_func_cacosh=no
24746 rm -f core conftest.err conftest.$ac_objext \
24747 conftest$ac_exeext conftest.$ac_ext
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24750 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24751 if test $gcc_cv_math_func_cacosh = yes; then
24753 cat >>confdefs.h <<_ACEOF
24754 #define HAVE_CACOSH 1
24755 _ACEOF
24762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24763 $as_echo_n "checking for cacoshf... " >&6; }
24764 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24765 $as_echo_n "(cached) " >&6
24766 else
24767 if test x$gcc_no_link = xyes; then
24768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24771 /* end confdefs.h. */
24773 #ifdef HAVE_COMPLEX_H
24774 #include <complex.h>
24775 #endif
24776 #ifdef HAVE_MATH_H
24777 #include <math.h>
24778 #endif
24780 int (*ptr)() = (int (*)())cacoshf;
24783 main ()
24785 return 0;
24788 _ACEOF
24789 if ac_fn_c_try_link "$LINENO"; then :
24790 gcc_cv_math_func_cacoshf=yes
24791 else
24792 gcc_cv_math_func_cacoshf=no
24794 rm -f core conftest.err conftest.$ac_objext \
24795 conftest$ac_exeext conftest.$ac_ext
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24798 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24799 if test $gcc_cv_math_func_cacoshf = yes; then
24801 cat >>confdefs.h <<_ACEOF
24802 #define HAVE_CACOSHF 1
24803 _ACEOF
24810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24811 $as_echo_n "checking for cacoshl... " >&6; }
24812 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24813 $as_echo_n "(cached) " >&6
24814 else
24815 if test x$gcc_no_link = xyes; then
24816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24819 /* end confdefs.h. */
24821 #ifdef HAVE_COMPLEX_H
24822 #include <complex.h>
24823 #endif
24824 #ifdef HAVE_MATH_H
24825 #include <math.h>
24826 #endif
24828 int (*ptr)() = (int (*)())cacoshl;
24831 main ()
24833 return 0;
24836 _ACEOF
24837 if ac_fn_c_try_link "$LINENO"; then :
24838 gcc_cv_math_func_cacoshl=yes
24839 else
24840 gcc_cv_math_func_cacoshl=no
24842 rm -f core conftest.err conftest.$ac_objext \
24843 conftest$ac_exeext conftest.$ac_ext
24845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24846 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24847 if test $gcc_cv_math_func_cacoshl = yes; then
24849 cat >>confdefs.h <<_ACEOF
24850 #define HAVE_CACOSHL 1
24851 _ACEOF
24858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24859 $as_echo_n "checking for cacosl... " >&6; }
24860 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24861 $as_echo_n "(cached) " >&6
24862 else
24863 if test x$gcc_no_link = xyes; then
24864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24867 /* end confdefs.h. */
24869 #ifdef HAVE_COMPLEX_H
24870 #include <complex.h>
24871 #endif
24872 #ifdef HAVE_MATH_H
24873 #include <math.h>
24874 #endif
24876 int (*ptr)() = (int (*)())cacosl;
24879 main ()
24881 return 0;
24884 _ACEOF
24885 if ac_fn_c_try_link "$LINENO"; then :
24886 gcc_cv_math_func_cacosl=yes
24887 else
24888 gcc_cv_math_func_cacosl=no
24890 rm -f core conftest.err conftest.$ac_objext \
24891 conftest$ac_exeext conftest.$ac_ext
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24894 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24895 if test $gcc_cv_math_func_cacosl = yes; then
24897 cat >>confdefs.h <<_ACEOF
24898 #define HAVE_CACOSL 1
24899 _ACEOF
24906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24907 $as_echo_n "checking for casin... " >&6; }
24908 if test "${gcc_cv_math_func_casin+set}" = set; then :
24909 $as_echo_n "(cached) " >&6
24910 else
24911 if test x$gcc_no_link = xyes; then
24912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24915 /* end confdefs.h. */
24917 #ifdef HAVE_COMPLEX_H
24918 #include <complex.h>
24919 #endif
24920 #ifdef HAVE_MATH_H
24921 #include <math.h>
24922 #endif
24924 int (*ptr)() = (int (*)())casin;
24927 main ()
24929 return 0;
24932 _ACEOF
24933 if ac_fn_c_try_link "$LINENO"; then :
24934 gcc_cv_math_func_casin=yes
24935 else
24936 gcc_cv_math_func_casin=no
24938 rm -f core conftest.err conftest.$ac_objext \
24939 conftest$ac_exeext conftest.$ac_ext
24941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24942 $as_echo "$gcc_cv_math_func_casin" >&6; }
24943 if test $gcc_cv_math_func_casin = yes; then
24945 cat >>confdefs.h <<_ACEOF
24946 #define HAVE_CASIN 1
24947 _ACEOF
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24955 $as_echo_n "checking for casinf... " >&6; }
24956 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24957 $as_echo_n "(cached) " >&6
24958 else
24959 if test x$gcc_no_link = xyes; then
24960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24963 /* end confdefs.h. */
24965 #ifdef HAVE_COMPLEX_H
24966 #include <complex.h>
24967 #endif
24968 #ifdef HAVE_MATH_H
24969 #include <math.h>
24970 #endif
24972 int (*ptr)() = (int (*)())casinf;
24975 main ()
24977 return 0;
24980 _ACEOF
24981 if ac_fn_c_try_link "$LINENO"; then :
24982 gcc_cv_math_func_casinf=yes
24983 else
24984 gcc_cv_math_func_casinf=no
24986 rm -f core conftest.err conftest.$ac_objext \
24987 conftest$ac_exeext conftest.$ac_ext
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24990 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24991 if test $gcc_cv_math_func_casinf = yes; then
24993 cat >>confdefs.h <<_ACEOF
24994 #define HAVE_CASINF 1
24995 _ACEOF
25002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25003 $as_echo_n "checking for casinh... " >&6; }
25004 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25005 $as_echo_n "(cached) " >&6
25006 else
25007 if test x$gcc_no_link = xyes; then
25008 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25011 /* end confdefs.h. */
25013 #ifdef HAVE_COMPLEX_H
25014 #include <complex.h>
25015 #endif
25016 #ifdef HAVE_MATH_H
25017 #include <math.h>
25018 #endif
25020 int (*ptr)() = (int (*)())casinh;
25023 main ()
25025 return 0;
25028 _ACEOF
25029 if ac_fn_c_try_link "$LINENO"; then :
25030 gcc_cv_math_func_casinh=yes
25031 else
25032 gcc_cv_math_func_casinh=no
25034 rm -f core conftest.err conftest.$ac_objext \
25035 conftest$ac_exeext conftest.$ac_ext
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25038 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25039 if test $gcc_cv_math_func_casinh = yes; then
25041 cat >>confdefs.h <<_ACEOF
25042 #define HAVE_CASINH 1
25043 _ACEOF
25050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25051 $as_echo_n "checking for casinhf... " >&6; }
25052 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25053 $as_echo_n "(cached) " >&6
25054 else
25055 if test x$gcc_no_link = xyes; then
25056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25059 /* end confdefs.h. */
25061 #ifdef HAVE_COMPLEX_H
25062 #include <complex.h>
25063 #endif
25064 #ifdef HAVE_MATH_H
25065 #include <math.h>
25066 #endif
25068 int (*ptr)() = (int (*)())casinhf;
25071 main ()
25073 return 0;
25076 _ACEOF
25077 if ac_fn_c_try_link "$LINENO"; then :
25078 gcc_cv_math_func_casinhf=yes
25079 else
25080 gcc_cv_math_func_casinhf=no
25082 rm -f core conftest.err conftest.$ac_objext \
25083 conftest$ac_exeext conftest.$ac_ext
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25086 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25087 if test $gcc_cv_math_func_casinhf = yes; then
25089 cat >>confdefs.h <<_ACEOF
25090 #define HAVE_CASINHF 1
25091 _ACEOF
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25099 $as_echo_n "checking for casinhl... " >&6; }
25100 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25101 $as_echo_n "(cached) " >&6
25102 else
25103 if test x$gcc_no_link = xyes; then
25104 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25107 /* end confdefs.h. */
25109 #ifdef HAVE_COMPLEX_H
25110 #include <complex.h>
25111 #endif
25112 #ifdef HAVE_MATH_H
25113 #include <math.h>
25114 #endif
25116 int (*ptr)() = (int (*)())casinhl;
25119 main ()
25121 return 0;
25124 _ACEOF
25125 if ac_fn_c_try_link "$LINENO"; then :
25126 gcc_cv_math_func_casinhl=yes
25127 else
25128 gcc_cv_math_func_casinhl=no
25130 rm -f core conftest.err conftest.$ac_objext \
25131 conftest$ac_exeext conftest.$ac_ext
25133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25134 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25135 if test $gcc_cv_math_func_casinhl = yes; then
25137 cat >>confdefs.h <<_ACEOF
25138 #define HAVE_CASINHL 1
25139 _ACEOF
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25147 $as_echo_n "checking for casinl... " >&6; }
25148 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25149 $as_echo_n "(cached) " >&6
25150 else
25151 if test x$gcc_no_link = xyes; then
25152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25155 /* end confdefs.h. */
25157 #ifdef HAVE_COMPLEX_H
25158 #include <complex.h>
25159 #endif
25160 #ifdef HAVE_MATH_H
25161 #include <math.h>
25162 #endif
25164 int (*ptr)() = (int (*)())casinl;
25167 main ()
25169 return 0;
25172 _ACEOF
25173 if ac_fn_c_try_link "$LINENO"; then :
25174 gcc_cv_math_func_casinl=yes
25175 else
25176 gcc_cv_math_func_casinl=no
25178 rm -f core conftest.err conftest.$ac_objext \
25179 conftest$ac_exeext conftest.$ac_ext
25181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25182 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25183 if test $gcc_cv_math_func_casinl = yes; then
25185 cat >>confdefs.h <<_ACEOF
25186 #define HAVE_CASINL 1
25187 _ACEOF
25194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25195 $as_echo_n "checking for catan... " >&6; }
25196 if test "${gcc_cv_math_func_catan+set}" = set; then :
25197 $as_echo_n "(cached) " >&6
25198 else
25199 if test x$gcc_no_link = xyes; then
25200 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25203 /* end confdefs.h. */
25205 #ifdef HAVE_COMPLEX_H
25206 #include <complex.h>
25207 #endif
25208 #ifdef HAVE_MATH_H
25209 #include <math.h>
25210 #endif
25212 int (*ptr)() = (int (*)())catan;
25215 main ()
25217 return 0;
25220 _ACEOF
25221 if ac_fn_c_try_link "$LINENO"; then :
25222 gcc_cv_math_func_catan=yes
25223 else
25224 gcc_cv_math_func_catan=no
25226 rm -f core conftest.err conftest.$ac_objext \
25227 conftest$ac_exeext conftest.$ac_ext
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25230 $as_echo "$gcc_cv_math_func_catan" >&6; }
25231 if test $gcc_cv_math_func_catan = yes; then
25233 cat >>confdefs.h <<_ACEOF
25234 #define HAVE_CATAN 1
25235 _ACEOF
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25243 $as_echo_n "checking for catanf... " >&6; }
25244 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25245 $as_echo_n "(cached) " >&6
25246 else
25247 if test x$gcc_no_link = xyes; then
25248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25251 /* end confdefs.h. */
25253 #ifdef HAVE_COMPLEX_H
25254 #include <complex.h>
25255 #endif
25256 #ifdef HAVE_MATH_H
25257 #include <math.h>
25258 #endif
25260 int (*ptr)() = (int (*)())catanf;
25263 main ()
25265 return 0;
25268 _ACEOF
25269 if ac_fn_c_try_link "$LINENO"; then :
25270 gcc_cv_math_func_catanf=yes
25271 else
25272 gcc_cv_math_func_catanf=no
25274 rm -f core conftest.err conftest.$ac_objext \
25275 conftest$ac_exeext conftest.$ac_ext
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25278 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25279 if test $gcc_cv_math_func_catanf = yes; then
25281 cat >>confdefs.h <<_ACEOF
25282 #define HAVE_CATANF 1
25283 _ACEOF
25290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25291 $as_echo_n "checking for catanh... " >&6; }
25292 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25293 $as_echo_n "(cached) " >&6
25294 else
25295 if test x$gcc_no_link = xyes; then
25296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25299 /* end confdefs.h. */
25301 #ifdef HAVE_COMPLEX_H
25302 #include <complex.h>
25303 #endif
25304 #ifdef HAVE_MATH_H
25305 #include <math.h>
25306 #endif
25308 int (*ptr)() = (int (*)())catanh;
25311 main ()
25313 return 0;
25316 _ACEOF
25317 if ac_fn_c_try_link "$LINENO"; then :
25318 gcc_cv_math_func_catanh=yes
25319 else
25320 gcc_cv_math_func_catanh=no
25322 rm -f core conftest.err conftest.$ac_objext \
25323 conftest$ac_exeext conftest.$ac_ext
25325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25326 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25327 if test $gcc_cv_math_func_catanh = yes; then
25329 cat >>confdefs.h <<_ACEOF
25330 #define HAVE_CATANH 1
25331 _ACEOF
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25339 $as_echo_n "checking for catanhf... " >&6; }
25340 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25341 $as_echo_n "(cached) " >&6
25342 else
25343 if test x$gcc_no_link = xyes; then
25344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25347 /* end confdefs.h. */
25349 #ifdef HAVE_COMPLEX_H
25350 #include <complex.h>
25351 #endif
25352 #ifdef HAVE_MATH_H
25353 #include <math.h>
25354 #endif
25356 int (*ptr)() = (int (*)())catanhf;
25359 main ()
25361 return 0;
25364 _ACEOF
25365 if ac_fn_c_try_link "$LINENO"; then :
25366 gcc_cv_math_func_catanhf=yes
25367 else
25368 gcc_cv_math_func_catanhf=no
25370 rm -f core conftest.err conftest.$ac_objext \
25371 conftest$ac_exeext conftest.$ac_ext
25373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25374 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25375 if test $gcc_cv_math_func_catanhf = yes; then
25377 cat >>confdefs.h <<_ACEOF
25378 #define HAVE_CATANHF 1
25379 _ACEOF
25386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25387 $as_echo_n "checking for catanhl... " >&6; }
25388 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25389 $as_echo_n "(cached) " >&6
25390 else
25391 if test x$gcc_no_link = xyes; then
25392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25395 /* end confdefs.h. */
25397 #ifdef HAVE_COMPLEX_H
25398 #include <complex.h>
25399 #endif
25400 #ifdef HAVE_MATH_H
25401 #include <math.h>
25402 #endif
25404 int (*ptr)() = (int (*)())catanhl;
25407 main ()
25409 return 0;
25412 _ACEOF
25413 if ac_fn_c_try_link "$LINENO"; then :
25414 gcc_cv_math_func_catanhl=yes
25415 else
25416 gcc_cv_math_func_catanhl=no
25418 rm -f core conftest.err conftest.$ac_objext \
25419 conftest$ac_exeext conftest.$ac_ext
25421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25422 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25423 if test $gcc_cv_math_func_catanhl = yes; then
25425 cat >>confdefs.h <<_ACEOF
25426 #define HAVE_CATANHL 1
25427 _ACEOF
25434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25435 $as_echo_n "checking for catanl... " >&6; }
25436 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25437 $as_echo_n "(cached) " >&6
25438 else
25439 if test x$gcc_no_link = xyes; then
25440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25443 /* end confdefs.h. */
25445 #ifdef HAVE_COMPLEX_H
25446 #include <complex.h>
25447 #endif
25448 #ifdef HAVE_MATH_H
25449 #include <math.h>
25450 #endif
25452 int (*ptr)() = (int (*)())catanl;
25455 main ()
25457 return 0;
25460 _ACEOF
25461 if ac_fn_c_try_link "$LINENO"; then :
25462 gcc_cv_math_func_catanl=yes
25463 else
25464 gcc_cv_math_func_catanl=no
25466 rm -f core conftest.err conftest.$ac_objext \
25467 conftest$ac_exeext conftest.$ac_ext
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25470 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25471 if test $gcc_cv_math_func_catanl = yes; then
25473 cat >>confdefs.h <<_ACEOF
25474 #define HAVE_CATANL 1
25475 _ACEOF
25480 # On AIX, clog is present in libm as __clog
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25482 $as_echo_n "checking for __clog in -lm... " >&6; }
25483 if test "${ac_cv_lib_m___clog+set}" = set; then :
25484 $as_echo_n "(cached) " >&6
25485 else
25486 ac_check_lib_save_LIBS=$LIBS
25487 LIBS="-lm $LIBS"
25488 if test x$gcc_no_link = xyes; then
25489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25492 /* end confdefs.h. */
25494 /* Override any GCC internal prototype to avoid an error.
25495 Use char because int might match the return type of a GCC
25496 builtin and then its argument prototype would still apply. */
25497 #ifdef __cplusplus
25498 extern "C"
25499 #endif
25500 char __clog ();
25502 main ()
25504 return __clog ();
25506 return 0;
25508 _ACEOF
25509 if ac_fn_c_try_link "$LINENO"; then :
25510 ac_cv_lib_m___clog=yes
25511 else
25512 ac_cv_lib_m___clog=no
25514 rm -f core conftest.err conftest.$ac_objext \
25515 conftest$ac_exeext conftest.$ac_ext
25516 LIBS=$ac_check_lib_save_LIBS
25518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25519 $as_echo "$ac_cv_lib_m___clog" >&6; }
25520 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25522 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25527 # Check whether the system has a working stat()
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25530 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25531 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25532 $as_echo_n "(cached) " >&6
25533 else
25535 if test "$cross_compiling" = yes; then :
25537 case "${target}" in
25538 *mingw*) libgfor_cv_have_working_stat=no ;;
25539 *) libgfor_cv_have_working_stat=yes;;
25540 esac
25541 else
25542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25543 /* end confdefs.h. */
25545 #include <stdio.h>
25546 #include <sys/types.h>
25547 #include <sys/stat.h>
25548 #include <unistd.h>
25550 int main ()
25552 FILE *f, *g;
25553 struct stat st1, st2;
25555 f = fopen ("foo", "w");
25556 g = fopen ("bar", "w");
25557 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25558 return 1;
25559 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25560 return 1;
25561 fclose(f);
25562 fclose(g);
25563 return 0;
25565 _ACEOF
25566 if ac_fn_c_try_run "$LINENO"; then :
25567 libgfor_cv_have_working_stat=yes
25568 else
25569 libgfor_cv_have_working_stat=no
25571 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25572 conftest.$ac_objext conftest.beam conftest.$ac_ext
25576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25577 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25578 if test x"$libgfor_cv_have_working_stat" = xyes; then
25580 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25584 # Check whether __mingw_snprintf() is present
25586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25587 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25588 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25589 $as_echo_n "(cached) " >&6
25590 else
25592 if test x$gcc_no_link = xyes; then
25593 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25596 /* end confdefs.h. */
25598 #include <stdio.h>
25599 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25602 main ()
25605 __mingw_snprintf (NULL, 0, "%d\n", 1);
25608 return 0;
25610 _ACEOF
25611 if ac_fn_c_try_link "$LINENO"; then :
25612 eval "libgfor_cv_have_mingw_snprintf=yes"
25613 else
25614 eval "libgfor_cv_have_mingw_snprintf=no"
25616 rm -f core conftest.err conftest.$ac_objext \
25617 conftest$ac_exeext conftest.$ac_ext
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25621 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25622 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25624 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25629 # Check whether libquadmath should be used
25630 # Check whether --enable-libquadmath-support was given.
25631 if test "${enable_libquadmath_support+set}" = set; then :
25632 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25633 else
25634 ENABLE_LIBQUADMATH_SUPPORT=yes
25637 enable_libquadmath_support=
25638 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25639 enable_libquadmath_support=no
25642 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25644 LIBQUADSPEC=
25646 if test "x$enable_libquadmath_support" != xno; then
25648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25649 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25650 if test "${libgfor_cv_have_float128+set}" = set; then :
25651 $as_echo_n "(cached) " >&6
25652 else
25654 if test x$gcc_no_link = xyes; then
25655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25656 /* end confdefs.h. */
25658 typedef _Complex float __attribute__((mode(TC))) __complex128;
25660 __float128 foo (__float128 x)
25663 __complex128 z1, z2;
25665 z1 = x;
25666 z2 = x / 7.Q;
25667 z2 /= z1;
25669 return (__float128) z2;
25672 __float128 bar (__float128 x)
25674 return x * __builtin_huge_valq ();
25678 main ()
25681 foo (1.2Q);
25682 bar (1.2Q);
25685 return 0;
25687 _ACEOF
25688 if ac_fn_c_try_compile "$LINENO"; then :
25690 libgfor_cv_have_float128=yes
25692 else
25694 libgfor_cv_have_float128=no
25697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25698 else
25699 if test x$gcc_no_link = xyes; then
25700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25703 /* end confdefs.h. */
25705 typedef _Complex float __attribute__((mode(TC))) __complex128;
25707 __float128 foo (__float128 x)
25710 __complex128 z1, z2;
25712 z1 = x;
25713 z2 = x / 7.Q;
25714 z2 /= z1;
25716 return (__float128) z2;
25719 __float128 bar (__float128 x)
25721 return x * __builtin_huge_valq ();
25725 main ()
25728 foo (1.2Q);
25729 bar (1.2Q);
25732 return 0;
25734 _ACEOF
25735 if ac_fn_c_try_link "$LINENO"; then :
25737 libgfor_cv_have_float128=yes
25739 else
25741 libgfor_cv_have_float128=no
25744 rm -f core conftest.err conftest.$ac_objext \
25745 conftest$ac_exeext conftest.$ac_ext
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25749 $as_echo "$libgfor_cv_have_float128" >&6; }
25751 if test "x$libgfor_cv_have_float128" = xyes; then
25753 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25756 ac_xsave_c_werror_flag=$ac_c_werror_flag
25757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25758 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25759 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25760 $as_echo_n "(cached) " >&6
25761 else
25763 # Test for native Solaris options first.
25764 # No whitespace after -z to pass it through -Wl.
25765 libgfor_cv_as_needed_option="-zignore"
25766 libgfor_cv_no_as_needed_option="-zrecord"
25767 save_LDFLAGS="$LDFLAGS"
25768 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25769 libgfor_cv_have_as_needed=no
25771 ac_c_werror_flag=yes
25772 if test x$gcc_no_link = xyes; then
25773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25776 /* end confdefs.h. */
25779 main ()
25783 return 0;
25785 _ACEOF
25786 if ac_fn_c_try_link "$LINENO"; then :
25787 libgfor_cv_have_as_needed=yes
25788 else
25789 libgfor_cv_have_as_needed=no
25791 rm -f core conftest.err conftest.$ac_objext \
25792 conftest$ac_exeext conftest.$ac_ext
25793 LDFLAGS="$save_LDFLAGS"
25794 if test "x$libgfor_cv_have_as_needed" = xno; then
25795 libgfor_cv_as_needed_option="--as-needed"
25796 libgfor_cv_no_as_needed_option="--no-as-needed"
25797 save_LDFLAGS="$LDFLAGS"
25798 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25799 libgfor_cv_have_as_needed=no
25801 ac_c_werror_flag=yes
25802 if test x$gcc_no_link = xyes; then
25803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25806 /* end confdefs.h. */
25809 main ()
25813 return 0;
25815 _ACEOF
25816 if ac_fn_c_try_link "$LINENO"; then :
25817 libgfor_cv_have_as_needed=yes
25818 else
25819 libgfor_cv_have_as_needed=no
25821 rm -f core conftest.err conftest.$ac_objext \
25822 conftest$ac_exeext conftest.$ac_ext
25823 LDFLAGS="$save_LDFLAGS"
25825 ac_c_werror_flag=$ac_xsave_c_werror_flag
25828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25829 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25831 if test "x$libgfor_cv_have_as_needed" = xyes; then
25832 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25833 else
25834 LIBQUADSPEC="-lquadmath"
25836 if test -f ../libquadmath/libquadmath.la; then
25837 LIBQUADLIB=../libquadmath/libquadmath.la
25838 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25839 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25840 else
25841 LIBQUADLIB="-lquadmath"
25842 LIBQUADLIB_DEP=
25843 LIBQUADINCLUDE=
25846 else
25847 # for --disable-quadmath
25848 LIBQUADLIB=
25849 LIBQUADLIB_DEP=
25850 LIBQUADINCLUDE=
25858 if test "x$libgfor_cv_have_float128" = xyes; then
25859 LIBGFOR_BUILD_QUAD_TRUE=
25860 LIBGFOR_BUILD_QUAD_FALSE='#'
25861 else
25862 LIBGFOR_BUILD_QUAD_TRUE='#'
25863 LIBGFOR_BUILD_QUAD_FALSE=
25868 # Check for GNU libc feenableexcept
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25870 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25871 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25872 $as_echo_n "(cached) " >&6
25873 else
25874 ac_check_lib_save_LIBS=$LIBS
25875 LIBS="-lm $LIBS"
25876 if test x$gcc_no_link = xyes; then
25877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25880 /* end confdefs.h. */
25882 /* Override any GCC internal prototype to avoid an error.
25883 Use char because int might match the return type of a GCC
25884 builtin and then its argument prototype would still apply. */
25885 #ifdef __cplusplus
25886 extern "C"
25887 #endif
25888 char feenableexcept ();
25890 main ()
25892 return feenableexcept ();
25894 return 0;
25896 _ACEOF
25897 if ac_fn_c_try_link "$LINENO"; then :
25898 ac_cv_lib_m_feenableexcept=yes
25899 else
25900 ac_cv_lib_m_feenableexcept=no
25902 rm -f core conftest.err conftest.$ac_objext \
25903 conftest$ac_exeext conftest.$ac_ext
25904 LIBS=$ac_check_lib_save_LIBS
25906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25907 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25908 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25909 have_feenableexcept=yes
25910 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25915 # At least for glibc, clock_gettime is in librt. But don't
25916 # pull that in if it still doesn't give us the function we want. This
25917 # test is copied from libgomp, and modified to not link in -lrt as
25918 # libgfortran calls clock_gettime via a weak reference if it's found
25919 # in librt.
25920 if test $ac_cv_func_clock_gettime = no; then
25921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25922 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25923 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25924 $as_echo_n "(cached) " >&6
25925 else
25926 ac_check_lib_save_LIBS=$LIBS
25927 LIBS="-lrt $LIBS"
25928 if test x$gcc_no_link = xyes; then
25929 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25932 /* end confdefs.h. */
25934 /* Override any GCC internal prototype to avoid an error.
25935 Use char because int might match the return type of a GCC
25936 builtin and then its argument prototype would still apply. */
25937 #ifdef __cplusplus
25938 extern "C"
25939 #endif
25940 char clock_gettime ();
25942 main ()
25944 return clock_gettime ();
25946 return 0;
25948 _ACEOF
25949 if ac_fn_c_try_link "$LINENO"; then :
25950 ac_cv_lib_rt_clock_gettime=yes
25951 else
25952 ac_cv_lib_rt_clock_gettime=no
25954 rm -f core conftest.err conftest.$ac_objext \
25955 conftest$ac_exeext conftest.$ac_ext
25956 LIBS=$ac_check_lib_save_LIBS
25958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25959 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25960 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25962 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25968 # Check for SysV fpsetmask
25970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25971 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25972 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25973 $as_echo_n "(cached) " >&6
25974 else
25976 if test x$gcc_no_link = xyes; then
25977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25980 /* end confdefs.h. */
25982 #if HAVE_FLOATINGPOINT_H
25983 # include <floatingpoint.h>
25984 #endif /* HAVE_FLOATINGPOINT_H */
25985 #if HAVE_IEEEFP_H
25986 # include <ieeefp.h>
25987 #endif /* HAVE_IEEEFP_H */
25989 main ()
25991 fpsetmask(0);
25993 return 0;
25995 _ACEOF
25996 if ac_fn_c_try_link "$LINENO"; then :
25997 eval "libgfor_cv_have_fpsetmask=yes"
25998 else
25999 eval "libgfor_cv_have_fpsetmask=no"
26001 rm -f core conftest.err conftest.$ac_objext \
26002 conftest$ac_exeext conftest.$ac_ext
26005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26006 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26007 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
26008 have_fpsetmask=yes
26010 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26014 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "#include <ieeefp.h>
26016 if test "x$ac_cv_type_fp_except" = x""yes; then :
26018 cat >>confdefs.h <<_ACEOF
26019 #define HAVE_FP_EXCEPT 1
26020 _ACEOF
26024 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "#include <ieeefp.h>
26026 if test "x$ac_cv_type_fp_except_t" = x""yes; then :
26028 cat >>confdefs.h <<_ACEOF
26029 #define HAVE_FP_EXCEPT_T 1
26030 _ACEOF
26036 # Check for AIX fp_trap and fp_enable
26037 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26038 if test "x$ac_cv_func_fp_trap" = x""yes; then :
26039 have_fp_trap=yes
26040 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26044 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26045 if test "x$ac_cv_func_fp_enable" = x""yes; then :
26046 have_fp_enable=yes
26047 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26052 # Runs configure.host to set up necessary host-dependent shell variables.
26053 # We then display a message about it, and propagate them through the
26054 # build chain.
26055 . ${srcdir}/configure.host
26056 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26057 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26058 FPU_HOST_HEADER=config/${fpu_host}.h
26061 # Some targets require additional compiler options for IEEE compatibility.
26062 IEEE_FLAGS="${ieee_flags}"
26066 # Check for POSIX getpwuid_r
26068 # There are two versions of getpwuid_r, the POSIX one with 5
26069 # arguments, and another one with 4 arguments used by at least HP-UX
26070 # 10.2.
26071 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26073 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26074 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26075 $as_echo_n "(cached) " >&6
26076 else
26078 if test x$gcc_no_link = xyes; then
26079 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26082 /* end confdefs.h. */
26084 #include <stdio.h>
26085 #include <sys/types.h>
26086 #include <pwd.h>
26088 main ()
26091 getpwuid_r(0, NULL, NULL, 0, NULL);
26094 return 0;
26096 _ACEOF
26097 if ac_fn_c_try_link "$LINENO"; then :
26098 libgfor_cv_posix_getpwuid_r="yes"
26099 else
26100 libgfor_cv_posix_getpwuid_r="no"
26102 rm -f core conftest.err conftest.$ac_objext \
26103 conftest$ac_exeext conftest.$ac_ext
26105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26106 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26108 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26110 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26115 # Check out attribute support.
26117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26118 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26119 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26120 $as_echo_n "(cached) " >&6
26121 else
26123 save_CFLAGS="$CFLAGS"
26124 CFLAGS="$CFLAGS -Werror"
26125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26126 /* end confdefs.h. */
26127 void __attribute__((visibility("hidden"))) foo(void) { }
26129 main ()
26133 return 0;
26135 _ACEOF
26136 if ac_fn_c_try_compile "$LINENO"; then :
26137 libgfor_cv_have_attribute_visibility=yes
26138 else
26139 libgfor_cv_have_attribute_visibility=no
26141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26142 CFLAGS="$save_CFLAGS"
26144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26145 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26146 if test $libgfor_cv_have_attribute_visibility = yes; then
26148 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26153 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26154 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26155 $as_echo_n "(cached) " >&6
26156 else
26158 save_CFLAGS="$CFLAGS"
26159 CFLAGS="$CFLAGS -Werror"
26160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26161 /* end confdefs.h. */
26162 void __attribute__((dllexport)) foo(void) { }
26164 main ()
26168 return 0;
26170 _ACEOF
26171 if ac_fn_c_try_compile "$LINENO"; then :
26172 libgfor_cv_have_attribute_dllexport=yes
26173 else
26174 libgfor_cv_have_attribute_dllexport=no
26176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26177 CFLAGS="$save_CFLAGS"
26179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26180 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26181 if test $libgfor_cv_have_attribute_dllexport = yes; then
26183 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26188 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26189 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26190 $as_echo_n "(cached) " >&6
26191 else
26193 if test x$gcc_no_link = xyes; then
26194 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26197 /* end confdefs.h. */
26199 void foo(void) { }
26200 extern void bar(void) __attribute__((alias("foo")));
26202 main ()
26204 bar();
26206 return 0;
26208 _ACEOF
26209 if ac_fn_c_try_link "$LINENO"; then :
26210 libgfor_cv_have_attribute_alias=yes
26211 else
26212 libgfor_cv_have_attribute_alias=no
26214 rm -f core conftest.err conftest.$ac_objext \
26215 conftest$ac_exeext conftest.$ac_ext
26217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26218 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26219 if test $libgfor_cv_have_attribute_alias = yes; then
26221 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26225 # Check out sync builtins support.
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26228 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26229 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26230 $as_echo_n "(cached) " >&6
26231 else
26233 if test x$gcc_no_link = xyes; then
26234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26237 /* end confdefs.h. */
26238 int foovar = 0;
26240 main ()
26243 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26244 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26246 return 0;
26248 _ACEOF
26249 if ac_fn_c_try_link "$LINENO"; then :
26250 libgfor_cv_have_sync_fetch_and_add=yes
26251 else
26252 libgfor_cv_have_sync_fetch_and_add=no
26254 rm -f core conftest.err conftest.$ac_objext \
26255 conftest$ac_exeext conftest.$ac_ext
26257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26258 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26259 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26261 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26265 # Check out #pragma weak.
26267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26268 $as_echo_n "checking whether pragma weak works... " >&6; }
26269 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26270 $as_echo_n "(cached) " >&6
26271 else
26273 gfor_save_CFLAGS="$CFLAGS"
26274 CFLAGS="$CFLAGS -Wunknown-pragmas"
26275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26276 /* end confdefs.h. */
26278 void foo (void);
26279 #pragma weak foo
26282 main ()
26284 if (foo) foo ();
26286 return 0;
26288 _ACEOF
26289 if ac_fn_c_try_compile "$LINENO"; then :
26290 libgfor_cv_have_pragma_weak=yes
26291 else
26292 libgfor_cv_have_pragma_weak=no
26294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26297 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26298 if test $libgfor_cv_have_pragma_weak = yes; then
26300 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26303 case "$host" in
26304 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
26306 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26309 esac
26311 # Various other checks on target
26313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26314 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26315 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26316 $as_echo_n "(cached) " >&6
26317 else
26319 if test "$cross_compiling" = yes; then :
26321 case "${target}" in
26322 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26323 *) libgfor_cv_have_unlink_open_file=yes;;
26324 esac
26325 else
26326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26327 /* end confdefs.h. */
26329 #include <errno.h>
26330 #include <fcntl.h>
26331 #include <unistd.h>
26332 #include <sys/stat.h>
26334 int main ()
26336 int fd;
26338 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26339 if (fd <= 0)
26340 return 0;
26341 if (unlink ("testfile") == -1)
26342 return 1;
26343 write (fd, "This is a test\n", 15);
26344 close (fd);
26346 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26347 return 0;
26348 else
26349 return 1;
26351 _ACEOF
26352 if ac_fn_c_try_run "$LINENO"; then :
26353 libgfor_cv_have_unlink_open_file=yes
26354 else
26355 libgfor_cv_have_unlink_open_file=no
26357 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26358 conftest.$ac_objext conftest.beam conftest.$ac_ext
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26363 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26364 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26366 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26370 # Check whether line terminator is LF or CRLF
26372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26373 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26374 if test "${libgfor_cv_have_crlf+set}" = set; then :
26375 $as_echo_n "(cached) " >&6
26376 else
26378 if test "$cross_compiling" = yes; then :
26380 case "${target}" in
26381 *mingw*) libgfor_cv_have_crlf=yes ;;
26382 *) libgfor_cv_have_crlf=no;;
26383 esac
26384 else
26385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26386 /* end confdefs.h. */
26388 /* This test program should exit with status 0 if system uses a CRLF as
26389 line terminator, and status 1 otherwise.
26390 Since it is used to check for mingw systems, and should return 0 in any
26391 other case, in case of a failure we will not use CRLF. */
26392 #include <sys/stat.h>
26393 #include <stdlib.h>
26394 #include <fcntl.h>
26395 #include <stdio.h>
26397 int main ()
26399 #ifndef O_BINARY
26400 exit(1);
26401 #else
26402 int fd, bytes;
26403 char buff[5];
26405 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26406 if (fd < 0)
26407 exit(1);
26408 if (write (fd, "\n", 1) < 0)
26409 perror ("write");
26411 close (fd);
26413 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26414 exit(1);
26415 bytes = read (fd, buff, 5);
26416 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26417 exit(0);
26418 else
26419 exit(1);
26420 #endif
26422 _ACEOF
26423 if ac_fn_c_try_run "$LINENO"; then :
26424 libgfor_cv_have_crlf=yes
26425 else
26426 libgfor_cv_have_crlf=no
26428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26429 conftest.$ac_objext conftest.beam conftest.$ac_ext
26433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26434 $as_echo "$libgfor_cv_have_crlf" >&6; }
26435 if test x"$libgfor_cv_have_crlf" = xyes; then
26437 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26441 # Check whether we have _Unwind_GetIPInfo for backtrace
26444 # Check whether --with-system-libunwind was given.
26445 if test "${with_system_libunwind+set}" = set; then :
26446 withval=$with_system_libunwind;
26449 # If system-libunwind was not specifically set, pick a default setting.
26450 if test x$with_system_libunwind = x; then
26451 case ${target} in
26452 ia64-*-hpux*) with_system_libunwind=yes ;;
26453 *) with_system_libunwind=no ;;
26454 esac
26456 # Based on system-libunwind and target, do we have ipinfo?
26457 if test x$with_system_libunwind = xyes; then
26458 case ${target} in
26459 ia64-*-*) have_unwind_getipinfo=no ;;
26460 *) have_unwind_getipinfo=yes ;;
26461 esac
26462 else
26463 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26465 case ${target} in
26466 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
26467 *) have_unwind_getipinfo=yes ;;
26468 esac
26472 if test x$have_unwind_getipinfo = xyes; then
26474 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26479 cat >confcache <<\_ACEOF
26480 # This file is a shell script that caches the results of configure
26481 # tests run on this system so they can be shared between configure
26482 # scripts and configure runs, see configure's option --config-cache.
26483 # It is not useful on other systems. If it contains results you don't
26484 # want to keep, you may remove or edit it.
26486 # config.status only pays attention to the cache file if you give it
26487 # the --recheck option to rerun configure.
26489 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26490 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26491 # following values.
26493 _ACEOF
26495 # The following way of writing the cache mishandles newlines in values,
26496 # but we know of no workaround that is simple, portable, and efficient.
26497 # So, we kill variables containing newlines.
26498 # Ultrix sh set writes to stderr and can't be redirected directly,
26499 # and sets the high bit in the cache file unless we assign to the vars.
26501 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26502 eval ac_val=\$$ac_var
26503 case $ac_val in #(
26504 *${as_nl}*)
26505 case $ac_var in #(
26506 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26507 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26508 esac
26509 case $ac_var in #(
26510 _ | IFS | as_nl) ;; #(
26511 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26512 *) { eval $ac_var=; unset $ac_var;} ;;
26513 esac ;;
26514 esac
26515 done
26517 (set) 2>&1 |
26518 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26519 *${as_nl}ac_space=\ *)
26520 # `set' does not quote correctly, so add quotes: double-quote
26521 # substitution turns \\\\ into \\, and sed turns \\ into \.
26522 sed -n \
26523 "s/'/'\\\\''/g;
26524 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26525 ;; #(
26527 # `set' quotes correctly as required by POSIX, so do not add quotes.
26528 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26530 esac |
26531 sort
26533 sed '
26534 /^ac_cv_env_/b end
26535 t clear
26536 :clear
26537 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26538 t end
26539 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26540 :end' >>confcache
26541 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26542 if test -w "$cache_file"; then
26543 test "x$cache_file" != "x/dev/null" &&
26544 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26545 $as_echo "$as_me: updating cache $cache_file" >&6;}
26546 cat confcache >$cache_file
26547 else
26548 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26549 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26552 rm -f confcache
26554 if test ${multilib} = yes; then
26555 multilib_arg="--enable-multilib"
26556 else
26557 multilib_arg=
26560 # Write our Makefile and spec file.
26561 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26563 cat >confcache <<\_ACEOF
26564 # This file is a shell script that caches the results of configure
26565 # tests run on this system so they can be shared between configure
26566 # scripts and configure runs, see configure's option --config-cache.
26567 # It is not useful on other systems. If it contains results you don't
26568 # want to keep, you may remove or edit it.
26570 # config.status only pays attention to the cache file if you give it
26571 # the --recheck option to rerun configure.
26573 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26574 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26575 # following values.
26577 _ACEOF
26579 # The following way of writing the cache mishandles newlines in values,
26580 # but we know of no workaround that is simple, portable, and efficient.
26581 # So, we kill variables containing newlines.
26582 # Ultrix sh set writes to stderr and can't be redirected directly,
26583 # and sets the high bit in the cache file unless we assign to the vars.
26585 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26586 eval ac_val=\$$ac_var
26587 case $ac_val in #(
26588 *${as_nl}*)
26589 case $ac_var in #(
26590 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26591 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26592 esac
26593 case $ac_var in #(
26594 _ | IFS | as_nl) ;; #(
26595 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26596 *) { eval $ac_var=; unset $ac_var;} ;;
26597 esac ;;
26598 esac
26599 done
26601 (set) 2>&1 |
26602 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26603 *${as_nl}ac_space=\ *)
26604 # `set' does not quote correctly, so add quotes: double-quote
26605 # substitution turns \\\\ into \\, and sed turns \\ into \.
26606 sed -n \
26607 "s/'/'\\\\''/g;
26608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26609 ;; #(
26611 # `set' quotes correctly as required by POSIX, so do not add quotes.
26612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26614 esac |
26615 sort
26617 sed '
26618 /^ac_cv_env_/b end
26619 t clear
26620 :clear
26621 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26622 t end
26623 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26624 :end' >>confcache
26625 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26626 if test -w "$cache_file"; then
26627 test "x$cache_file" != "x/dev/null" &&
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26629 $as_echo "$as_me: updating cache $cache_file" >&6;}
26630 cat confcache >$cache_file
26631 else
26632 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26633 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26636 rm -f confcache
26638 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26639 # Let make expand exec_prefix.
26640 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26642 DEFS=-DHAVE_CONFIG_H
26644 ac_libobjs=
26645 ac_ltlibobjs=
26646 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26647 # 1. Remove the extension, and $U if already installed.
26648 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26649 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26650 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26651 # will be set to the directory where LIBOBJS objects are built.
26652 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26653 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26654 done
26655 LIBOBJS=$ac_libobjs
26657 LTLIBOBJS=$ac_ltlibobjs
26660 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26661 as_fn_error "conditional \"onestep\" was never defined.
26662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26664 if test -n "$EXEEXT"; then
26665 am__EXEEXT_TRUE=
26666 am__EXEEXT_FALSE='#'
26667 else
26668 am__EXEEXT_TRUE='#'
26669 am__EXEEXT_FALSE=
26672 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26673 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26676 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26677 as_fn_error "conditional \"AMDEP\" was never defined.
26678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26680 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26681 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26684 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26685 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26688 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26689 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26692 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26693 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26696 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26697 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26700 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26701 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26705 : ${CONFIG_STATUS=./config.status}
26706 ac_write_fail=0
26707 ac_clean_files_save=$ac_clean_files
26708 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26710 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26711 as_write_fail=0
26712 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26713 #! $SHELL
26714 # Generated by $as_me.
26715 # Run this file to recreate the current configuration.
26716 # Compiler output produced by configure, useful for debugging
26717 # configure, is in config.log if it exists.
26719 debug=false
26720 ac_cs_recheck=false
26721 ac_cs_silent=false
26723 SHELL=\${CONFIG_SHELL-$SHELL}
26724 export SHELL
26725 _ASEOF
26726 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26727 ## -------------------- ##
26728 ## M4sh Initialization. ##
26729 ## -------------------- ##
26731 # Be more Bourne compatible
26732 DUALCASE=1; export DUALCASE # for MKS sh
26733 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26734 emulate sh
26735 NULLCMD=:
26736 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26737 # is contrary to our usage. Disable this feature.
26738 alias -g '${1+"$@"}'='"$@"'
26739 setopt NO_GLOB_SUBST
26740 else
26741 case `(set -o) 2>/dev/null` in #(
26742 *posix*) :
26743 set -o posix ;; #(
26744 *) :
26746 esac
26750 as_nl='
26752 export as_nl
26753 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26754 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26755 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26756 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26757 # Prefer a ksh shell builtin over an external printf program on Solaris,
26758 # but without wasting forks for bash or zsh.
26759 if test -z "$BASH_VERSION$ZSH_VERSION" \
26760 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26761 as_echo='print -r --'
26762 as_echo_n='print -rn --'
26763 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26764 as_echo='printf %s\n'
26765 as_echo_n='printf %s'
26766 else
26767 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26768 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26769 as_echo_n='/usr/ucb/echo -n'
26770 else
26771 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26772 as_echo_n_body='eval
26773 arg=$1;
26774 case $arg in #(
26775 *"$as_nl"*)
26776 expr "X$arg" : "X\\(.*\\)$as_nl";
26777 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26778 esac;
26779 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26781 export as_echo_n_body
26782 as_echo_n='sh -c $as_echo_n_body as_echo'
26784 export as_echo_body
26785 as_echo='sh -c $as_echo_body as_echo'
26788 # The user is always right.
26789 if test "${PATH_SEPARATOR+set}" != set; then
26790 PATH_SEPARATOR=:
26791 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26792 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26793 PATH_SEPARATOR=';'
26798 # IFS
26799 # We need space, tab and new line, in precisely that order. Quoting is
26800 # there to prevent editors from complaining about space-tab.
26801 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26802 # splitting by setting IFS to empty value.)
26803 IFS=" "" $as_nl"
26805 # Find who we are. Look in the path if we contain no directory separator.
26806 case $0 in #((
26807 *[\\/]* ) as_myself=$0 ;;
26808 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26809 for as_dir in $PATH
26811 IFS=$as_save_IFS
26812 test -z "$as_dir" && as_dir=.
26813 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26814 done
26815 IFS=$as_save_IFS
26818 esac
26819 # We did not find ourselves, most probably we were run as `sh COMMAND'
26820 # in which case we are not to be found in the path.
26821 if test "x$as_myself" = x; then
26822 as_myself=$0
26824 if test ! -f "$as_myself"; then
26825 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26826 exit 1
26829 # Unset variables that we do not need and which cause bugs (e.g. in
26830 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26831 # suppresses any "Segmentation fault" message there. '((' could
26832 # trigger a bug in pdksh 5.2.14.
26833 for as_var in BASH_ENV ENV MAIL MAILPATH
26834 do eval test x\${$as_var+set} = xset \
26835 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26836 done
26837 PS1='$ '
26838 PS2='> '
26839 PS4='+ '
26841 # NLS nuisances.
26842 LC_ALL=C
26843 export LC_ALL
26844 LANGUAGE=C
26845 export LANGUAGE
26847 # CDPATH.
26848 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26851 # as_fn_error ERROR [LINENO LOG_FD]
26852 # ---------------------------------
26853 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26854 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26855 # script with status $?, using 1 if that was 0.
26856 as_fn_error ()
26858 as_status=$?; test $as_status -eq 0 && as_status=1
26859 if test "$3"; then
26860 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26861 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26863 $as_echo "$as_me: error: $1" >&2
26864 as_fn_exit $as_status
26865 } # as_fn_error
26868 # as_fn_set_status STATUS
26869 # -----------------------
26870 # Set $? to STATUS, without forking.
26871 as_fn_set_status ()
26873 return $1
26874 } # as_fn_set_status
26876 # as_fn_exit STATUS
26877 # -----------------
26878 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26879 as_fn_exit ()
26881 set +e
26882 as_fn_set_status $1
26883 exit $1
26884 } # as_fn_exit
26886 # as_fn_unset VAR
26887 # ---------------
26888 # Portably unset VAR.
26889 as_fn_unset ()
26891 { eval $1=; unset $1;}
26893 as_unset=as_fn_unset
26894 # as_fn_append VAR VALUE
26895 # ----------------------
26896 # Append the text in VALUE to the end of the definition contained in VAR. Take
26897 # advantage of any shell optimizations that allow amortized linear growth over
26898 # repeated appends, instead of the typical quadratic growth present in naive
26899 # implementations.
26900 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26901 eval 'as_fn_append ()
26903 eval $1+=\$2
26905 else
26906 as_fn_append ()
26908 eval $1=\$$1\$2
26910 fi # as_fn_append
26912 # as_fn_arith ARG...
26913 # ------------------
26914 # Perform arithmetic evaluation on the ARGs, and store the result in the
26915 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26916 # must be portable across $(()) and expr.
26917 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26918 eval 'as_fn_arith ()
26920 as_val=$(( $* ))
26922 else
26923 as_fn_arith ()
26925 as_val=`expr "$@" || test $? -eq 1`
26927 fi # as_fn_arith
26930 if expr a : '\(a\)' >/dev/null 2>&1 &&
26931 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26932 as_expr=expr
26933 else
26934 as_expr=false
26937 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26938 as_basename=basename
26939 else
26940 as_basename=false
26943 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26944 as_dirname=dirname
26945 else
26946 as_dirname=false
26949 as_me=`$as_basename -- "$0" ||
26950 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26951 X"$0" : 'X\(//\)$' \| \
26952 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26953 $as_echo X/"$0" |
26954 sed '/^.*\/\([^/][^/]*\)\/*$/{
26955 s//\1/
26958 /^X\/\(\/\/\)$/{
26959 s//\1/
26962 /^X\/\(\/\).*/{
26963 s//\1/
26966 s/.*/./; q'`
26968 # Avoid depending upon Character Ranges.
26969 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26970 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26971 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26972 as_cr_digits='0123456789'
26973 as_cr_alnum=$as_cr_Letters$as_cr_digits
26975 ECHO_C= ECHO_N= ECHO_T=
26976 case `echo -n x` in #(((((
26977 -n*)
26978 case `echo 'xy\c'` in
26979 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26980 xy) ECHO_C='\c';;
26981 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26982 ECHO_T=' ';;
26983 esac;;
26985 ECHO_N='-n';;
26986 esac
26988 rm -f conf$$ conf$$.exe conf$$.file
26989 if test -d conf$$.dir; then
26990 rm -f conf$$.dir/conf$$.file
26991 else
26992 rm -f conf$$.dir
26993 mkdir conf$$.dir 2>/dev/null
26995 if (echo >conf$$.file) 2>/dev/null; then
26996 if ln -s conf$$.file conf$$ 2>/dev/null; then
26997 as_ln_s='ln -s'
26998 # ... but there are two gotchas:
26999 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27000 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27001 # In both cases, we have to default to `cp -p'.
27002 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27003 as_ln_s='cp -p'
27004 elif ln conf$$.file conf$$ 2>/dev/null; then
27005 as_ln_s=ln
27006 else
27007 as_ln_s='cp -p'
27009 else
27010 as_ln_s='cp -p'
27012 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27013 rmdir conf$$.dir 2>/dev/null
27016 # as_fn_mkdir_p
27017 # -------------
27018 # Create "$as_dir" as a directory, including parents if necessary.
27019 as_fn_mkdir_p ()
27022 case $as_dir in #(
27023 -*) as_dir=./$as_dir;;
27024 esac
27025 test -d "$as_dir" || eval $as_mkdir_p || {
27026 as_dirs=
27027 while :; do
27028 case $as_dir in #(
27029 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27030 *) as_qdir=$as_dir;;
27031 esac
27032 as_dirs="'$as_qdir' $as_dirs"
27033 as_dir=`$as_dirname -- "$as_dir" ||
27034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27035 X"$as_dir" : 'X\(//\)[^/]' \| \
27036 X"$as_dir" : 'X\(//\)$' \| \
27037 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27038 $as_echo X"$as_dir" |
27039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27040 s//\1/
27043 /^X\(\/\/\)[^/].*/{
27044 s//\1/
27047 /^X\(\/\/\)$/{
27048 s//\1/
27051 /^X\(\/\).*/{
27052 s//\1/
27055 s/.*/./; q'`
27056 test -d "$as_dir" && break
27057 done
27058 test -z "$as_dirs" || eval "mkdir $as_dirs"
27059 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
27062 } # as_fn_mkdir_p
27063 if mkdir -p . 2>/dev/null; then
27064 as_mkdir_p='mkdir -p "$as_dir"'
27065 else
27066 test -d ./-p && rmdir ./-p
27067 as_mkdir_p=false
27070 if test -x / >/dev/null 2>&1; then
27071 as_test_x='test -x'
27072 else
27073 if ls -dL / >/dev/null 2>&1; then
27074 as_ls_L_option=L
27075 else
27076 as_ls_L_option=
27078 as_test_x='
27079 eval sh -c '\''
27080 if test -d "$1"; then
27081 test -d "$1/.";
27082 else
27083 case $1 in #(
27084 -*)set "./$1";;
27085 esac;
27086 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27087 ???[sx]*):;;*)false;;esac;fi
27088 '\'' sh
27091 as_executable_p=$as_test_x
27093 # Sed expression to map a string onto a valid CPP name.
27094 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27096 # Sed expression to map a string onto a valid variable name.
27097 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27100 exec 6>&1
27101 ## ----------------------------------- ##
27102 ## Main body of $CONFIG_STATUS script. ##
27103 ## ----------------------------------- ##
27104 _ASEOF
27105 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27108 # Save the log message, to keep $0 and so on meaningful, and to
27109 # report actual input values of CONFIG_FILES etc. instead of their
27110 # values after options handling.
27111 ac_log="
27112 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27113 generated by GNU Autoconf 2.64. Invocation command line was
27115 CONFIG_FILES = $CONFIG_FILES
27116 CONFIG_HEADERS = $CONFIG_HEADERS
27117 CONFIG_LINKS = $CONFIG_LINKS
27118 CONFIG_COMMANDS = $CONFIG_COMMANDS
27119 $ $0 $@
27121 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27124 _ACEOF
27126 case $ac_config_files in *"
27127 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27128 esac
27130 case $ac_config_headers in *"
27131 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27132 esac
27135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27136 # Files that config.status was made for.
27137 config_files="$ac_config_files"
27138 config_headers="$ac_config_headers"
27139 config_commands="$ac_config_commands"
27141 _ACEOF
27143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27144 ac_cs_usage="\
27145 \`$as_me' instantiates files and other configuration actions
27146 from templates according to the current configuration. Unless the files
27147 and actions are specified as TAGs, all are instantiated by default.
27149 Usage: $0 [OPTION]... [TAG]...
27151 -h, --help print this help, then exit
27152 -V, --version print version number and configuration settings, then exit
27153 -q, --quiet, --silent
27154 do not print progress messages
27155 -d, --debug don't remove temporary files
27156 --recheck update $as_me by reconfiguring in the same conditions
27157 --file=FILE[:TEMPLATE]
27158 instantiate the configuration file FILE
27159 --header=FILE[:TEMPLATE]
27160 instantiate the configuration header FILE
27162 Configuration files:
27163 $config_files
27165 Configuration headers:
27166 $config_headers
27168 Configuration commands:
27169 $config_commands
27171 Report bugs to the package provider.
27172 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27173 General help using GNU software: <http://www.gnu.org/gethelp/>."
27175 _ACEOF
27176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27177 ac_cs_version="\\
27178 GNU Fortran Runtime Library config.status 0.3
27179 configured by $0, generated by GNU Autoconf 2.64,
27180 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27182 Copyright (C) 2009 Free Software Foundation, Inc.
27183 This config.status script is free software; the Free Software Foundation
27184 gives unlimited permission to copy, distribute and modify it."
27186 ac_pwd='$ac_pwd'
27187 srcdir='$srcdir'
27188 INSTALL='$INSTALL'
27189 MKDIR_P='$MKDIR_P'
27190 AWK='$AWK'
27191 test -n "\$AWK" || AWK=awk
27192 _ACEOF
27194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27195 # The default lists apply if the user does not specify any file.
27196 ac_need_defaults=:
27197 while test $# != 0
27199 case $1 in
27200 --*=*)
27201 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27202 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27203 ac_shift=:
27206 ac_option=$1
27207 ac_optarg=$2
27208 ac_shift=shift
27210 esac
27212 case $ac_option in
27213 # Handling of the options.
27214 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27215 ac_cs_recheck=: ;;
27216 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27217 $as_echo "$ac_cs_version"; exit ;;
27218 --debug | --debu | --deb | --de | --d | -d )
27219 debug=: ;;
27220 --file | --fil | --fi | --f )
27221 $ac_shift
27222 case $ac_optarg in
27223 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27224 esac
27225 as_fn_append CONFIG_FILES " '$ac_optarg'"
27226 ac_need_defaults=false;;
27227 --header | --heade | --head | --hea )
27228 $ac_shift
27229 case $ac_optarg in
27230 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27231 esac
27232 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27233 ac_need_defaults=false;;
27234 --he | --h)
27235 # Conflict between --help and --header
27236 as_fn_error "ambiguous option: \`$1'
27237 Try \`$0 --help' for more information.";;
27238 --help | --hel | -h )
27239 $as_echo "$ac_cs_usage"; exit ;;
27240 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27241 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27242 ac_cs_silent=: ;;
27244 # This is an error.
27245 -*) as_fn_error "unrecognized option: \`$1'
27246 Try \`$0 --help' for more information." ;;
27248 *) as_fn_append ac_config_targets " $1"
27249 ac_need_defaults=false ;;
27251 esac
27252 shift
27253 done
27255 ac_configure_extra_args=
27257 if $ac_cs_silent; then
27258 exec 6>/dev/null
27259 ac_configure_extra_args="$ac_configure_extra_args --silent"
27262 _ACEOF
27263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27264 if \$ac_cs_recheck; then
27265 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27266 shift
27267 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27268 CONFIG_SHELL='$SHELL'
27269 export CONFIG_SHELL
27270 exec "\$@"
27273 _ACEOF
27274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27275 exec 5>>config.log
27277 echo
27278 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27279 ## Running $as_me. ##
27280 _ASBOX
27281 $as_echo "$ac_log"
27282 } >&5
27284 _ACEOF
27285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27287 # INIT-COMMANDS
27290 srcdir="$srcdir"
27291 host="$host"
27292 target="$target"
27293 with_multisubdir="$with_multisubdir"
27294 with_multisrctop="$with_multisrctop"
27295 with_target_subdir="$with_target_subdir"
27296 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27297 multi_basedir="$multi_basedir"
27298 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27299 CC="$CC"
27300 CXX="$CXX"
27301 GFORTRAN="$GFORTRAN"
27302 GCJ="$GCJ"
27303 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27306 # The HP-UX ksh and POSIX shell print the target directory to stdout
27307 # if CDPATH is set.
27308 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27310 sed_quote_subst='$sed_quote_subst'
27311 double_quote_subst='$double_quote_subst'
27312 delay_variable_subst='$delay_variable_subst'
27313 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27314 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27315 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27316 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27317 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27318 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27319 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27320 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27321 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27322 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27323 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27324 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27325 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27326 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27327 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27328 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27329 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27330 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27331 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27332 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27333 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27334 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27335 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27336 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27337 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27338 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27339 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27340 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27341 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27342 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27343 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27344 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27345 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27346 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27347 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27348 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27349 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27350 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27351 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27352 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27353 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27354 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27355 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27356 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27357 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27358 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27359 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27360 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27361 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"`'
27362 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27363 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27364 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27365 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27366 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27367 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27368 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27369 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27370 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27371 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27372 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27373 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27374 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27375 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27376 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27377 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27378 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27379 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27380 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27381 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27382 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27383 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27384 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27385 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27386 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27387 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27388 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27389 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27390 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27391 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27392 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27393 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27394 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27395 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27396 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27397 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27398 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27399 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27400 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27401 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27402 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27403 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27404 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27405 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27406 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27407 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27408 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27409 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27410 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27411 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27412 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27413 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27414 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27415 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27416 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27417 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27418 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27419 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27420 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27421 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27422 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27423 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27424 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27425 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27426 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27427 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27428 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27429 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27430 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27431 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27432 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27433 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27434 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27435 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27436 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27437 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27438 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27439 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27440 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27441 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27442 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27443 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27444 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27445 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27446 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27447 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27448 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27449 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27450 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27451 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27452 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27453 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27454 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27455 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27456 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27457 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27458 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27459 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27460 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27461 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27462 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27463 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27464 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27465 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27466 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27467 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27468 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27469 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27470 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27471 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27472 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27473 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27474 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27475 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27476 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27477 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27478 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27479 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27480 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27481 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27482 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27483 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27484 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27485 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27486 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27487 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27489 LTCC='$LTCC'
27490 LTCFLAGS='$LTCFLAGS'
27491 compiler='$compiler_DEFAULT'
27493 # A function that is used when there is no print builtin or printf.
27494 func_fallback_echo ()
27496 eval 'cat <<_LTECHO_EOF
27498 _LTECHO_EOF'
27501 # Quote evaled strings.
27502 for var in SHELL \
27503 ECHO \
27504 SED \
27505 GREP \
27506 EGREP \
27507 FGREP \
27508 LD \
27509 NM \
27510 LN_S \
27511 lt_SP2NL \
27512 lt_NL2SP \
27513 reload_flag \
27514 OBJDUMP \
27515 deplibs_check_method \
27516 file_magic_cmd \
27517 AR \
27518 AR_FLAGS \
27519 STRIP \
27520 RANLIB \
27521 CC \
27522 CFLAGS \
27523 compiler \
27524 lt_cv_sys_global_symbol_pipe \
27525 lt_cv_sys_global_symbol_to_cdecl \
27526 lt_cv_sys_global_symbol_to_c_name_address \
27527 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27528 lt_prog_compiler_no_builtin_flag \
27529 lt_prog_compiler_wl \
27530 lt_prog_compiler_pic \
27531 lt_prog_compiler_static \
27532 lt_cv_prog_compiler_c_o \
27533 need_locks \
27534 DSYMUTIL \
27535 NMEDIT \
27536 LIPO \
27537 OTOOL \
27538 OTOOL64 \
27539 shrext_cmds \
27540 export_dynamic_flag_spec \
27541 whole_archive_flag_spec \
27542 compiler_needs_object \
27543 with_gnu_ld \
27544 allow_undefined_flag \
27545 no_undefined_flag \
27546 hardcode_libdir_flag_spec \
27547 hardcode_libdir_flag_spec_ld \
27548 hardcode_libdir_separator \
27549 fix_srcfile_path \
27550 exclude_expsyms \
27551 include_expsyms \
27552 file_list_spec \
27553 variables_saved_for_relink \
27554 libname_spec \
27555 library_names_spec \
27556 soname_spec \
27557 install_override_mode \
27558 finish_eval \
27559 old_striplib \
27560 striplib \
27561 compiler_lib_search_dirs \
27562 predep_objects \
27563 postdep_objects \
27564 predeps \
27565 postdeps \
27566 compiler_lib_search_path \
27567 LD_FC \
27568 reload_flag_FC \
27569 compiler_FC \
27570 lt_prog_compiler_no_builtin_flag_FC \
27571 lt_prog_compiler_wl_FC \
27572 lt_prog_compiler_pic_FC \
27573 lt_prog_compiler_static_FC \
27574 lt_cv_prog_compiler_c_o_FC \
27575 export_dynamic_flag_spec_FC \
27576 whole_archive_flag_spec_FC \
27577 compiler_needs_object_FC \
27578 with_gnu_ld_FC \
27579 allow_undefined_flag_FC \
27580 no_undefined_flag_FC \
27581 hardcode_libdir_flag_spec_FC \
27582 hardcode_libdir_flag_spec_ld_FC \
27583 hardcode_libdir_separator_FC \
27584 fix_srcfile_path_FC \
27585 exclude_expsyms_FC \
27586 include_expsyms_FC \
27587 file_list_spec_FC \
27588 compiler_lib_search_dirs_FC \
27589 predep_objects_FC \
27590 postdep_objects_FC \
27591 predeps_FC \
27592 postdeps_FC \
27593 compiler_lib_search_path_FC; do
27594 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27595 *[\\\\\\\`\\"\\\$]*)
27596 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27599 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27601 esac
27602 done
27604 # Double-quote double-evaled strings.
27605 for var in reload_cmds \
27606 old_postinstall_cmds \
27607 old_postuninstall_cmds \
27608 old_archive_cmds \
27609 extract_expsyms_cmds \
27610 old_archive_from_new_cmds \
27611 old_archive_from_expsyms_cmds \
27612 archive_cmds \
27613 archive_expsym_cmds \
27614 module_cmds \
27615 module_expsym_cmds \
27616 export_symbols_cmds \
27617 prelink_cmds \
27618 postinstall_cmds \
27619 postuninstall_cmds \
27620 finish_cmds \
27621 sys_lib_search_path_spec \
27622 sys_lib_dlsearch_path_spec \
27623 reload_cmds_FC \
27624 old_archive_cmds_FC \
27625 old_archive_from_new_cmds_FC \
27626 old_archive_from_expsyms_cmds_FC \
27627 archive_cmds_FC \
27628 archive_expsym_cmds_FC \
27629 module_cmds_FC \
27630 module_expsym_cmds_FC \
27631 export_symbols_cmds_FC \
27632 prelink_cmds_FC; do
27633 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27634 *[\\\\\\\`\\"\\\$]*)
27635 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27638 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27640 esac
27641 done
27643 ac_aux_dir='$ac_aux_dir'
27644 xsi_shell='$xsi_shell'
27645 lt_shell_append='$lt_shell_append'
27647 # See if we are running on zsh, and set the options which allow our
27648 # commands through without removal of \ escapes INIT.
27649 if test -n "\${ZSH_VERSION+set}" ; then
27650 setopt NO_GLOB_SUBST
27654 PACKAGE='$PACKAGE'
27655 VERSION='$VERSION'
27656 TIMESTAMP='$TIMESTAMP'
27657 RM='$RM'
27658 ofile='$ofile'
27665 GCC="$GCC"
27666 CC="$CC"
27667 acx_cv_header_stdint="$acx_cv_header_stdint"
27668 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27669 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27670 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27671 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27672 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27673 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27674 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27675 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27676 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27677 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27678 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27679 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27680 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27683 _ACEOF
27685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27687 # Handling of arguments.
27688 for ac_config_target in $ac_config_targets
27690 case $ac_config_target in
27691 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27692 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27693 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27694 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27695 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27696 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27697 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27699 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27700 esac
27701 done
27704 # If the user did not use the arguments to specify the items to instantiate,
27705 # then the envvar interface is used. Set only those that are not.
27706 # We use the long form for the default assignment because of an extremely
27707 # bizarre bug on SunOS 4.1.3.
27708 if $ac_need_defaults; then
27709 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27710 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27711 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27714 # Have a temporary directory for convenience. Make it in the build tree
27715 # simply because there is no reason against having it here, and in addition,
27716 # creating and moving files from /tmp can sometimes cause problems.
27717 # Hook for its removal unless debugging.
27718 # Note that there is a small window in which the directory will not be cleaned:
27719 # after its creation but before its name has been assigned to `$tmp'.
27720 $debug ||
27722 tmp=
27723 trap 'exit_status=$?
27724 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27726 trap 'as_fn_exit 1' 1 2 13 15
27728 # Create a (secure) tmp directory for tmp files.
27731 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27732 test -n "$tmp" && test -d "$tmp"
27733 } ||
27735 tmp=./conf$$-$RANDOM
27736 (umask 077 && mkdir "$tmp")
27737 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27739 # Set up the scripts for CONFIG_FILES section.
27740 # No need to generate them if there are no CONFIG_FILES.
27741 # This happens for instance with `./config.status config.h'.
27742 if test -n "$CONFIG_FILES"; then
27745 ac_cr=`echo X | tr X '\015'`
27746 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27747 # But we know of no other shell where ac_cr would be empty at this
27748 # point, so we can use a bashism as a fallback.
27749 if test "x$ac_cr" = x; then
27750 eval ac_cr=\$\'\\r\'
27752 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27753 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27754 ac_cs_awk_cr='\r'
27755 else
27756 ac_cs_awk_cr=$ac_cr
27759 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27760 _ACEOF
27764 echo "cat >conf$$subs.awk <<_ACEOF" &&
27765 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27766 echo "_ACEOF"
27767 } >conf$$subs.sh ||
27768 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27769 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27770 ac_delim='%!_!# '
27771 for ac_last_try in false false false false false :; do
27772 . ./conf$$subs.sh ||
27773 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27775 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27776 if test $ac_delim_n = $ac_delim_num; then
27777 break
27778 elif $ac_last_try; then
27779 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27780 else
27781 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27783 done
27784 rm -f conf$$subs.sh
27786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27787 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27788 _ACEOF
27789 sed -n '
27791 s/^/S["/; s/!.*/"]=/
27794 s/^[^!]*!//
27795 :repl
27796 t repl
27797 s/'"$ac_delim"'$//
27798 t delim
27801 s/\(.\{148\}\).*/\1/
27802 t more1
27803 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27806 b repl
27807 :more1
27808 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27811 s/.\{148\}//
27812 t nl
27813 :delim
27815 s/\(.\{148\}\).*/\1/
27816 t more2
27817 s/["\\]/\\&/g; s/^/"/; s/$/"/
27820 :more2
27821 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27824 s/.\{148\}//
27825 t delim
27826 ' <conf$$subs.awk | sed '
27827 /^[^""]/{
27829 s/\n//
27831 ' >>$CONFIG_STATUS || ac_write_fail=1
27832 rm -f conf$$subs.awk
27833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27834 _ACAWK
27835 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27836 for (key in S) S_is_set[key] = 1
27837 FS = "\a"
27841 line = $ 0
27842 nfields = split(line, field, "@")
27843 substed = 0
27844 len = length(field[1])
27845 for (i = 2; i < nfields; i++) {
27846 key = field[i]
27847 keylen = length(key)
27848 if (S_is_set[key]) {
27849 value = S[key]
27850 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27851 len += length(value) + length(field[++i])
27852 substed = 1
27853 } else
27854 len += 1 + keylen
27857 print line
27860 _ACAWK
27861 _ACEOF
27862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27863 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27864 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27865 else
27867 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27868 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27869 _ACEOF
27871 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27872 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27873 # trailing colons and then remove the whole line if VPATH becomes empty
27874 # (actually we leave an empty line to preserve line numbers).
27875 if test "x$srcdir" = x.; then
27876 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27877 s/:*\$(srcdir):*/:/
27878 s/:*\${srcdir}:*/:/
27879 s/:*@srcdir@:*/:/
27880 s/^\([^=]*=[ ]*\):*/\1/
27881 s/:*$//
27882 s/^[^=]*=[ ]*$//
27886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27887 fi # test -n "$CONFIG_FILES"
27889 # Set up the scripts for CONFIG_HEADERS section.
27890 # No need to generate them if there are no CONFIG_HEADERS.
27891 # This happens for instance with `./config.status Makefile'.
27892 if test -n "$CONFIG_HEADERS"; then
27893 cat >"$tmp/defines.awk" <<\_ACAWK ||
27894 BEGIN {
27895 _ACEOF
27897 # Transform confdefs.h into an awk script `defines.awk', embedded as
27898 # here-document in config.status, that substitutes the proper values into
27899 # config.h.in to produce config.h.
27901 # Create a delimiter string that does not exist in confdefs.h, to ease
27902 # handling of long lines.
27903 ac_delim='%!_!# '
27904 for ac_last_try in false false :; do
27905 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27906 if test -z "$ac_t"; then
27907 break
27908 elif $ac_last_try; then
27909 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27910 else
27911 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27913 done
27915 # For the awk script, D is an array of macro values keyed by name,
27916 # likewise P contains macro parameters if any. Preserve backslash
27917 # newline sequences.
27919 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27920 sed -n '
27921 s/.\{148\}/&'"$ac_delim"'/g
27922 t rset
27923 :rset
27924 s/^[ ]*#[ ]*define[ ][ ]*/ /
27925 t def
27927 :def
27928 s/\\$//
27929 t bsnl
27930 s/["\\]/\\&/g
27931 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27932 D["\1"]=" \3"/p
27933 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27935 :bsnl
27936 s/["\\]/\\&/g
27937 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27938 D["\1"]=" \3\\\\\\n"\\/p
27939 t cont
27940 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27941 t cont
27943 :cont
27945 s/.\{148\}/&'"$ac_delim"'/g
27946 t clear
27947 :clear
27948 s/\\$//
27949 t bsnlc
27950 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27952 :bsnlc
27953 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27954 b cont
27955 ' <confdefs.h | sed '
27956 s/'"$ac_delim"'/"\\\
27957 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27960 for (key in D) D_is_set[key] = 1
27961 FS = "\a"
27963 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27964 line = \$ 0
27965 split(line, arg, " ")
27966 if (arg[1] == "#") {
27967 defundef = arg[2]
27968 mac1 = arg[3]
27969 } else {
27970 defundef = substr(arg[1], 2)
27971 mac1 = arg[2]
27973 split(mac1, mac2, "(") #)
27974 macro = mac2[1]
27975 prefix = substr(line, 1, index(line, defundef) - 1)
27976 if (D_is_set[macro]) {
27977 # Preserve the white space surrounding the "#".
27978 print prefix "define", macro P[macro] D[macro]
27979 next
27980 } else {
27981 # Replace #undef with comments. This is necessary, for example,
27982 # in the case of _POSIX_SOURCE, which is predefined and required
27983 # on some systems where configure will not decide to define it.
27984 if (defundef == "undef") {
27985 print "/*", prefix defundef, macro, "*/"
27986 next
27990 { print }
27991 _ACAWK
27992 _ACEOF
27993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27994 as_fn_error "could not setup config headers machinery" "$LINENO" 5
27995 fi # test -n "$CONFIG_HEADERS"
27998 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27999 shift
28000 for ac_tag
28002 case $ac_tag in
28003 :[FHLC]) ac_mode=$ac_tag; continue;;
28004 esac
28005 case $ac_mode$ac_tag in
28006 :[FHL]*:*);;
28007 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
28008 :[FH]-) ac_tag=-:-;;
28009 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28010 esac
28011 ac_save_IFS=$IFS
28012 IFS=:
28013 set x $ac_tag
28014 IFS=$ac_save_IFS
28015 shift
28016 ac_file=$1
28017 shift
28019 case $ac_mode in
28020 :L) ac_source=$1;;
28021 :[FH])
28022 ac_file_inputs=
28023 for ac_f
28025 case $ac_f in
28026 -) ac_f="$tmp/stdin";;
28027 *) # Look for the file first in the build tree, then in the source tree
28028 # (if the path is not absolute). The absolute path cannot be DOS-style,
28029 # because $ac_f cannot contain `:'.
28030 test -f "$ac_f" ||
28031 case $ac_f in
28032 [\\/$]*) false;;
28033 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28034 esac ||
28035 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28036 esac
28037 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28038 as_fn_append ac_file_inputs " '$ac_f'"
28039 done
28041 # Let's still pretend it is `configure' which instantiates (i.e., don't
28042 # use $as_me), people would be surprised to read:
28043 # /* config.h. Generated by config.status. */
28044 configure_input='Generated from '`
28045 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28046 `' by configure.'
28047 if test x"$ac_file" != x-; then
28048 configure_input="$ac_file. $configure_input"
28049 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28050 $as_echo "$as_me: creating $ac_file" >&6;}
28052 # Neutralize special characters interpreted by sed in replacement strings.
28053 case $configure_input in #(
28054 *\&* | *\|* | *\\* )
28055 ac_sed_conf_input=`$as_echo "$configure_input" |
28056 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28057 *) ac_sed_conf_input=$configure_input;;
28058 esac
28060 case $ac_tag in
28061 *:-:* | *:-) cat >"$tmp/stdin" \
28062 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
28063 esac
28065 esac
28067 ac_dir=`$as_dirname -- "$ac_file" ||
28068 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28069 X"$ac_file" : 'X\(//\)[^/]' \| \
28070 X"$ac_file" : 'X\(//\)$' \| \
28071 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28072 $as_echo X"$ac_file" |
28073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28074 s//\1/
28077 /^X\(\/\/\)[^/].*/{
28078 s//\1/
28081 /^X\(\/\/\)$/{
28082 s//\1/
28085 /^X\(\/\).*/{
28086 s//\1/
28089 s/.*/./; q'`
28090 as_dir="$ac_dir"; as_fn_mkdir_p
28091 ac_builddir=.
28093 case "$ac_dir" in
28094 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28096 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28097 # A ".." for each directory in $ac_dir_suffix.
28098 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28099 case $ac_top_builddir_sub in
28100 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28101 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28102 esac ;;
28103 esac
28104 ac_abs_top_builddir=$ac_pwd
28105 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28106 # for backward compatibility:
28107 ac_top_builddir=$ac_top_build_prefix
28109 case $srcdir in
28110 .) # We are building in place.
28111 ac_srcdir=.
28112 ac_top_srcdir=$ac_top_builddir_sub
28113 ac_abs_top_srcdir=$ac_pwd ;;
28114 [\\/]* | ?:[\\/]* ) # Absolute name.
28115 ac_srcdir=$srcdir$ac_dir_suffix;
28116 ac_top_srcdir=$srcdir
28117 ac_abs_top_srcdir=$srcdir ;;
28118 *) # Relative name.
28119 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28120 ac_top_srcdir=$ac_top_build_prefix$srcdir
28121 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28122 esac
28123 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28126 case $ac_mode in
28129 # CONFIG_FILE
28132 case $INSTALL in
28133 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28134 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28135 esac
28136 ac_MKDIR_P=$MKDIR_P
28137 case $MKDIR_P in
28138 [\\/$]* | ?:[\\/]* ) ;;
28139 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28140 esac
28141 _ACEOF
28143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28144 # If the template does not know about datarootdir, expand it.
28145 # FIXME: This hack should be removed a few years after 2.60.
28146 ac_datarootdir_hack=; ac_datarootdir_seen=
28147 ac_sed_dataroot='
28148 /datarootdir/ {
28152 /@datadir@/p
28153 /@docdir@/p
28154 /@infodir@/p
28155 /@localedir@/p
28156 /@mandir@/p'
28157 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28158 *datarootdir*) ac_datarootdir_seen=yes;;
28159 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28161 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28162 _ACEOF
28163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28164 ac_datarootdir_hack='
28165 s&@datadir@&$datadir&g
28166 s&@docdir@&$docdir&g
28167 s&@infodir@&$infodir&g
28168 s&@localedir@&$localedir&g
28169 s&@mandir@&$mandir&g
28170 s&\\\${datarootdir}&$datarootdir&g' ;;
28171 esac
28172 _ACEOF
28174 # Neutralize VPATH when `$srcdir' = `.'.
28175 # Shell code in configure.ac might set extrasub.
28176 # FIXME: do we really want to maintain this feature?
28177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28178 ac_sed_extra="$ac_vpsub
28179 $extrasub
28180 _ACEOF
28181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28183 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28184 s|@configure_input@|$ac_sed_conf_input|;t t
28185 s&@top_builddir@&$ac_top_builddir_sub&;t t
28186 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28187 s&@srcdir@&$ac_srcdir&;t t
28188 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28189 s&@top_srcdir@&$ac_top_srcdir&;t t
28190 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28191 s&@builddir@&$ac_builddir&;t t
28192 s&@abs_builddir@&$ac_abs_builddir&;t t
28193 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28194 s&@INSTALL@&$ac_INSTALL&;t t
28195 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28196 $ac_datarootdir_hack
28198 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28199 || as_fn_error "could not create $ac_file" "$LINENO" 5
28201 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28202 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28203 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28205 which seems to be undefined. Please make sure it is defined." >&5
28206 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28207 which seems to be undefined. Please make sure it is defined." >&2;}
28209 rm -f "$tmp/stdin"
28210 case $ac_file in
28211 -) cat "$tmp/out" && rm -f "$tmp/out";;
28212 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28213 esac \
28214 || as_fn_error "could not create $ac_file" "$LINENO" 5
28218 # CONFIG_HEADER
28220 if test x"$ac_file" != x-; then
28222 $as_echo "/* $configure_input */" \
28223 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28224 } >"$tmp/config.h" \
28225 || as_fn_error "could not create $ac_file" "$LINENO" 5
28226 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28228 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28229 else
28230 rm -f "$ac_file"
28231 mv "$tmp/config.h" "$ac_file" \
28232 || as_fn_error "could not create $ac_file" "$LINENO" 5
28234 else
28235 $as_echo "/* $configure_input */" \
28236 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28237 || as_fn_error "could not create -" "$LINENO" 5
28239 # Compute "$ac_file"'s index in $config_headers.
28240 _am_arg="$ac_file"
28241 _am_stamp_count=1
28242 for _am_header in $config_headers :; do
28243 case $_am_header in
28244 $_am_arg | $_am_arg:* )
28245 break ;;
28247 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28248 esac
28249 done
28250 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28251 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28252 X"$_am_arg" : 'X\(//\)[^/]' \| \
28253 X"$_am_arg" : 'X\(//\)$' \| \
28254 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28255 $as_echo X"$_am_arg" |
28256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28257 s//\1/
28260 /^X\(\/\/\)[^/].*/{
28261 s//\1/
28264 /^X\(\/\/\)$/{
28265 s//\1/
28268 /^X\(\/\).*/{
28269 s//\1/
28272 s/.*/./; q'`/stamp-h$_am_stamp_count
28275 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28276 $as_echo "$as_me: executing $ac_file commands" >&6;}
28278 esac
28281 case $ac_file$ac_mode in
28282 "default-1":C)
28283 # Only add multilib support code if we just rebuilt the top-level
28284 # Makefile.
28285 case " $CONFIG_FILES " in
28286 *" Makefile "*)
28287 ac_file=Makefile . ${multi_basedir}/config-ml.in
28289 esac ;;
28290 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28291 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28292 # are listed without --file. Let's play safe and only enable the eval
28293 # if we detect the quoting.
28294 case $CONFIG_FILES in
28295 *\'*) eval set x "$CONFIG_FILES" ;;
28296 *) set x $CONFIG_FILES ;;
28297 esac
28298 shift
28299 for mf
28301 # Strip MF so we end up with the name of the file.
28302 mf=`echo "$mf" | sed -e 's/:.*$//'`
28303 # Check whether this is an Automake generated Makefile or not.
28304 # We used to match only the files named `Makefile.in', but
28305 # some people rename them; so instead we look at the file content.
28306 # Grep'ing the first line is not enough: some people post-process
28307 # each Makefile.in and add a new line on top of each file to say so.
28308 # Grep'ing the whole file is not good either: AIX grep has a line
28309 # limit of 2048, but all sed's we know have understand at least 4000.
28310 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28311 dirpart=`$as_dirname -- "$mf" ||
28312 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28313 X"$mf" : 'X\(//\)[^/]' \| \
28314 X"$mf" : 'X\(//\)$' \| \
28315 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28316 $as_echo X"$mf" |
28317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28318 s//\1/
28321 /^X\(\/\/\)[^/].*/{
28322 s//\1/
28325 /^X\(\/\/\)$/{
28326 s//\1/
28329 /^X\(\/\).*/{
28330 s//\1/
28333 s/.*/./; q'`
28334 else
28335 continue
28337 # Extract the definition of DEPDIR, am__include, and am__quote
28338 # from the Makefile without running `make'.
28339 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28340 test -z "$DEPDIR" && continue
28341 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28342 test -z "am__include" && continue
28343 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28344 # When using ansi2knr, U may be empty or an underscore; expand it
28345 U=`sed -n 's/^U = //p' < "$mf"`
28346 # Find all dependency output files, they are included files with
28347 # $(DEPDIR) in their names. We invoke sed twice because it is the
28348 # simplest approach to changing $(DEPDIR) to its actual value in the
28349 # expansion.
28350 for file in `sed -n "
28351 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28352 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28353 # Make sure the directory exists.
28354 test -f "$dirpart/$file" && continue
28355 fdir=`$as_dirname -- "$file" ||
28356 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28357 X"$file" : 'X\(//\)[^/]' \| \
28358 X"$file" : 'X\(//\)$' \| \
28359 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28360 $as_echo X"$file" |
28361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28362 s//\1/
28365 /^X\(\/\/\)[^/].*/{
28366 s//\1/
28369 /^X\(\/\/\)$/{
28370 s//\1/
28373 /^X\(\/\).*/{
28374 s//\1/
28377 s/.*/./; q'`
28378 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28379 # echo "creating $dirpart/$file"
28380 echo '# dummy' > "$dirpart/$file"
28381 done
28382 done
28385 "libtool":C)
28387 # See if we are running on zsh, and set the options which allow our
28388 # commands through without removal of \ escapes.
28389 if test -n "${ZSH_VERSION+set}" ; then
28390 setopt NO_GLOB_SUBST
28393 cfgfile="${ofile}T"
28394 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28395 $RM "$cfgfile"
28397 cat <<_LT_EOF >> "$cfgfile"
28398 #! $SHELL
28400 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28401 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28402 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28403 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28405 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28406 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28407 # Written by Gordon Matzigkeit, 1996
28409 # This file is part of GNU Libtool.
28411 # GNU Libtool is free software; you can redistribute it and/or
28412 # modify it under the terms of the GNU General Public License as
28413 # published by the Free Software Foundation; either version 2 of
28414 # the License, or (at your option) any later version.
28416 # As a special exception to the GNU General Public License,
28417 # if you distribute this file as part of a program or library that
28418 # is built using GNU Libtool, you may include this file under the
28419 # same distribution terms that you use for the rest of that program.
28421 # GNU Libtool is distributed in the hope that it will be useful,
28422 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28423 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28424 # GNU General Public License for more details.
28426 # You should have received a copy of the GNU General Public License
28427 # along with GNU Libtool; see the file COPYING. If not, a copy
28428 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28429 # obtained by writing to the Free Software Foundation, Inc.,
28430 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28433 # The names of the tagged configurations supported by this script.
28434 available_tags="FC "
28436 # ### BEGIN LIBTOOL CONFIG
28438 # Which release of libtool.m4 was used?
28439 macro_version=$macro_version
28440 macro_revision=$macro_revision
28442 # Whether or not to build shared libraries.
28443 build_libtool_libs=$enable_shared
28445 # Whether or not to build static libraries.
28446 build_old_libs=$enable_static
28448 # What type of objects to build.
28449 pic_mode=$pic_mode
28451 # Whether or not to optimize for fast installation.
28452 fast_install=$enable_fast_install
28454 # Shell to use when invoking shell scripts.
28455 SHELL=$lt_SHELL
28457 # An echo program that protects backslashes.
28458 ECHO=$lt_ECHO
28460 # The host system.
28461 host_alias=$host_alias
28462 host=$host
28463 host_os=$host_os
28465 # The build system.
28466 build_alias=$build_alias
28467 build=$build
28468 build_os=$build_os
28470 # A sed program that does not truncate output.
28471 SED=$lt_SED
28473 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28474 Xsed="\$SED -e 1s/^X//"
28476 # A grep program that handles long lines.
28477 GREP=$lt_GREP
28479 # An ERE matcher.
28480 EGREP=$lt_EGREP
28482 # A literal string matcher.
28483 FGREP=$lt_FGREP
28485 # A BSD- or MS-compatible name lister.
28486 NM=$lt_NM
28488 # Whether we need soft or hard links.
28489 LN_S=$lt_LN_S
28491 # What is the maximum length of a command?
28492 max_cmd_len=$max_cmd_len
28494 # Object file suffix (normally "o").
28495 objext=$ac_objext
28497 # Executable file suffix (normally "").
28498 exeext=$exeext
28500 # whether the shell understands "unset".
28501 lt_unset=$lt_unset
28503 # turn spaces into newlines.
28504 SP2NL=$lt_lt_SP2NL
28506 # turn newlines into spaces.
28507 NL2SP=$lt_lt_NL2SP
28509 # An object symbol dumper.
28510 OBJDUMP=$lt_OBJDUMP
28512 # Method to check whether dependent libraries are shared objects.
28513 deplibs_check_method=$lt_deplibs_check_method
28515 # Command to use when deplibs_check_method == "file_magic".
28516 file_magic_cmd=$lt_file_magic_cmd
28518 # The archiver.
28519 AR=$lt_AR
28520 AR_FLAGS=$lt_AR_FLAGS
28522 # A symbol stripping program.
28523 STRIP=$lt_STRIP
28525 # Commands used to install an old-style archive.
28526 RANLIB=$lt_RANLIB
28527 old_postinstall_cmds=$lt_old_postinstall_cmds
28528 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28530 # Whether to use a lock for old archive extraction.
28531 lock_old_archive_extraction=$lock_old_archive_extraction
28533 # A C compiler.
28534 LTCC=$lt_CC
28536 # LTCC compiler flags.
28537 LTCFLAGS=$lt_CFLAGS
28539 # Take the output of nm and produce a listing of raw symbols and C names.
28540 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28542 # Transform the output of nm in a proper C declaration.
28543 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28545 # Transform the output of nm in a C name address pair.
28546 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28548 # Transform the output of nm in a C name address pair when lib prefix is needed.
28549 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28551 # The name of the directory that contains temporary libtool files.
28552 objdir=$objdir
28554 # Used to examine libraries when file_magic_cmd begins with "file".
28555 MAGIC_CMD=$MAGIC_CMD
28557 # Must we lock files when doing compilation?
28558 need_locks=$lt_need_locks
28560 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28561 DSYMUTIL=$lt_DSYMUTIL
28563 # Tool to change global to local symbols on Mac OS X.
28564 NMEDIT=$lt_NMEDIT
28566 # Tool to manipulate fat objects and archives on Mac OS X.
28567 LIPO=$lt_LIPO
28569 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28570 OTOOL=$lt_OTOOL
28572 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28573 OTOOL64=$lt_OTOOL64
28575 # Old archive suffix (normally "a").
28576 libext=$libext
28578 # Shared library suffix (normally ".so").
28579 shrext_cmds=$lt_shrext_cmds
28581 # The commands to extract the exported symbol list from a shared archive.
28582 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28584 # Variables whose values should be saved in libtool wrapper scripts and
28585 # restored at link time.
28586 variables_saved_for_relink=$lt_variables_saved_for_relink
28588 # Do we need the "lib" prefix for modules?
28589 need_lib_prefix=$need_lib_prefix
28591 # Do we need a version for libraries?
28592 need_version=$need_version
28594 # Library versioning type.
28595 version_type=$version_type
28597 # Shared library runtime path variable.
28598 runpath_var=$runpath_var
28600 # Shared library path variable.
28601 shlibpath_var=$shlibpath_var
28603 # Is shlibpath searched before the hard-coded library search path?
28604 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28606 # Format of library name prefix.
28607 libname_spec=$lt_libname_spec
28609 # List of archive names. First name is the real one, the rest are links.
28610 # The last name is the one that the linker finds with -lNAME
28611 library_names_spec=$lt_library_names_spec
28613 # The coded name of the library, if different from the real name.
28614 soname_spec=$lt_soname_spec
28616 # Permission mode override for installation of shared libraries.
28617 install_override_mode=$lt_install_override_mode
28619 # Command to use after installation of a shared archive.
28620 postinstall_cmds=$lt_postinstall_cmds
28622 # Command to use after uninstallation of a shared archive.
28623 postuninstall_cmds=$lt_postuninstall_cmds
28625 # Commands used to finish a libtool library installation in a directory.
28626 finish_cmds=$lt_finish_cmds
28628 # As "finish_cmds", except a single script fragment to be evaled but
28629 # not shown.
28630 finish_eval=$lt_finish_eval
28632 # Whether we should hardcode library paths into libraries.
28633 hardcode_into_libs=$hardcode_into_libs
28635 # Compile-time system search path for libraries.
28636 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28638 # Run-time system search path for libraries.
28639 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28641 # Whether dlopen is supported.
28642 dlopen_support=$enable_dlopen
28644 # Whether dlopen of programs is supported.
28645 dlopen_self=$enable_dlopen_self
28647 # Whether dlopen of statically linked programs is supported.
28648 dlopen_self_static=$enable_dlopen_self_static
28650 # Commands to strip libraries.
28651 old_striplib=$lt_old_striplib
28652 striplib=$lt_striplib
28655 # The linker used to build libraries.
28656 LD=$lt_LD
28658 # How to create reloadable object files.
28659 reload_flag=$lt_reload_flag
28660 reload_cmds=$lt_reload_cmds
28662 # Commands used to build an old-style archive.
28663 old_archive_cmds=$lt_old_archive_cmds
28665 # A language specific compiler.
28666 CC=$lt_compiler
28668 # Is the compiler the GNU compiler?
28669 with_gcc=$GCC
28671 # Compiler flag to turn off builtin functions.
28672 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28674 # How to pass a linker flag through the compiler.
28675 wl=$lt_lt_prog_compiler_wl
28677 # Additional compiler flags for building library objects.
28678 pic_flag=$lt_lt_prog_compiler_pic
28680 # Compiler flag to prevent dynamic linking.
28681 link_static_flag=$lt_lt_prog_compiler_static
28683 # Does compiler simultaneously support -c and -o options?
28684 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28686 # Whether or not to add -lc for building shared libraries.
28687 build_libtool_need_lc=$archive_cmds_need_lc
28689 # Whether or not to disallow shared libs when runtime libs are static.
28690 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28692 # Compiler flag to allow reflexive dlopens.
28693 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28695 # Compiler flag to generate shared objects directly from archives.
28696 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28698 # Whether the compiler copes with passing no objects directly.
28699 compiler_needs_object=$lt_compiler_needs_object
28701 # Create an old-style archive from a shared archive.
28702 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28704 # Create a temporary old-style archive to link instead of a shared archive.
28705 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28707 # Commands used to build a shared archive.
28708 archive_cmds=$lt_archive_cmds
28709 archive_expsym_cmds=$lt_archive_expsym_cmds
28711 # Commands used to build a loadable module if different from building
28712 # a shared archive.
28713 module_cmds=$lt_module_cmds
28714 module_expsym_cmds=$lt_module_expsym_cmds
28716 # Whether we are building with GNU ld or not.
28717 with_gnu_ld=$lt_with_gnu_ld
28719 # Flag that allows shared libraries with undefined symbols to be built.
28720 allow_undefined_flag=$lt_allow_undefined_flag
28722 # Flag that enforces no undefined symbols.
28723 no_undefined_flag=$lt_no_undefined_flag
28725 # Flag to hardcode \$libdir into a binary during linking.
28726 # This must work even if \$libdir does not exist
28727 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28729 # If ld is used when linking, flag to hardcode \$libdir into a binary
28730 # during linking. This must work even if \$libdir does not exist.
28731 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28733 # Whether we need a single "-rpath" flag with a separated argument.
28734 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28736 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28737 # DIR into the resulting binary.
28738 hardcode_direct=$hardcode_direct
28740 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28741 # DIR into the resulting binary and the resulting library dependency is
28742 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28743 # library is relocated.
28744 hardcode_direct_absolute=$hardcode_direct_absolute
28746 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28747 # into the resulting binary.
28748 hardcode_minus_L=$hardcode_minus_L
28750 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28751 # into the resulting binary.
28752 hardcode_shlibpath_var=$hardcode_shlibpath_var
28754 # Set to "yes" if building a shared library automatically hardcodes DIR
28755 # into the library and all subsequent libraries and executables linked
28756 # against it.
28757 hardcode_automatic=$hardcode_automatic
28759 # Set to yes if linker adds runtime paths of dependent libraries
28760 # to runtime path list.
28761 inherit_rpath=$inherit_rpath
28763 # Whether libtool must link a program against all its dependency libraries.
28764 link_all_deplibs=$link_all_deplibs
28766 # Fix the shell variable \$srcfile for the compiler.
28767 fix_srcfile_path=$lt_fix_srcfile_path
28769 # Set to "yes" if exported symbols are required.
28770 always_export_symbols=$always_export_symbols
28772 # The commands to list exported symbols.
28773 export_symbols_cmds=$lt_export_symbols_cmds
28775 # Symbols that should not be listed in the preloaded symbols.
28776 exclude_expsyms=$lt_exclude_expsyms
28778 # Symbols that must always be exported.
28779 include_expsyms=$lt_include_expsyms
28781 # Commands necessary for linking programs (against libraries) with templates.
28782 prelink_cmds=$lt_prelink_cmds
28784 # Specify filename containing input files.
28785 file_list_spec=$lt_file_list_spec
28787 # How to hardcode a shared library path into an executable.
28788 hardcode_action=$hardcode_action
28790 # The directories searched by this compiler when creating a shared library.
28791 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28793 # Dependencies to place before and after the objects being linked to
28794 # create a shared library.
28795 predep_objects=$lt_predep_objects
28796 postdep_objects=$lt_postdep_objects
28797 predeps=$lt_predeps
28798 postdeps=$lt_postdeps
28800 # The library search path used internally by the compiler when linking
28801 # a shared library.
28802 compiler_lib_search_path=$lt_compiler_lib_search_path
28804 # ### END LIBTOOL CONFIG
28806 _LT_EOF
28808 case $host_os in
28809 aix3*)
28810 cat <<\_LT_EOF >> "$cfgfile"
28811 # AIX sometimes has problems with the GCC collect2 program. For some
28812 # reason, if we set the COLLECT_NAMES environment variable, the problems
28813 # vanish in a puff of smoke.
28814 if test "X${COLLECT_NAMES+set}" != Xset; then
28815 COLLECT_NAMES=
28816 export COLLECT_NAMES
28818 _LT_EOF
28820 esac
28823 ltmain="$ac_aux_dir/ltmain.sh"
28826 # We use sed instead of cat because bash on DJGPP gets confused if
28827 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28828 # text mode, it properly converts lines to CR/LF. This bash problem
28829 # is reportedly fixed, but why not run on old versions too?
28830 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28831 || (rm -f "$cfgfile"; exit 1)
28833 case $xsi_shell in
28834 yes)
28835 cat << \_LT_EOF >> "$cfgfile"
28837 # func_dirname file append nondir_replacement
28838 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28839 # otherwise set result to NONDIR_REPLACEMENT.
28840 func_dirname ()
28842 case ${1} in
28843 */*) func_dirname_result="${1%/*}${2}" ;;
28844 * ) func_dirname_result="${3}" ;;
28845 esac
28848 # func_basename file
28849 func_basename ()
28851 func_basename_result="${1##*/}"
28854 # func_dirname_and_basename file append nondir_replacement
28855 # perform func_basename and func_dirname in a single function
28856 # call:
28857 # dirname: Compute the dirname of FILE. If nonempty,
28858 # add APPEND to the result, otherwise set result
28859 # to NONDIR_REPLACEMENT.
28860 # value returned in "$func_dirname_result"
28861 # basename: Compute filename of FILE.
28862 # value retuned in "$func_basename_result"
28863 # Implementation must be kept synchronized with func_dirname
28864 # and func_basename. For efficiency, we do not delegate to
28865 # those functions but instead duplicate the functionality here.
28866 func_dirname_and_basename ()
28868 case ${1} in
28869 */*) func_dirname_result="${1%/*}${2}" ;;
28870 * ) func_dirname_result="${3}" ;;
28871 esac
28872 func_basename_result="${1##*/}"
28875 # func_stripname prefix suffix name
28876 # strip PREFIX and SUFFIX off of NAME.
28877 # PREFIX and SUFFIX must not contain globbing or regex special
28878 # characters, hashes, percent signs, but SUFFIX may contain a leading
28879 # dot (in which case that matches only a dot).
28880 func_stripname ()
28882 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28883 # positional parameters, so assign one to ordinary parameter first.
28884 func_stripname_result=${3}
28885 func_stripname_result=${func_stripname_result#"${1}"}
28886 func_stripname_result=${func_stripname_result%"${2}"}
28889 # func_opt_split
28890 func_opt_split ()
28892 func_opt_split_opt=${1%%=*}
28893 func_opt_split_arg=${1#*=}
28896 # func_lo2o object
28897 func_lo2o ()
28899 case ${1} in
28900 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28901 *) func_lo2o_result=${1} ;;
28902 esac
28905 # func_xform libobj-or-source
28906 func_xform ()
28908 func_xform_result=${1%.*}.lo
28911 # func_arith arithmetic-term...
28912 func_arith ()
28914 func_arith_result=$(( $* ))
28917 # func_len string
28918 # STRING may not start with a hyphen.
28919 func_len ()
28921 func_len_result=${#1}
28924 _LT_EOF
28926 *) # Bourne compatible functions.
28927 cat << \_LT_EOF >> "$cfgfile"
28929 # func_dirname file append nondir_replacement
28930 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28931 # otherwise set result to NONDIR_REPLACEMENT.
28932 func_dirname ()
28934 # Extract subdirectory from the argument.
28935 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28936 if test "X$func_dirname_result" = "X${1}"; then
28937 func_dirname_result="${3}"
28938 else
28939 func_dirname_result="$func_dirname_result${2}"
28943 # func_basename file
28944 func_basename ()
28946 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28950 # func_stripname prefix suffix name
28951 # strip PREFIX and SUFFIX off of NAME.
28952 # PREFIX and SUFFIX must not contain globbing or regex special
28953 # characters, hashes, percent signs, but SUFFIX may contain a leading
28954 # dot (in which case that matches only a dot).
28955 # func_strip_suffix prefix name
28956 func_stripname ()
28958 case ${2} in
28959 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28960 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28961 esac
28964 # sed scripts:
28965 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28966 my_sed_long_arg='1s/^-[^=]*=//'
28968 # func_opt_split
28969 func_opt_split ()
28971 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28972 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28975 # func_lo2o object
28976 func_lo2o ()
28978 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28981 # func_xform libobj-or-source
28982 func_xform ()
28984 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28987 # func_arith arithmetic-term...
28988 func_arith ()
28990 func_arith_result=`expr "$@"`
28993 # func_len string
28994 # STRING may not start with a hyphen.
28995 func_len ()
28997 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29000 _LT_EOF
29001 esac
29003 case $lt_shell_append in
29004 yes)
29005 cat << \_LT_EOF >> "$cfgfile"
29007 # func_append var value
29008 # Append VALUE to the end of shell variable VAR.
29009 func_append ()
29011 eval "$1+=\$2"
29013 _LT_EOF
29016 cat << \_LT_EOF >> "$cfgfile"
29018 # func_append var value
29019 # Append VALUE to the end of shell variable VAR.
29020 func_append ()
29022 eval "$1=\$$1\$2"
29025 _LT_EOF
29027 esac
29030 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29031 || (rm -f "$cfgfile"; exit 1)
29033 mv -f "$cfgfile" "$ofile" ||
29034 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29035 chmod +x "$ofile"
29038 cat <<_LT_EOF >> "$ofile"
29040 # ### BEGIN LIBTOOL TAG CONFIG: FC
29042 # The linker used to build libraries.
29043 LD=$lt_LD_FC
29045 # How to create reloadable object files.
29046 reload_flag=$lt_reload_flag_FC
29047 reload_cmds=$lt_reload_cmds_FC
29049 # Commands used to build an old-style archive.
29050 old_archive_cmds=$lt_old_archive_cmds_FC
29052 # A language specific compiler.
29053 CC=$lt_compiler_FC
29055 # Is the compiler the GNU compiler?
29056 with_gcc=$GCC_FC
29058 # Compiler flag to turn off builtin functions.
29059 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29061 # How to pass a linker flag through the compiler.
29062 wl=$lt_lt_prog_compiler_wl_FC
29064 # Additional compiler flags for building library objects.
29065 pic_flag=$lt_lt_prog_compiler_pic_FC
29067 # Compiler flag to prevent dynamic linking.
29068 link_static_flag=$lt_lt_prog_compiler_static_FC
29070 # Does compiler simultaneously support -c and -o options?
29071 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29073 # Whether or not to add -lc for building shared libraries.
29074 build_libtool_need_lc=$archive_cmds_need_lc_FC
29076 # Whether or not to disallow shared libs when runtime libs are static.
29077 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29079 # Compiler flag to allow reflexive dlopens.
29080 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29082 # Compiler flag to generate shared objects directly from archives.
29083 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29085 # Whether the compiler copes with passing no objects directly.
29086 compiler_needs_object=$lt_compiler_needs_object_FC
29088 # Create an old-style archive from a shared archive.
29089 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29091 # Create a temporary old-style archive to link instead of a shared archive.
29092 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29094 # Commands used to build a shared archive.
29095 archive_cmds=$lt_archive_cmds_FC
29096 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29098 # Commands used to build a loadable module if different from building
29099 # a shared archive.
29100 module_cmds=$lt_module_cmds_FC
29101 module_expsym_cmds=$lt_module_expsym_cmds_FC
29103 # Whether we are building with GNU ld or not.
29104 with_gnu_ld=$lt_with_gnu_ld_FC
29106 # Flag that allows shared libraries with undefined symbols to be built.
29107 allow_undefined_flag=$lt_allow_undefined_flag_FC
29109 # Flag that enforces no undefined symbols.
29110 no_undefined_flag=$lt_no_undefined_flag_FC
29112 # Flag to hardcode \$libdir into a binary during linking.
29113 # This must work even if \$libdir does not exist
29114 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29116 # If ld is used when linking, flag to hardcode \$libdir into a binary
29117 # during linking. This must work even if \$libdir does not exist.
29118 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29120 # Whether we need a single "-rpath" flag with a separated argument.
29121 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29123 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29124 # DIR into the resulting binary.
29125 hardcode_direct=$hardcode_direct_FC
29127 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29128 # DIR into the resulting binary and the resulting library dependency is
29129 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29130 # library is relocated.
29131 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29133 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29134 # into the resulting binary.
29135 hardcode_minus_L=$hardcode_minus_L_FC
29137 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29138 # into the resulting binary.
29139 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29141 # Set to "yes" if building a shared library automatically hardcodes DIR
29142 # into the library and all subsequent libraries and executables linked
29143 # against it.
29144 hardcode_automatic=$hardcode_automatic_FC
29146 # Set to yes if linker adds runtime paths of dependent libraries
29147 # to runtime path list.
29148 inherit_rpath=$inherit_rpath_FC
29150 # Whether libtool must link a program against all its dependency libraries.
29151 link_all_deplibs=$link_all_deplibs_FC
29153 # Fix the shell variable \$srcfile for the compiler.
29154 fix_srcfile_path=$lt_fix_srcfile_path_FC
29156 # Set to "yes" if exported symbols are required.
29157 always_export_symbols=$always_export_symbols_FC
29159 # The commands to list exported symbols.
29160 export_symbols_cmds=$lt_export_symbols_cmds_FC
29162 # Symbols that should not be listed in the preloaded symbols.
29163 exclude_expsyms=$lt_exclude_expsyms_FC
29165 # Symbols that must always be exported.
29166 include_expsyms=$lt_include_expsyms_FC
29168 # Commands necessary for linking programs (against libraries) with templates.
29169 prelink_cmds=$lt_prelink_cmds_FC
29171 # Specify filename containing input files.
29172 file_list_spec=$lt_file_list_spec_FC
29174 # How to hardcode a shared library path into an executable.
29175 hardcode_action=$hardcode_action_FC
29177 # The directories searched by this compiler when creating a shared library.
29178 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29180 # Dependencies to place before and after the objects being linked to
29181 # create a shared library.
29182 predep_objects=$lt_predep_objects_FC
29183 postdep_objects=$lt_postdep_objects_FC
29184 predeps=$lt_predeps_FC
29185 postdeps=$lt_postdeps_FC
29187 # The library search path used internally by the compiler when linking
29188 # a shared library.
29189 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29191 # ### END LIBTOOL TAG CONFIG: FC
29192 _LT_EOF
29195 "gstdint.h":C)
29196 if test "$GCC" = yes; then
29197 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29198 else
29199 echo "/* generated for $CC */" > tmp-stdint.h
29202 sed 's/^ *//' >> tmp-stdint.h <<EOF
29204 #ifndef GCC_GENERATED_STDINT_H
29205 #define GCC_GENERATED_STDINT_H 1
29207 #include <sys/types.h>
29210 if test "$acx_cv_header_stdint" != stdint.h; then
29211 echo "#include <stddef.h>" >> tmp-stdint.h
29213 if test "$acx_cv_header_stdint" != stddef.h; then
29214 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29217 sed 's/^ *//' >> tmp-stdint.h <<EOF
29218 /* glibc uses these symbols as guards to prevent redefinitions. */
29219 #ifdef __int8_t_defined
29220 #define _INT8_T
29221 #define _INT16_T
29222 #define _INT32_T
29223 #endif
29224 #ifdef __uint32_t_defined
29225 #define _UINT32_T
29226 #endif
29230 # ----------------- done header, emit basic int types -------------
29231 if test "$acx_cv_header_stdint" = stddef.h; then
29232 sed 's/^ *//' >> tmp-stdint.h <<EOF
29234 #ifndef _UINT8_T
29235 #define _UINT8_T
29236 #ifndef __uint8_t_defined
29237 #define __uint8_t_defined
29238 #ifndef uint8_t
29239 typedef unsigned $acx_cv_type_int8_t uint8_t;
29240 #endif
29241 #endif
29242 #endif
29244 #ifndef _UINT16_T
29245 #define _UINT16_T
29246 #ifndef __uint16_t_defined
29247 #define __uint16_t_defined
29248 #ifndef uint16_t
29249 typedef unsigned $acx_cv_type_int16_t uint16_t;
29250 #endif
29251 #endif
29252 #endif
29254 #ifndef _UINT32_T
29255 #define _UINT32_T
29256 #ifndef __uint32_t_defined
29257 #define __uint32_t_defined
29258 #ifndef uint32_t
29259 typedef unsigned $acx_cv_type_int32_t uint32_t;
29260 #endif
29261 #endif
29262 #endif
29264 #ifndef _INT8_T
29265 #define _INT8_T
29266 #ifndef __int8_t_defined
29267 #define __int8_t_defined
29268 #ifndef int8_t
29269 typedef $acx_cv_type_int8_t int8_t;
29270 #endif
29271 #endif
29272 #endif
29274 #ifndef _INT16_T
29275 #define _INT16_T
29276 #ifndef __int16_t_defined
29277 #define __int16_t_defined
29278 #ifndef int16_t
29279 typedef $acx_cv_type_int16_t int16_t;
29280 #endif
29281 #endif
29282 #endif
29284 #ifndef _INT32_T
29285 #define _INT32_T
29286 #ifndef __int32_t_defined
29287 #define __int32_t_defined
29288 #ifndef int32_t
29289 typedef $acx_cv_type_int32_t int32_t;
29290 #endif
29291 #endif
29292 #endif
29294 elif test "$ac_cv_type_u_int32_t" = yes; then
29295 sed 's/^ *//' >> tmp-stdint.h <<EOF
29297 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29298 #ifndef _INT8_T
29299 #define _INT8_T
29300 #endif
29301 #ifndef _INT16_T
29302 #define _INT16_T
29303 #endif
29304 #ifndef _INT32_T
29305 #define _INT32_T
29306 #endif
29308 #ifndef _UINT8_T
29309 #define _UINT8_T
29310 #ifndef __uint8_t_defined
29311 #define __uint8_t_defined
29312 #ifndef uint8_t
29313 typedef u_int8_t uint8_t;
29314 #endif
29315 #endif
29316 #endif
29318 #ifndef _UINT16_T
29319 #define _UINT16_T
29320 #ifndef __uint16_t_defined
29321 #define __uint16_t_defined
29322 #ifndef uint16_t
29323 typedef u_int16_t uint16_t;
29324 #endif
29325 #endif
29326 #endif
29328 #ifndef _UINT32_T
29329 #define _UINT32_T
29330 #ifndef __uint32_t_defined
29331 #define __uint32_t_defined
29332 #ifndef uint32_t
29333 typedef u_int32_t uint32_t;
29334 #endif
29335 #endif
29336 #endif
29338 else
29339 sed 's/^ *//' >> tmp-stdint.h <<EOF
29341 /* Some systems have guard macros to prevent redefinitions, define them. */
29342 #ifndef _INT8_T
29343 #define _INT8_T
29344 #endif
29345 #ifndef _INT16_T
29346 #define _INT16_T
29347 #endif
29348 #ifndef _INT32_T
29349 #define _INT32_T
29350 #endif
29351 #ifndef _UINT8_T
29352 #define _UINT8_T
29353 #endif
29354 #ifndef _UINT16_T
29355 #define _UINT16_T
29356 #endif
29357 #ifndef _UINT32_T
29358 #define _UINT32_T
29359 #endif
29363 # ------------- done basic int types, emit int64_t types ------------
29364 if test "$ac_cv_type_uint64_t" = yes; then
29365 sed 's/^ *//' >> tmp-stdint.h <<EOF
29367 /* system headers have good uint64_t and int64_t */
29368 #ifndef _INT64_T
29369 #define _INT64_T
29370 #endif
29371 #ifndef _UINT64_T
29372 #define _UINT64_T
29373 #endif
29375 elif test "$ac_cv_type_u_int64_t" = yes; then
29376 sed 's/^ *//' >> tmp-stdint.h <<EOF
29378 /* system headers have an u_int64_t (and int64_t) */
29379 #ifndef _INT64_T
29380 #define _INT64_T
29381 #endif
29382 #ifndef _UINT64_T
29383 #define _UINT64_T
29384 #ifndef __uint64_t_defined
29385 #define __uint64_t_defined
29386 #ifndef uint64_t
29387 typedef u_int64_t uint64_t;
29388 #endif
29389 #endif
29390 #endif
29392 elif test -n "$acx_cv_type_int64_t"; then
29393 sed 's/^ *//' >> tmp-stdint.h <<EOF
29395 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29396 #ifndef _INT64_T
29397 #define _INT64_T
29398 #ifndef int64_t
29399 typedef $acx_cv_type_int64_t int64_t;
29400 #endif
29401 #endif
29402 #ifndef _UINT64_T
29403 #define _UINT64_T
29404 #ifndef __uint64_t_defined
29405 #define __uint64_t_defined
29406 #ifndef uint64_t
29407 typedef unsigned $acx_cv_type_int64_t uint64_t;
29408 #endif
29409 #endif
29410 #endif
29412 else
29413 sed 's/^ *//' >> tmp-stdint.h <<EOF
29415 /* some common heuristics for int64_t, using compiler-specific tests */
29416 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29417 #ifndef _INT64_T
29418 #define _INT64_T
29419 #ifndef __int64_t_defined
29420 #ifndef int64_t
29421 typedef long long int64_t;
29422 #endif
29423 #endif
29424 #endif
29425 #ifndef _UINT64_T
29426 #define _UINT64_T
29427 #ifndef uint64_t
29428 typedef unsigned long long uint64_t;
29429 #endif
29430 #endif
29432 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29433 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29434 does not implement __extension__. But that compiler doesn't define
29435 __GNUC_MINOR__. */
29436 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29437 # define __extension__
29438 # endif
29440 # ifndef _INT64_T
29441 # define _INT64_T
29442 # ifndef int64_t
29443 __extension__ typedef long long int64_t;
29444 # endif
29445 # endif
29446 # ifndef _UINT64_T
29447 # define _UINT64_T
29448 # ifndef uint64_t
29449 __extension__ typedef unsigned long long uint64_t;
29450 # endif
29451 # endif
29453 #elif !defined __STRICT_ANSI__
29454 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29456 # ifndef _INT64_T
29457 # define _INT64_T
29458 # ifndef int64_t
29459 typedef __int64 int64_t;
29460 # endif
29461 # endif
29462 # ifndef _UINT64_T
29463 # define _UINT64_T
29464 # ifndef uint64_t
29465 typedef unsigned __int64 uint64_t;
29466 # endif
29467 # endif
29468 # endif /* compiler */
29470 #endif /* ANSI version */
29474 # ------------- done int64_t types, emit intptr types ------------
29475 if test "$ac_cv_type_uintptr_t" != yes; then
29476 sed 's/^ *//' >> tmp-stdint.h <<EOF
29478 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29479 #ifndef __uintptr_t_defined
29480 #ifndef uintptr_t
29481 typedef u$acx_cv_type_intptr_t uintptr_t;
29482 #endif
29483 #endif
29484 #ifndef __intptr_t_defined
29485 #ifndef intptr_t
29486 typedef $acx_cv_type_intptr_t intptr_t;
29487 #endif
29488 #endif
29492 # ------------- done intptr types, emit int_least types ------------
29493 if test "$ac_cv_type_int_least32_t" != yes; then
29494 sed 's/^ *//' >> tmp-stdint.h <<EOF
29496 /* Define int_least types */
29497 typedef int8_t int_least8_t;
29498 typedef int16_t int_least16_t;
29499 typedef int32_t int_least32_t;
29500 #ifdef _INT64_T
29501 typedef int64_t int_least64_t;
29502 #endif
29504 typedef uint8_t uint_least8_t;
29505 typedef uint16_t uint_least16_t;
29506 typedef uint32_t uint_least32_t;
29507 #ifdef _UINT64_T
29508 typedef uint64_t uint_least64_t;
29509 #endif
29513 # ------------- done intptr types, emit int_fast types ------------
29514 if test "$ac_cv_type_int_fast32_t" != yes; then
29515 sed 's/^ *//' >> tmp-stdint.h <<EOF
29517 /* Define int_fast types. short is often slow */
29518 typedef int8_t int_fast8_t;
29519 typedef int int_fast16_t;
29520 typedef int32_t int_fast32_t;
29521 #ifdef _INT64_T
29522 typedef int64_t int_fast64_t;
29523 #endif
29525 typedef uint8_t uint_fast8_t;
29526 typedef unsigned int uint_fast16_t;
29527 typedef uint32_t uint_fast32_t;
29528 #ifdef _UINT64_T
29529 typedef uint64_t uint_fast64_t;
29530 #endif
29534 if test "$ac_cv_type_uintmax_t" != yes; then
29535 sed 's/^ *//' >> tmp-stdint.h <<EOF
29537 /* Define intmax based on what we found */
29538 #ifndef intmax_t
29539 #ifdef _INT64_T
29540 typedef int64_t intmax_t;
29541 #else
29542 typedef long intmax_t;
29543 #endif
29544 #endif
29545 #ifndef uintmax_t
29546 #ifdef _UINT64_T
29547 typedef uint64_t uintmax_t;
29548 #else
29549 typedef unsigned long uintmax_t;
29550 #endif
29551 #endif
29555 sed 's/^ *//' >> tmp-stdint.h <<EOF
29557 #endif /* GCC_GENERATED_STDINT_H */
29560 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29561 rm -f tmp-stdint.h
29562 else
29563 mv -f tmp-stdint.h gstdint.h
29568 esac
29569 done # for ac_tag
29572 as_fn_exit 0
29573 _ACEOF
29574 ac_clean_files=$ac_clean_files_save
29576 test $ac_write_fail = 0 ||
29577 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29580 # configure is writing to config.log, and then calls config.status.
29581 # config.status does its own redirection, appending to config.log.
29582 # Unfortunately, on DOS this fails, as config.log is still kept open
29583 # by configure, so config.status won't be able to write to it; its
29584 # output is simply discarded. So we exec the FD to /dev/null,
29585 # effectively closing config.log, so it can be properly (re)opened and
29586 # appended to by config.status. When coming back to configure, we
29587 # need to make the FD available again.
29588 if test "$no_create" != yes; then
29589 ac_cs_success=:
29590 ac_config_status_args=
29591 test "$silent" = yes &&
29592 ac_config_status_args="$ac_config_status_args --quiet"
29593 exec 5>/dev/null
29594 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29595 exec 5>>config.log
29596 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29597 # would make configure fail if this is the last instruction.
29598 $ac_cs_success || as_fn_exit $?
29600 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29602 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}