[Patch 2/7 s390] Deprecate *_BY_PIECES_P, move to hookized version
[official-gcc.git] / libgfortran / configure
blobdf1782929ac27b5b3f3c014b71649bbb416f262a
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 IEEE_SUPPORT
610 IEEE_SUPPORT_FALSE
611 IEEE_SUPPORT_TRUE
612 FPU_HOST_HEADER
613 LIBGFOR_BUILD_QUAD_FALSE
614 LIBGFOR_BUILD_QUAD_TRUE
615 LIBQUADINCLUDE
616 LIBQUADLIB_DEP
617 LIBQUADLIB
618 LIBQUADSPEC
619 extra_ldflags_libgfortran
620 ac_ct_FC
621 FCFLAGS
623 enable_static
624 enable_shared
625 lt_host_flags
626 OTOOL64
627 OTOOL
628 LIPO
629 NMEDIT
630 DSYMUTIL
631 OBJDUMP
632 LN_S
634 ac_ct_DUMPBIN
635 DUMPBIN
637 FGREP
639 LIBTOOL
640 RANLIB
643 SECTION_FLAGS
644 LIBGFOR_USE_SYMVER_SUN_FALSE
645 LIBGFOR_USE_SYMVER_SUN_TRUE
646 LIBGFOR_USE_SYMVER_GNU_FALSE
647 LIBGFOR_USE_SYMVER_GNU_TRUE
648 LIBGFOR_USE_SYMVER_FALSE
649 LIBGFOR_USE_SYMVER_TRUE
650 AM_CFLAGS
651 AM_FCFLAGS
652 toolexeclibdir
653 toolexecdir
654 EGREP
655 GREP
657 am__fastdepCC_FALSE
658 am__fastdepCC_TRUE
659 CCDEPMODE
660 am__nodep
661 AMDEPBACKSLASH
662 AMDEP_FALSE
663 AMDEP_TRUE
664 am__quote
665 am__include
666 DEPDIR
667 OBJEXT
668 EXEEXT
669 ac_ct_CC
670 CPPFLAGS
671 LDFLAGS
672 CFLAGS
674 multi_basedir
675 MAINT
676 MAINTAINER_MODE_FALSE
677 MAINTAINER_MODE_TRUE
678 am__untar
679 am__tar
680 AMTAR
681 am__leading_dot
682 SET_MAKE
684 mkdir_p
685 MKDIR_P
686 INSTALL_STRIP_PROGRAM
687 STRIP
688 install_sh
689 MAKEINFO
690 AUTOHEADER
691 AUTOMAKE
692 AUTOCONF
693 ACLOCAL
694 VERSION
695 PACKAGE
696 CYGPATH_W
697 am__isrc
698 INSTALL_DATA
699 INSTALL_SCRIPT
700 INSTALL_PROGRAM
701 target_noncanonical
702 target_os
703 target_vendor
704 target_cpu
705 target
706 host_os
707 host_vendor
708 host_cpu
709 host
710 onestep
711 onestep_FALSE
712 onestep_TRUE
713 target_subdir
714 host_subdir
715 build_subdir
716 build_libsubdir
717 build_os
718 build_vendor
719 build_cpu
720 build
721 target_alias
722 host_alias
723 build_alias
724 LIBS
725 ECHO_T
726 ECHO_N
727 ECHO_C
728 DEFS
729 mandir
730 localedir
731 libdir
732 psdir
733 pdfdir
734 dvidir
735 htmldir
736 infodir
737 docdir
738 oldincludedir
739 includedir
740 localstatedir
741 sharedstatedir
742 sysconfdir
743 datadir
744 datarootdir
745 libexecdir
746 sbindir
747 bindir
748 program_transform_name
749 prefix
750 exec_prefix
751 PACKAGE_URL
752 PACKAGE_BUGREPORT
753 PACKAGE_STRING
754 PACKAGE_VERSION
755 PACKAGE_TARNAME
756 PACKAGE_NAME
757 PATH_SEPARATOR
758 SHELL'
759 ac_subst_files=''
760 ac_user_opts='
761 enable_option_checking
762 with_build_libsubdir
763 enable_version_specific_runtime_libs
764 enable_intermodule
765 enable_maintainer_mode
766 enable_multilib
767 enable_dependency_tracking
768 enable_symvers
769 enable_shared
770 enable_static
771 with_pic
772 enable_fast_install
773 with_gnu_ld
774 enable_libtool_lock
775 enable_largefile
776 enable_libquadmath_support
777 with_system_libunwind
779 ac_precious_vars='build_alias
780 host_alias
781 target_alias
783 CFLAGS
784 LDFLAGS
785 LIBS
786 CPPFLAGS
789 FCFLAGS'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 ac_unrecognized_opts=
796 ac_unrecognized_sep=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
799 cache_file=/dev/null
800 exec_prefix=NONE
801 no_create=
802 no_recursion=
803 prefix=NONE
804 program_prefix=NONE
805 program_suffix=NONE
806 program_transform_name=s,x,x,
807 silent=
808 site=
809 srcdir=
810 verbose=
811 x_includes=NONE
812 x_libraries=NONE
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 includedir='${prefix}/include'
829 oldincludedir='/usr/include'
830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir='${datarootdir}/info'
832 htmldir='${docdir}'
833 dvidir='${docdir}'
834 pdfdir='${docdir}'
835 psdir='${docdir}'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
840 ac_prev=
841 ac_dashdash=
842 for ac_option
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
847 ac_prev=
848 continue
851 case $ac_option in
852 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 *) ac_optarg=yes ;;
854 esac
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
860 ac_dashdash=yes ;;
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
863 ac_prev=bindir ;;
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865 bindir=$ac_optarg ;;
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
879 --config-cache | -C)
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
883 ac_prev=datadir ;;
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 as_fn_error "invalid feature name: $ac_useropt"
899 ac_useropt_orig=$ac_useropt
900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
903 "enable_$ac_useropt"
904 "*) ;;
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
906 ac_unrecognized_sep=', ';;
907 esac
908 eval enable_$ac_useropt=no ;;
910 -docdir | --docdir | --docdi | --doc | --do)
911 ac_prev=docdir ;;
912 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
913 docdir=$ac_optarg ;;
915 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
916 ac_prev=dvidir ;;
917 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
918 dvidir=$ac_optarg ;;
920 -enable-* | --enable-*)
921 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
924 as_fn_error "invalid feature name: $ac_useropt"
925 ac_useropt_orig=$ac_useropt
926 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 case $ac_user_opts in
929 "enable_$ac_useropt"
930 "*) ;;
931 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
932 ac_unrecognized_sep=', ';;
933 esac
934 eval enable_$ac_useropt=\$ac_optarg ;;
936 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
937 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
938 | --exec | --exe | --ex)
939 ac_prev=exec_prefix ;;
940 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
941 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
942 | --exec=* | --exe=* | --ex=*)
943 exec_prefix=$ac_optarg ;;
945 -gas | --gas | --ga | --g)
946 # Obsolete; use --with-gas.
947 with_gas=yes ;;
949 -help | --help | --hel | --he | -h)
950 ac_init_help=long ;;
951 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
952 ac_init_help=recursive ;;
953 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
954 ac_init_help=short ;;
956 -host | --host | --hos | --ho)
957 ac_prev=host_alias ;;
958 -host=* | --host=* | --hos=* | --ho=*)
959 host_alias=$ac_optarg ;;
961 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
962 ac_prev=htmldir ;;
963 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
964 | --ht=*)
965 htmldir=$ac_optarg ;;
967 -includedir | --includedir | --includedi | --included | --include \
968 | --includ | --inclu | --incl | --inc)
969 ac_prev=includedir ;;
970 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
971 | --includ=* | --inclu=* | --incl=* | --inc=*)
972 includedir=$ac_optarg ;;
974 -infodir | --infodir | --infodi | --infod | --info | --inf)
975 ac_prev=infodir ;;
976 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
977 infodir=$ac_optarg ;;
979 -libdir | --libdir | --libdi | --libd)
980 ac_prev=libdir ;;
981 -libdir=* | --libdir=* | --libdi=* | --libd=*)
982 libdir=$ac_optarg ;;
984 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
985 | --libexe | --libex | --libe)
986 ac_prev=libexecdir ;;
987 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
988 | --libexe=* | --libex=* | --libe=*)
989 libexecdir=$ac_optarg ;;
991 -localedir | --localedir | --localedi | --localed | --locale)
992 ac_prev=localedir ;;
993 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
994 localedir=$ac_optarg ;;
996 -localstatedir | --localstatedir | --localstatedi | --localstated \
997 | --localstate | --localstat | --localsta | --localst | --locals)
998 ac_prev=localstatedir ;;
999 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1000 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1001 localstatedir=$ac_optarg ;;
1003 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1004 ac_prev=mandir ;;
1005 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1006 mandir=$ac_optarg ;;
1008 -nfp | --nfp | --nf)
1009 # Obsolete; use --without-fp.
1010 with_fp=no ;;
1012 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1013 | --no-cr | --no-c | -n)
1014 no_create=yes ;;
1016 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1017 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1018 no_recursion=yes ;;
1020 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1021 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1022 | --oldin | --oldi | --old | --ol | --o)
1023 ac_prev=oldincludedir ;;
1024 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1025 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1026 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1027 oldincludedir=$ac_optarg ;;
1029 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1030 ac_prev=prefix ;;
1031 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1032 prefix=$ac_optarg ;;
1034 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1035 | --program-pre | --program-pr | --program-p)
1036 ac_prev=program_prefix ;;
1037 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1038 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1039 program_prefix=$ac_optarg ;;
1041 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1042 | --program-suf | --program-su | --program-s)
1043 ac_prev=program_suffix ;;
1044 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1045 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1046 program_suffix=$ac_optarg ;;
1048 -program-transform-name | --program-transform-name \
1049 | --program-transform-nam | --program-transform-na \
1050 | --program-transform-n | --program-transform- \
1051 | --program-transform | --program-transfor \
1052 | --program-transfo | --program-transf \
1053 | --program-trans | --program-tran \
1054 | --progr-tra | --program-tr | --program-t)
1055 ac_prev=program_transform_name ;;
1056 -program-transform-name=* | --program-transform-name=* \
1057 | --program-transform-nam=* | --program-transform-na=* \
1058 | --program-transform-n=* | --program-transform-=* \
1059 | --program-transform=* | --program-transfor=* \
1060 | --program-transfo=* | --program-transf=* \
1061 | --program-trans=* | --program-tran=* \
1062 | --progr-tra=* | --program-tr=* | --program-t=*)
1063 program_transform_name=$ac_optarg ;;
1065 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1066 ac_prev=pdfdir ;;
1067 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1068 pdfdir=$ac_optarg ;;
1070 -psdir | --psdir | --psdi | --psd | --ps)
1071 ac_prev=psdir ;;
1072 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1073 psdir=$ac_optarg ;;
1075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1076 | -silent | --silent | --silen | --sile | --sil)
1077 silent=yes ;;
1079 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1080 ac_prev=sbindir ;;
1081 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1082 | --sbi=* | --sb=*)
1083 sbindir=$ac_optarg ;;
1085 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1086 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1087 | --sharedst | --shareds | --shared | --share | --shar \
1088 | --sha | --sh)
1089 ac_prev=sharedstatedir ;;
1090 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1091 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1092 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1093 | --sha=* | --sh=*)
1094 sharedstatedir=$ac_optarg ;;
1096 -site | --site | --sit)
1097 ac_prev=site ;;
1098 -site=* | --site=* | --sit=*)
1099 site=$ac_optarg ;;
1101 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1102 ac_prev=srcdir ;;
1103 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1104 srcdir=$ac_optarg ;;
1106 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1107 | --syscon | --sysco | --sysc | --sys | --sy)
1108 ac_prev=sysconfdir ;;
1109 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1110 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1111 sysconfdir=$ac_optarg ;;
1113 -target | --target | --targe | --targ | --tar | --ta | --t)
1114 ac_prev=target_alias ;;
1115 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1116 target_alias=$ac_optarg ;;
1118 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1119 verbose=yes ;;
1121 -version | --version | --versio | --versi | --vers | -V)
1122 ac_init_version=: ;;
1124 -with-* | --with-*)
1125 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128 as_fn_error "invalid package name: $ac_useropt"
1129 ac_useropt_orig=$ac_useropt
1130 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1133 "with_$ac_useropt"
1134 "*) ;;
1135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1136 ac_unrecognized_sep=', ';;
1137 esac
1138 eval with_$ac_useropt=\$ac_optarg ;;
1140 -without-* | --without-*)
1141 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144 as_fn_error "invalid package name: $ac_useropt"
1145 ac_useropt_orig=$ac_useropt
1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1149 "with_$ac_useropt"
1150 "*) ;;
1151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1152 ac_unrecognized_sep=', ';;
1153 esac
1154 eval with_$ac_useropt=no ;;
1156 --x)
1157 # Obsolete; use --with-x.
1158 with_x=yes ;;
1160 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1161 | --x-incl | --x-inc | --x-in | --x-i)
1162 ac_prev=x_includes ;;
1163 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1164 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1165 x_includes=$ac_optarg ;;
1167 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1168 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1169 ac_prev=x_libraries ;;
1170 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1171 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1172 x_libraries=$ac_optarg ;;
1174 -*) as_fn_error "unrecognized option: \`$ac_option'
1175 Try \`$0 --help' for more information."
1178 *=*)
1179 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1180 # Reject names that are not valid shell variable names.
1181 case $ac_envvar in #(
1182 '' | [0-9]* | *[!_$as_cr_alnum]* )
1183 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1184 esac
1185 eval $ac_envvar=\$ac_optarg
1186 export $ac_envvar ;;
1189 # FIXME: should be removed in autoconf 3.0.
1190 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1196 esac
1197 done
1199 if test -n "$ac_prev"; then
1200 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1201 as_fn_error "missing argument to $ac_option"
1204 if test -n "$ac_unrecognized_opts"; then
1205 case $enable_option_checking in
1206 no) ;;
1207 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1208 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209 esac
1212 # Check all directory arguments for consistency.
1213 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1214 datadir sysconfdir sharedstatedir localstatedir includedir \
1215 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1216 libdir localedir mandir
1218 eval ac_val=\$$ac_var
1219 # Remove trailing slashes.
1220 case $ac_val in
1221 */ )
1222 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1223 eval $ac_var=\$ac_val;;
1224 esac
1225 # Be sure to have absolute directory names.
1226 case $ac_val in
1227 [\\/$]* | ?:[\\/]* ) continue;;
1228 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1229 esac
1230 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1231 done
1233 # There might be people who depend on the old broken behavior: `$host'
1234 # used to hold the argument of --host etc.
1235 # FIXME: To remove some day.
1236 build=$build_alias
1237 host=$host_alias
1238 target=$target_alias
1240 # FIXME: To remove some day.
1241 if test "x$host_alias" != x; then
1242 if test "x$build_alias" = x; then
1243 cross_compiling=maybe
1244 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1245 If a cross compiler is detected then cross compile mode will be used." >&2
1246 elif test "x$build_alias" != "x$host_alias"; then
1247 cross_compiling=yes
1251 ac_tool_prefix=
1252 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1254 test "$silent" = yes && exec 6>/dev/null
1257 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1258 ac_ls_di=`ls -di .` &&
1259 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1260 as_fn_error "working directory cannot be determined"
1261 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1262 as_fn_error "pwd does not report name of working directory"
1265 # Find the source files, if location was not specified.
1266 if test -z "$srcdir"; then
1267 ac_srcdir_defaulted=yes
1268 # Try the directory containing this script, then the parent directory.
1269 ac_confdir=`$as_dirname -- "$as_myself" ||
1270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271 X"$as_myself" : 'X\(//\)[^/]' \| \
1272 X"$as_myself" : 'X\(//\)$' \| \
1273 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1274 $as_echo X"$as_myself" |
1275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1276 s//\1/
1279 /^X\(\/\/\)[^/].*/{
1280 s//\1/
1283 /^X\(\/\/\)$/{
1284 s//\1/
1287 /^X\(\/\).*/{
1288 s//\1/
1291 s/.*/./; q'`
1292 srcdir=$ac_confdir
1293 if test ! -r "$srcdir/$ac_unique_file"; then
1294 srcdir=..
1296 else
1297 ac_srcdir_defaulted=no
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1301 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1303 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1304 ac_abs_confdir=`(
1305 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1306 pwd)`
1307 # When building in place, set srcdir=.
1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
1309 srcdir=.
1311 # Remove unnecessary trailing slashes from srcdir.
1312 # Double slashes in file names in object file debugging info
1313 # mess up M-x gdb in Emacs.
1314 case $srcdir in
1315 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1316 esac
1317 for ac_var in $ac_precious_vars; do
1318 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1319 eval ac_env_${ac_var}_value=\$${ac_var}
1320 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1321 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1322 done
1325 # Report the --help message.
1327 if test "$ac_init_help" = "long"; then
1328 # Omit some internal or obsolete options to make the list less imposing.
1329 # This message is too long to be a string in the A/UX 3.1 sh.
1330 cat <<_ACEOF
1331 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1333 Usage: $0 [OPTION]... [VAR=VALUE]...
1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1336 VAR=VALUE. See below for descriptions of some of the useful variables.
1338 Defaults for the options are specified in brackets.
1340 Configuration:
1341 -h, --help display this help and exit
1342 --help=short display options specific to this package
1343 --help=recursive display the short help of all the included packages
1344 -V, --version display version information and exit
1345 -q, --quiet, --silent do not print \`checking...' messages
1346 --cache-file=FILE cache test results in FILE [disabled]
1347 -C, --config-cache alias for \`--cache-file=config.cache'
1348 -n, --no-create do not create output files
1349 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1351 Installation directories:
1352 --prefix=PREFIX install architecture-independent files in PREFIX
1353 [$ac_default_prefix]
1354 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1355 [PREFIX]
1357 By default, \`make install' will install all the files in
1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1360 for instance \`--prefix=\$HOME'.
1362 For better control, use the options below.
1364 Fine tuning of the installation directories:
1365 --bindir=DIR user executables [EPREFIX/bin]
1366 --sbindir=DIR system admin executables [EPREFIX/sbin]
1367 --libexecdir=DIR program executables [EPREFIX/libexec]
1368 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1369 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1370 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1371 --libdir=DIR object code libraries [EPREFIX/lib]
1372 --includedir=DIR C header files [PREFIX/include]
1373 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1374 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1375 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1376 --infodir=DIR info documentation [DATAROOTDIR/info]
1377 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1378 --mandir=DIR man documentation [DATAROOTDIR/man]
1379 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1380 --htmldir=DIR html documentation [DOCDIR]
1381 --dvidir=DIR dvi documentation [DOCDIR]
1382 --pdfdir=DIR pdf documentation [DOCDIR]
1383 --psdir=DIR ps documentation [DOCDIR]
1384 _ACEOF
1386 cat <<\_ACEOF
1388 Program names:
1389 --program-prefix=PREFIX prepend PREFIX to installed program names
1390 --program-suffix=SUFFIX append SUFFIX to installed program names
1391 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1393 System types:
1394 --build=BUILD configure for building on BUILD [guessed]
1395 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1396 --target=TARGET configure for building compilers for TARGET [HOST]
1397 _ACEOF
1400 if test -n "$ac_init_help"; then
1401 case $ac_init_help in
1402 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1403 esac
1404 cat <<\_ACEOF
1406 Optional Features:
1407 --disable-option-checking ignore unrecognized --enable/--with options
1408 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1409 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1410 --enable-version-specific-runtime-libs
1411 specify that runtime libraries should be installed
1412 in a compiler-specific directory
1413 --enable-intermodule build the library in one step
1414 --enable-maintainer-mode enable make rules and dependencies not useful
1415 (and sometimes confusing) to the casual installer
1416 --enable-multilib build many library versions (default)
1417 --disable-dependency-tracking speeds up one-time build
1418 --enable-dependency-tracking do not reject slow dependency extractors
1419 --disable-symvers disable symbol versioning for libgfortran
1420 --enable-shared[=PKGS] build shared libraries [default=yes]
1421 --enable-static[=PKGS] build static libraries [default=yes]
1422 --enable-fast-install[=PKGS]
1423 optimize for fast installation [default=yes]
1424 --disable-libtool-lock avoid locking (might break parallel builds)
1425 --disable-largefile omit support for large files
1426 --disable-libquadmath-support
1427 disable libquadmath support for Fortran
1429 Optional Packages:
1430 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1431 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1432 --with-build-libsubdir=DIR Directory where to find libraries for build system
1433 --with-pic try to use only PIC/non-PIC objects [default=use
1434 both]
1435 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1436 --with-system-libunwind use installed libunwind
1438 Some influential environment variables:
1439 CC C compiler command
1440 CFLAGS C compiler flags
1441 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1442 nonstandard directory <lib dir>
1443 LIBS libraries to pass to the linker, e.g. -l<library>
1444 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1445 you have headers in a nonstandard directory <include dir>
1446 CPP C preprocessor
1447 FC Fortran compiler command
1448 FCFLAGS Fortran compiler flags
1450 Use these variables to override the choices made by `configure' or to help
1451 it to find libraries and programs with nonstandard names/locations.
1453 Report bugs to the package provider.
1454 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1455 General help using GNU software: <http://www.gnu.org/gethelp/>.
1456 _ACEOF
1457 ac_status=$?
1460 if test "$ac_init_help" = "recursive"; then
1461 # If there are subdirs, report their specific --help.
1462 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1463 test -d "$ac_dir" ||
1464 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1465 continue
1466 ac_builddir=.
1468 case "$ac_dir" in
1469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1472 # A ".." for each directory in $ac_dir_suffix.
1473 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1474 case $ac_top_builddir_sub in
1475 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1477 esac ;;
1478 esac
1479 ac_abs_top_builddir=$ac_pwd
1480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1481 # for backward compatibility:
1482 ac_top_builddir=$ac_top_build_prefix
1484 case $srcdir in
1485 .) # We are building in place.
1486 ac_srcdir=.
1487 ac_top_srcdir=$ac_top_builddir_sub
1488 ac_abs_top_srcdir=$ac_pwd ;;
1489 [\\/]* | ?:[\\/]* ) # Absolute name.
1490 ac_srcdir=$srcdir$ac_dir_suffix;
1491 ac_top_srcdir=$srcdir
1492 ac_abs_top_srcdir=$srcdir ;;
1493 *) # Relative name.
1494 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1495 ac_top_srcdir=$ac_top_build_prefix$srcdir
1496 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1497 esac
1498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1500 cd "$ac_dir" || { ac_status=$?; continue; }
1501 # Check for guested configure.
1502 if test -f "$ac_srcdir/configure.gnu"; then
1503 echo &&
1504 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1505 elif test -f "$ac_srcdir/configure"; then
1506 echo &&
1507 $SHELL "$ac_srcdir/configure" --help=recursive
1508 else
1509 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1510 fi || ac_status=$?
1511 cd "$ac_pwd" || { ac_status=$?; break; }
1512 done
1515 test -n "$ac_init_help" && exit $ac_status
1516 if $ac_init_version; then
1517 cat <<\_ACEOF
1518 GNU Fortran Runtime Library configure 0.3
1519 generated by GNU Autoconf 2.64
1521 Copyright (C) 2009 Free Software Foundation, Inc.
1522 This configure script is free software; the Free Software Foundation
1523 gives unlimited permission to copy, distribute and modify it.
1524 _ACEOF
1525 exit
1528 ## ------------------------ ##
1529 ## Autoconf initialization. ##
1530 ## ------------------------ ##
1532 # ac_fn_c_try_compile LINENO
1533 # --------------------------
1534 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1535 ac_fn_c_try_compile ()
1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538 rm -f conftest.$ac_objext
1539 if { { ac_try="$ac_compile"
1540 case "(($ac_try" in
1541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1542 *) ac_try_echo=$ac_try;;
1543 esac
1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545 $as_echo "$ac_try_echo"; } >&5
1546 (eval "$ac_compile") 2>conftest.err
1547 ac_status=$?
1548 if test -s conftest.err; then
1549 grep -v '^ *+' conftest.err >conftest.er1
1550 cat conftest.er1 >&5
1551 mv -f conftest.er1 conftest.err
1553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554 test $ac_status = 0; } && {
1555 test -z "$ac_c_werror_flag" ||
1556 test ! -s conftest.err
1557 } && test -s conftest.$ac_objext; then :
1558 ac_retval=0
1559 else
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.$ac_ext >&5
1563 ac_retval=1
1565 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1566 return $ac_retval
1568 } # ac_fn_c_try_compile
1570 # ac_fn_c_try_cpp LINENO
1571 # ----------------------
1572 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1573 ac_fn_c_try_cpp ()
1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576 if { { ac_try="$ac_cpp conftest.$ac_ext"
1577 case "(($ac_try" in
1578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1579 *) ac_try_echo=$ac_try;;
1580 esac
1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582 $as_echo "$ac_try_echo"; } >&5
1583 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1584 ac_status=$?
1585 if test -s conftest.err; then
1586 grep -v '^ *+' conftest.err >conftest.er1
1587 cat conftest.er1 >&5
1588 mv -f conftest.er1 conftest.err
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; } >/dev/null && {
1592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1593 test ! -s conftest.err
1594 }; then :
1595 ac_retval=0
1596 else
1597 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.$ac_ext >&5
1600 ac_retval=1
1602 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1603 return $ac_retval
1605 } # ac_fn_c_try_cpp
1607 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1608 # -------------------------------------------------------
1609 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1610 # the include files in INCLUDES and setting the cache variable VAR
1611 # accordingly.
1612 ac_fn_c_check_header_mongrel ()
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1619 $as_echo_n "(cached) " >&6
1621 eval ac_res=\$$3
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623 $as_echo "$ac_res" >&6; }
1624 else
1625 # Is the header compilable?
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1627 $as_echo_n "checking $2 usability... " >&6; }
1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1631 #include <$2>
1632 _ACEOF
1633 if ac_fn_c_try_compile "$LINENO"; then :
1634 ac_header_compiler=yes
1635 else
1636 ac_header_compiler=no
1638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1640 $as_echo "$ac_header_compiler" >&6; }
1642 # Is the header present?
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1644 $as_echo_n "checking $2 presence... " >&6; }
1645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1647 #include <$2>
1648 _ACEOF
1649 if ac_fn_c_try_cpp "$LINENO"; then :
1650 ac_header_preproc=yes
1651 else
1652 ac_header_preproc=no
1654 rm -f conftest.err conftest.$ac_ext
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1656 $as_echo "$ac_header_preproc" >&6; }
1658 # So? What about this header?
1659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1660 yes:no: )
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1662 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1664 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1666 no:yes:* )
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1668 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1670 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1672 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1674 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1678 esac
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 $as_echo_n "(cached) " >&6
1683 else
1684 eval "$3=\$ac_header_compiler"
1686 eval ac_res=\$$3
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 } # ac_fn_c_check_header_mongrel
1694 # ac_fn_c_try_run LINENO
1695 # ----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1697 # that executables *can* be run.
1698 ac_fn_c_try_run ()
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if { { ac_try="$ac_link"
1702 case "(($ac_try" in
1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1705 esac
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>&5
1709 ac_status=$?
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1712 { { case "(($ac_try" in
1713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1714 *) ac_try_echo=$ac_try;;
1715 esac
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_try") 2>&5
1719 ac_status=$?
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; }; }; then :
1722 ac_retval=0
1723 else
1724 $as_echo "$as_me: program exited with status $ac_status" >&5
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.$ac_ext >&5
1728 ac_retval=$ac_status
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 return $ac_retval
1734 } # ac_fn_c_try_run
1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists and can be compiled using the include files in
1739 # INCLUDES, setting the cache variable VAR accordingly.
1740 ac_fn_c_check_header_compile ()
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1746 $as_echo_n "(cached) " >&6
1747 else
1748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1751 #include <$2>
1752 _ACEOF
1753 if ac_fn_c_try_compile "$LINENO"; then :
1754 eval "$3=yes"
1755 else
1756 eval "$3=no"
1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1760 eval ac_res=\$$3
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1765 } # ac_fn_c_check_header_compile
1767 # ac_fn_c_try_link LINENO
1768 # -----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_link ()
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 rm -f conftest.$ac_objext conftest$ac_exeext
1774 if { { ac_try="$ac_link"
1775 case "(($ac_try" in
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1778 esac
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>conftest.err
1782 ac_status=$?
1783 if test -s conftest.err; then
1784 grep -v '^ *+' conftest.err >conftest.er1
1785 cat conftest.er1 >&5
1786 mv -f conftest.er1 conftest.err
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } && {
1790 test -z "$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1792 } && test -s conftest$ac_exeext && {
1793 test "$cross_compiling" = yes ||
1794 $as_test_x conftest$ac_exeext
1795 }; then :
1796 ac_retval=0
1797 else
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1801 ac_retval=1
1803 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1804 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1805 # interfere with the next link command; also delete a directory that is
1806 # left behind by Apple's compiler. We do this before executing the actions.
1807 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1809 return $ac_retval
1811 } # ac_fn_c_try_link
1813 # ac_fn_c_check_func LINENO FUNC VAR
1814 # ----------------------------------
1815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1816 ac_fn_c_check_func ()
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1822 $as_echo_n "(cached) " >&6
1823 else
1824 if test x$gcc_no_link = xyes; then
1825 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1829 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1831 #define $2 innocuous_$2
1833 /* System header to define __stub macros and hopefully few prototypes,
1834 which can conflict with char $2 (); below.
1835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1836 <limits.h> exists even on freestanding compilers. */
1838 #ifdef __STDC__
1839 # include <limits.h>
1840 #else
1841 # include <assert.h>
1842 #endif
1844 #undef $2
1846 /* Override any GCC internal prototype to avoid an error.
1847 Use char because int might match the return type of a GCC
1848 builtin and then its argument prototype would still apply. */
1849 #ifdef __cplusplus
1850 extern "C"
1851 #endif
1852 char $2 ();
1853 /* The GNU C library defines this for functions which it implements
1854 to always fail with ENOSYS. Some functions are actually named
1855 something starting with __ and the normal name is an alias. */
1856 #if defined __stub_$2 || defined __stub___$2
1857 choke me
1858 #endif
1861 main ()
1863 return $2 ();
1865 return 0;
1867 _ACEOF
1868 if ac_fn_c_try_link "$LINENO"; then :
1869 eval "$3=yes"
1870 else
1871 eval "$3=no"
1873 rm -f core conftest.err conftest.$ac_objext \
1874 conftest$ac_exeext conftest.$ac_ext
1876 eval ac_res=\$$3
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1881 } # ac_fn_c_check_func
1883 # ac_fn_fc_try_compile LINENO
1884 # ---------------------------
1885 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1886 ac_fn_fc_try_compile ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 rm -f conftest.$ac_objext
1890 if { { ac_try="$ac_compile"
1891 case "(($ac_try" in
1892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1893 *) ac_try_echo=$ac_try;;
1894 esac
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897 (eval "$ac_compile") 2>conftest.err
1898 ac_status=$?
1899 if test -s conftest.err; then
1900 grep -v '^ *+' conftest.err >conftest.er1
1901 cat conftest.er1 >&5
1902 mv -f conftest.er1 conftest.err
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && {
1906 test -z "$ac_fc_werror_flag" ||
1907 test ! -s conftest.err
1908 } && test -s conftest.$ac_objext; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1914 ac_retval=1
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1917 return $ac_retval
1919 } # ac_fn_fc_try_compile
1921 # ac_fn_fc_try_link LINENO
1922 # ------------------------
1923 # Try to link conftest.$ac_ext, and return whether this succeeded.
1924 ac_fn_fc_try_link ()
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 rm -f conftest.$ac_objext conftest$ac_exeext
1928 if { { ac_try="$ac_link"
1929 case "(($ac_try" in
1930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1931 *) ac_try_echo=$ac_try;;
1932 esac
1933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 $as_echo "$ac_try_echo"; } >&5
1935 (eval "$ac_link") 2>conftest.err
1936 ac_status=$?
1937 if test -s conftest.err; then
1938 grep -v '^ *+' conftest.err >conftest.er1
1939 cat conftest.er1 >&5
1940 mv -f conftest.er1 conftest.err
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; } && {
1944 test -z "$ac_fc_werror_flag" ||
1945 test ! -s conftest.err
1946 } && test -s conftest$ac_exeext && {
1947 test "$cross_compiling" = yes ||
1948 $as_test_x conftest$ac_exeext
1949 }; then :
1950 ac_retval=0
1951 else
1952 $as_echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.$ac_ext >&5
1955 ac_retval=1
1957 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1958 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1959 # interfere with the next link command; also delete a directory that is
1960 # left behind by Apple's compiler. We do this before executing the actions.
1961 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1962 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1963 return $ac_retval
1965 } # ac_fn_fc_try_link
1967 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1968 # -------------------------------------------
1969 # Tests whether TYPE exists after having included INCLUDES, setting cache
1970 # variable VAR accordingly.
1971 ac_fn_c_check_type ()
1973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975 $as_echo_n "checking for $2... " >&6; }
1976 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1977 $as_echo_n "(cached) " >&6
1978 else
1979 eval "$3=no"
1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h. */
1984 main ()
1986 if (sizeof ($2))
1987 return 0;
1989 return 0;
1991 _ACEOF
1992 if ac_fn_c_try_compile "$LINENO"; then :
1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1997 main ()
1999 if (sizeof (($2)))
2000 return 0;
2002 return 0;
2004 _ACEOF
2005 if ac_fn_c_try_compile "$LINENO"; then :
2007 else
2008 eval "$3=yes"
2010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2014 eval ac_res=\$$3
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 $as_echo "$ac_res" >&6; }
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2019 } # ac_fn_c_check_type
2021 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2022 # --------------------------------------------
2023 # Tries to find the compile-time value of EXPR in a program that includes
2024 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2025 # computed
2026 ac_fn_c_compute_int ()
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 if test "$cross_compiling" = yes; then
2030 # Depending upon the size, compute the lo and hi bounds.
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2035 main ()
2037 static int test_array [1 - 2 * !(($2) >= 0)];
2038 test_array [0] = 0
2041 return 0;
2043 _ACEOF
2044 if ac_fn_c_try_compile "$LINENO"; then :
2045 ac_lo=0 ac_mid=0
2046 while :; do
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2051 main ()
2053 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2054 test_array [0] = 0
2057 return 0;
2059 _ACEOF
2060 if ac_fn_c_try_compile "$LINENO"; then :
2061 ac_hi=$ac_mid; break
2062 else
2063 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2064 if test $ac_lo -le $ac_mid; then
2065 ac_lo= ac_hi=
2066 break
2068 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2071 done
2072 else
2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2077 main ()
2079 static int test_array [1 - 2 * !(($2) < 0)];
2080 test_array [0] = 0
2083 return 0;
2085 _ACEOF
2086 if ac_fn_c_try_compile "$LINENO"; then :
2087 ac_hi=-1 ac_mid=-1
2088 while :; do
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2093 main ()
2095 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2096 test_array [0] = 0
2099 return 0;
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103 ac_lo=$ac_mid; break
2104 else
2105 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2106 if test $ac_mid -le $ac_hi; then
2107 ac_lo= ac_hi=
2108 break
2110 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 done
2114 else
2115 ac_lo= ac_hi=
2117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2120 # Binary search between lo and hi bounds.
2121 while test "x$ac_lo" != "x$ac_hi"; do
2122 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2127 main ()
2129 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2130 test_array [0] = 0
2133 return 0;
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137 ac_hi=$ac_mid
2138 else
2139 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2142 done
2143 case $ac_lo in #((
2144 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2145 '') ac_retval=1 ;;
2146 esac
2147 else
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2151 static long int longval () { return $2; }
2152 static unsigned long int ulongval () { return $2; }
2153 #include <stdio.h>
2154 #include <stdlib.h>
2156 main ()
2159 FILE *f = fopen ("conftest.val", "w");
2160 if (! f)
2161 return 1;
2162 if (($2) < 0)
2164 long int i = longval ();
2165 if (i != ($2))
2166 return 1;
2167 fprintf (f, "%ld", i);
2169 else
2171 unsigned long int i = ulongval ();
2172 if (i != ($2))
2173 return 1;
2174 fprintf (f, "%lu", i);
2176 /* Do not output a trailing newline, as this causes \r\n confusion
2177 on some platforms. */
2178 return ferror (f) || fclose (f) != 0;
2181 return 0;
2183 _ACEOF
2184 if ac_fn_c_try_run "$LINENO"; then :
2185 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2186 else
2187 ac_retval=1
2189 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2190 conftest.$ac_objext conftest.beam conftest.$ac_ext
2191 rm -f conftest.val
2194 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2195 return $ac_retval
2197 } # ac_fn_c_compute_int
2199 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2200 # ----------------------------------------------------
2201 # Tries to find if the field MEMBER exists in type AGGR, after including
2202 # INCLUDES, setting cache variable VAR accordingly.
2203 ac_fn_c_check_member ()
2205 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2207 $as_echo_n "checking for $2.$3... " >&6; }
2208 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2209 $as_echo_n "(cached) " >&6
2210 else
2211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2212 /* end confdefs.h. */
2215 main ()
2217 static $2 ac_aggr;
2218 if (ac_aggr.$3)
2219 return 0;
2221 return 0;
2223 _ACEOF
2224 if ac_fn_c_try_compile "$LINENO"; then :
2225 eval "$4=yes"
2226 else
2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2228 /* end confdefs.h. */
2231 main ()
2233 static $2 ac_aggr;
2234 if (sizeof ac_aggr.$3)
2235 return 0;
2237 return 0;
2239 _ACEOF
2240 if ac_fn_c_try_compile "$LINENO"; then :
2241 eval "$4=yes"
2242 else
2243 eval "$4=no"
2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2249 eval ac_res=\$$4
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2254 } # ac_fn_c_check_member
2255 cat >config.log <<_ACEOF
2256 This file contains any messages produced by compilers while
2257 running configure, to aid debugging if configure makes a mistake.
2259 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2260 generated by GNU Autoconf 2.64. Invocation command line was
2262 $ $0 $@
2264 _ACEOF
2265 exec 5>>config.log
2267 cat <<_ASUNAME
2268 ## --------- ##
2269 ## Platform. ##
2270 ## --------- ##
2272 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2273 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2274 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2275 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2276 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2278 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2279 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2281 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2282 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2283 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2284 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2285 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2286 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2287 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2289 _ASUNAME
2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 for as_dir in $PATH
2294 IFS=$as_save_IFS
2295 test -z "$as_dir" && as_dir=.
2296 $as_echo "PATH: $as_dir"
2297 done
2298 IFS=$as_save_IFS
2300 } >&5
2302 cat >&5 <<_ACEOF
2305 ## ----------- ##
2306 ## Core tests. ##
2307 ## ----------- ##
2309 _ACEOF
2312 # Keep a trace of the command line.
2313 # Strip out --no-create and --no-recursion so they do not pile up.
2314 # Strip out --silent because we don't want to record it for future runs.
2315 # Also quote any args containing shell meta-characters.
2316 # Make two passes to allow for proper duplicate-argument suppression.
2317 ac_configure_args=
2318 ac_configure_args0=
2319 ac_configure_args1=
2320 ac_must_keep_next=false
2321 for ac_pass in 1 2
2323 for ac_arg
2325 case $ac_arg in
2326 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2328 | -silent | --silent | --silen | --sile | --sil)
2329 continue ;;
2330 *\'*)
2331 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2332 esac
2333 case $ac_pass in
2334 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2336 as_fn_append ac_configure_args1 " '$ac_arg'"
2337 if test $ac_must_keep_next = true; then
2338 ac_must_keep_next=false # Got value, back to normal.
2339 else
2340 case $ac_arg in
2341 *=* | --config-cache | -C | -disable-* | --disable-* \
2342 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2343 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2344 | -with-* | --with-* | -without-* | --without-* | --x)
2345 case "$ac_configure_args0 " in
2346 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2347 esac
2349 -* ) ac_must_keep_next=true ;;
2350 esac
2352 as_fn_append ac_configure_args " '$ac_arg'"
2354 esac
2355 done
2356 done
2357 { ac_configure_args0=; unset ac_configure_args0;}
2358 { ac_configure_args1=; unset ac_configure_args1;}
2360 # When interrupted or exit'd, cleanup temporary files, and complete
2361 # config.log. We remove comments because anyway the quotes in there
2362 # would cause problems or look ugly.
2363 # WARNING: Use '\'' to represent an apostrophe within the trap.
2364 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2365 trap 'exit_status=$?
2366 # Save into config.log some information that might help in debugging.
2368 echo
2370 cat <<\_ASBOX
2371 ## ---------------- ##
2372 ## Cache variables. ##
2373 ## ---------------- ##
2374 _ASBOX
2375 echo
2376 # The following way of writing the cache mishandles newlines in values,
2378 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2379 eval ac_val=\$$ac_var
2380 case $ac_val in #(
2381 *${as_nl}*)
2382 case $ac_var in #(
2383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2385 esac
2386 case $ac_var in #(
2387 _ | IFS | as_nl) ;; #(
2388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2389 *) { eval $ac_var=; unset $ac_var;} ;;
2390 esac ;;
2391 esac
2392 done
2393 (set) 2>&1 |
2394 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2395 *${as_nl}ac_space=\ *)
2396 sed -n \
2397 "s/'\''/'\''\\\\'\'''\''/g;
2398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2399 ;; #(
2401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2403 esac |
2404 sort
2406 echo
2408 cat <<\_ASBOX
2409 ## ----------------- ##
2410 ## Output variables. ##
2411 ## ----------------- ##
2412 _ASBOX
2413 echo
2414 for ac_var in $ac_subst_vars
2416 eval ac_val=\$$ac_var
2417 case $ac_val in
2418 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2419 esac
2420 $as_echo "$ac_var='\''$ac_val'\''"
2421 done | sort
2422 echo
2424 if test -n "$ac_subst_files"; then
2425 cat <<\_ASBOX
2426 ## ------------------- ##
2427 ## File substitutions. ##
2428 ## ------------------- ##
2429 _ASBOX
2430 echo
2431 for ac_var in $ac_subst_files
2433 eval ac_val=\$$ac_var
2434 case $ac_val in
2435 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2436 esac
2437 $as_echo "$ac_var='\''$ac_val'\''"
2438 done | sort
2439 echo
2442 if test -s confdefs.h; then
2443 cat <<\_ASBOX
2444 ## ----------- ##
2445 ## confdefs.h. ##
2446 ## ----------- ##
2447 _ASBOX
2448 echo
2449 cat confdefs.h
2450 echo
2452 test "$ac_signal" != 0 &&
2453 $as_echo "$as_me: caught signal $ac_signal"
2454 $as_echo "$as_me: exit $exit_status"
2455 } >&5
2456 rm -f core *.core core.conftest.* &&
2457 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2458 exit $exit_status
2460 for ac_signal in 1 2 13 15; do
2461 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2462 done
2463 ac_signal=0
2465 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2466 rm -f -r conftest* confdefs.h
2468 $as_echo "/* confdefs.h */" > confdefs.h
2470 # Predefined preprocessor variables.
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_NAME "$PACKAGE_NAME"
2474 _ACEOF
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2478 _ACEOF
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2482 _ACEOF
2484 cat >>confdefs.h <<_ACEOF
2485 #define PACKAGE_STRING "$PACKAGE_STRING"
2486 _ACEOF
2488 cat >>confdefs.h <<_ACEOF
2489 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2490 _ACEOF
2492 cat >>confdefs.h <<_ACEOF
2493 #define PACKAGE_URL "$PACKAGE_URL"
2494 _ACEOF
2497 # Let the site file select an alternate cache file if it wants to.
2498 # Prefer an explicitly selected file to automatically selected ones.
2499 ac_site_file1=NONE
2500 ac_site_file2=NONE
2501 if test -n "$CONFIG_SITE"; then
2502 ac_site_file1=$CONFIG_SITE
2503 elif test "x$prefix" != xNONE; then
2504 ac_site_file1=$prefix/share/config.site
2505 ac_site_file2=$prefix/etc/config.site
2506 else
2507 ac_site_file1=$ac_default_prefix/share/config.site
2508 ac_site_file2=$ac_default_prefix/etc/config.site
2510 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2512 test "x$ac_site_file" = xNONE && continue
2513 if test -r "$ac_site_file"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2515 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2516 sed 's/^/| /' "$ac_site_file" >&5
2517 . "$ac_site_file"
2519 done
2521 if test -r "$cache_file"; then
2522 # Some versions of bash will fail to source /dev/null (special
2523 # files actually), so we avoid doing that.
2524 if test -f "$cache_file"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2526 $as_echo "$as_me: loading cache $cache_file" >&6;}
2527 case $cache_file in
2528 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2529 *) . "./$cache_file";;
2530 esac
2532 else
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2534 $as_echo "$as_me: creating cache $cache_file" >&6;}
2535 >$cache_file
2538 as_fn_append ac_header_list " unistd.h"
2539 as_fn_append ac_header_list " sys/time.h"
2540 as_fn_append ac_header_list " sys/times.h"
2541 as_fn_append ac_header_list " sys/resource.h"
2542 as_fn_append ac_header_list " sys/types.h"
2543 as_fn_append ac_header_list " sys/stat.h"
2544 as_fn_append ac_header_list " sys/wait.h"
2545 as_fn_append ac_header_list " floatingpoint.h"
2546 as_fn_append ac_header_list " ieeefp.h"
2547 as_fn_append ac_header_list " fenv.h"
2548 as_fn_append ac_header_list " fptrap.h"
2549 as_fn_append ac_header_list " fpxcp.h"
2550 as_fn_append ac_header_list " pwd.h"
2551 as_fn_append ac_header_list " complex.h"
2552 as_fn_append ac_func_list " getrusage"
2553 as_fn_append ac_func_list " times"
2554 as_fn_append ac_func_list " mkstemp"
2555 as_fn_append ac_func_list " strtof"
2556 as_fn_append ac_func_list " strtold"
2557 as_fn_append ac_func_list " snprintf"
2558 as_fn_append ac_func_list " ftruncate"
2559 as_fn_append ac_func_list " chsize"
2560 as_fn_append ac_func_list " chdir"
2561 as_fn_append ac_func_list " getlogin"
2562 as_fn_append ac_func_list " gethostname"
2563 as_fn_append ac_func_list " kill"
2564 as_fn_append ac_func_list " link"
2565 as_fn_append ac_func_list " symlink"
2566 as_fn_append ac_func_list " sleep"
2567 as_fn_append ac_func_list " ttyname"
2568 as_fn_append ac_func_list " alarm"
2569 as_fn_append ac_func_list " access"
2570 as_fn_append ac_func_list " fork"
2571 as_fn_append ac_func_list " execl"
2572 as_fn_append ac_func_list " wait"
2573 as_fn_append ac_func_list " setmode"
2574 as_fn_append ac_func_list " execve"
2575 as_fn_append ac_func_list " pipe"
2576 as_fn_append ac_func_list " dup2"
2577 as_fn_append ac_func_list " close"
2578 as_fn_append ac_func_list " fcntl"
2579 as_fn_append ac_func_list " strcasestr"
2580 as_fn_append ac_func_list " getrlimit"
2581 as_fn_append ac_func_list " gettimeofday"
2582 as_fn_append ac_func_list " stat"
2583 as_fn_append ac_func_list " fstat"
2584 as_fn_append ac_func_list " lstat"
2585 as_fn_append ac_func_list " getpwuid"
2586 as_fn_append ac_func_list " vsnprintf"
2587 as_fn_append ac_func_list " dup"
2588 as_fn_append ac_func_list " getcwd"
2589 as_fn_append ac_func_list " localtime_r"
2590 as_fn_append ac_func_list " gmtime_r"
2591 as_fn_append ac_func_list " getpwuid_r"
2592 as_fn_append ac_func_list " ttyname_r"
2593 as_fn_append ac_func_list " clock_gettime"
2594 as_fn_append ac_func_list " readlink"
2595 as_fn_append ac_func_list " getgid"
2596 as_fn_append ac_func_list " getpid"
2597 as_fn_append ac_func_list " getppid"
2598 as_fn_append ac_func_list " getuid"
2599 as_fn_append ac_func_list " geteuid"
2600 as_fn_append ac_func_list " umask"
2601 as_fn_append ac_func_list " getegid"
2602 as_fn_append ac_func_list " secure_getenv"
2603 as_fn_append ac_func_list " __secure_getenv"
2604 as_fn_append ac_func_list " mkostemp"
2605 as_fn_append ac_func_list " strnlen"
2606 as_fn_append ac_func_list " strndup"
2607 as_fn_append ac_func_list " strtok_r"
2608 as_fn_append ac_header_list " math.h"
2609 # Check that the precious variables saved in the cache have kept the same
2610 # value.
2611 ac_cache_corrupted=false
2612 for ac_var in $ac_precious_vars; do
2613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2614 eval ac_new_set=\$ac_env_${ac_var}_set
2615 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2616 eval ac_new_val=\$ac_env_${ac_var}_value
2617 case $ac_old_set,$ac_new_set in
2618 set,)
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2620 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2621 ac_cache_corrupted=: ;;
2622 ,set)
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2624 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2625 ac_cache_corrupted=: ;;
2626 ,);;
2628 if test "x$ac_old_val" != "x$ac_new_val"; then
2629 # differences in whitespace do not lead to failure.
2630 ac_old_val_w=`echo x $ac_old_val`
2631 ac_new_val_w=`echo x $ac_new_val`
2632 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2634 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2635 ac_cache_corrupted=:
2636 else
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2638 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2639 eval $ac_var=\$ac_old_val
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2642 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2644 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2645 fi;;
2646 esac
2647 # Pass precious variables to config.status.
2648 if test "$ac_new_set" = set; then
2649 case $ac_new_val in
2650 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2651 *) ac_arg=$ac_var=$ac_new_val ;;
2652 esac
2653 case " $ac_configure_args " in
2654 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2655 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2656 esac
2658 done
2659 if $ac_cache_corrupted; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2663 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2664 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2666 ## -------------------- ##
2667 ## Main body of script. ##
2668 ## -------------------- ##
2670 ac_ext=c
2671 ac_cpp='$CPP $CPPFLAGS'
2672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2680 ac_config_headers="$ac_config_headers config.h"
2682 ac_aux_dir=
2683 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2684 for ac_t in install-sh install.sh shtool; do
2685 if test -f "$ac_dir/$ac_t"; then
2686 ac_aux_dir=$ac_dir
2687 ac_install_sh="$ac_aux_dir/$ac_t -c"
2688 break 2
2690 done
2691 done
2692 if test -z "$ac_aux_dir"; then
2693 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2696 # These three variables are undocumented and unsupported,
2697 # and are intended to be withdrawn in a future Autoconf release.
2698 # They can cause serious problems if a builder's source tree is in a directory
2699 # whose full name contains unusual characters.
2700 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2701 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2702 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2705 # Make sure we can run config.sub.
2706 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2707 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2710 $as_echo_n "checking build system type... " >&6; }
2711 if test "${ac_cv_build+set}" = set; then :
2712 $as_echo_n "(cached) " >&6
2713 else
2714 ac_build_alias=$build_alias
2715 test "x$ac_build_alias" = x &&
2716 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2717 test "x$ac_build_alias" = x &&
2718 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2719 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2720 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2724 $as_echo "$ac_cv_build" >&6; }
2725 case $ac_cv_build in
2726 *-*-*) ;;
2727 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2728 esac
2729 build=$ac_cv_build
2730 ac_save_IFS=$IFS; IFS='-'
2731 set x $ac_cv_build
2732 shift
2733 build_cpu=$1
2734 build_vendor=$2
2735 shift; shift
2736 # Remember, the first character of IFS is used to create $*,
2737 # except with old shells:
2738 build_os=$*
2739 IFS=$ac_save_IFS
2740 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2743 case ${build_alias} in
2744 "") build_noncanonical=${build} ;;
2745 *) build_noncanonical=${build_alias} ;;
2746 esac
2748 case ${host_alias} in
2749 "") host_noncanonical=${build_noncanonical} ;;
2750 *) host_noncanonical=${host_alias} ;;
2751 esac
2753 case ${target_alias} in
2754 "") target_noncanonical=${host_noncanonical} ;;
2755 *) target_noncanonical=${target_alias} ;;
2756 esac
2759 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2760 # have matching libraries, they should use host libraries: Makefile.tpl
2761 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2762 # However, they still use the build modules, because the corresponding
2763 # host modules (e.g. bison) are only built for the host when bootstrap
2764 # finishes. So:
2765 # - build_subdir is where we find build modules, and never changes.
2766 # - build_libsubdir is where we find build libraries, and can be overridden.
2768 # Prefix 'build-' so this never conflicts with target_subdir.
2769 build_subdir="build-${build_noncanonical}"
2771 # Check whether --with-build-libsubdir was given.
2772 if test "${with_build_libsubdir+set}" = set; then :
2773 withval=$with_build_libsubdir; build_libsubdir="$withval"
2774 else
2775 build_libsubdir="$build_subdir"
2778 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2779 if ( test $srcdir = . && test -d gcc ) \
2780 || test -d $srcdir/../host-${host_noncanonical}; then
2781 host_subdir="host-${host_noncanonical}"
2782 else
2783 host_subdir=.
2785 # No prefix.
2786 target_subdir=${target_noncanonical}
2789 # -------
2790 # Options
2791 # -------
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2794 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2795 # Check whether --enable-version-specific-runtime-libs was given.
2796 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2797 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2798 yes) version_specific_libs=yes ;;
2799 no) version_specific_libs=no ;;
2800 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2801 esac
2802 else
2803 version_specific_libs=no
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2807 $as_echo "$version_specific_libs" >&6; }
2809 # Build with intermodule optimisations
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2811 $as_echo_n "checking for --enable-intermodule... " >&6; }
2812 # Check whether --enable-intermodule was given.
2813 if test "${enable_intermodule+set}" = set; then :
2814 enableval=$enable_intermodule; case "$enable_intermodule" in
2815 yes) onestep="-onestep";;
2816 *) onestep="";;
2817 esac
2818 else
2819 onestep=""
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2823 $as_echo "$enable_intermodule" >&6; }
2824 if test x$onestep = x-onestep; then
2825 onestep_TRUE=
2826 onestep_FALSE='#'
2827 else
2828 onestep_TRUE='#'
2829 onestep_FALSE=
2834 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2836 # You will slowly go insane if you do not grok the following fact: when
2837 # building this library, the top-level /target/ becomes the library's /host/.
2839 # configure then causes --target to default to --host, exactly like any
2840 # other package using autoconf. Therefore, 'target' and 'host' will
2841 # always be the same. This makes sense both for native and cross compilers
2842 # just think about it for a little while. :-)
2844 # Also, if this library is being configured as part of a cross compiler, the
2845 # top-level configure script will pass the "real" host as $with_cross_host.
2847 # Do not delete or change the following two lines. For why, see
2848 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2850 $as_echo_n "checking host system type... " >&6; }
2851 if test "${ac_cv_host+set}" = set; then :
2852 $as_echo_n "(cached) " >&6
2853 else
2854 if test "x$host_alias" = x; then
2855 ac_cv_host=$ac_cv_build
2856 else
2857 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2858 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2863 $as_echo "$ac_cv_host" >&6; }
2864 case $ac_cv_host in
2865 *-*-*) ;;
2866 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2867 esac
2868 host=$ac_cv_host
2869 ac_save_IFS=$IFS; IFS='-'
2870 set x $ac_cv_host
2871 shift
2872 host_cpu=$1
2873 host_vendor=$2
2874 shift; shift
2875 # Remember, the first character of IFS is used to create $*,
2876 # except with old shells:
2877 host_os=$*
2878 IFS=$ac_save_IFS
2879 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2883 $as_echo_n "checking target system type... " >&6; }
2884 if test "${ac_cv_target+set}" = set; then :
2885 $as_echo_n "(cached) " >&6
2886 else
2887 if test "x$target_alias" = x; then
2888 ac_cv_target=$ac_cv_host
2889 else
2890 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2891 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2896 $as_echo "$ac_cv_target" >&6; }
2897 case $ac_cv_target in
2898 *-*-*) ;;
2899 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2900 esac
2901 target=$ac_cv_target
2902 ac_save_IFS=$IFS; IFS='-'
2903 set x $ac_cv_target
2904 shift
2905 target_cpu=$1
2906 target_vendor=$2
2907 shift; shift
2908 # Remember, the first character of IFS is used to create $*,
2909 # except with old shells:
2910 target_os=$*
2911 IFS=$ac_save_IFS
2912 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2915 # The aliases save the names the user supplied, while $host etc.
2916 # will get canonicalized.
2917 test -n "$target_alias" &&
2918 test "$program_prefix$program_suffix$program_transform_name" = \
2919 NONENONEs,x,x, &&
2920 program_prefix=${target_alias}-
2925 target_alias=${target_alias-$host_alias}
2928 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2929 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2930 # 1.9.6: minimum required version
2931 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2932 # of other PACKAGE_* variables will, however, and there's nothing
2933 # we can do about that; they come from AC_INIT).
2934 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2935 # file in the top srcdir, etc, etc), so stop complaining.
2936 # no-dist: we don't want 'dist' and related rules.
2937 # -Wall: turns on all automake warnings...
2938 # -Wno-portability: ...except this one, since GNU make is required.
2939 am__api_version='1.11'
2941 # Find a good install program. We prefer a C program (faster),
2942 # so one script is as good as another. But avoid the broken or
2943 # incompatible versions:
2944 # SysV /etc/install, /usr/sbin/install
2945 # SunOS /usr/etc/install
2946 # IRIX /sbin/install
2947 # AIX /bin/install
2948 # AmigaOS /C/install, which installs bootblocks on floppy discs
2949 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2950 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2951 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2952 # OS/2's system install, which has a completely different semantic
2953 # ./install, which can be erroneously created by make from ./install.sh.
2954 # Reject install programs that cannot install multiple files.
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2956 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2957 if test -z "$INSTALL"; then
2958 if test "${ac_cv_path_install+set}" = set; then :
2959 $as_echo_n "(cached) " >&6
2960 else
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 for as_dir in $PATH
2964 IFS=$as_save_IFS
2965 test -z "$as_dir" && as_dir=.
2966 # Account for people who put trailing slashes in PATH elements.
2967 case $as_dir/ in #((
2968 ./ | .// | /[cC]/* | \
2969 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2970 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2971 /usr/ucb/* ) ;;
2973 # OSF1 and SCO ODT 3.0 have their own names for install.
2974 # Don't use installbsd from OSF since it installs stuff as root
2975 # by default.
2976 for ac_prog in ginstall scoinst install; do
2977 for ac_exec_ext in '' $ac_executable_extensions; do
2978 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2979 if test $ac_prog = install &&
2980 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2981 # AIX install. It has an incompatible calling convention.
2983 elif test $ac_prog = install &&
2984 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2985 # program-specific install script used by HP pwplus--don't use.
2987 else
2988 rm -rf conftest.one conftest.two conftest.dir
2989 echo one > conftest.one
2990 echo two > conftest.two
2991 mkdir conftest.dir
2992 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2993 test -s conftest.one && test -s conftest.two &&
2994 test -s conftest.dir/conftest.one &&
2995 test -s conftest.dir/conftest.two
2996 then
2997 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2998 break 3
3002 done
3003 done
3005 esac
3007 done
3008 IFS=$as_save_IFS
3010 rm -rf conftest.one conftest.two conftest.dir
3013 if test "${ac_cv_path_install+set}" = set; then
3014 INSTALL=$ac_cv_path_install
3015 else
3016 # As a last resort, use the slow shell script. Don't cache a
3017 # value for INSTALL within a source directory, because that will
3018 # break other packages using the cache if that directory is
3019 # removed, or if the value is a relative name.
3020 INSTALL=$ac_install_sh
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3024 $as_echo "$INSTALL" >&6; }
3026 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3027 # It thinks the first close brace ends the variable substitution.
3028 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3030 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3032 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3035 $as_echo_n "checking whether build environment is sane... " >&6; }
3036 # Just in case
3037 sleep 1
3038 echo timestamp > conftest.file
3039 # Reject unsafe characters in $srcdir or the absolute working directory
3040 # name. Accept space and tab only in the latter.
3041 am_lf='
3043 case `pwd` in
3044 *[\\\"\#\$\&\'\`$am_lf]*)
3045 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3046 esac
3047 case $srcdir in
3048 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3049 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3050 esac
3052 # Do `set' in a subshell so we don't clobber the current shell's
3053 # arguments. Must try -L first in case configure is actually a
3054 # symlink; some systems play weird games with the mod time of symlinks
3055 # (eg FreeBSD returns the mod time of the symlink's containing
3056 # directory).
3057 if (
3058 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3059 if test "$*" = "X"; then
3060 # -L didn't work.
3061 set X `ls -t "$srcdir/configure" conftest.file`
3063 rm -f conftest.file
3064 if test "$*" != "X $srcdir/configure conftest.file" \
3065 && test "$*" != "X conftest.file $srcdir/configure"; then
3067 # If neither matched, then we have a broken ls. This can happen
3068 # if, for instance, CONFIG_SHELL is bash and it inherits a
3069 # broken ls alias from the environment. This has actually
3070 # happened. Such a system could not be considered "sane".
3071 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3072 alias in your environment" "$LINENO" 5
3075 test "$2" = conftest.file
3077 then
3078 # Ok.
3080 else
3081 as_fn_error "newly created file is older than distributed files!
3082 Check your system clock" "$LINENO" 5
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3085 $as_echo "yes" >&6; }
3086 test "$program_prefix" != NONE &&
3087 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3088 # Use a double $ so make ignores it.
3089 test "$program_suffix" != NONE &&
3090 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3091 # Double any \ or $.
3092 # By default was `s,x,x', remove it if useless.
3093 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3094 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3096 # expand $ac_aux_dir to an absolute path
3097 am_aux_dir=`cd $ac_aux_dir && pwd`
3099 if test x"${MISSING+set}" != xset; then
3100 case $am_aux_dir in
3101 *\ * | *\ *)
3102 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3104 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3105 esac
3107 # Use eval to expand $SHELL
3108 if eval "$MISSING --run true"; then
3109 am_missing_run="$MISSING --run "
3110 else
3111 am_missing_run=
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3113 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3116 if test x"${install_sh}" != xset; then
3117 case $am_aux_dir in
3118 *\ * | *\ *)
3119 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3121 install_sh="\${SHELL} $am_aux_dir/install-sh"
3122 esac
3125 # Installed binaries are usually stripped using `strip' when the user
3126 # run `make install-strip'. However `strip' might not be the right
3127 # tool to use in cross-compilation environments, therefore Automake
3128 # will honor the `STRIP' environment variable to overrule this program.
3129 if test "$cross_compiling" != no; then
3130 if test -n "$ac_tool_prefix"; then
3131 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3132 set dummy ${ac_tool_prefix}strip; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if test "${ac_cv_prog_STRIP+set}" = set; then :
3136 $as_echo_n "(cached) " >&6
3137 else
3138 if test -n "$STRIP"; then
3139 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3140 else
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 for as_dir in $PATH
3144 IFS=$as_save_IFS
3145 test -z "$as_dir" && as_dir=.
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150 break 2
3152 done
3153 done
3154 IFS=$as_save_IFS
3158 STRIP=$ac_cv_prog_STRIP
3159 if test -n "$STRIP"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3161 $as_echo "$STRIP" >&6; }
3162 else
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3169 if test -z "$ac_cv_prog_STRIP"; then
3170 ac_ct_STRIP=$STRIP
3171 # Extract the first word of "strip", so it can be a program name with args.
3172 set dummy strip; ac_word=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3176 $as_echo_n "(cached) " >&6
3177 else
3178 if test -n "$ac_ct_STRIP"; then
3179 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3180 else
3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3182 for as_dir in $PATH
3184 IFS=$as_save_IFS
3185 test -z "$as_dir" && as_dir=.
3186 for ac_exec_ext in '' $ac_executable_extensions; do
3187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3188 ac_cv_prog_ac_ct_STRIP="strip"
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3190 break 2
3192 done
3193 done
3194 IFS=$as_save_IFS
3198 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3199 if test -n "$ac_ct_STRIP"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3201 $as_echo "$ac_ct_STRIP" >&6; }
3202 else
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3207 if test "x$ac_ct_STRIP" = x; then
3208 STRIP=":"
3209 else
3210 case $cross_compiling:$ac_tool_warned in
3211 yes:)
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3214 ac_tool_warned=yes ;;
3215 esac
3216 STRIP=$ac_ct_STRIP
3218 else
3219 STRIP="$ac_cv_prog_STRIP"
3223 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3226 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3227 if test -z "$MKDIR_P"; then
3228 if test "${ac_cv_path_mkdir+set}" = set; then :
3229 $as_echo_n "(cached) " >&6
3230 else
3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3234 IFS=$as_save_IFS
3235 test -z "$as_dir" && as_dir=.
3236 for ac_prog in mkdir gmkdir; do
3237 for ac_exec_ext in '' $ac_executable_extensions; do
3238 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3239 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3240 'mkdir (GNU coreutils) '* | \
3241 'mkdir (coreutils) '* | \
3242 'mkdir (fileutils) '4.1*)
3243 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3244 break 3;;
3245 esac
3246 done
3247 done
3248 done
3249 IFS=$as_save_IFS
3253 if test "${ac_cv_path_mkdir+set}" = set; then
3254 MKDIR_P="$ac_cv_path_mkdir -p"
3255 else
3256 # As a last resort, use the slow shell script. Don't cache a
3257 # value for MKDIR_P within a source directory, because that will
3258 # break other packages using the cache if that directory is
3259 # removed, or if the value is a relative name.
3260 test -d ./--version && rmdir ./--version
3261 MKDIR_P="$ac_install_sh -d"
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3265 $as_echo "$MKDIR_P" >&6; }
3267 mkdir_p="$MKDIR_P"
3268 case $mkdir_p in
3269 [\\/$]* | ?:[\\/]*) ;;
3270 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3271 esac
3273 for ac_prog in gawk mawk nawk awk
3275 # Extract the first word of "$ac_prog", so it can be a program name with args.
3276 set dummy $ac_prog; ac_word=$2
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278 $as_echo_n "checking for $ac_word... " >&6; }
3279 if test "${ac_cv_prog_AWK+set}" = set; then :
3280 $as_echo_n "(cached) " >&6
3281 else
3282 if test -n "$AWK"; then
3283 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3284 else
3285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3286 for as_dir in $PATH
3288 IFS=$as_save_IFS
3289 test -z "$as_dir" && as_dir=.
3290 for ac_exec_ext in '' $ac_executable_extensions; do
3291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3292 ac_cv_prog_AWK="$ac_prog"
3293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3294 break 2
3296 done
3297 done
3298 IFS=$as_save_IFS
3302 AWK=$ac_cv_prog_AWK
3303 if test -n "$AWK"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3305 $as_echo "$AWK" >&6; }
3306 else
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3308 $as_echo "no" >&6; }
3312 test -n "$AWK" && break
3313 done
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3316 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3317 set x ${MAKE-make}
3318 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3319 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3320 $as_echo_n "(cached) " >&6
3321 else
3322 cat >conftest.make <<\_ACEOF
3323 SHELL = /bin/sh
3324 all:
3325 @echo '@@@%%%=$(MAKE)=@@@%%%'
3326 _ACEOF
3327 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3328 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3329 *@@@%%%=?*=@@@%%%*)
3330 eval ac_cv_prog_make_${ac_make}_set=yes;;
3332 eval ac_cv_prog_make_${ac_make}_set=no;;
3333 esac
3334 rm -f conftest.make
3336 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3338 $as_echo "yes" >&6; }
3339 SET_MAKE=
3340 else
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3343 SET_MAKE="MAKE=${MAKE-make}"
3346 rm -rf .tst 2>/dev/null
3347 mkdir .tst 2>/dev/null
3348 if test -d .tst; then
3349 am__leading_dot=.
3350 else
3351 am__leading_dot=_
3353 rmdir .tst 2>/dev/null
3355 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3356 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3357 # is not polluted with repeated "-I."
3358 am__isrc=' -I$(srcdir)'
3359 # test to see if srcdir already configured
3360 if test -f $srcdir/config.status; then
3361 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3365 # test whether we have cygpath
3366 if test -z "$CYGPATH_W"; then
3367 if (cygpath --version) >/dev/null 2>/dev/null; then
3368 CYGPATH_W='cygpath -w'
3369 else
3370 CYGPATH_W=echo
3375 # Define the identity of the package.
3376 PACKAGE='libgfortran'
3377 VERSION='0.3'
3380 # Some tools Automake needs.
3382 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3385 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3388 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3391 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3394 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3396 # We need awk for the "check" target. The system "awk" is bad on
3397 # some platforms.
3398 # Always define AMTAR for backward compatibility. Yes, it's still used
3399 # in the wild :-( We should find a proper way to deprecate it ...
3400 AMTAR='$${TAR-tar}'
3402 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3411 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3412 # Check whether --enable-maintainer-mode was given.
3413 if test "${enable_maintainer_mode+set}" = set; then :
3414 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3415 else
3416 USE_MAINTAINER_MODE=no
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3420 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3421 if test $USE_MAINTAINER_MODE = yes; then
3422 MAINTAINER_MODE_TRUE=
3423 MAINTAINER_MODE_FALSE='#'
3424 else
3425 MAINTAINER_MODE_TRUE='#'
3426 MAINTAINER_MODE_FALSE=
3429 MAINT=$MAINTAINER_MODE_TRUE
3432 # Default to --enable-multilib
3433 # Check whether --enable-multilib was given.
3434 if test "${enable_multilib+set}" = set; then :
3435 enableval=$enable_multilib; case "$enableval" in
3436 yes) multilib=yes ;;
3437 no) multilib=no ;;
3438 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3439 esac
3440 else
3441 multilib=yes
3445 # We may get other options which we leave undocumented:
3446 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3447 # See config-ml.in if you want the gory details.
3449 if test "$srcdir" = "."; then
3450 if test "$with_target_subdir" != "."; then
3451 multi_basedir="$srcdir/$with_multisrctop../.."
3452 else
3453 multi_basedir="$srcdir/$with_multisrctop.."
3455 else
3456 multi_basedir="$srcdir/.."
3460 # Even if the default multilib is not a cross compilation,
3461 # it may be that some of the other multilibs are.
3462 if test $cross_compiling = no && test $multilib = yes \
3463 && test "x${with_multisubdir}" != x ; then
3464 cross_compiling=maybe
3467 ac_config_commands="$ac_config_commands default-1"
3470 # Handy for debugging:
3471 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3473 # Are we being configured with some form of cross compiler?
3474 # NB: We don't actually need to know this just now, but when, say, a test
3475 # suite is included, we'll have to know.
3476 if test "$build" != "$host"; then
3477 LIBGFOR_IS_NATIVE=false
3479 else
3480 LIBGFOR_IS_NATIVE=true
3483 DEPDIR="${am__leading_dot}deps"
3485 ac_config_commands="$ac_config_commands depfiles"
3488 am_make=${MAKE-make}
3489 cat > confinc << 'END'
3490 am__doit:
3491 @echo this is the am__doit target
3492 .PHONY: am__doit
3494 # If we don't find an include directive, just comment out the code.
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3496 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3497 am__include="#"
3498 am__quote=
3499 _am_result=none
3500 # First try GNU make style include.
3501 echo "include confinc" > confmf
3502 # Ignore all kinds of additional output from `make'.
3503 case `$am_make -s -f confmf 2> /dev/null` in #(
3504 *the\ am__doit\ target*)
3505 am__include=include
3506 am__quote=
3507 _am_result=GNU
3509 esac
3510 # Now try BSD make style include.
3511 if test "$am__include" = "#"; then
3512 echo '.include "confinc"' > confmf
3513 case `$am_make -s -f confmf 2> /dev/null` in #(
3514 *the\ am__doit\ target*)
3515 am__include=.include
3516 am__quote="\""
3517 _am_result=BSD
3519 esac
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3524 $as_echo "$_am_result" >&6; }
3525 rm -f confinc confmf
3527 # Check whether --enable-dependency-tracking was given.
3528 if test "${enable_dependency_tracking+set}" = set; then :
3529 enableval=$enable_dependency_tracking;
3532 if test "x$enable_dependency_tracking" != xno; then
3533 am_depcomp="$ac_aux_dir/depcomp"
3534 AMDEPBACKSLASH='\'
3535 am__nodep='_no'
3537 if test "x$enable_dependency_tracking" != xno; then
3538 AMDEP_TRUE=
3539 AMDEP_FALSE='#'
3540 else
3541 AMDEP_TRUE='#'
3542 AMDEP_FALSE=
3546 ac_ext=c
3547 ac_cpp='$CPP $CPPFLAGS'
3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551 if test -n "$ac_tool_prefix"; then
3552 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3553 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if test "${ac_cv_prog_CC+set}" = set; then :
3557 $as_echo_n "(cached) " >&6
3558 else
3559 if test -n "$CC"; then
3560 ac_cv_prog_CC="$CC" # Let the user override the test.
3561 else
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3563 for as_dir in $PATH
3565 IFS=$as_save_IFS
3566 test -z "$as_dir" && as_dir=.
3567 for ac_exec_ext in '' $ac_executable_extensions; do
3568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571 break 2
3573 done
3574 done
3575 IFS=$as_save_IFS
3579 CC=$ac_cv_prog_CC
3580 if test -n "$CC"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3582 $as_echo "$CC" >&6; }
3583 else
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3590 if test -z "$ac_cv_prog_CC"; then
3591 ac_ct_CC=$CC
3592 # Extract the first word of "gcc", so it can be a program name with args.
3593 set dummy gcc; ac_word=$2
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3595 $as_echo_n "checking for $ac_word... " >&6; }
3596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3597 $as_echo_n "(cached) " >&6
3598 else
3599 if test -n "$ac_ct_CC"; then
3600 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3601 else
3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 for as_dir in $PATH
3605 IFS=$as_save_IFS
3606 test -z "$as_dir" && as_dir=.
3607 for ac_exec_ext in '' $ac_executable_extensions; do
3608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3609 ac_cv_prog_ac_ct_CC="gcc"
3610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3611 break 2
3613 done
3614 done
3615 IFS=$as_save_IFS
3619 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3620 if test -n "$ac_ct_CC"; then
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3622 $as_echo "$ac_ct_CC" >&6; }
3623 else
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625 $as_echo "no" >&6; }
3628 if test "x$ac_ct_CC" = x; then
3629 CC=""
3630 else
3631 case $cross_compiling:$ac_tool_warned in
3632 yes:)
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3635 ac_tool_warned=yes ;;
3636 esac
3637 CC=$ac_ct_CC
3639 else
3640 CC="$ac_cv_prog_CC"
3643 if test -z "$CC"; then
3644 if test -n "$ac_tool_prefix"; then
3645 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3646 set dummy ${ac_tool_prefix}cc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test "${ac_cv_prog_CC+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3651 else
3652 if test -n "$CC"; then
3653 ac_cv_prog_CC="$CC" # Let the user override the test.
3654 else
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3658 IFS=$as_save_IFS
3659 test -z "$as_dir" && as_dir=.
3660 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_prog_CC="${ac_tool_prefix}cc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 break 2
3666 done
3667 done
3668 IFS=$as_save_IFS
3672 CC=$ac_cv_prog_CC
3673 if test -n "$CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3676 else
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3684 if test -z "$CC"; then
3685 # Extract the first word of "cc", so it can be a program name with args.
3686 set dummy cc; ac_word=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_CC+set}" = set; then :
3690 $as_echo_n "(cached) " >&6
3691 else
3692 if test -n "$CC"; then
3693 ac_cv_prog_CC="$CC" # Let the user override the test.
3694 else
3695 ac_prog_rejected=no
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 for as_dir in $PATH
3699 IFS=$as_save_IFS
3700 test -z "$as_dir" && as_dir=.
3701 for ac_exec_ext in '' $ac_executable_extensions; do
3702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3703 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3704 ac_prog_rejected=yes
3705 continue
3707 ac_cv_prog_CC="cc"
3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3709 break 2
3711 done
3712 done
3713 IFS=$as_save_IFS
3715 if test $ac_prog_rejected = yes; then
3716 # We found a bogon in the path, so make sure we never use it.
3717 set dummy $ac_cv_prog_CC
3718 shift
3719 if test $# != 0; then
3720 # We chose a different compiler from the bogus one.
3721 # However, it has the same basename, so the bogon will be chosen
3722 # first if we set CC to just the basename; use the full file name.
3723 shift
3724 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3729 CC=$ac_cv_prog_CC
3730 if test -n "$CC"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3733 else
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3740 if test -z "$CC"; then
3741 if test -n "$ac_tool_prefix"; then
3742 for ac_prog in cl.exe
3744 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3745 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if test "${ac_cv_prog_CC+set}" = set; then :
3749 $as_echo_n "(cached) " >&6
3750 else
3751 if test -n "$CC"; then
3752 ac_cv_prog_CC="$CC" # Let the user override the test.
3753 else
3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 for as_dir in $PATH
3757 IFS=$as_save_IFS
3758 test -z "$as_dir" && as_dir=.
3759 for ac_exec_ext in '' $ac_executable_extensions; do
3760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3761 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 break 2
3765 done
3766 done
3767 IFS=$as_save_IFS
3771 CC=$ac_cv_prog_CC
3772 if test -n "$CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3774 $as_echo "$CC" >&6; }
3775 else
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3781 test -n "$CC" && break
3782 done
3784 if test -z "$CC"; then
3785 ac_ct_CC=$CC
3786 for ac_prog in cl.exe
3788 # Extract the first word of "$ac_prog", so it can be a program name with args.
3789 set dummy $ac_prog; ac_word=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3793 $as_echo_n "(cached) " >&6
3794 else
3795 if test -n "$ac_ct_CC"; then
3796 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3797 else
3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799 for as_dir in $PATH
3801 IFS=$as_save_IFS
3802 test -z "$as_dir" && as_dir=.
3803 for ac_exec_ext in '' $ac_executable_extensions; do
3804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805 ac_cv_prog_ac_ct_CC="$ac_prog"
3806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 break 2
3809 done
3810 done
3811 IFS=$as_save_IFS
3815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3816 if test -n "$ac_ct_CC"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3818 $as_echo "$ac_ct_CC" >&6; }
3819 else
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3825 test -n "$ac_ct_CC" && break
3826 done
3828 if test "x$ac_ct_CC" = x; then
3829 CC=""
3830 else
3831 case $cross_compiling:$ac_tool_warned in
3832 yes:)
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3835 ac_tool_warned=yes ;;
3836 esac
3837 CC=$ac_ct_CC
3844 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3846 as_fn_error "no acceptable C compiler found in \$PATH
3847 See \`config.log' for more details." "$LINENO" 5; }
3849 # Provide some information about the compiler.
3850 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3851 set X $ac_compile
3852 ac_compiler=$2
3853 for ac_option in --version -v -V -qversion; do
3854 { { ac_try="$ac_compiler $ac_option >&5"
3855 case "(($ac_try" in
3856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3857 *) ac_try_echo=$ac_try;;
3858 esac
3859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3860 $as_echo "$ac_try_echo"; } >&5
3861 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3862 ac_status=$?
3863 if test -s conftest.err; then
3864 sed '10a\
3865 ... rest of stderr output deleted ...
3866 10q' conftest.err >conftest.er1
3867 cat conftest.er1 >&5
3868 rm -f conftest.er1 conftest.err
3870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3871 test $ac_status = 0; }
3872 done
3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h. */
3878 main ()
3882 return 0;
3884 _ACEOF
3885 # FIXME: Cleanup?
3886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3887 (eval $ac_link) 2>&5
3888 ac_status=$?
3889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890 test $ac_status = 0; }; then :
3891 gcc_no_link=no
3892 else
3893 gcc_no_link=yes
3895 if test x$gcc_no_link = xyes; then
3896 # Setting cross_compile will disable run tests; it will
3897 # also disable AC_CHECK_FILE but that's generally
3898 # correct if we can't link.
3899 cross_compiling=yes
3900 EXEEXT=
3901 else
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3906 main ()
3910 return 0;
3912 _ACEOF
3913 ac_clean_files_save=$ac_clean_files
3914 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3915 # Try to create an executable without -o first, disregard a.out.
3916 # It will help us diagnose broken compilers, and finding out an intuition
3917 # of exeext.
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3919 $as_echo_n "checking for C compiler default output file name... " >&6; }
3920 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3922 # The possible output files:
3923 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3925 ac_rmfiles=
3926 for ac_file in $ac_files
3928 case $ac_file in
3929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3930 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3931 esac
3932 done
3933 rm -f $ac_rmfiles
3935 if { { ac_try="$ac_link_default"
3936 case "(($ac_try" in
3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3939 esac
3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_link_default") 2>&5
3943 ac_status=$?
3944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945 test $ac_status = 0; }; then :
3946 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3947 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3948 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3949 # so that the user can short-circuit this test for compilers unknown to
3950 # Autoconf.
3951 for ac_file in $ac_files ''
3953 test -f "$ac_file" || continue
3954 case $ac_file in
3955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3957 [ab].out )
3958 # We found the default executable, but exeext='' is most
3959 # certainly right.
3960 break;;
3961 *.* )
3962 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3963 then :; else
3964 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3966 # We set ac_cv_exeext here because the later test for it is not
3967 # safe: cross compilers may not add the suffix if given an `-o'
3968 # argument, so we may need to know it at that point already.
3969 # Even if this section looks crufty: it has the advantage of
3970 # actually working.
3971 break;;
3973 break;;
3974 esac
3975 done
3976 test "$ac_cv_exeext" = no && ac_cv_exeext=
3978 else
3979 ac_file=''
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3982 $as_echo "$ac_file" >&6; }
3983 if test -z "$ac_file"; then :
3984 $as_echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.$ac_ext >&5
3987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989 { as_fn_set_status 77
3990 as_fn_error "C compiler cannot create executables
3991 See \`config.log' for more details." "$LINENO" 5; }; }
3993 ac_exeext=$ac_cv_exeext
3995 # Check that the compiler produces executables we can run. If not, either
3996 # the compiler is broken, or we cross compile.
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3998 $as_echo_n "checking whether the C compiler works... " >&6; }
3999 # If not cross compiling, check that we can run a simple program.
4000 if test "$cross_compiling" != yes; then
4001 if { ac_try='./$ac_file'
4002 { { case "(($ac_try" in
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4005 esac
4006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4007 $as_echo "$ac_try_echo"; } >&5
4008 (eval "$ac_try") 2>&5
4009 ac_status=$?
4010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4011 test $ac_status = 0; }; }; then
4012 cross_compiling=no
4013 else
4014 if test "$cross_compiling" = maybe; then
4015 cross_compiling=yes
4016 else
4017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4019 as_fn_error "cannot run C compiled programs.
4020 If you meant to cross compile, use \`--host'.
4021 See \`config.log' for more details." "$LINENO" 5; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4026 $as_echo "yes" >&6; }
4028 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4029 ac_clean_files=$ac_clean_files_save
4030 # Check that the compiler produces executables we can run. If not, either
4031 # the compiler is broken, or we cross compile.
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4033 $as_echo_n "checking whether we are cross compiling... " >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4035 $as_echo "$cross_compiling" >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4038 $as_echo_n "checking for suffix of executables... " >&6; }
4039 if { { ac_try="$ac_link"
4040 case "(($ac_try" in
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4043 esac
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046 (eval "$ac_link") 2>&5
4047 ac_status=$?
4048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049 test $ac_status = 0; }; then :
4050 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4051 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4052 # work properly (i.e., refer to `conftest.exe'), while it won't with
4053 # `rm'.
4054 for ac_file in conftest.exe conftest conftest.*; do
4055 test -f "$ac_file" || continue
4056 case $ac_file in
4057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4058 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4059 break;;
4060 * ) break;;
4061 esac
4062 done
4063 else
4064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4066 as_fn_error "cannot compute suffix of executables: cannot compile and link
4067 See \`config.log' for more details." "$LINENO" 5; }
4069 rm -f conftest$ac_cv_exeext
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4071 $as_echo "$ac_cv_exeext" >&6; }
4073 rm -f conftest.$ac_ext
4074 EXEEXT=$ac_cv_exeext
4075 ac_exeext=$EXEEXT
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4078 $as_echo_n "checking for suffix of object files... " >&6; }
4079 if test "${ac_cv_objext+set}" = set; then :
4080 $as_echo_n "(cached) " >&6
4081 else
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4086 main ()
4090 return 0;
4092 _ACEOF
4093 rm -f conftest.o conftest.obj
4094 if { { ac_try="$ac_compile"
4095 case "(($ac_try" in
4096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097 *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101 (eval "$ac_compile") 2>&5
4102 ac_status=$?
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }; then :
4105 for ac_file in conftest.o conftest.obj conftest.*; do
4106 test -f "$ac_file" || continue;
4107 case $ac_file in
4108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4109 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4110 break;;
4111 esac
4112 done
4113 else
4114 $as_echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error "cannot compute suffix of object files: cannot compile
4120 See \`config.log' for more details." "$LINENO" 5; }
4122 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4125 $as_echo "$ac_cv_objext" >&6; }
4126 OBJEXT=$ac_cv_objext
4127 ac_objext=$OBJEXT
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4129 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4130 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4131 $as_echo_n "(cached) " >&6
4132 else
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4137 main ()
4139 #ifndef __GNUC__
4140 choke me
4141 #endif
4144 return 0;
4146 _ACEOF
4147 if ac_fn_c_try_compile "$LINENO"; then :
4148 ac_compiler_gnu=yes
4149 else
4150 ac_compiler_gnu=no
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4157 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4158 if test $ac_compiler_gnu = yes; then
4159 GCC=yes
4160 else
4161 GCC=
4163 ac_test_CFLAGS=${CFLAGS+set}
4164 ac_save_CFLAGS=$CFLAGS
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4166 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4167 if test "${ac_cv_prog_cc_g+set}" = set; then :
4168 $as_echo_n "(cached) " >&6
4169 else
4170 ac_save_c_werror_flag=$ac_c_werror_flag
4171 ac_c_werror_flag=yes
4172 ac_cv_prog_cc_g=no
4173 CFLAGS="-g"
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4178 main ()
4182 return 0;
4184 _ACEOF
4185 if ac_fn_c_try_compile "$LINENO"; then :
4186 ac_cv_prog_cc_g=yes
4187 else
4188 CFLAGS=""
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4193 main ()
4197 return 0;
4199 _ACEOF
4200 if ac_fn_c_try_compile "$LINENO"; then :
4202 else
4203 ac_c_werror_flag=$ac_save_c_werror_flag
4204 CFLAGS="-g"
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4209 main ()
4213 return 0;
4215 _ACEOF
4216 if ac_fn_c_try_compile "$LINENO"; then :
4217 ac_cv_prog_cc_g=yes
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 ac_c_werror_flag=$ac_save_c_werror_flag
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4227 $as_echo "$ac_cv_prog_cc_g" >&6; }
4228 if test "$ac_test_CFLAGS" = set; then
4229 CFLAGS=$ac_save_CFLAGS
4230 elif test $ac_cv_prog_cc_g = yes; then
4231 if test "$GCC" = yes; then
4232 CFLAGS="-g -O2"
4233 else
4234 CFLAGS="-g"
4236 else
4237 if test "$GCC" = yes; then
4238 CFLAGS="-O2"
4239 else
4240 CFLAGS=
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4244 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4245 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4246 $as_echo_n "(cached) " >&6
4247 else
4248 ac_cv_prog_cc_c89=no
4249 ac_save_CC=$CC
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4252 #include <stdarg.h>
4253 #include <stdio.h>
4254 #include <sys/types.h>
4255 #include <sys/stat.h>
4256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4257 struct buf { int x; };
4258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4259 static char *e (p, i)
4260 char **p;
4261 int i;
4263 return p[i];
4265 static char *f (char * (*g) (char **, int), char **p, ...)
4267 char *s;
4268 va_list v;
4269 va_start (v,p);
4270 s = g (p, va_arg (v,int));
4271 va_end (v);
4272 return s;
4275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4276 function prototypes and stuff, but not '\xHH' hex character constants.
4277 These don't provoke an error unfortunately, instead are silently treated
4278 as 'x'. The following induces an error, until -std is added to get
4279 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4280 array size at least. It's necessary to write '\x00'==0 to get something
4281 that's true only with -std. */
4282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4285 inside strings and character constants. */
4286 #define FOO(x) 'x'
4287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4289 int test (int i, double x);
4290 struct s1 {int (*f) (int a);};
4291 struct s2 {int (*f) (double a);};
4292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4293 int argc;
4294 char **argv;
4296 main ()
4298 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4300 return 0;
4302 _ACEOF
4303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4304 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4306 CC="$ac_save_CC $ac_arg"
4307 if ac_fn_c_try_compile "$LINENO"; then :
4308 ac_cv_prog_cc_c89=$ac_arg
4310 rm -f core conftest.err conftest.$ac_objext
4311 test "x$ac_cv_prog_cc_c89" != "xno" && break
4312 done
4313 rm -f conftest.$ac_ext
4314 CC=$ac_save_CC
4317 # AC_CACHE_VAL
4318 case "x$ac_cv_prog_cc_c89" in
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4321 $as_echo "none needed" >&6; } ;;
4322 xno)
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4324 $as_echo "unsupported" >&6; } ;;
4326 CC="$CC $ac_cv_prog_cc_c89"
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4328 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4329 esac
4330 if test "x$ac_cv_prog_cc_c89" != xno; then :
4334 ac_ext=c
4335 ac_cpp='$CPP $CPPFLAGS'
4336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4340 depcc="$CC" am_compiler_list=
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4343 $as_echo_n "checking dependency style of $depcc... " >&6; }
4344 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4348 # We make a subdir and do the tests there. Otherwise we can end up
4349 # making bogus files that we don't know about and never remove. For
4350 # instance it was reported that on HP-UX the gcc test will end up
4351 # making a dummy file named `D' -- because `-MD' means `put the output
4352 # in D'.
4353 rm -rf conftest.dir
4354 mkdir conftest.dir
4355 # Copy depcomp to subdir because otherwise we won't find it if we're
4356 # using a relative directory.
4357 cp "$am_depcomp" conftest.dir
4358 cd conftest.dir
4359 # We will build objects and dependencies in a subdirectory because
4360 # it helps to detect inapplicable dependency modes. For instance
4361 # both Tru64's cc and ICC support -MD to output dependencies as a
4362 # side effect of compilation, but ICC will put the dependencies in
4363 # the current directory while Tru64 will put them in the object
4364 # directory.
4365 mkdir sub
4367 am_cv_CC_dependencies_compiler_type=none
4368 if test "$am_compiler_list" = ""; then
4369 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4371 am__universal=false
4372 case " $depcc " in #(
4373 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4374 esac
4376 for depmode in $am_compiler_list; do
4377 # Setup a source with many dependencies, because some compilers
4378 # like to wrap large dependency lists on column 80 (with \), and
4379 # we should not choose a depcomp mode which is confused by this.
4381 # We need to recreate these files for each test, as the compiler may
4382 # overwrite some of them when testing with obscure command lines.
4383 # This happens at least with the AIX C compiler.
4384 : > sub/conftest.c
4385 for i in 1 2 3 4 5 6; do
4386 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4387 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4388 # Solaris 8's {/usr,}/bin/sh.
4389 touch sub/conftst$i.h
4390 done
4391 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4393 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4394 # mode. It turns out that the SunPro C++ compiler does not properly
4395 # handle `-M -o', and we need to detect this. Also, some Intel
4396 # versions had trouble with output in subdirs
4397 am__obj=sub/conftest.${OBJEXT-o}
4398 am__minus_obj="-o $am__obj"
4399 case $depmode in
4400 gcc)
4401 # This depmode causes a compiler race in universal mode.
4402 test "$am__universal" = false || continue
4404 nosideeffect)
4405 # after this tag, mechanisms are not by side-effect, so they'll
4406 # only be used when explicitly requested
4407 if test "x$enable_dependency_tracking" = xyes; then
4408 continue
4409 else
4410 break
4413 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4414 # This compiler won't grok `-c -o', but also, the minuso test has
4415 # not run yet. These depmodes are late enough in the game, and
4416 # so weak that their functioning should not be impacted.
4417 am__obj=conftest.${OBJEXT-o}
4418 am__minus_obj=
4420 none) break ;;
4421 esac
4422 if depmode=$depmode \
4423 source=sub/conftest.c object=$am__obj \
4424 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4425 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4426 >/dev/null 2>conftest.err &&
4427 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4428 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4429 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4430 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4431 # icc doesn't choke on unknown options, it will just issue warnings
4432 # or remarks (even with -Werror). So we grep stderr for any message
4433 # that says an option was ignored or not supported.
4434 # When given -MP, icc 7.0 and 7.1 complain thusly:
4435 # icc: Command line warning: ignoring option '-M'; no argument required
4436 # The diagnosis changed in icc 8.0:
4437 # icc: Command line remark: option '-MP' not supported
4438 if (grep 'ignoring option' conftest.err ||
4439 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4440 am_cv_CC_dependencies_compiler_type=$depmode
4441 break
4444 done
4446 cd ..
4447 rm -rf conftest.dir
4448 else
4449 am_cv_CC_dependencies_compiler_type=none
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4454 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4455 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4458 test "x$enable_dependency_tracking" != xno \
4459 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4460 am__fastdepCC_TRUE=
4461 am__fastdepCC_FALSE='#'
4462 else
4463 am__fastdepCC_TRUE='#'
4464 am__fastdepCC_FALSE=
4469 ac_ext=c
4470 ac_cpp='$CPP $CPPFLAGS'
4471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4475 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4476 # On Suns, sometimes $CPP names a directory.
4477 if test -n "$CPP" && test -d "$CPP"; then
4478 CPP=
4480 if test -z "$CPP"; then
4481 if test "${ac_cv_prog_CPP+set}" = set; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4484 # Double quotes because CPP needs to be expanded
4485 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4487 ac_preproc_ok=false
4488 for ac_c_preproc_warn_flag in '' yes
4490 # Use a header file that comes with gcc, so configuring glibc
4491 # with a fresh cross-compiler works.
4492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4493 # <limits.h> exists even on freestanding compilers.
4494 # On the NeXT, cc -E runs the code through the compiler's parser,
4495 # not just through cpp. "Syntax error" is here to catch this case.
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4498 #ifdef __STDC__
4499 # include <limits.h>
4500 #else
4501 # include <assert.h>
4502 #endif
4503 Syntax error
4504 _ACEOF
4505 if ac_fn_c_try_cpp "$LINENO"; then :
4507 else
4508 # Broken: fails on valid input.
4509 continue
4511 rm -f conftest.err conftest.$ac_ext
4513 # OK, works on sane cases. Now check whether nonexistent headers
4514 # can be detected and how.
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4517 #include <ac_nonexistent.h>
4518 _ACEOF
4519 if ac_fn_c_try_cpp "$LINENO"; then :
4520 # Broken: success on invalid input.
4521 continue
4522 else
4523 # Passes both tests.
4524 ac_preproc_ok=:
4525 break
4527 rm -f conftest.err conftest.$ac_ext
4529 done
4530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4531 rm -f conftest.err conftest.$ac_ext
4532 if $ac_preproc_ok; then :
4533 break
4536 done
4537 ac_cv_prog_CPP=$CPP
4540 CPP=$ac_cv_prog_CPP
4541 else
4542 ac_cv_prog_CPP=$CPP
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4545 $as_echo "$CPP" >&6; }
4546 ac_preproc_ok=false
4547 for ac_c_preproc_warn_flag in '' yes
4549 # Use a header file that comes with gcc, so configuring glibc
4550 # with a fresh cross-compiler works.
4551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4552 # <limits.h> exists even on freestanding compilers.
4553 # On the NeXT, cc -E runs the code through the compiler's parser,
4554 # not just through cpp. "Syntax error" is here to catch this case.
4555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4557 #ifdef __STDC__
4558 # include <limits.h>
4559 #else
4560 # include <assert.h>
4561 #endif
4562 Syntax error
4563 _ACEOF
4564 if ac_fn_c_try_cpp "$LINENO"; then :
4566 else
4567 # Broken: fails on valid input.
4568 continue
4570 rm -f conftest.err conftest.$ac_ext
4572 # OK, works on sane cases. Now check whether nonexistent headers
4573 # can be detected and how.
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4576 #include <ac_nonexistent.h>
4577 _ACEOF
4578 if ac_fn_c_try_cpp "$LINENO"; then :
4579 # Broken: success on invalid input.
4580 continue
4581 else
4582 # Passes both tests.
4583 ac_preproc_ok=:
4584 break
4586 rm -f conftest.err conftest.$ac_ext
4588 done
4589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4590 rm -f conftest.err conftest.$ac_ext
4591 if $ac_preproc_ok; then :
4593 else
4594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4596 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4597 See \`config.log' for more details." "$LINENO" 5; }
4600 ac_ext=c
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4608 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4609 if test "${ac_cv_path_GREP+set}" = set; then :
4610 $as_echo_n "(cached) " >&6
4611 else
4612 if test -z "$GREP"; then
4613 ac_path_GREP_found=false
4614 # Loop through the user's path and test for each of PROGNAME-LIST
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4618 IFS=$as_save_IFS
4619 test -z "$as_dir" && as_dir=.
4620 for ac_prog in grep ggrep; do
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4623 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4624 # Check for GNU ac_path_GREP and select it if it is found.
4625 # Check for GNU $ac_path_GREP
4626 case `"$ac_path_GREP" --version 2>&1` in
4627 *GNU*)
4628 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4630 ac_count=0
4631 $as_echo_n 0123456789 >"conftest.in"
4632 while :
4634 cat "conftest.in" "conftest.in" >"conftest.tmp"
4635 mv "conftest.tmp" "conftest.in"
4636 cp "conftest.in" "conftest.nl"
4637 $as_echo 'GREP' >> "conftest.nl"
4638 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4639 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4640 as_fn_arith $ac_count + 1 && ac_count=$as_val
4641 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4642 # Best one so far, save it but keep looking for a better one
4643 ac_cv_path_GREP="$ac_path_GREP"
4644 ac_path_GREP_max=$ac_count
4646 # 10*(2^10) chars as input seems more than enough
4647 test $ac_count -gt 10 && break
4648 done
4649 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4650 esac
4652 $ac_path_GREP_found && break 3
4653 done
4654 done
4655 done
4656 IFS=$as_save_IFS
4657 if test -z "$ac_cv_path_GREP"; then
4658 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4660 else
4661 ac_cv_path_GREP=$GREP
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4666 $as_echo "$ac_cv_path_GREP" >&6; }
4667 GREP="$ac_cv_path_GREP"
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4671 $as_echo_n "checking for egrep... " >&6; }
4672 if test "${ac_cv_path_EGREP+set}" = set; then :
4673 $as_echo_n "(cached) " >&6
4674 else
4675 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4676 then ac_cv_path_EGREP="$GREP -E"
4677 else
4678 if test -z "$EGREP"; then
4679 ac_path_EGREP_found=false
4680 # Loop through the user's path and test for each of PROGNAME-LIST
4681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4682 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4684 IFS=$as_save_IFS
4685 test -z "$as_dir" && as_dir=.
4686 for ac_prog in egrep; do
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4689 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4690 # Check for GNU ac_path_EGREP and select it if it is found.
4691 # Check for GNU $ac_path_EGREP
4692 case `"$ac_path_EGREP" --version 2>&1` in
4693 *GNU*)
4694 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4696 ac_count=0
4697 $as_echo_n 0123456789 >"conftest.in"
4698 while :
4700 cat "conftest.in" "conftest.in" >"conftest.tmp"
4701 mv "conftest.tmp" "conftest.in"
4702 cp "conftest.in" "conftest.nl"
4703 $as_echo 'EGREP' >> "conftest.nl"
4704 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4705 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4706 as_fn_arith $ac_count + 1 && ac_count=$as_val
4707 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4708 # Best one so far, save it but keep looking for a better one
4709 ac_cv_path_EGREP="$ac_path_EGREP"
4710 ac_path_EGREP_max=$ac_count
4712 # 10*(2^10) chars as input seems more than enough
4713 test $ac_count -gt 10 && break
4714 done
4715 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4716 esac
4718 $ac_path_EGREP_found && break 3
4719 done
4720 done
4721 done
4722 IFS=$as_save_IFS
4723 if test -z "$ac_cv_path_EGREP"; then
4724 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4726 else
4727 ac_cv_path_EGREP=$EGREP
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4733 $as_echo "$ac_cv_path_EGREP" >&6; }
4734 EGREP="$ac_cv_path_EGREP"
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4738 $as_echo_n "checking for ANSI C header files... " >&6; }
4739 if test "${ac_cv_header_stdc+set}" = set; then :
4740 $as_echo_n "(cached) " >&6
4741 else
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4744 #include <stdlib.h>
4745 #include <stdarg.h>
4746 #include <string.h>
4747 #include <float.h>
4750 main ()
4754 return 0;
4756 _ACEOF
4757 if ac_fn_c_try_compile "$LINENO"; then :
4758 ac_cv_header_stdc=yes
4759 else
4760 ac_cv_header_stdc=no
4762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4764 if test $ac_cv_header_stdc = yes; then
4765 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4768 #include <string.h>
4770 _ACEOF
4771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4772 $EGREP "memchr" >/dev/null 2>&1; then :
4774 else
4775 ac_cv_header_stdc=no
4777 rm -f conftest*
4781 if test $ac_cv_header_stdc = yes; then
4782 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4785 #include <stdlib.h>
4787 _ACEOF
4788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4789 $EGREP "free" >/dev/null 2>&1; then :
4791 else
4792 ac_cv_header_stdc=no
4794 rm -f conftest*
4798 if test $ac_cv_header_stdc = yes; then
4799 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4800 if test "$cross_compiling" = yes; then :
4802 else
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4805 #include <ctype.h>
4806 #include <stdlib.h>
4807 #if ((' ' & 0x0FF) == 0x020)
4808 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4809 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4810 #else
4811 # define ISLOWER(c) \
4812 (('a' <= (c) && (c) <= 'i') \
4813 || ('j' <= (c) && (c) <= 'r') \
4814 || ('s' <= (c) && (c) <= 'z'))
4815 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4816 #endif
4818 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4820 main ()
4822 int i;
4823 for (i = 0; i < 256; i++)
4824 if (XOR (islower (i), ISLOWER (i))
4825 || toupper (i) != TOUPPER (i))
4826 return 2;
4827 return 0;
4829 _ACEOF
4830 if ac_fn_c_try_run "$LINENO"; then :
4832 else
4833 ac_cv_header_stdc=no
4835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4836 conftest.$ac_objext conftest.beam conftest.$ac_ext
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4842 $as_echo "$ac_cv_header_stdc" >&6; }
4843 if test $ac_cv_header_stdc = yes; then
4845 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4849 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4850 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4851 inttypes.h stdint.h unistd.h
4852 do :
4853 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4854 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4856 eval as_val=\$$as_ac_Header
4857 if test "x$as_val" = x""yes; then :
4858 cat >>confdefs.h <<_ACEOF
4859 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4860 _ACEOF
4864 done
4868 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4869 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4870 MINIX=yes
4871 else
4872 MINIX=
4876 if test "$MINIX" = yes; then
4878 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4881 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4884 $as_echo "#define _MINIX 1" >>confdefs.h
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4890 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4891 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4892 $as_echo_n "(cached) " >&6
4893 else
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4897 # define __EXTENSIONS__ 1
4898 $ac_includes_default
4900 main ()
4904 return 0;
4906 _ACEOF
4907 if ac_fn_c_try_compile "$LINENO"; then :
4908 ac_cv_safe_to_define___extensions__=yes
4909 else
4910 ac_cv_safe_to_define___extensions__=no
4912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4915 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4916 test $ac_cv_safe_to_define___extensions__ = yes &&
4917 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4919 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4921 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4923 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4925 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4929 # Calculate toolexeclibdir
4930 # Also toolexecdir, though it's only used in toolexeclibdir
4931 case ${version_specific_libs} in
4932 yes)
4933 # Need the gcc compiler version to know where to install libraries
4934 # and header files if --enable-version-specific-runtime-libs option
4935 # is selected.
4936 toolexecdir='$(libdir)/gcc/$(target_alias)'
4937 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4940 if test -n "$with_cross_host" &&
4941 test x"$with_cross_host" != x"no"; then
4942 # Install a library built with a cross compiler in tooldir, not libdir.
4943 toolexecdir='$(exec_prefix)/$(target_alias)'
4944 toolexeclibdir='$(toolexecdir)/lib'
4945 else
4946 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4947 toolexeclibdir='$(libdir)'
4949 multi_os_directory=`$CC -print-multi-os-directory`
4950 case $multi_os_directory in
4951 .) ;; # Avoid trailing /.
4952 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4953 esac
4955 esac
4959 # Create a spec file, so that compile/link tests don't fail
4960 test -f libgfortran.spec || touch libgfortran.spec
4962 ac_ext=c
4963 ac_cpp='$CPP $CPPFLAGS'
4964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4968 # Check the compiler.
4969 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4970 # We must force CC to /not/ be precious variables; otherwise
4971 # the wrong, non-multilib-adjusted value will be used in multilibs.
4972 # As a side effect, we have to subst CFLAGS ourselves.
4976 ac_ext=c
4977 ac_cpp='$CPP $CPPFLAGS'
4978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4983 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if test "${ac_cv_prog_CC+set}" = set; then :
4987 $as_echo_n "(cached) " >&6
4988 else
4989 if test -n "$CC"; then
4990 ac_cv_prog_CC="$CC" # Let the user override the test.
4991 else
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 for as_dir in $PATH
4995 IFS=$as_save_IFS
4996 test -z "$as_dir" && as_dir=.
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 break 2
5003 done
5004 done
5005 IFS=$as_save_IFS
5009 CC=$ac_cv_prog_CC
5010 if test -n "$CC"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5012 $as_echo "$CC" >&6; }
5013 else
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5020 if test -z "$ac_cv_prog_CC"; then
5021 ac_ct_CC=$CC
5022 # Extract the first word of "gcc", so it can be a program name with args.
5023 set dummy gcc; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 if test -n "$ac_ct_CC"; then
5030 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5035 IFS=$as_save_IFS
5036 test -z "$as_dir" && as_dir=.
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039 ac_cv_prog_ac_ct_CC="gcc"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041 break 2
5043 done
5044 done
5045 IFS=$as_save_IFS
5049 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5050 if test -n "$ac_ct_CC"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5052 $as_echo "$ac_ct_CC" >&6; }
5053 else
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5058 if test "x$ac_ct_CC" = x; then
5059 CC=""
5060 else
5061 case $cross_compiling:$ac_tool_warned in
5062 yes:)
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5065 ac_tool_warned=yes ;;
5066 esac
5067 CC=$ac_ct_CC
5069 else
5070 CC="$ac_cv_prog_CC"
5073 if test -z "$CC"; then
5074 if test -n "$ac_tool_prefix"; then
5075 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5076 set dummy ${ac_tool_prefix}cc; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_CC+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$CC"; then
5083 ac_cv_prog_CC="$CC" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_CC="${ac_tool_prefix}cc"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 CC=$ac_cv_prog_CC
5103 if test -n "$CC"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5105 $as_echo "$CC" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5114 if test -z "$CC"; then
5115 # Extract the first word of "cc", so it can be a program name with args.
5116 set dummy cc; ac_word=$2
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if test "${ac_cv_prog_CC+set}" = set; then :
5120 $as_echo_n "(cached) " >&6
5121 else
5122 if test -n "$CC"; then
5123 ac_cv_prog_CC="$CC" # Let the user override the test.
5124 else
5125 ac_prog_rejected=no
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5129 IFS=$as_save_IFS
5130 test -z "$as_dir" && as_dir=.
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5134 ac_prog_rejected=yes
5135 continue
5137 ac_cv_prog_CC="cc"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5145 if test $ac_prog_rejected = yes; then
5146 # We found a bogon in the path, so make sure we never use it.
5147 set dummy $ac_cv_prog_CC
5148 shift
5149 if test $# != 0; then
5150 # We chose a different compiler from the bogus one.
5151 # However, it has the same basename, so the bogon will be chosen
5152 # first if we set CC to just the basename; use the full file name.
5153 shift
5154 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5159 CC=$ac_cv_prog_CC
5160 if test -n "$CC"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5162 $as_echo "$CC" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$CC"; then
5171 if test -n "$ac_tool_prefix"; then
5172 for ac_prog in cl.exe
5174 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5175 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if test "${ac_cv_prog_CC+set}" = set; then :
5179 $as_echo_n "(cached) " >&6
5180 else
5181 if test -n "$CC"; then
5182 ac_cv_prog_CC="$CC" # Let the user override the test.
5183 else
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 for as_dir in $PATH
5187 IFS=$as_save_IFS
5188 test -z "$as_dir" && as_dir=.
5189 for ac_exec_ext in '' $ac_executable_extensions; do
5190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5191 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 break 2
5195 done
5196 done
5197 IFS=$as_save_IFS
5201 CC=$ac_cv_prog_CC
5202 if test -n "$CC"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5204 $as_echo "$CC" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5211 test -n "$CC" && break
5212 done
5214 if test -z "$CC"; then
5215 ac_ct_CC=$CC
5216 for ac_prog in cl.exe
5218 # Extract the first word of "$ac_prog", so it can be a program name with args.
5219 set dummy $ac_prog; ac_word=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5223 $as_echo_n "(cached) " >&6
5224 else
5225 if test -n "$ac_ct_CC"; then
5226 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5227 else
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 for as_dir in $PATH
5231 IFS=$as_save_IFS
5232 test -z "$as_dir" && as_dir=.
5233 for ac_exec_ext in '' $ac_executable_extensions; do
5234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5235 ac_cv_prog_ac_ct_CC="$ac_prog"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 break 2
5239 done
5240 done
5241 IFS=$as_save_IFS
5245 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5246 if test -n "$ac_ct_CC"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5248 $as_echo "$ac_ct_CC" >&6; }
5249 else
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5255 test -n "$ac_ct_CC" && break
5256 done
5258 if test "x$ac_ct_CC" = x; then
5259 CC=""
5260 else
5261 case $cross_compiling:$ac_tool_warned in
5262 yes:)
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5265 ac_tool_warned=yes ;;
5266 esac
5267 CC=$ac_ct_CC
5274 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5276 as_fn_error "no acceptable C compiler found in \$PATH
5277 See \`config.log' for more details." "$LINENO" 5; }
5279 # Provide some information about the compiler.
5280 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5281 set X $ac_compile
5282 ac_compiler=$2
5283 for ac_option in --version -v -V -qversion; do
5284 { { ac_try="$ac_compiler $ac_option >&5"
5285 case "(($ac_try" in
5286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5288 esac
5289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5290 $as_echo "$ac_try_echo"; } >&5
5291 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5292 ac_status=$?
5293 if test -s conftest.err; then
5294 sed '10a\
5295 ... rest of stderr output deleted ...
5296 10q' conftest.err >conftest.er1
5297 cat conftest.er1 >&5
5298 rm -f conftest.er1 conftest.err
5300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301 test $ac_status = 0; }
5302 done
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5305 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5306 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5313 main ()
5315 #ifndef __GNUC__
5316 choke me
5317 #endif
5320 return 0;
5322 _ACEOF
5323 if ac_fn_c_try_compile "$LINENO"; then :
5324 ac_compiler_gnu=yes
5325 else
5326 ac_compiler_gnu=no
5328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5329 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5333 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5334 if test $ac_compiler_gnu = yes; then
5335 GCC=yes
5336 else
5337 GCC=
5339 ac_test_CFLAGS=${CFLAGS+set}
5340 ac_save_CFLAGS=$CFLAGS
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5342 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5343 if test "${ac_cv_prog_cc_g+set}" = set; then :
5344 $as_echo_n "(cached) " >&6
5345 else
5346 ac_save_c_werror_flag=$ac_c_werror_flag
5347 ac_c_werror_flag=yes
5348 ac_cv_prog_cc_g=no
5349 CFLAGS="-g"
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5354 main ()
5358 return 0;
5360 _ACEOF
5361 if ac_fn_c_try_compile "$LINENO"; then :
5362 ac_cv_prog_cc_g=yes
5363 else
5364 CFLAGS=""
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 main ()
5373 return 0;
5375 _ACEOF
5376 if ac_fn_c_try_compile "$LINENO"; then :
5378 else
5379 ac_c_werror_flag=$ac_save_c_werror_flag
5380 CFLAGS="-g"
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main ()
5389 return 0;
5391 _ACEOF
5392 if ac_fn_c_try_compile "$LINENO"; then :
5393 ac_cv_prog_cc_g=yes
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5400 ac_c_werror_flag=$ac_save_c_werror_flag
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5403 $as_echo "$ac_cv_prog_cc_g" >&6; }
5404 if test "$ac_test_CFLAGS" = set; then
5405 CFLAGS=$ac_save_CFLAGS
5406 elif test $ac_cv_prog_cc_g = yes; then
5407 if test "$GCC" = yes; then
5408 CFLAGS="-g -O2"
5409 else
5410 CFLAGS="-g"
5412 else
5413 if test "$GCC" = yes; then
5414 CFLAGS="-O2"
5415 else
5416 CFLAGS=
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5420 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5421 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 ac_cv_prog_cc_c89=no
5425 ac_save_CC=$CC
5426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5427 /* end confdefs.h. */
5428 #include <stdarg.h>
5429 #include <stdio.h>
5430 #include <sys/types.h>
5431 #include <sys/stat.h>
5432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5433 struct buf { int x; };
5434 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5435 static char *e (p, i)
5436 char **p;
5437 int i;
5439 return p[i];
5441 static char *f (char * (*g) (char **, int), char **p, ...)
5443 char *s;
5444 va_list v;
5445 va_start (v,p);
5446 s = g (p, va_arg (v,int));
5447 va_end (v);
5448 return s;
5451 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5452 function prototypes and stuff, but not '\xHH' hex character constants.
5453 These don't provoke an error unfortunately, instead are silently treated
5454 as 'x'. The following induces an error, until -std is added to get
5455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5456 array size at least. It's necessary to write '\x00'==0 to get something
5457 that's true only with -std. */
5458 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5460 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5461 inside strings and character constants. */
5462 #define FOO(x) 'x'
5463 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5465 int test (int i, double x);
5466 struct s1 {int (*f) (int a);};
5467 struct s2 {int (*f) (double a);};
5468 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5469 int argc;
5470 char **argv;
5472 main ()
5474 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5476 return 0;
5478 _ACEOF
5479 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5480 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5482 CC="$ac_save_CC $ac_arg"
5483 if ac_fn_c_try_compile "$LINENO"; then :
5484 ac_cv_prog_cc_c89=$ac_arg
5486 rm -f core conftest.err conftest.$ac_objext
5487 test "x$ac_cv_prog_cc_c89" != "xno" && break
5488 done
5489 rm -f conftest.$ac_ext
5490 CC=$ac_save_CC
5493 # AC_CACHE_VAL
5494 case "x$ac_cv_prog_cc_c89" in
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5497 $as_echo "none needed" >&6; } ;;
5498 xno)
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5500 $as_echo "unsupported" >&6; } ;;
5502 CC="$CC $ac_cv_prog_cc_c89"
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5504 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5505 esac
5506 if test "x$ac_cv_prog_cc_c89" != xno; then :
5510 ac_ext=c
5511 ac_cpp='$CPP $CPPFLAGS'
5512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5516 depcc="$CC" am_compiler_list=
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5519 $as_echo_n "checking dependency style of $depcc... " >&6; }
5520 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5524 # We make a subdir and do the tests there. Otherwise we can end up
5525 # making bogus files that we don't know about and never remove. For
5526 # instance it was reported that on HP-UX the gcc test will end up
5527 # making a dummy file named `D' -- because `-MD' means `put the output
5528 # in D'.
5529 rm -rf conftest.dir
5530 mkdir conftest.dir
5531 # Copy depcomp to subdir because otherwise we won't find it if we're
5532 # using a relative directory.
5533 cp "$am_depcomp" conftest.dir
5534 cd conftest.dir
5535 # We will build objects and dependencies in a subdirectory because
5536 # it helps to detect inapplicable dependency modes. For instance
5537 # both Tru64's cc and ICC support -MD to output dependencies as a
5538 # side effect of compilation, but ICC will put the dependencies in
5539 # the current directory while Tru64 will put them in the object
5540 # directory.
5541 mkdir sub
5543 am_cv_CC_dependencies_compiler_type=none
5544 if test "$am_compiler_list" = ""; then
5545 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5547 am__universal=false
5548 case " $depcc " in #(
5549 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5550 esac
5552 for depmode in $am_compiler_list; do
5553 # Setup a source with many dependencies, because some compilers
5554 # like to wrap large dependency lists on column 80 (with \), and
5555 # we should not choose a depcomp mode which is confused by this.
5557 # We need to recreate these files for each test, as the compiler may
5558 # overwrite some of them when testing with obscure command lines.
5559 # This happens at least with the AIX C compiler.
5560 : > sub/conftest.c
5561 for i in 1 2 3 4 5 6; do
5562 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5563 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5564 # Solaris 8's {/usr,}/bin/sh.
5565 touch sub/conftst$i.h
5566 done
5567 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5569 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5570 # mode. It turns out that the SunPro C++ compiler does not properly
5571 # handle `-M -o', and we need to detect this. Also, some Intel
5572 # versions had trouble with output in subdirs
5573 am__obj=sub/conftest.${OBJEXT-o}
5574 am__minus_obj="-o $am__obj"
5575 case $depmode in
5576 gcc)
5577 # This depmode causes a compiler race in universal mode.
5578 test "$am__universal" = false || continue
5580 nosideeffect)
5581 # after this tag, mechanisms are not by side-effect, so they'll
5582 # only be used when explicitly requested
5583 if test "x$enable_dependency_tracking" = xyes; then
5584 continue
5585 else
5586 break
5589 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5590 # This compiler won't grok `-c -o', but also, the minuso test has
5591 # not run yet. These depmodes are late enough in the game, and
5592 # so weak that their functioning should not be impacted.
5593 am__obj=conftest.${OBJEXT-o}
5594 am__minus_obj=
5596 none) break ;;
5597 esac
5598 if depmode=$depmode \
5599 source=sub/conftest.c object=$am__obj \
5600 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5601 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5602 >/dev/null 2>conftest.err &&
5603 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5604 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5605 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5606 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5607 # icc doesn't choke on unknown options, it will just issue warnings
5608 # or remarks (even with -Werror). So we grep stderr for any message
5609 # that says an option was ignored or not supported.
5610 # When given -MP, icc 7.0 and 7.1 complain thusly:
5611 # icc: Command line warning: ignoring option '-M'; no argument required
5612 # The diagnosis changed in icc 8.0:
5613 # icc: Command line remark: option '-MP' not supported
5614 if (grep 'ignoring option' conftest.err ||
5615 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5616 am_cv_CC_dependencies_compiler_type=$depmode
5617 break
5620 done
5622 cd ..
5623 rm -rf conftest.dir
5624 else
5625 am_cv_CC_dependencies_compiler_type=none
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5630 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5631 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5634 test "x$enable_dependency_tracking" != xno \
5635 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5636 am__fastdepCC_TRUE=
5637 am__fastdepCC_FALSE='#'
5638 else
5639 am__fastdepCC_TRUE='#'
5640 am__fastdepCC_FALSE=
5648 if test "x$CC" != xcc; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5650 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5651 else
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5653 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5655 set dummy $CC; ac_cc=`$as_echo "$2" |
5656 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5657 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5658 $as_echo_n "(cached) " >&6
5659 else
5660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5664 main ()
5668 return 0;
5670 _ACEOF
5671 # Make sure it works both with $CC and with simple cc.
5672 # We do the test twice because some compilers refuse to overwrite an
5673 # existing .o file with -o, though they will create one.
5674 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5675 rm -f conftest2.*
5676 if { { case "(($ac_try" in
5677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5678 *) ac_try_echo=$ac_try;;
5679 esac
5680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5681 $as_echo "$ac_try_echo"; } >&5
5682 (eval "$ac_try") 2>&5
5683 ac_status=$?
5684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5685 test $ac_status = 0; } &&
5686 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5688 *) ac_try_echo=$ac_try;;
5689 esac
5690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5691 $as_echo "$ac_try_echo"; } >&5
5692 (eval "$ac_try") 2>&5
5693 ac_status=$?
5694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5695 test $ac_status = 0; };
5696 then
5697 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5698 if test "x$CC" != xcc; then
5699 # Test first that cc exists at all.
5700 if { ac_try='cc -c conftest.$ac_ext >&5'
5701 { { case "(($ac_try" in
5702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5703 *) ac_try_echo=$ac_try;;
5704 esac
5705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5706 $as_echo "$ac_try_echo"; } >&5
5707 (eval "$ac_try") 2>&5
5708 ac_status=$?
5709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5710 test $ac_status = 0; }; }; then
5711 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5712 rm -f conftest2.*
5713 if { { case "(($ac_try" in
5714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5715 *) ac_try_echo=$ac_try;;
5716 esac
5717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5718 $as_echo "$ac_try_echo"; } >&5
5719 (eval "$ac_try") 2>&5
5720 ac_status=$?
5721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5722 test $ac_status = 0; } &&
5723 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5725 *) ac_try_echo=$ac_try;;
5726 esac
5727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5728 $as_echo "$ac_try_echo"; } >&5
5729 (eval "$ac_try") 2>&5
5730 ac_status=$?
5731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5732 test $ac_status = 0; };
5733 then
5734 # cc works too.
5736 else
5737 # cc exists but doesn't like -o.
5738 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5742 else
5743 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5745 rm -f core conftest*
5748 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5750 $as_echo "yes" >&6; }
5751 else
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5755 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5759 # FIXME: we rely on the cache variable name because
5760 # there is no other way.
5761 set dummy $CC
5762 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5763 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5764 if test "$am_t" != yes; then
5765 # Losing compiler, so override with the script.
5766 # FIXME: It is wrong to rewrite CC.
5767 # But if we don't then we get into trouble of one sort or another.
5768 # A longer-term fix would be to have automake use am__CC in this case,
5769 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5770 CC="$am_aux_dir/compile $CC"
5775 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5776 if test "x$GCC" = "xyes"; then
5777 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5778 ## We like to use C11 and C99 routines when available. This makes
5779 ## sure that
5780 ## __STDC_VERSION__ is set such that libc includes make them available.
5781 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration"
5782 ## Compile the following tests with the same system header contents
5783 ## that we'll encounter when compiling our own source files.
5784 CFLAGS="-std=gnu11 $CFLAGS"
5790 # Check for symbol versioning (copied from libssp).
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5792 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5793 # Check whether --enable-symvers was given.
5794 if test "${enable_symvers+set}" = set; then :
5795 enableval=$enable_symvers; gfortran_use_symver=$enableval
5796 else
5797 gfortran_use_symver=yes
5800 if test "x$gfortran_use_symver" != xno; then
5801 save_LDFLAGS="$LDFLAGS"
5802 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5803 cat > conftest.map <<EOF
5804 FOO_1.0 {
5805 global: *foo*; bar; local: *;
5808 if test x$gcc_no_link = xyes; then
5809 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5812 /* end confdefs.h. */
5813 int foo;
5815 main ()
5819 return 0;
5821 _ACEOF
5822 if ac_fn_c_try_link "$LINENO"; then :
5823 gfortran_use_symver=gnu
5824 else
5825 gfortran_use_symver=no
5827 rm -f core conftest.err conftest.$ac_objext \
5828 conftest$ac_exeext conftest.$ac_ext
5829 if test x$gfortran_use_symver = xno; then
5830 case "$target_os" in
5831 solaris2*)
5832 LDFLAGS="$save_LDFLAGS"
5833 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5834 # Sun ld cannot handle wildcards and treats all entries as undefined.
5835 cat > conftest.map <<EOF
5836 FOO_1.0 {
5837 global: foo; local: *;
5840 if test x$gcc_no_link = xyes; then
5841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5845 int foo;
5847 main ()
5851 return 0;
5853 _ACEOF
5854 if ac_fn_c_try_link "$LINENO"; then :
5855 gfortran_use_symver=sun
5856 else
5857 gfortran_use_symver=no
5859 rm -f core conftest.err conftest.$ac_objext \
5860 conftest$ac_exeext conftest.$ac_ext
5862 esac
5864 LDFLAGS="$save_LDFLAGS"
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5867 $as_echo "$gfortran_use_symver" >&6; }
5868 if test "x$gfortran_use_symver" != xno; then
5869 LIBGFOR_USE_SYMVER_TRUE=
5870 LIBGFOR_USE_SYMVER_FALSE='#'
5871 else
5872 LIBGFOR_USE_SYMVER_TRUE='#'
5873 LIBGFOR_USE_SYMVER_FALSE=
5876 if test "x$gfortran_use_symver" = xgnu; then
5877 LIBGFOR_USE_SYMVER_GNU_TRUE=
5878 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5879 else
5880 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5881 LIBGFOR_USE_SYMVER_GNU_FALSE=
5884 if test "x$gfortran_use_symver" = xsun; then
5885 LIBGFOR_USE_SYMVER_SUN_TRUE=
5886 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5887 else
5888 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5889 LIBGFOR_USE_SYMVER_SUN_FALSE=
5893 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5894 # similarly to how libstdc++ does it
5895 ac_test_CFLAGS="${CFLAGS+set}"
5896 ac_save_CFLAGS="$CFLAGS"
5898 # Check for -ffunction-sections -fdata-sections
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5900 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5901 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5903 /* end confdefs.h. */
5906 main ()
5908 int foo;
5910 return 0;
5912 _ACEOF
5913 if ac_fn_c_try_compile "$LINENO"; then :
5914 ac_fdsections=yes
5915 else
5916 ac_fdsections=no
5918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5919 if test "$ac_test_CFLAGS" = set; then
5920 CFLAGS="$ac_save_CFLAGS"
5921 else
5922 # this is the suspicious part
5923 CFLAGS=""
5925 if test x"$ac_fdsections" = x"yes"; then
5926 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5929 $as_echo "$ac_fdsections" >&6; }
5932 # Find other programs we need.
5933 if test -n "$ac_tool_prefix"; then
5934 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5935 set dummy ${ac_tool_prefix}as; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if test "${ac_cv_prog_AS+set}" = set; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 if test -n "$AS"; then
5942 ac_cv_prog_AS="$AS" # Let the user override the test.
5943 else
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH
5947 IFS=$as_save_IFS
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951 ac_cv_prog_AS="${ac_tool_prefix}as"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 break 2
5955 done
5956 done
5957 IFS=$as_save_IFS
5961 AS=$ac_cv_prog_AS
5962 if test -n "$AS"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5964 $as_echo "$AS" >&6; }
5965 else
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5972 if test -z "$ac_cv_prog_AS"; then
5973 ac_ct_AS=$AS
5974 # Extract the first word of "as", so it can be a program name with args.
5975 set dummy as; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 if test -n "$ac_ct_AS"; then
5982 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5983 else
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 for as_dir in $PATH
5987 IFS=$as_save_IFS
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5991 ac_cv_prog_ac_ct_AS="as"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 break 2
5995 done
5996 done
5997 IFS=$as_save_IFS
6001 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6002 if test -n "$ac_ct_AS"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6004 $as_echo "$ac_ct_AS" >&6; }
6005 else
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6010 if test "x$ac_ct_AS" = x; then
6011 AS=""
6012 else
6013 case $cross_compiling:$ac_tool_warned in
6014 yes:)
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6017 ac_tool_warned=yes ;;
6018 esac
6019 AS=$ac_ct_AS
6021 else
6022 AS="$ac_cv_prog_AS"
6025 if test -n "$ac_tool_prefix"; then
6026 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6027 set dummy ${ac_tool_prefix}ar; ac_word=$2
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6029 $as_echo_n "checking for $ac_word... " >&6; }
6030 if test "${ac_cv_prog_AR+set}" = set; then :
6031 $as_echo_n "(cached) " >&6
6032 else
6033 if test -n "$AR"; then
6034 ac_cv_prog_AR="$AR" # Let the user override the test.
6035 else
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 for as_dir in $PATH
6039 IFS=$as_save_IFS
6040 test -z "$as_dir" && as_dir=.
6041 for ac_exec_ext in '' $ac_executable_extensions; do
6042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6043 ac_cv_prog_AR="${ac_tool_prefix}ar"
6044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 break 2
6047 done
6048 done
6049 IFS=$as_save_IFS
6053 AR=$ac_cv_prog_AR
6054 if test -n "$AR"; then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6056 $as_echo "$AR" >&6; }
6057 else
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 $as_echo "no" >&6; }
6064 if test -z "$ac_cv_prog_AR"; then
6065 ac_ct_AR=$AR
6066 # Extract the first word of "ar", so it can be a program name with args.
6067 set dummy ar; ac_word=$2
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 $as_echo_n "checking for $ac_word... " >&6; }
6070 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6071 $as_echo_n "(cached) " >&6
6072 else
6073 if test -n "$ac_ct_AR"; then
6074 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 test -z "$as_dir" && as_dir=.
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6083 ac_cv_prog_ac_ct_AR="ar"
6084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 break 2
6087 done
6088 done
6089 IFS=$as_save_IFS
6093 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6094 if test -n "$ac_ct_AR"; then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6096 $as_echo "$ac_ct_AR" >&6; }
6097 else
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 $as_echo "no" >&6; }
6102 if test "x$ac_ct_AR" = x; then
6103 AR=""
6104 else
6105 case $cross_compiling:$ac_tool_warned in
6106 yes:)
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6109 ac_tool_warned=yes ;;
6110 esac
6111 AR=$ac_ct_AR
6113 else
6114 AR="$ac_cv_prog_AR"
6117 if test -n "$ac_tool_prefix"; then
6118 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6119 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 $as_echo_n "checking for $ac_word... " >&6; }
6122 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6123 $as_echo_n "(cached) " >&6
6124 else
6125 if test -n "$RANLIB"; then
6126 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6127 else
6128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6129 for as_dir in $PATH
6131 IFS=$as_save_IFS
6132 test -z "$as_dir" && as_dir=.
6133 for ac_exec_ext in '' $ac_executable_extensions; do
6134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6135 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6137 break 2
6139 done
6140 done
6141 IFS=$as_save_IFS
6145 RANLIB=$ac_cv_prog_RANLIB
6146 if test -n "$RANLIB"; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6148 $as_echo "$RANLIB" >&6; }
6149 else
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6151 $as_echo "no" >&6; }
6156 if test -z "$ac_cv_prog_RANLIB"; then
6157 ac_ct_RANLIB=$RANLIB
6158 # Extract the first word of "ranlib", so it can be a program name with args.
6159 set dummy ranlib; ac_word=$2
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6161 $as_echo_n "checking for $ac_word... " >&6; }
6162 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6163 $as_echo_n "(cached) " >&6
6164 else
6165 if test -n "$ac_ct_RANLIB"; then
6166 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6167 else
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 for as_dir in $PATH
6171 IFS=$as_save_IFS
6172 test -z "$as_dir" && as_dir=.
6173 for ac_exec_ext in '' $ac_executable_extensions; do
6174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6175 ac_cv_prog_ac_ct_RANLIB="ranlib"
6176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6177 break 2
6179 done
6180 done
6181 IFS=$as_save_IFS
6185 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6186 if test -n "$ac_ct_RANLIB"; then
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6188 $as_echo "$ac_ct_RANLIB" >&6; }
6189 else
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6191 $as_echo "no" >&6; }
6194 if test "x$ac_ct_RANLIB" = x; then
6195 RANLIB="ranlib-not-found-in-path-error"
6196 else
6197 case $cross_compiling:$ac_tool_warned in
6198 yes:)
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6201 ac_tool_warned=yes ;;
6202 esac
6203 RANLIB=$ac_ct_RANLIB
6205 else
6206 RANLIB="$ac_cv_prog_RANLIB"
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6210 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6211 set x ${MAKE-make}
6212 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6213 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 cat >conftest.make <<\_ACEOF
6217 SHELL = /bin/sh
6218 all:
6219 @echo '@@@%%%=$(MAKE)=@@@%%%'
6220 _ACEOF
6221 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6222 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6223 *@@@%%%=?*=@@@%%%*)
6224 eval ac_cv_prog_make_${ac_make}_set=yes;;
6226 eval ac_cv_prog_make_${ac_make}_set=no;;
6227 esac
6228 rm -f conftest.make
6230 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6232 $as_echo "yes" >&6; }
6233 SET_MAKE=
6234 else
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6237 SET_MAKE="MAKE=${MAKE-make}"
6242 # Configure libtool
6243 #AC_MSG_NOTICE([====== Starting libtool configuration])
6244 enable_dlopen=yes
6248 case `pwd` in
6249 *\ * | *\ *)
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6251 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6252 esac
6256 macro_version='2.2.7a'
6257 macro_revision='1.3134'
6271 ltmain="$ac_aux_dir/ltmain.sh"
6273 # Backslashify metacharacters that are still active within
6274 # double-quoted strings.
6275 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6277 # Same as above, but do not quote variable references.
6278 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6280 # Sed substitution to delay expansion of an escaped shell variable in a
6281 # double_quote_subst'ed string.
6282 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6284 # Sed substitution to delay expansion of an escaped single quote.
6285 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6287 # Sed substitution to avoid accidental globbing in evaled expressions
6288 no_glob_subst='s/\*/\\\*/g'
6290 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6291 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6292 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6295 $as_echo_n "checking how to print strings... " >&6; }
6296 # Test print first, because it will be a builtin if present.
6297 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6298 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6299 ECHO='print -r --'
6300 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6301 ECHO='printf %s\n'
6302 else
6303 # Use this function as a fallback that always works.
6304 func_fallback_echo ()
6306 eval 'cat <<_LTECHO_EOF
6308 _LTECHO_EOF'
6310 ECHO='func_fallback_echo'
6313 # func_echo_all arg...
6314 # Invoke $ECHO with all args, space-separated.
6315 func_echo_all ()
6317 $ECHO ""
6320 case "$ECHO" in
6321 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6322 $as_echo "printf" >&6; } ;;
6323 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6324 $as_echo "print -r" >&6; } ;;
6325 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6326 $as_echo "cat" >&6; } ;;
6327 esac
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6343 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6344 if test "${ac_cv_path_SED+set}" = set; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6348 for ac_i in 1 2 3 4 5 6 7; do
6349 ac_script="$ac_script$as_nl$ac_script"
6350 done
6351 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6352 { ac_script=; unset ac_script;}
6353 if test -z "$SED"; then
6354 ac_path_SED_found=false
6355 # Loop through the user's path and test for each of PROGNAME-LIST
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357 for as_dir in $PATH
6359 IFS=$as_save_IFS
6360 test -z "$as_dir" && as_dir=.
6361 for ac_prog in sed gsed; do
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6364 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6365 # Check for GNU ac_path_SED and select it if it is found.
6366 # Check for GNU $ac_path_SED
6367 case `"$ac_path_SED" --version 2>&1` in
6368 *GNU*)
6369 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6371 ac_count=0
6372 $as_echo_n 0123456789 >"conftest.in"
6373 while :
6375 cat "conftest.in" "conftest.in" >"conftest.tmp"
6376 mv "conftest.tmp" "conftest.in"
6377 cp "conftest.in" "conftest.nl"
6378 $as_echo '' >> "conftest.nl"
6379 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6380 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6381 as_fn_arith $ac_count + 1 && ac_count=$as_val
6382 if test $ac_count -gt ${ac_path_SED_max-0}; then
6383 # Best one so far, save it but keep looking for a better one
6384 ac_cv_path_SED="$ac_path_SED"
6385 ac_path_SED_max=$ac_count
6387 # 10*(2^10) chars as input seems more than enough
6388 test $ac_count -gt 10 && break
6389 done
6390 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6391 esac
6393 $ac_path_SED_found && break 3
6394 done
6395 done
6396 done
6397 IFS=$as_save_IFS
6398 if test -z "$ac_cv_path_SED"; then
6399 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6401 else
6402 ac_cv_path_SED=$SED
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6407 $as_echo "$ac_cv_path_SED" >&6; }
6408 SED="$ac_cv_path_SED"
6409 rm -f conftest.sed
6411 test -z "$SED" && SED=sed
6412 Xsed="$SED -e 1s/^X//"
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6425 $as_echo_n "checking for fgrep... " >&6; }
6426 if test "${ac_cv_path_FGREP+set}" = set; then :
6427 $as_echo_n "(cached) " >&6
6428 else
6429 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6430 then ac_cv_path_FGREP="$GREP -F"
6431 else
6432 if test -z "$FGREP"; then
6433 ac_path_FGREP_found=false
6434 # Loop through the user's path and test for each of PROGNAME-LIST
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_prog in fgrep; do
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6443 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6444 # Check for GNU ac_path_FGREP and select it if it is found.
6445 # Check for GNU $ac_path_FGREP
6446 case `"$ac_path_FGREP" --version 2>&1` in
6447 *GNU*)
6448 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6450 ac_count=0
6451 $as_echo_n 0123456789 >"conftest.in"
6452 while :
6454 cat "conftest.in" "conftest.in" >"conftest.tmp"
6455 mv "conftest.tmp" "conftest.in"
6456 cp "conftest.in" "conftest.nl"
6457 $as_echo 'FGREP' >> "conftest.nl"
6458 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6459 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6460 as_fn_arith $ac_count + 1 && ac_count=$as_val
6461 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6462 # Best one so far, save it but keep looking for a better one
6463 ac_cv_path_FGREP="$ac_path_FGREP"
6464 ac_path_FGREP_max=$ac_count
6466 # 10*(2^10) chars as input seems more than enough
6467 test $ac_count -gt 10 && break
6468 done
6469 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6470 esac
6472 $ac_path_FGREP_found && break 3
6473 done
6474 done
6475 done
6476 IFS=$as_save_IFS
6477 if test -z "$ac_cv_path_FGREP"; then
6478 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6480 else
6481 ac_cv_path_FGREP=$FGREP
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6487 $as_echo "$ac_cv_path_FGREP" >&6; }
6488 FGREP="$ac_cv_path_FGREP"
6491 test -z "$GREP" && GREP=grep
6511 # Check whether --with-gnu-ld was given.
6512 if test "${with_gnu_ld+set}" = set; then :
6513 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6514 else
6515 with_gnu_ld=no
6518 ac_prog=ld
6519 if test "$GCC" = yes; then
6520 # Check if gcc -print-prog-name=ld gives a path.
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6522 $as_echo_n "checking for ld used by $CC... " >&6; }
6523 case $host in
6524 *-*-mingw*)
6525 # gcc leaves a trailing carriage return which upsets mingw
6526 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6528 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6529 esac
6530 case $ac_prog in
6531 # Accept absolute paths.
6532 [\\/]* | ?:[\\/]*)
6533 re_direlt='/[^/][^/]*/\.\./'
6534 # Canonicalize the pathname of ld
6535 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6536 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6537 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6538 done
6539 test -z "$LD" && LD="$ac_prog"
6542 # If it fails, then pretend we aren't using GCC.
6543 ac_prog=ld
6546 # If it is relative, then search for the first ld in PATH.
6547 with_gnu_ld=unknown
6549 esac
6550 elif test "$with_gnu_ld" = yes; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6552 $as_echo_n "checking for GNU ld... " >&6; }
6553 else
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6555 $as_echo_n "checking for non-GNU ld... " >&6; }
6557 if test "${lt_cv_path_LD+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -z "$LD"; then
6561 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6562 for ac_dir in $PATH; do
6563 IFS="$lt_save_ifs"
6564 test -z "$ac_dir" && ac_dir=.
6565 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6566 lt_cv_path_LD="$ac_dir/$ac_prog"
6567 # Check to see if the program is GNU ld. I'd rather use --version,
6568 # but apparently some variants of GNU ld only accept -v.
6569 # Break only if it was the GNU/non-GNU ld that we prefer.
6570 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6571 *GNU* | *'with BFD'*)
6572 test "$with_gnu_ld" != no && break
6575 test "$with_gnu_ld" != yes && break
6577 esac
6579 done
6580 IFS="$lt_save_ifs"
6581 else
6582 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6586 LD="$lt_cv_path_LD"
6587 if test -n "$LD"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6589 $as_echo "$LD" >&6; }
6590 else
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6594 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6596 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6597 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6598 $as_echo_n "(cached) " >&6
6599 else
6600 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6601 case `$LD -v 2>&1 </dev/null` in
6602 *GNU* | *'with BFD'*)
6603 lt_cv_prog_gnu_ld=yes
6606 lt_cv_prog_gnu_ld=no
6608 esac
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6611 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6612 with_gnu_ld=$lt_cv_prog_gnu_ld
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6623 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6624 if test "${lt_cv_path_NM+set}" = set; then :
6625 $as_echo_n "(cached) " >&6
6626 else
6627 if test -n "$NM"; then
6628 # Let the user override the test.
6629 lt_cv_path_NM="$NM"
6630 else
6631 lt_nm_to_check="${ac_tool_prefix}nm"
6632 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6633 lt_nm_to_check="$lt_nm_to_check nm"
6635 for lt_tmp_nm in $lt_nm_to_check; do
6636 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6637 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6638 IFS="$lt_save_ifs"
6639 test -z "$ac_dir" && ac_dir=.
6640 tmp_nm="$ac_dir/$lt_tmp_nm"
6641 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6642 # Check to see if the nm accepts a BSD-compat flag.
6643 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6644 # nm: unknown option "B" ignored
6645 # Tru64's nm complains that /dev/null is an invalid object file
6646 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6647 */dev/null* | *'Invalid file or object type'*)
6648 lt_cv_path_NM="$tmp_nm -B"
6649 break
6652 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6653 */dev/null*)
6654 lt_cv_path_NM="$tmp_nm -p"
6655 break
6658 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6659 continue # so that we can try to find one that supports BSD flags
6661 esac
6663 esac
6665 done
6666 IFS="$lt_save_ifs"
6667 done
6668 : ${lt_cv_path_NM=no}
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6672 $as_echo "$lt_cv_path_NM" >&6; }
6673 if test "$lt_cv_path_NM" != "no"; then
6674 NM="$lt_cv_path_NM"
6675 else
6676 # Didn't find any BSD compatible name lister, look for dumpbin.
6677 if test -n "$DUMPBIN"; then :
6678 # Let the user override the test.
6679 else
6680 if test -n "$ac_tool_prefix"; then
6681 for ac_prog in dumpbin "link -dump"
6683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6686 $as_echo_n "checking for $ac_word... " >&6; }
6687 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6688 $as_echo_n "(cached) " >&6
6689 else
6690 if test -n "$DUMPBIN"; then
6691 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6692 else
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694 for as_dir in $PATH
6696 IFS=$as_save_IFS
6697 test -z "$as_dir" && as_dir=.
6698 for ac_exec_ext in '' $ac_executable_extensions; do
6699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6702 break 2
6704 done
6705 done
6706 IFS=$as_save_IFS
6710 DUMPBIN=$ac_cv_prog_DUMPBIN
6711 if test -n "$DUMPBIN"; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6713 $as_echo "$DUMPBIN" >&6; }
6714 else
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6716 $as_echo "no" >&6; }
6720 test -n "$DUMPBIN" && break
6721 done
6723 if test -z "$DUMPBIN"; then
6724 ac_ct_DUMPBIN=$DUMPBIN
6725 for ac_prog in dumpbin "link -dump"
6727 # Extract the first word of "$ac_prog", so it can be a program name with args.
6728 set dummy $ac_prog; ac_word=$2
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 $as_echo_n "checking for $ac_word... " >&6; }
6731 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6732 $as_echo_n "(cached) " >&6
6733 else
6734 if test -n "$ac_ct_DUMPBIN"; then
6735 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6736 else
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 for as_dir in $PATH
6740 IFS=$as_save_IFS
6741 test -z "$as_dir" && as_dir=.
6742 for ac_exec_ext in '' $ac_executable_extensions; do
6743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6744 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746 break 2
6748 done
6749 done
6750 IFS=$as_save_IFS
6754 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6755 if test -n "$ac_ct_DUMPBIN"; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6757 $as_echo "$ac_ct_DUMPBIN" >&6; }
6758 else
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 $as_echo "no" >&6; }
6764 test -n "$ac_ct_DUMPBIN" && break
6765 done
6767 if test "x$ac_ct_DUMPBIN" = x; then
6768 DUMPBIN=":"
6769 else
6770 case $cross_compiling:$ac_tool_warned in
6771 yes:)
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned=yes ;;
6775 esac
6776 DUMPBIN=$ac_ct_DUMPBIN
6780 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6781 *COFF*)
6782 DUMPBIN="$DUMPBIN -symbols"
6785 DUMPBIN=:
6787 esac
6790 if test "$DUMPBIN" != ":"; then
6791 NM="$DUMPBIN"
6794 test -z "$NM" && NM=nm
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6802 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6803 if test "${lt_cv_nm_interface+set}" = set; then :
6804 $as_echo_n "(cached) " >&6
6805 else
6806 lt_cv_nm_interface="BSD nm"
6807 echo "int some_variable = 0;" > conftest.$ac_ext
6808 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6809 (eval "$ac_compile" 2>conftest.err)
6810 cat conftest.err >&5
6811 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6812 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6813 cat conftest.err >&5
6814 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6815 cat conftest.out >&5
6816 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6817 lt_cv_nm_interface="MS dumpbin"
6819 rm -f conftest*
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6822 $as_echo "$lt_cv_nm_interface" >&6; }
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6825 $as_echo_n "checking whether ln -s works... " >&6; }
6826 LN_S=$as_ln_s
6827 if test "$LN_S" = "ln -s"; then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6829 $as_echo "yes" >&6; }
6830 else
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6832 $as_echo "no, using $LN_S" >&6; }
6835 # find the maximum length of command line arguments
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6837 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6838 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6839 $as_echo_n "(cached) " >&6
6840 else
6842 teststring="ABCD"
6844 case $build_os in
6845 msdosdjgpp*)
6846 # On DJGPP, this test can blow up pretty badly due to problems in libc
6847 # (any single argument exceeding 2000 bytes causes a buffer overrun
6848 # during glob expansion). Even if it were fixed, the result of this
6849 # check would be larger than it should be.
6850 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6853 gnu*)
6854 # Under GNU Hurd, this test is not required because there is
6855 # no limit to the length of command line arguments.
6856 # Libtool will interpret -1 as no limit whatsoever
6857 lt_cv_sys_max_cmd_len=-1;
6860 cygwin* | mingw* | cegcc*)
6861 # On Win9x/ME, this test blows up -- it succeeds, but takes
6862 # about 5 minutes as the teststring grows exponentially.
6863 # Worse, since 9x/ME are not pre-emptively multitasking,
6864 # you end up with a "frozen" computer, even though with patience
6865 # the test eventually succeeds (with a max line length of 256k).
6866 # Instead, let's just punt: use the minimum linelength reported by
6867 # all of the supported platforms: 8192 (on NT/2K/XP).
6868 lt_cv_sys_max_cmd_len=8192;
6871 mint*)
6872 # On MiNT this can take a long time and run out of memory.
6873 lt_cv_sys_max_cmd_len=8192;
6876 amigaos*)
6877 # On AmigaOS with pdksh, this test takes hours, literally.
6878 # So we just punt and use a minimum line length of 8192.
6879 lt_cv_sys_max_cmd_len=8192;
6882 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6883 # This has been around since 386BSD, at least. Likely further.
6884 if test -x /sbin/sysctl; then
6885 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6886 elif test -x /usr/sbin/sysctl; then
6887 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6888 else
6889 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6891 # And add a safety zone
6892 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6893 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6896 interix*)
6897 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6898 lt_cv_sys_max_cmd_len=196608
6901 osf*)
6902 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6903 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6904 # nice to cause kernel panics so lets avoid the loop below.
6905 # First set a reasonable default.
6906 lt_cv_sys_max_cmd_len=16384
6908 if test -x /sbin/sysconfig; then
6909 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6910 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6911 esac
6914 sco3.2v5*)
6915 lt_cv_sys_max_cmd_len=102400
6917 sysv5* | sco5v6* | sysv4.2uw2*)
6918 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6919 if test -n "$kargmax"; then
6920 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6921 else
6922 lt_cv_sys_max_cmd_len=32768
6926 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6927 if test -n "$lt_cv_sys_max_cmd_len"; then
6928 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6929 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6930 else
6931 # Make teststring a little bigger before we do anything with it.
6932 # a 1K string should be a reasonable start.
6933 for i in 1 2 3 4 5 6 7 8 ; do
6934 teststring=$teststring$teststring
6935 done
6936 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6937 # If test is not a shell built-in, we'll probably end up computing a
6938 # maximum length that is only half of the actual maximum length, but
6939 # we can't tell.
6940 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6941 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6942 test $i != 17 # 1/2 MB should be enough
6944 i=`expr $i + 1`
6945 teststring=$teststring$teststring
6946 done
6947 # Only check the string length outside the loop.
6948 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6949 teststring=
6950 # Add a significant safety factor because C++ compilers can tack on
6951 # massive amounts of additional arguments before passing them to the
6952 # linker. It appears as though 1/2 is a usable value.
6953 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6956 esac
6960 if test -n $lt_cv_sys_max_cmd_len ; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6962 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6963 else
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6965 $as_echo "none" >&6; }
6967 max_cmd_len=$lt_cv_sys_max_cmd_len
6974 : ${CP="cp -f"}
6975 : ${MV="mv -f"}
6976 : ${RM="rm -f"}
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6979 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6980 # Try some XSI features
6981 xsi_shell=no
6982 ( _lt_dummy="a/b/c"
6983 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6984 = c,a/b,, \
6985 && eval 'test $(( 1 + 1 )) -eq 2 \
6986 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6987 && xsi_shell=yes
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6989 $as_echo "$xsi_shell" >&6; }
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6993 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6994 lt_shell_append=no
6995 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6996 >/dev/null 2>&1 \
6997 && lt_shell_append=yes
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6999 $as_echo "$lt_shell_append" >&6; }
7002 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7003 lt_unset=unset
7004 else
7005 lt_unset=false
7012 # test EBCDIC or ASCII
7013 case `echo X|tr X '\101'` in
7014 A) # ASCII based system
7015 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7016 lt_SP2NL='tr \040 \012'
7017 lt_NL2SP='tr \015\012 \040\040'
7019 *) # EBCDIC based system
7020 lt_SP2NL='tr \100 \n'
7021 lt_NL2SP='tr \r\n \100\100'
7023 esac
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7034 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7035 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7036 $as_echo_n "(cached) " >&6
7037 else
7038 lt_cv_ld_reload_flag='-r'
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7041 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7042 reload_flag=$lt_cv_ld_reload_flag
7043 case $reload_flag in
7044 "" | " "*) ;;
7045 *) reload_flag=" $reload_flag" ;;
7046 esac
7047 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7048 case $host_os in
7049 darwin*)
7050 if test "$GCC" = yes; then
7051 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7052 else
7053 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7056 esac
7066 if test -n "$ac_tool_prefix"; then
7067 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7068 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 $as_echo_n "checking for $ac_word... " >&6; }
7071 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7072 $as_echo_n "(cached) " >&6
7073 else
7074 if test -n "$OBJDUMP"; then
7075 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7076 else
7077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 for as_dir in $PATH
7080 IFS=$as_save_IFS
7081 test -z "$as_dir" && as_dir=.
7082 for ac_exec_ext in '' $ac_executable_extensions; do
7083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7084 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 break 2
7088 done
7089 done
7090 IFS=$as_save_IFS
7094 OBJDUMP=$ac_cv_prog_OBJDUMP
7095 if test -n "$OBJDUMP"; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7097 $as_echo "$OBJDUMP" >&6; }
7098 else
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100 $as_echo "no" >&6; }
7105 if test -z "$ac_cv_prog_OBJDUMP"; then
7106 ac_ct_OBJDUMP=$OBJDUMP
7107 # Extract the first word of "objdump", so it can be a program name with args.
7108 set dummy objdump; ac_word=$2
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7110 $as_echo_n "checking for $ac_word... " >&6; }
7111 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7112 $as_echo_n "(cached) " >&6
7113 else
7114 if test -n "$ac_ct_OBJDUMP"; then
7115 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7116 else
7117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 for as_dir in $PATH
7120 IFS=$as_save_IFS
7121 test -z "$as_dir" && as_dir=.
7122 for ac_exec_ext in '' $ac_executable_extensions; do
7123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7124 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 break 2
7128 done
7129 done
7130 IFS=$as_save_IFS
7134 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7135 if test -n "$ac_ct_OBJDUMP"; then
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7137 $as_echo "$ac_ct_OBJDUMP" >&6; }
7138 else
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7140 $as_echo "no" >&6; }
7143 if test "x$ac_ct_OBJDUMP" = x; then
7144 OBJDUMP="false"
7145 else
7146 case $cross_compiling:$ac_tool_warned in
7147 yes:)
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7150 ac_tool_warned=yes ;;
7151 esac
7152 OBJDUMP=$ac_ct_OBJDUMP
7154 else
7155 OBJDUMP="$ac_cv_prog_OBJDUMP"
7158 test -z "$OBJDUMP" && OBJDUMP=objdump
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7169 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7170 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7171 $as_echo_n "(cached) " >&6
7172 else
7173 lt_cv_file_magic_cmd='$MAGIC_CMD'
7174 lt_cv_file_magic_test_file=
7175 lt_cv_deplibs_check_method='unknown'
7176 # Need to set the preceding variable on all platforms that support
7177 # interlibrary dependencies.
7178 # 'none' -- dependencies not supported.
7179 # `unknown' -- same as none, but documents that we really don't know.
7180 # 'pass_all' -- all dependencies passed with no checks.
7181 # 'test_compile' -- check by making test program.
7182 # 'file_magic [[regex]]' -- check by looking for files in library path
7183 # which responds to the $file_magic_cmd with a given extended regex.
7184 # If you have `file' or equivalent on your system and you're not sure
7185 # whether `pass_all' will *always* work, you probably want this one.
7187 case $host_os in
7188 aix[4-9]*)
7189 lt_cv_deplibs_check_method=pass_all
7192 beos*)
7193 lt_cv_deplibs_check_method=pass_all
7196 bsdi[45]*)
7197 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7198 lt_cv_file_magic_cmd='/usr/bin/file -L'
7199 lt_cv_file_magic_test_file=/shlib/libc.so
7202 cygwin*)
7203 # func_win32_libid is a shell function defined in ltmain.sh
7204 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7205 lt_cv_file_magic_cmd='func_win32_libid'
7208 mingw* | pw32*)
7209 # Base MSYS/MinGW do not provide the 'file' command needed by
7210 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7211 # unless we find 'file', for example because we are cross-compiling.
7212 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7213 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7214 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7215 lt_cv_file_magic_cmd='func_win32_libid'
7216 else
7217 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7218 lt_cv_file_magic_cmd='$OBJDUMP -f'
7222 cegcc*)
7223 # use the weaker test based on 'objdump'. See mingw*.
7224 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7225 lt_cv_file_magic_cmd='$OBJDUMP -f'
7228 darwin* | rhapsody*)
7229 lt_cv_deplibs_check_method=pass_all
7232 freebsd* | dragonfly*)
7233 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7234 case $host_cpu in
7235 i*86 )
7236 # Not sure whether the presence of OpenBSD here was a mistake.
7237 # Let's accept both of them until this is cleared up.
7238 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7239 lt_cv_file_magic_cmd=/usr/bin/file
7240 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7242 esac
7243 else
7244 lt_cv_deplibs_check_method=pass_all
7248 gnu*)
7249 lt_cv_deplibs_check_method=pass_all
7252 haiku*)
7253 lt_cv_deplibs_check_method=pass_all
7256 hpux10.20* | hpux11*)
7257 lt_cv_file_magic_cmd=/usr/bin/file
7258 case $host_cpu in
7259 ia64*)
7260 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7261 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7263 hppa*64*)
7264 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]'
7265 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7268 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7269 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7271 esac
7274 interix[3-9]*)
7275 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7276 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7279 irix5* | irix6* | nonstopux*)
7280 case $LD in
7281 *-32|*"-32 ") libmagic=32-bit;;
7282 *-n32|*"-n32 ") libmagic=N32;;
7283 *-64|*"-64 ") libmagic=64-bit;;
7284 *) libmagic=never-match;;
7285 esac
7286 lt_cv_deplibs_check_method=pass_all
7289 # This must be Linux ELF.
7290 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7291 lt_cv_deplibs_check_method=pass_all
7294 netbsd*)
7295 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7296 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7297 else
7298 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7302 newos6*)
7303 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7304 lt_cv_file_magic_cmd=/usr/bin/file
7305 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7308 *nto* | *qnx*)
7309 lt_cv_deplibs_check_method=pass_all
7312 openbsd*)
7313 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7315 else
7316 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7320 osf3* | osf4* | osf5*)
7321 lt_cv_deplibs_check_method=pass_all
7324 rdos*)
7325 lt_cv_deplibs_check_method=pass_all
7328 solaris*)
7329 lt_cv_deplibs_check_method=pass_all
7332 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7333 lt_cv_deplibs_check_method=pass_all
7336 sysv4 | sysv4.3*)
7337 case $host_vendor in
7338 motorola)
7339 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]'
7340 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7342 ncr)
7343 lt_cv_deplibs_check_method=pass_all
7345 sequent)
7346 lt_cv_file_magic_cmd='/bin/file'
7347 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7349 sni)
7350 lt_cv_file_magic_cmd='/bin/file'
7351 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7352 lt_cv_file_magic_test_file=/lib/libc.so
7354 siemens)
7355 lt_cv_deplibs_check_method=pass_all
7358 lt_cv_deplibs_check_method=pass_all
7360 esac
7363 tpf*)
7364 lt_cv_deplibs_check_method=pass_all
7366 esac
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7370 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7371 file_magic_cmd=$lt_cv_file_magic_cmd
7372 deplibs_check_method=$lt_cv_deplibs_check_method
7373 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7386 if test -n "$ac_tool_prefix"; then
7387 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7388 set dummy ${ac_tool_prefix}ar; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_AR+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$AR"; then
7395 ac_cv_prog_AR="$AR" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_AR="${ac_tool_prefix}ar"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 AR=$ac_cv_prog_AR
7415 if test -n "$AR"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7417 $as_echo "$AR" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7425 if test -z "$ac_cv_prog_AR"; then
7426 ac_ct_AR=$AR
7427 # Extract the first word of "ar", so it can be a program name with args.
7428 set dummy ar; ac_word=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7432 $as_echo_n "(cached) " >&6
7433 else
7434 if test -n "$ac_ct_AR"; then
7435 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7436 else
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7440 IFS=$as_save_IFS
7441 test -z "$as_dir" && as_dir=.
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7444 ac_cv_prog_ac_ct_AR="ar"
7445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 break 2
7448 done
7449 done
7450 IFS=$as_save_IFS
7454 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7455 if test -n "$ac_ct_AR"; then
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7457 $as_echo "$ac_ct_AR" >&6; }
7458 else
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7463 if test "x$ac_ct_AR" = x; then
7464 AR="false"
7465 else
7466 case $cross_compiling:$ac_tool_warned in
7467 yes:)
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7470 ac_tool_warned=yes ;;
7471 esac
7472 AR=$ac_ct_AR
7474 else
7475 AR="$ac_cv_prog_AR"
7478 test -z "$AR" && AR=ar
7479 test -z "$AR_FLAGS" && AR_FLAGS=cru
7491 if test -n "$ac_tool_prefix"; then
7492 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7493 set dummy ${ac_tool_prefix}strip; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_STRIP+set}" = set; then :
7497 $as_echo_n "(cached) " >&6
7498 else
7499 if test -n "$STRIP"; then
7500 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7505 IFS=$as_save_IFS
7506 test -z "$as_dir" && as_dir=.
7507 for ac_exec_ext in '' $ac_executable_extensions; do
7508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 break 2
7513 done
7514 done
7515 IFS=$as_save_IFS
7519 STRIP=$ac_cv_prog_STRIP
7520 if test -n "$STRIP"; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7522 $as_echo "$STRIP" >&6; }
7523 else
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7530 if test -z "$ac_cv_prog_STRIP"; then
7531 ac_ct_STRIP=$STRIP
7532 # Extract the first word of "strip", so it can be a program name with args.
7533 set dummy strip; ac_word=$2
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535 $as_echo_n "checking for $ac_word... " >&6; }
7536 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7537 $as_echo_n "(cached) " >&6
7538 else
7539 if test -n "$ac_ct_STRIP"; then
7540 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7541 else
7542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 for as_dir in $PATH
7545 IFS=$as_save_IFS
7546 test -z "$as_dir" && as_dir=.
7547 for ac_exec_ext in '' $ac_executable_extensions; do
7548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7549 ac_cv_prog_ac_ct_STRIP="strip"
7550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551 break 2
7553 done
7554 done
7555 IFS=$as_save_IFS
7559 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7560 if test -n "$ac_ct_STRIP"; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7562 $as_echo "$ac_ct_STRIP" >&6; }
7563 else
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565 $as_echo "no" >&6; }
7568 if test "x$ac_ct_STRIP" = x; then
7569 STRIP=":"
7570 else
7571 case $cross_compiling:$ac_tool_warned in
7572 yes:)
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7575 ac_tool_warned=yes ;;
7576 esac
7577 STRIP=$ac_ct_STRIP
7579 else
7580 STRIP="$ac_cv_prog_STRIP"
7583 test -z "$STRIP" && STRIP=:
7590 if test -n "$ac_tool_prefix"; then
7591 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7592 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 $as_echo_n "checking for $ac_word... " >&6; }
7595 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7596 $as_echo_n "(cached) " >&6
7597 else
7598 if test -n "$RANLIB"; then
7599 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7600 else
7601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7602 for as_dir in $PATH
7604 IFS=$as_save_IFS
7605 test -z "$as_dir" && as_dir=.
7606 for ac_exec_ext in '' $ac_executable_extensions; do
7607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7608 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7610 break 2
7612 done
7613 done
7614 IFS=$as_save_IFS
7618 RANLIB=$ac_cv_prog_RANLIB
7619 if test -n "$RANLIB"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7621 $as_echo "$RANLIB" >&6; }
7622 else
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7629 if test -z "$ac_cv_prog_RANLIB"; then
7630 ac_ct_RANLIB=$RANLIB
7631 # Extract the first word of "ranlib", so it can be a program name with args.
7632 set dummy ranlib; ac_word=$2
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7634 $as_echo_n "checking for $ac_word... " >&6; }
7635 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7636 $as_echo_n "(cached) " >&6
7637 else
7638 if test -n "$ac_ct_RANLIB"; then
7639 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7640 else
7641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7642 for as_dir in $PATH
7644 IFS=$as_save_IFS
7645 test -z "$as_dir" && as_dir=.
7646 for ac_exec_ext in '' $ac_executable_extensions; do
7647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7648 ac_cv_prog_ac_ct_RANLIB="ranlib"
7649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7650 break 2
7652 done
7653 done
7654 IFS=$as_save_IFS
7658 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7659 if test -n "$ac_ct_RANLIB"; then
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7661 $as_echo "$ac_ct_RANLIB" >&6; }
7662 else
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7664 $as_echo "no" >&6; }
7667 if test "x$ac_ct_RANLIB" = x; then
7668 RANLIB=":"
7669 else
7670 case $cross_compiling:$ac_tool_warned in
7671 yes:)
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7674 ac_tool_warned=yes ;;
7675 esac
7676 RANLIB=$ac_ct_RANLIB
7678 else
7679 RANLIB="$ac_cv_prog_RANLIB"
7682 test -z "$RANLIB" && RANLIB=:
7689 # Determine commands to create old-style static archives.
7690 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7691 old_postinstall_cmds='chmod 644 $oldlib'
7692 old_postuninstall_cmds=
7694 if test -n "$RANLIB"; then
7695 case $host_os in
7696 openbsd*)
7697 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7700 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7702 esac
7703 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7706 case $host_os in
7707 darwin*)
7708 lock_old_archive_extraction=yes ;;
7710 lock_old_archive_extraction=no ;;
7711 esac
7751 # If no C compiler was specified, use CC.
7752 LTCC=${LTCC-"$CC"}
7754 # If no C compiler flags were specified, use CFLAGS.
7755 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7757 # Allow CC to be a program name with arguments.
7758 compiler=$CC
7761 # Check for command to grab the raw symbol name followed by C symbol from nm.
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7763 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7764 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7765 $as_echo_n "(cached) " >&6
7766 else
7768 # These are sane defaults that work on at least a few old systems.
7769 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7771 # Character class describing NM global symbol codes.
7772 symcode='[BCDEGRST]'
7774 # Regexp to match symbols that can be accessed directly from C.
7775 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7777 # Define system-specific variables.
7778 case $host_os in
7779 aix*)
7780 symcode='[BCDT]'
7782 cygwin* | mingw* | pw32* | cegcc*)
7783 symcode='[ABCDGISTW]'
7785 hpux*)
7786 if test "$host_cpu" = ia64; then
7787 symcode='[ABCDEGRST]'
7790 irix* | nonstopux*)
7791 symcode='[BCDEGRST]'
7793 osf*)
7794 symcode='[BCDEGQRST]'
7796 solaris*)
7797 symcode='[BDRT]'
7799 sco3.2v5*)
7800 symcode='[DT]'
7802 sysv4.2uw2*)
7803 symcode='[DT]'
7805 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7806 symcode='[ABDT]'
7808 sysv4)
7809 symcode='[DFNSTU]'
7811 esac
7813 # If we're using GNU nm, then use its standard symbol codes.
7814 case `$NM -V 2>&1` in
7815 *GNU* | *'with BFD'*)
7816 symcode='[ABCDGIRSTW]' ;;
7817 esac
7819 # Transform an extracted symbol line into a proper C declaration.
7820 # Some systems (esp. on ia64) link data and code symbols differently,
7821 # so use this general approach.
7822 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7824 # Transform an extracted symbol line into symbol name and symbol address
7825 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7826 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'"
7828 # Handle CRLF in mingw tool chain
7829 opt_cr=
7830 case $build_os in
7831 mingw*)
7832 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7834 esac
7836 # Try without a prefix underscore, then with it.
7837 for ac_symprfx in "" "_"; do
7839 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7840 symxfrm="\\1 $ac_symprfx\\2 \\2"
7842 # Write the raw and C identifiers.
7843 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7844 # Fake it for dumpbin and say T for any non-static function
7845 # and D for any global variable.
7846 # Also find C++ and __fastcall symbols from MSVC++,
7847 # which start with @ or ?.
7848 lt_cv_sys_global_symbol_pipe="$AWK '"\
7849 " {last_section=section; section=\$ 3};"\
7850 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7851 " \$ 0!~/External *\|/{next};"\
7852 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7853 " {if(hide[section]) next};"\
7854 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7855 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7856 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7857 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7858 " ' prfx=^$ac_symprfx"
7859 else
7860 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7863 # Check to see that the pipe works correctly.
7864 pipe_works=no
7866 rm -f conftest*
7867 cat > conftest.$ac_ext <<_LT_EOF
7868 #ifdef __cplusplus
7869 extern "C" {
7870 #endif
7871 char nm_test_var;
7872 void nm_test_func(void);
7873 void nm_test_func(void){}
7874 #ifdef __cplusplus
7876 #endif
7877 int main(){nm_test_var='a';nm_test_func();return(0);}
7878 _LT_EOF
7880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7881 (eval $ac_compile) 2>&5
7882 ac_status=$?
7883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7884 test $ac_status = 0; }; then
7885 # Now try to grab the symbols.
7886 nlist=conftest.nm
7887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7888 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7889 ac_status=$?
7890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7891 test $ac_status = 0; } && test -s "$nlist"; then
7892 # Try sorting and uniquifying the output.
7893 if sort "$nlist" | uniq > "$nlist"T; then
7894 mv -f "$nlist"T "$nlist"
7895 else
7896 rm -f "$nlist"T
7899 # Make sure that we snagged all the symbols we need.
7900 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7901 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7902 cat <<_LT_EOF > conftest.$ac_ext
7903 #ifdef __cplusplus
7904 extern "C" {
7905 #endif
7907 _LT_EOF
7908 # Now generate the symbol file.
7909 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7911 cat <<_LT_EOF >> conftest.$ac_ext
7913 /* The mapping between symbol names and symbols. */
7914 const struct {
7915 const char *name;
7916 void *address;
7918 lt__PROGRAM__LTX_preloaded_symbols[] =
7920 { "@PROGRAM@", (void *) 0 },
7921 _LT_EOF
7922 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7923 cat <<\_LT_EOF >> conftest.$ac_ext
7924 {0, (void *) 0}
7927 /* This works around a problem in FreeBSD linker */
7928 #ifdef FREEBSD_WORKAROUND
7929 static const void *lt_preloaded_setup() {
7930 return lt__PROGRAM__LTX_preloaded_symbols;
7932 #endif
7934 #ifdef __cplusplus
7936 #endif
7937 _LT_EOF
7938 # Now try linking the two files.
7939 mv conftest.$ac_objext conftstm.$ac_objext
7940 lt_save_LIBS="$LIBS"
7941 lt_save_CFLAGS="$CFLAGS"
7942 LIBS="conftstm.$ac_objext"
7943 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7945 (eval $ac_link) 2>&5
7946 ac_status=$?
7947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7948 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7949 pipe_works=yes
7951 LIBS="$lt_save_LIBS"
7952 CFLAGS="$lt_save_CFLAGS"
7953 else
7954 echo "cannot find nm_test_func in $nlist" >&5
7956 else
7957 echo "cannot find nm_test_var in $nlist" >&5
7959 else
7960 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7962 else
7963 echo "$progname: failed program was:" >&5
7964 cat conftest.$ac_ext >&5
7966 rm -rf conftest* conftst*
7968 # Do not use the global_symbol_pipe unless it works.
7969 if test "$pipe_works" = yes; then
7970 break
7971 else
7972 lt_cv_sys_global_symbol_pipe=
7974 done
7978 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7979 lt_cv_sys_global_symbol_to_cdecl=
7981 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7983 $as_echo "failed" >&6; }
7984 else
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7986 $as_echo "ok" >&6; }
8010 # Check whether --enable-libtool-lock was given.
8011 if test "${enable_libtool_lock+set}" = set; then :
8012 enableval=$enable_libtool_lock;
8015 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8017 # Some flags need to be propagated to the compiler or linker for good
8018 # libtool support.
8019 case $host in
8020 ia64-*-hpux*)
8021 # Find out which ABI we are using.
8022 echo 'int i;' > conftest.$ac_ext
8023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8024 (eval $ac_compile) 2>&5
8025 ac_status=$?
8026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8027 test $ac_status = 0; }; then
8028 case `/usr/bin/file conftest.$ac_objext` in
8029 *ELF-32*)
8030 HPUX_IA64_MODE="32"
8032 *ELF-64*)
8033 HPUX_IA64_MODE="64"
8035 esac
8037 rm -rf conftest*
8039 *-*-irix6*)
8040 # Find out which ABI we are using.
8041 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8043 (eval $ac_compile) 2>&5
8044 ac_status=$?
8045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8046 test $ac_status = 0; }; then
8047 if test "$lt_cv_prog_gnu_ld" = yes; then
8048 case `/usr/bin/file conftest.$ac_objext` in
8049 *32-bit*)
8050 LD="${LD-ld} -melf32bsmip"
8052 *N32*)
8053 LD="${LD-ld} -melf32bmipn32"
8055 *64-bit*)
8056 LD="${LD-ld} -melf64bmip"
8058 esac
8059 else
8060 case `/usr/bin/file conftest.$ac_objext` in
8061 *32-bit*)
8062 LD="${LD-ld} -32"
8064 *N32*)
8065 LD="${LD-ld} -n32"
8067 *64-bit*)
8068 LD="${LD-ld} -64"
8070 esac
8073 rm -rf conftest*
8076 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8077 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8078 # Find out which ABI we are using.
8079 echo 'int i;' > conftest.$ac_ext
8080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8081 (eval $ac_compile) 2>&5
8082 ac_status=$?
8083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8084 test $ac_status = 0; }; then
8085 case `/usr/bin/file conftest.o` in
8086 *32-bit*)
8087 case $host in
8088 x86_64-*kfreebsd*-gnu)
8089 LD="${LD-ld} -m elf_i386_fbsd"
8091 x86_64-*linux*)
8092 case `/usr/bin/file conftest.o` in
8093 *x86-64*)
8094 LD="${LD-ld} -m elf32_x86_64"
8097 LD="${LD-ld} -m elf_i386"
8099 esac
8101 powerpc64le-*linux*)
8102 LD="${LD-ld} -m elf32lppclinux"
8104 powerpc64-*linux*)
8105 LD="${LD-ld} -m elf32ppclinux"
8107 s390x-*linux*)
8108 LD="${LD-ld} -m elf_s390"
8110 sparc64-*linux*)
8111 LD="${LD-ld} -m elf32_sparc"
8113 esac
8115 *64-bit*)
8116 case $host in
8117 x86_64-*kfreebsd*-gnu)
8118 LD="${LD-ld} -m elf_x86_64_fbsd"
8120 x86_64-*linux*)
8121 LD="${LD-ld} -m elf_x86_64"
8123 powerpcle-*linux*)
8124 LD="${LD-ld} -m elf64lppc"
8126 powerpc-*linux*)
8127 LD="${LD-ld} -m elf64ppc"
8129 s390*-*linux*|s390*-*tpf*)
8130 LD="${LD-ld} -m elf64_s390"
8132 sparc*-*linux*)
8133 LD="${LD-ld} -m elf64_sparc"
8135 esac
8137 esac
8139 rm -rf conftest*
8142 *-*-sco3.2v5*)
8143 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8144 SAVE_CFLAGS="$CFLAGS"
8145 CFLAGS="$CFLAGS -belf"
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8147 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8148 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8149 $as_echo_n "(cached) " >&6
8150 else
8151 ac_ext=c
8152 ac_cpp='$CPP $CPPFLAGS'
8153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8157 if test x$gcc_no_link = xyes; then
8158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8164 main ()
8168 return 0;
8170 _ACEOF
8171 if ac_fn_c_try_link "$LINENO"; then :
8172 lt_cv_cc_needs_belf=yes
8173 else
8174 lt_cv_cc_needs_belf=no
8176 rm -f core conftest.err conftest.$ac_objext \
8177 conftest$ac_exeext conftest.$ac_ext
8178 ac_ext=c
8179 ac_cpp='$CPP $CPPFLAGS'
8180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8186 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8187 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8188 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8189 CFLAGS="$SAVE_CFLAGS"
8192 sparc*-*solaris*)
8193 # Find out which ABI we are using.
8194 echo 'int i;' > conftest.$ac_ext
8195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8196 (eval $ac_compile) 2>&5
8197 ac_status=$?
8198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8199 test $ac_status = 0; }; then
8200 case `/usr/bin/file conftest.o` in
8201 *64-bit*)
8202 case $lt_cv_prog_gnu_ld in
8203 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8205 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8206 LD="${LD-ld} -64"
8209 esac
8211 esac
8213 rm -rf conftest*
8215 esac
8217 need_locks="$enable_libtool_lock"
8220 case $host_os in
8221 rhapsody* | darwin*)
8222 if test -n "$ac_tool_prefix"; then
8223 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8224 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8226 $as_echo_n "checking for $ac_word... " >&6; }
8227 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8228 $as_echo_n "(cached) " >&6
8229 else
8230 if test -n "$DSYMUTIL"; then
8231 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8232 else
8233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8234 for as_dir in $PATH
8236 IFS=$as_save_IFS
8237 test -z "$as_dir" && as_dir=.
8238 for ac_exec_ext in '' $ac_executable_extensions; do
8239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8240 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8242 break 2
8244 done
8245 done
8246 IFS=$as_save_IFS
8250 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8251 if test -n "$DSYMUTIL"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8253 $as_echo "$DSYMUTIL" >&6; }
8254 else
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256 $as_echo "no" >&6; }
8261 if test -z "$ac_cv_prog_DSYMUTIL"; then
8262 ac_ct_DSYMUTIL=$DSYMUTIL
8263 # Extract the first word of "dsymutil", so it can be a program name with args.
8264 set dummy dsymutil; ac_word=$2
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8266 $as_echo_n "checking for $ac_word... " >&6; }
8267 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 if test -n "$ac_ct_DSYMUTIL"; then
8271 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8272 else
8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8274 for as_dir in $PATH
8276 IFS=$as_save_IFS
8277 test -z "$as_dir" && as_dir=.
8278 for ac_exec_ext in '' $ac_executable_extensions; do
8279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8280 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8282 break 2
8284 done
8285 done
8286 IFS=$as_save_IFS
8290 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8291 if test -n "$ac_ct_DSYMUTIL"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8293 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8294 else
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296 $as_echo "no" >&6; }
8299 if test "x$ac_ct_DSYMUTIL" = x; then
8300 DSYMUTIL=":"
8301 else
8302 case $cross_compiling:$ac_tool_warned in
8303 yes:)
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8306 ac_tool_warned=yes ;;
8307 esac
8308 DSYMUTIL=$ac_ct_DSYMUTIL
8310 else
8311 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8314 if test -n "$ac_tool_prefix"; then
8315 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8316 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8318 $as_echo_n "checking for $ac_word... " >&6; }
8319 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8320 $as_echo_n "(cached) " >&6
8321 else
8322 if test -n "$NMEDIT"; then
8323 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8324 else
8325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8326 for as_dir in $PATH
8328 IFS=$as_save_IFS
8329 test -z "$as_dir" && as_dir=.
8330 for ac_exec_ext in '' $ac_executable_extensions; do
8331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8332 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8334 break 2
8336 done
8337 done
8338 IFS=$as_save_IFS
8342 NMEDIT=$ac_cv_prog_NMEDIT
8343 if test -n "$NMEDIT"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8345 $as_echo "$NMEDIT" >&6; }
8346 else
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8348 $as_echo "no" >&6; }
8353 if test -z "$ac_cv_prog_NMEDIT"; then
8354 ac_ct_NMEDIT=$NMEDIT
8355 # Extract the first word of "nmedit", so it can be a program name with args.
8356 set dummy nmedit; ac_word=$2
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8358 $as_echo_n "checking for $ac_word... " >&6; }
8359 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 if test -n "$ac_ct_NMEDIT"; then
8363 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8364 else
8365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8366 for as_dir in $PATH
8368 IFS=$as_save_IFS
8369 test -z "$as_dir" && as_dir=.
8370 for ac_exec_ext in '' $ac_executable_extensions; do
8371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8372 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8374 break 2
8376 done
8377 done
8378 IFS=$as_save_IFS
8382 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8383 if test -n "$ac_ct_NMEDIT"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8385 $as_echo "$ac_ct_NMEDIT" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8391 if test "x$ac_ct_NMEDIT" = x; then
8392 NMEDIT=":"
8393 else
8394 case $cross_compiling:$ac_tool_warned in
8395 yes:)
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8398 ac_tool_warned=yes ;;
8399 esac
8400 NMEDIT=$ac_ct_NMEDIT
8402 else
8403 NMEDIT="$ac_cv_prog_NMEDIT"
8406 if test -n "$ac_tool_prefix"; then
8407 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8408 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8410 $as_echo_n "checking for $ac_word... " >&6; }
8411 if test "${ac_cv_prog_LIPO+set}" = set; then :
8412 $as_echo_n "(cached) " >&6
8413 else
8414 if test -n "$LIPO"; then
8415 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8416 else
8417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8418 for as_dir in $PATH
8420 IFS=$as_save_IFS
8421 test -z "$as_dir" && as_dir=.
8422 for ac_exec_ext in '' $ac_executable_extensions; do
8423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8424 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8426 break 2
8428 done
8429 done
8430 IFS=$as_save_IFS
8434 LIPO=$ac_cv_prog_LIPO
8435 if test -n "$LIPO"; then
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8437 $as_echo "$LIPO" >&6; }
8438 else
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8440 $as_echo "no" >&6; }
8445 if test -z "$ac_cv_prog_LIPO"; then
8446 ac_ct_LIPO=$LIPO
8447 # Extract the first word of "lipo", so it can be a program name with args.
8448 set dummy lipo; ac_word=$2
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8450 $as_echo_n "checking for $ac_word... " >&6; }
8451 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 if test -n "$ac_ct_LIPO"; then
8455 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8456 else
8457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8458 for as_dir in $PATH
8460 IFS=$as_save_IFS
8461 test -z "$as_dir" && as_dir=.
8462 for ac_exec_ext in '' $ac_executable_extensions; do
8463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8464 ac_cv_prog_ac_ct_LIPO="lipo"
8465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8466 break 2
8468 done
8469 done
8470 IFS=$as_save_IFS
8474 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8475 if test -n "$ac_ct_LIPO"; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8477 $as_echo "$ac_ct_LIPO" >&6; }
8478 else
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8480 $as_echo "no" >&6; }
8483 if test "x$ac_ct_LIPO" = x; then
8484 LIPO=":"
8485 else
8486 case $cross_compiling:$ac_tool_warned in
8487 yes:)
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8490 ac_tool_warned=yes ;;
8491 esac
8492 LIPO=$ac_ct_LIPO
8494 else
8495 LIPO="$ac_cv_prog_LIPO"
8498 if test -n "$ac_tool_prefix"; then
8499 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8500 set dummy ${ac_tool_prefix}otool; ac_word=$2
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8502 $as_echo_n "checking for $ac_word... " >&6; }
8503 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 if test -n "$OTOOL"; then
8507 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8508 else
8509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8510 for as_dir in $PATH
8512 IFS=$as_save_IFS
8513 test -z "$as_dir" && as_dir=.
8514 for ac_exec_ext in '' $ac_executable_extensions; do
8515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8516 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8518 break 2
8520 done
8521 done
8522 IFS=$as_save_IFS
8526 OTOOL=$ac_cv_prog_OTOOL
8527 if test -n "$OTOOL"; then
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8529 $as_echo "$OTOOL" >&6; }
8530 else
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8532 $as_echo "no" >&6; }
8537 if test -z "$ac_cv_prog_OTOOL"; then
8538 ac_ct_OTOOL=$OTOOL
8539 # Extract the first word of "otool", so it can be a program name with args.
8540 set dummy otool; ac_word=$2
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8542 $as_echo_n "checking for $ac_word... " >&6; }
8543 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8544 $as_echo_n "(cached) " >&6
8545 else
8546 if test -n "$ac_ct_OTOOL"; then
8547 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8548 else
8549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8550 for as_dir in $PATH
8552 IFS=$as_save_IFS
8553 test -z "$as_dir" && as_dir=.
8554 for ac_exec_ext in '' $ac_executable_extensions; do
8555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8556 ac_cv_prog_ac_ct_OTOOL="otool"
8557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8558 break 2
8560 done
8561 done
8562 IFS=$as_save_IFS
8566 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8567 if test -n "$ac_ct_OTOOL"; then
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8569 $as_echo "$ac_ct_OTOOL" >&6; }
8570 else
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8572 $as_echo "no" >&6; }
8575 if test "x$ac_ct_OTOOL" = x; then
8576 OTOOL=":"
8577 else
8578 case $cross_compiling:$ac_tool_warned in
8579 yes:)
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8582 ac_tool_warned=yes ;;
8583 esac
8584 OTOOL=$ac_ct_OTOOL
8586 else
8587 OTOOL="$ac_cv_prog_OTOOL"
8590 if test -n "$ac_tool_prefix"; then
8591 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8592 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8594 $as_echo_n "checking for $ac_word... " >&6; }
8595 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8596 $as_echo_n "(cached) " >&6
8597 else
8598 if test -n "$OTOOL64"; then
8599 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8600 else
8601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8602 for as_dir in $PATH
8604 IFS=$as_save_IFS
8605 test -z "$as_dir" && as_dir=.
8606 for ac_exec_ext in '' $ac_executable_extensions; do
8607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8608 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8610 break 2
8612 done
8613 done
8614 IFS=$as_save_IFS
8618 OTOOL64=$ac_cv_prog_OTOOL64
8619 if test -n "$OTOOL64"; then
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8621 $as_echo "$OTOOL64" >&6; }
8622 else
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8624 $as_echo "no" >&6; }
8629 if test -z "$ac_cv_prog_OTOOL64"; then
8630 ac_ct_OTOOL64=$OTOOL64
8631 # Extract the first word of "otool64", so it can be a program name with args.
8632 set dummy otool64; ac_word=$2
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8634 $as_echo_n "checking for $ac_word... " >&6; }
8635 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 if test -n "$ac_ct_OTOOL64"; then
8639 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8640 else
8641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8642 for as_dir in $PATH
8644 IFS=$as_save_IFS
8645 test -z "$as_dir" && as_dir=.
8646 for ac_exec_ext in '' $ac_executable_extensions; do
8647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8648 ac_cv_prog_ac_ct_OTOOL64="otool64"
8649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8650 break 2
8652 done
8653 done
8654 IFS=$as_save_IFS
8658 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8659 if test -n "$ac_ct_OTOOL64"; then
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8661 $as_echo "$ac_ct_OTOOL64" >&6; }
8662 else
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8664 $as_echo "no" >&6; }
8667 if test "x$ac_ct_OTOOL64" = x; then
8668 OTOOL64=":"
8669 else
8670 case $cross_compiling:$ac_tool_warned in
8671 yes:)
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8674 ac_tool_warned=yes ;;
8675 esac
8676 OTOOL64=$ac_ct_OTOOL64
8678 else
8679 OTOOL64="$ac_cv_prog_OTOOL64"
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8709 $as_echo_n "checking for -single_module linker flag... " >&6; }
8710 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8711 $as_echo_n "(cached) " >&6
8712 else
8713 lt_cv_apple_cc_single_mod=no
8714 if test -z "${LT_MULTI_MODULE}"; then
8715 # By default we will add the -single_module flag. You can override
8716 # by either setting the environment variable LT_MULTI_MODULE
8717 # non-empty at configure time, or by adding -multi_module to the
8718 # link flags.
8719 rm -rf libconftest.dylib*
8720 echo "int foo(void){return 1;}" > conftest.c
8721 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8722 -dynamiclib -Wl,-single_module conftest.c" >&5
8723 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8724 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8725 _lt_result=$?
8726 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8727 lt_cv_apple_cc_single_mod=yes
8728 else
8729 cat conftest.err >&5
8731 rm -rf libconftest.dylib*
8732 rm -f conftest.*
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8736 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8738 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8739 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8740 $as_echo_n "(cached) " >&6
8741 else
8742 lt_cv_ld_exported_symbols_list=no
8743 save_LDFLAGS=$LDFLAGS
8744 echo "_main" > conftest.sym
8745 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8746 if test x$gcc_no_link = xyes; then
8747 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8753 main ()
8757 return 0;
8759 _ACEOF
8760 if ac_fn_c_try_link "$LINENO"; then :
8761 lt_cv_ld_exported_symbols_list=yes
8762 else
8763 lt_cv_ld_exported_symbols_list=no
8765 rm -f core conftest.err conftest.$ac_objext \
8766 conftest$ac_exeext conftest.$ac_ext
8767 LDFLAGS="$save_LDFLAGS"
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8771 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8773 $as_echo_n "checking for -force_load linker flag... " >&6; }
8774 if test "${lt_cv_ld_force_load+set}" = set; then :
8775 $as_echo_n "(cached) " >&6
8776 else
8777 lt_cv_ld_force_load=no
8778 cat > conftest.c << _LT_EOF
8779 int forced_loaded() { return 2;}
8780 _LT_EOF
8781 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8782 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8783 echo "$AR cru libconftest.a conftest.o" >&5
8784 $AR cru libconftest.a conftest.o 2>&5
8785 cat > conftest.c << _LT_EOF
8786 int main() { return 0;}
8787 _LT_EOF
8788 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8789 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8790 _lt_result=$?
8791 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8792 lt_cv_ld_force_load=yes
8793 else
8794 cat conftest.err >&5
8796 rm -f conftest.err libconftest.a conftest conftest.c
8797 rm -rf conftest.dSYM
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8801 $as_echo "$lt_cv_ld_force_load" >&6; }
8802 case $host_os in
8803 rhapsody* | darwin1.[012])
8804 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8805 darwin1.*)
8806 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8807 darwin*) # darwin 5.x on
8808 # if running on 10.5 or later, the deployment target defaults
8809 # to the OS version, if on x86, and 10.4, the deployment
8810 # target defaults to 10.4. Don't you love it?
8811 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8812 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8813 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8814 10.[012]*)
8815 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8816 10.*)
8817 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8818 esac
8820 esac
8821 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8822 _lt_dar_single_mod='$single_module'
8824 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8825 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8826 else
8827 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8829 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8830 _lt_dsymutil='~$DSYMUTIL $lib || :'
8831 else
8832 _lt_dsymutil=
8835 esac
8837 for ac_header in dlfcn.h
8838 do :
8839 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8841 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8842 cat >>confdefs.h <<_ACEOF
8843 #define HAVE_DLFCN_H 1
8844 _ACEOF
8848 done
8854 # Set options
8859 enable_win32_dll=no
8862 # Check whether --enable-shared was given.
8863 if test "${enable_shared+set}" = set; then :
8864 enableval=$enable_shared; p=${PACKAGE-default}
8865 case $enableval in
8866 yes) enable_shared=yes ;;
8867 no) enable_shared=no ;;
8869 enable_shared=no
8870 # Look at the argument we got. We use all the common list separators.
8871 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8872 for pkg in $enableval; do
8873 IFS="$lt_save_ifs"
8874 if test "X$pkg" = "X$p"; then
8875 enable_shared=yes
8877 done
8878 IFS="$lt_save_ifs"
8880 esac
8881 else
8882 enable_shared=yes
8893 # Check whether --enable-static was given.
8894 if test "${enable_static+set}" = set; then :
8895 enableval=$enable_static; p=${PACKAGE-default}
8896 case $enableval in
8897 yes) enable_static=yes ;;
8898 no) enable_static=no ;;
8900 enable_static=no
8901 # Look at the argument we got. We use all the common list separators.
8902 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8903 for pkg in $enableval; do
8904 IFS="$lt_save_ifs"
8905 if test "X$pkg" = "X$p"; then
8906 enable_static=yes
8908 done
8909 IFS="$lt_save_ifs"
8911 esac
8912 else
8913 enable_static=yes
8925 # Check whether --with-pic was given.
8926 if test "${with_pic+set}" = set; then :
8927 withval=$with_pic; pic_mode="$withval"
8928 else
8929 pic_mode=default
8933 test -z "$pic_mode" && pic_mode=default
8941 # Check whether --enable-fast-install was given.
8942 if test "${enable_fast_install+set}" = set; then :
8943 enableval=$enable_fast_install; p=${PACKAGE-default}
8944 case $enableval in
8945 yes) enable_fast_install=yes ;;
8946 no) enable_fast_install=no ;;
8948 enable_fast_install=no
8949 # Look at the argument we got. We use all the common list separators.
8950 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8951 for pkg in $enableval; do
8952 IFS="$lt_save_ifs"
8953 if test "X$pkg" = "X$p"; then
8954 enable_fast_install=yes
8956 done
8957 IFS="$lt_save_ifs"
8959 esac
8960 else
8961 enable_fast_install=yes
8974 # This can be used to rebuild libtool when needed
8975 LIBTOOL_DEPS="$ltmain"
8977 # Always use our own libtool.
8978 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9005 test -z "$LN_S" && LN_S="ln -s"
9020 if test -n "${ZSH_VERSION+set}" ; then
9021 setopt NO_GLOB_SUBST
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9025 $as_echo_n "checking for objdir... " >&6; }
9026 if test "${lt_cv_objdir+set}" = set; then :
9027 $as_echo_n "(cached) " >&6
9028 else
9029 rm -f .libs 2>/dev/null
9030 mkdir .libs 2>/dev/null
9031 if test -d .libs; then
9032 lt_cv_objdir=.libs
9033 else
9034 # MS-DOS does not allow filenames that begin with a dot.
9035 lt_cv_objdir=_libs
9037 rmdir .libs 2>/dev/null
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9040 $as_echo "$lt_cv_objdir" >&6; }
9041 objdir=$lt_cv_objdir
9047 cat >>confdefs.h <<_ACEOF
9048 #define LT_OBJDIR "$lt_cv_objdir/"
9049 _ACEOF
9054 case $host_os in
9055 aix3*)
9056 # AIX sometimes has problems with the GCC collect2 program. For some
9057 # reason, if we set the COLLECT_NAMES environment variable, the problems
9058 # vanish in a puff of smoke.
9059 if test "X${COLLECT_NAMES+set}" != Xset; then
9060 COLLECT_NAMES=
9061 export COLLECT_NAMES
9064 esac
9066 # Global variables:
9067 ofile=libtool
9068 can_build_shared=yes
9070 # All known linkers require a `.a' archive for static linking (except MSVC,
9071 # which needs '.lib').
9072 libext=a
9074 with_gnu_ld="$lt_cv_prog_gnu_ld"
9076 old_CC="$CC"
9077 old_CFLAGS="$CFLAGS"
9079 # Set sane defaults for various variables
9080 test -z "$CC" && CC=cc
9081 test -z "$LTCC" && LTCC=$CC
9082 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9083 test -z "$LD" && LD=ld
9084 test -z "$ac_objext" && ac_objext=o
9086 for cc_temp in $compiler""; do
9087 case $cc_temp in
9088 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9089 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9090 \-*) ;;
9091 *) break;;
9092 esac
9093 done
9094 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9097 # Only perform the check for file, if the check method requires it
9098 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9099 case $deplibs_check_method in
9100 file_magic*)
9101 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9103 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9104 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9105 $as_echo_n "(cached) " >&6
9106 else
9107 case $MAGIC_CMD in
9108 [\\/*] | ?:[\\/]*)
9109 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9112 lt_save_MAGIC_CMD="$MAGIC_CMD"
9113 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9114 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9115 for ac_dir in $ac_dummy; do
9116 IFS="$lt_save_ifs"
9117 test -z "$ac_dir" && ac_dir=.
9118 if test -f $ac_dir/${ac_tool_prefix}file; then
9119 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9120 if test -n "$file_magic_test_file"; then
9121 case $deplibs_check_method in
9122 "file_magic "*)
9123 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9124 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9125 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9126 $EGREP "$file_magic_regex" > /dev/null; then
9128 else
9129 cat <<_LT_EOF 1>&2
9131 *** Warning: the command libtool uses to detect shared libraries,
9132 *** $file_magic_cmd, produces output that libtool cannot recognize.
9133 *** The result is that libtool may fail to recognize shared libraries
9134 *** as such. This will affect the creation of libtool libraries that
9135 *** depend on shared libraries, but programs linked with such libtool
9136 *** libraries will work regardless of this problem. Nevertheless, you
9137 *** may want to report the problem to your system manager and/or to
9138 *** bug-libtool@gnu.org
9140 _LT_EOF
9141 fi ;;
9142 esac
9144 break
9146 done
9147 IFS="$lt_save_ifs"
9148 MAGIC_CMD="$lt_save_MAGIC_CMD"
9150 esac
9153 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9154 if test -n "$MAGIC_CMD"; then
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9156 $as_echo "$MAGIC_CMD" >&6; }
9157 else
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9159 $as_echo "no" >&6; }
9166 if test -z "$lt_cv_path_MAGIC_CMD"; then
9167 if test -n "$ac_tool_prefix"; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9169 $as_echo_n "checking for file... " >&6; }
9170 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 case $MAGIC_CMD in
9174 [\\/*] | ?:[\\/]*)
9175 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9178 lt_save_MAGIC_CMD="$MAGIC_CMD"
9179 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9180 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9181 for ac_dir in $ac_dummy; do
9182 IFS="$lt_save_ifs"
9183 test -z "$ac_dir" && ac_dir=.
9184 if test -f $ac_dir/file; then
9185 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9186 if test -n "$file_magic_test_file"; then
9187 case $deplibs_check_method in
9188 "file_magic "*)
9189 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9190 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9191 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9192 $EGREP "$file_magic_regex" > /dev/null; then
9194 else
9195 cat <<_LT_EOF 1>&2
9197 *** Warning: the command libtool uses to detect shared libraries,
9198 *** $file_magic_cmd, produces output that libtool cannot recognize.
9199 *** The result is that libtool may fail to recognize shared libraries
9200 *** as such. This will affect the creation of libtool libraries that
9201 *** depend on shared libraries, but programs linked with such libtool
9202 *** libraries will work regardless of this problem. Nevertheless, you
9203 *** may want to report the problem to your system manager and/or to
9204 *** bug-libtool@gnu.org
9206 _LT_EOF
9207 fi ;;
9208 esac
9210 break
9212 done
9213 IFS="$lt_save_ifs"
9214 MAGIC_CMD="$lt_save_MAGIC_CMD"
9216 esac
9219 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9220 if test -n "$MAGIC_CMD"; then
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9222 $as_echo "$MAGIC_CMD" >&6; }
9223 else
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9225 $as_echo "no" >&6; }
9229 else
9230 MAGIC_CMD=:
9236 esac
9238 # Use C for the default configuration in the libtool script
9240 lt_save_CC="$CC"
9241 ac_ext=c
9242 ac_cpp='$CPP $CPPFLAGS'
9243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9248 # Source file extension for C test sources.
9249 ac_ext=c
9251 # Object file extension for compiled C test sources.
9252 objext=o
9253 objext=$objext
9255 # Code to be used in simple compile tests
9256 lt_simple_compile_test_code="int some_variable = 0;"
9258 # Code to be used in simple link tests
9259 lt_simple_link_test_code='int main(){return(0);}'
9267 # If no C compiler was specified, use CC.
9268 LTCC=${LTCC-"$CC"}
9270 # If no C compiler flags were specified, use CFLAGS.
9271 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9273 # Allow CC to be a program name with arguments.
9274 compiler=$CC
9276 # Save the default compiler, since it gets overwritten when the other
9277 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9278 compiler_DEFAULT=$CC
9280 # save warnings/boilerplate of simple test code
9281 ac_outfile=conftest.$ac_objext
9282 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9283 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9284 _lt_compiler_boilerplate=`cat conftest.err`
9285 $RM conftest*
9287 ac_outfile=conftest.$ac_objext
9288 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9289 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9290 _lt_linker_boilerplate=`cat conftest.err`
9291 $RM -r conftest*
9294 ## CAVEAT EMPTOR:
9295 ## There is no encapsulation within the following macros, do not change
9296 ## the running order or otherwise move them around unless you know exactly
9297 ## what you are doing...
9298 if test -n "$compiler"; then
9300 lt_prog_compiler_no_builtin_flag=
9302 if test "$GCC" = yes; then
9303 case $cc_basename in
9304 nvcc*)
9305 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9307 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9308 esac
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9311 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9312 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9313 $as_echo_n "(cached) " >&6
9314 else
9315 lt_cv_prog_compiler_rtti_exceptions=no
9316 ac_outfile=conftest.$ac_objext
9317 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9318 lt_compiler_flag="-fno-rtti -fno-exceptions"
9319 # Insert the option either (1) after the last *FLAGS variable, or
9320 # (2) before a word containing "conftest.", or (3) at the end.
9321 # Note that $ac_compile itself does not contain backslashes and begins
9322 # with a dollar sign (not a hyphen), so the echo should work correctly.
9323 # The option is referenced via a variable to avoid confusing sed.
9324 lt_compile=`echo "$ac_compile" | $SED \
9325 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9326 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9327 -e 's:$: $lt_compiler_flag:'`
9328 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9329 (eval "$lt_compile" 2>conftest.err)
9330 ac_status=$?
9331 cat conftest.err >&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 if (exit $ac_status) && test -s "$ac_outfile"; then
9334 # The compiler can only warn and ignore the option if not recognized
9335 # So say no if there are warnings other than the usual output.
9336 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9337 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9338 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9339 lt_cv_prog_compiler_rtti_exceptions=yes
9342 $RM conftest*
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9346 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9348 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9349 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9350 else
9361 lt_prog_compiler_wl=
9362 lt_prog_compiler_pic=
9363 lt_prog_compiler_static=
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9366 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9368 if test "$GCC" = yes; then
9369 lt_prog_compiler_wl='-Wl,'
9370 lt_prog_compiler_static='-static'
9372 case $host_os in
9373 aix*)
9374 # All AIX code is PIC.
9375 if test "$host_cpu" = ia64; then
9376 # AIX 5 now supports IA64 processor
9377 lt_prog_compiler_static='-Bstatic'
9379 lt_prog_compiler_pic='-fPIC'
9382 amigaos*)
9383 case $host_cpu in
9384 powerpc)
9385 # see comment about AmigaOS4 .so support
9386 lt_prog_compiler_pic='-fPIC'
9388 m68k)
9389 # FIXME: we need at least 68020 code to build shared libraries, but
9390 # adding the `-m68020' flag to GCC prevents building anything better,
9391 # like `-m68040'.
9392 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9394 esac
9397 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9398 # PIC is the default for these OSes.
9401 mingw* | cygwin* | pw32* | os2* | cegcc*)
9402 # This hack is so that the source file can tell whether it is being
9403 # built for inclusion in a dll (and should export symbols for example).
9404 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9405 # (--disable-auto-import) libraries
9406 lt_prog_compiler_pic='-DDLL_EXPORT'
9409 darwin* | rhapsody*)
9410 # PIC is the default on this platform
9411 # Common symbols not allowed in MH_DYLIB files
9412 lt_prog_compiler_pic='-fno-common'
9415 haiku*)
9416 # PIC is the default for Haiku.
9417 # The "-static" flag exists, but is broken.
9418 lt_prog_compiler_static=
9421 hpux*)
9422 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9423 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9424 # sets the default TLS model and affects inlining.
9425 case $host_cpu in
9426 hppa*64*)
9427 # +Z the default
9430 lt_prog_compiler_pic='-fPIC'
9432 esac
9435 interix[3-9]*)
9436 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9437 # Instead, we relocate shared libraries at runtime.
9440 msdosdjgpp*)
9441 # Just because we use GCC doesn't mean we suddenly get shared libraries
9442 # on systems that don't support them.
9443 lt_prog_compiler_can_build_shared=no
9444 enable_shared=no
9447 *nto* | *qnx*)
9448 # QNX uses GNU C++, but need to define -shared option too, otherwise
9449 # it will coredump.
9450 lt_prog_compiler_pic='-fPIC -shared'
9453 sysv4*MP*)
9454 if test -d /usr/nec; then
9455 lt_prog_compiler_pic=-Kconform_pic
9460 lt_prog_compiler_pic='-fPIC'
9462 esac
9464 case $cc_basename in
9465 nvcc*) # Cuda Compiler Driver 2.2
9466 lt_prog_compiler_wl='-Xlinker '
9467 lt_prog_compiler_pic='-Xcompiler -fPIC'
9469 esac
9470 else
9471 # PORTME Check for flag to pass linker flags through the system compiler.
9472 case $host_os in
9473 aix*)
9474 lt_prog_compiler_wl='-Wl,'
9475 if test "$host_cpu" = ia64; then
9476 # AIX 5 now supports IA64 processor
9477 lt_prog_compiler_static='-Bstatic'
9478 else
9479 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9483 mingw* | cygwin* | pw32* | os2* | cegcc*)
9484 # This hack is so that the source file can tell whether it is being
9485 # built for inclusion in a dll (and should export symbols for example).
9486 lt_prog_compiler_pic='-DDLL_EXPORT'
9489 hpux9* | hpux10* | hpux11*)
9490 lt_prog_compiler_wl='-Wl,'
9491 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9492 # not for PA HP-UX.
9493 case $host_cpu in
9494 hppa*64*|ia64*)
9495 # +Z the default
9498 lt_prog_compiler_pic='+Z'
9500 esac
9501 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9502 lt_prog_compiler_static='${wl}-a ${wl}archive'
9505 irix5* | irix6* | nonstopux*)
9506 lt_prog_compiler_wl='-Wl,'
9507 # PIC (with -KPIC) is the default.
9508 lt_prog_compiler_static='-non_shared'
9511 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9512 case $cc_basename in
9513 # old Intel for x86_64 which still supported -KPIC.
9514 ecc*)
9515 lt_prog_compiler_wl='-Wl,'
9516 lt_prog_compiler_pic='-KPIC'
9517 lt_prog_compiler_static='-static'
9519 # icc used to be incompatible with GCC.
9520 # ICC 10 doesn't accept -KPIC any more.
9521 icc* | ifort*)
9522 lt_prog_compiler_wl='-Wl,'
9523 lt_prog_compiler_pic='-fPIC'
9524 lt_prog_compiler_static='-static'
9526 # Lahey Fortran 8.1.
9527 lf95*)
9528 lt_prog_compiler_wl='-Wl,'
9529 lt_prog_compiler_pic='--shared'
9530 lt_prog_compiler_static='--static'
9532 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9533 # Portland Group compilers (*not* the Pentium gcc compiler,
9534 # which looks to be a dead project)
9535 lt_prog_compiler_wl='-Wl,'
9536 lt_prog_compiler_pic='-fpic'
9537 lt_prog_compiler_static='-Bstatic'
9539 ccc*)
9540 lt_prog_compiler_wl='-Wl,'
9541 # All Alpha code is PIC.
9542 lt_prog_compiler_static='-non_shared'
9544 xl* | bgxl* | bgf* | mpixl*)
9545 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9546 lt_prog_compiler_wl='-Wl,'
9547 lt_prog_compiler_pic='-qpic'
9548 lt_prog_compiler_static='-qstaticlink'
9551 case `$CC -V 2>&1 | sed 5q` in
9552 *Sun\ F* | *Sun*Fortran*)
9553 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9554 lt_prog_compiler_pic='-KPIC'
9555 lt_prog_compiler_static='-Bstatic'
9556 lt_prog_compiler_wl=''
9558 *Sun\ C*)
9559 # Sun C 5.9
9560 lt_prog_compiler_pic='-KPIC'
9561 lt_prog_compiler_static='-Bstatic'
9562 lt_prog_compiler_wl='-Wl,'
9564 esac
9566 esac
9569 newsos6)
9570 lt_prog_compiler_pic='-KPIC'
9571 lt_prog_compiler_static='-Bstatic'
9574 *nto* | *qnx*)
9575 # QNX uses GNU C++, but need to define -shared option too, otherwise
9576 # it will coredump.
9577 lt_prog_compiler_pic='-fPIC -shared'
9580 osf3* | osf4* | osf5*)
9581 lt_prog_compiler_wl='-Wl,'
9582 # All OSF/1 code is PIC.
9583 lt_prog_compiler_static='-non_shared'
9586 rdos*)
9587 lt_prog_compiler_static='-non_shared'
9590 solaris*)
9591 lt_prog_compiler_pic='-KPIC'
9592 lt_prog_compiler_static='-Bstatic'
9593 case $cc_basename in
9594 f77* | f90* | f95*)
9595 lt_prog_compiler_wl='-Qoption ld ';;
9597 lt_prog_compiler_wl='-Wl,';;
9598 esac
9601 sunos4*)
9602 lt_prog_compiler_wl='-Qoption ld '
9603 lt_prog_compiler_pic='-PIC'
9604 lt_prog_compiler_static='-Bstatic'
9607 sysv4 | sysv4.2uw2* | sysv4.3*)
9608 lt_prog_compiler_wl='-Wl,'
9609 lt_prog_compiler_pic='-KPIC'
9610 lt_prog_compiler_static='-Bstatic'
9613 sysv4*MP*)
9614 if test -d /usr/nec ;then
9615 lt_prog_compiler_pic='-Kconform_pic'
9616 lt_prog_compiler_static='-Bstatic'
9620 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9621 lt_prog_compiler_wl='-Wl,'
9622 lt_prog_compiler_pic='-KPIC'
9623 lt_prog_compiler_static='-Bstatic'
9626 unicos*)
9627 lt_prog_compiler_wl='-Wl,'
9628 lt_prog_compiler_can_build_shared=no
9631 uts4*)
9632 lt_prog_compiler_pic='-pic'
9633 lt_prog_compiler_static='-Bstatic'
9637 lt_prog_compiler_can_build_shared=no
9639 esac
9642 case $host_os in
9643 # For platforms which do not support PIC, -DPIC is meaningless:
9644 *djgpp*)
9645 lt_prog_compiler_pic=
9648 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9650 esac
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9652 $as_echo "$lt_prog_compiler_pic" >&6; }
9660 # Check to make sure the PIC flag actually works.
9662 if test -n "$lt_prog_compiler_pic"; then
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9664 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9665 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9666 $as_echo_n "(cached) " >&6
9667 else
9668 lt_cv_prog_compiler_pic_works=no
9669 ac_outfile=conftest.$ac_objext
9670 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9671 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9672 # Insert the option either (1) after the last *FLAGS variable, or
9673 # (2) before a word containing "conftest.", or (3) at the end.
9674 # Note that $ac_compile itself does not contain backslashes and begins
9675 # with a dollar sign (not a hyphen), so the echo should work correctly.
9676 # The option is referenced via a variable to avoid confusing sed.
9677 lt_compile=`echo "$ac_compile" | $SED \
9678 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9679 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9680 -e 's:$: $lt_compiler_flag:'`
9681 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9682 (eval "$lt_compile" 2>conftest.err)
9683 ac_status=$?
9684 cat conftest.err >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 if (exit $ac_status) && test -s "$ac_outfile"; then
9687 # The compiler can only warn and ignore the option if not recognized
9688 # So say no if there are warnings other than the usual output.
9689 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9690 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9691 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9692 lt_cv_prog_compiler_pic_works=yes
9695 $RM conftest*
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9699 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9701 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9702 case $lt_prog_compiler_pic in
9703 "" | " "*) ;;
9704 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9705 esac
9706 else
9707 lt_prog_compiler_pic=
9708 lt_prog_compiler_can_build_shared=no
9719 # Check to make sure the static flag actually works.
9721 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9723 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9724 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9725 $as_echo_n "(cached) " >&6
9726 else
9727 lt_cv_prog_compiler_static_works=no
9728 save_LDFLAGS="$LDFLAGS"
9729 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9730 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9731 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9732 # The linker can only warn and ignore the option if not recognized
9733 # So say no if there are warnings
9734 if test -s conftest.err; then
9735 # Append any errors to the config.log.
9736 cat conftest.err 1>&5
9737 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9738 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9739 if diff conftest.exp conftest.er2 >/dev/null; then
9740 lt_cv_prog_compiler_static_works=yes
9742 else
9743 lt_cv_prog_compiler_static_works=yes
9746 $RM -r conftest*
9747 LDFLAGS="$save_LDFLAGS"
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9751 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9753 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9755 else
9756 lt_prog_compiler_static=
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9766 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9767 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9768 $as_echo_n "(cached) " >&6
9769 else
9770 lt_cv_prog_compiler_c_o=no
9771 $RM -r conftest 2>/dev/null
9772 mkdir conftest
9773 cd conftest
9774 mkdir out
9775 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9777 lt_compiler_flag="-o out/conftest2.$ac_objext"
9778 # Insert the option either (1) after the last *FLAGS variable, or
9779 # (2) before a word containing "conftest.", or (3) at the end.
9780 # Note that $ac_compile itself does not contain backslashes and begins
9781 # with a dollar sign (not a hyphen), so the echo should work correctly.
9782 lt_compile=`echo "$ac_compile" | $SED \
9783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9785 -e 's:$: $lt_compiler_flag:'`
9786 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9787 (eval "$lt_compile" 2>out/conftest.err)
9788 ac_status=$?
9789 cat out/conftest.err >&5
9790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9792 then
9793 # The compiler can only warn and ignore the option if not recognized
9794 # So say no if there are warnings
9795 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9796 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9797 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9798 lt_cv_prog_compiler_c_o=yes
9801 chmod u+w . 2>&5
9802 $RM conftest*
9803 # SGI C++ compiler will create directory out/ii_files/ for
9804 # template instantiation
9805 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9806 $RM out/* && rmdir out
9807 cd ..
9808 $RM -r conftest
9809 $RM conftest*
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9813 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9821 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9822 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9823 $as_echo_n "(cached) " >&6
9824 else
9825 lt_cv_prog_compiler_c_o=no
9826 $RM -r conftest 2>/dev/null
9827 mkdir conftest
9828 cd conftest
9829 mkdir out
9830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9832 lt_compiler_flag="-o out/conftest2.$ac_objext"
9833 # Insert the option either (1) after the last *FLAGS variable, or
9834 # (2) before a word containing "conftest.", or (3) at the end.
9835 # Note that $ac_compile itself does not contain backslashes and begins
9836 # with a dollar sign (not a hyphen), so the echo should work correctly.
9837 lt_compile=`echo "$ac_compile" | $SED \
9838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9840 -e 's:$: $lt_compiler_flag:'`
9841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9842 (eval "$lt_compile" 2>out/conftest.err)
9843 ac_status=$?
9844 cat out/conftest.err >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9847 then
9848 # The compiler can only warn and ignore the option if not recognized
9849 # So say no if there are warnings
9850 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9851 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9852 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9853 lt_cv_prog_compiler_c_o=yes
9856 chmod u+w . 2>&5
9857 $RM conftest*
9858 # SGI C++ compiler will create directory out/ii_files/ for
9859 # template instantiation
9860 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9861 $RM out/* && rmdir out
9862 cd ..
9863 $RM -r conftest
9864 $RM conftest*
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9868 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9873 hard_links="nottested"
9874 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9875 # do not overwrite the value of need_locks provided by the user
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9877 $as_echo_n "checking if we can lock with hard links... " >&6; }
9878 hard_links=yes
9879 $RM conftest*
9880 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9881 touch conftest.a
9882 ln conftest.a conftest.b 2>&5 || hard_links=no
9883 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9885 $as_echo "$hard_links" >&6; }
9886 if test "$hard_links" = no; then
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9888 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9889 need_locks=warn
9891 else
9892 need_locks=no
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9901 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9903 runpath_var=
9904 allow_undefined_flag=
9905 always_export_symbols=no
9906 archive_cmds=
9907 archive_expsym_cmds=
9908 compiler_needs_object=no
9909 enable_shared_with_static_runtimes=no
9910 export_dynamic_flag_spec=
9911 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9912 hardcode_automatic=no
9913 hardcode_direct=no
9914 hardcode_direct_absolute=no
9915 hardcode_libdir_flag_spec=
9916 hardcode_libdir_flag_spec_ld=
9917 hardcode_libdir_separator=
9918 hardcode_minus_L=no
9919 hardcode_shlibpath_var=unsupported
9920 inherit_rpath=no
9921 link_all_deplibs=unknown
9922 module_cmds=
9923 module_expsym_cmds=
9924 old_archive_from_new_cmds=
9925 old_archive_from_expsyms_cmds=
9926 thread_safe_flag_spec=
9927 whole_archive_flag_spec=
9928 # include_expsyms should be a list of space-separated symbols to be *always*
9929 # included in the symbol list
9930 include_expsyms=
9931 # exclude_expsyms can be an extended regexp of symbols to exclude
9932 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9933 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9934 # as well as any symbol that contains `d'.
9935 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9936 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9937 # platforms (ab)use it in PIC code, but their linkers get confused if
9938 # the symbol is explicitly referenced. Since portable code cannot
9939 # rely on this symbol name, it's probably fine to never include it in
9940 # preloaded symbol tables.
9941 # Exclude shared library initialization/finalization symbols.
9942 extract_expsyms_cmds=
9944 case $host_os in
9945 cygwin* | mingw* | pw32* | cegcc*)
9946 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9947 # When not using gcc, we currently assume that we are using
9948 # Microsoft Visual C++.
9949 if test "$GCC" != yes; then
9950 with_gnu_ld=no
9953 interix*)
9954 # we just hope/assume this is gcc and not c89 (= MSVC++)
9955 with_gnu_ld=yes
9957 openbsd*)
9958 with_gnu_ld=no
9960 esac
9962 ld_shlibs=yes
9964 # On some targets, GNU ld is compatible enough with the native linker
9965 # that we're better off using the native interface for both.
9966 lt_use_gnu_ld_interface=no
9967 if test "$with_gnu_ld" = yes; then
9968 case $host_os in
9969 aix*)
9970 # The AIX port of GNU ld has always aspired to compatibility
9971 # with the native linker. However, as the warning in the GNU ld
9972 # block says, versions before 2.19.5* couldn't really create working
9973 # shared libraries, regardless of the interface used.
9974 case `$LD -v 2>&1` in
9975 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9976 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9977 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9979 lt_use_gnu_ld_interface=yes
9981 esac
9984 lt_use_gnu_ld_interface=yes
9986 esac
9989 if test "$lt_use_gnu_ld_interface" = yes; then
9990 # If archive_cmds runs LD, not CC, wlarc should be empty
9991 wlarc='${wl}'
9993 # Set some defaults for GNU ld with shared library support. These
9994 # are reset later if shared libraries are not supported. Putting them
9995 # here allows them to be overridden if necessary.
9996 runpath_var=LD_RUN_PATH
9997 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9998 export_dynamic_flag_spec='${wl}--export-dynamic'
9999 # ancient GNU ld didn't support --whole-archive et. al.
10000 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10001 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10002 else
10003 whole_archive_flag_spec=
10005 supports_anon_versioning=no
10006 case `$LD -v 2>&1` in
10007 *GNU\ gold*) supports_anon_versioning=yes ;;
10008 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10009 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10010 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10011 *\ 2.11.*) ;; # other 2.11 versions
10012 *) supports_anon_versioning=yes ;;
10013 esac
10015 # See if GNU ld supports shared libraries.
10016 case $host_os in
10017 aix[3-9]*)
10018 # On AIX/PPC, the GNU linker is very broken
10019 if test "$host_cpu" != ia64; then
10020 ld_shlibs=no
10021 cat <<_LT_EOF 1>&2
10023 *** Warning: the GNU linker, at least up to release 2.19, is reported
10024 *** to be unable to reliably create shared libraries on AIX.
10025 *** Therefore, libtool is disabling shared libraries support. If you
10026 *** really care for shared libraries, you may want to install binutils
10027 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10028 *** You will then need to restart the configuration process.
10030 _LT_EOF
10034 amigaos*)
10035 case $host_cpu in
10036 powerpc)
10037 # see comment about AmigaOS4 .so support
10038 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10039 archive_expsym_cmds=''
10041 m68k)
10042 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)'
10043 hardcode_libdir_flag_spec='-L$libdir'
10044 hardcode_minus_L=yes
10046 esac
10049 beos*)
10050 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10051 allow_undefined_flag=unsupported
10052 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10053 # support --undefined. This deserves some investigation. FIXME
10054 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10055 else
10056 ld_shlibs=no
10060 cygwin* | mingw* | pw32* | cegcc*)
10061 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10062 # as there is no search path for DLLs.
10063 hardcode_libdir_flag_spec='-L$libdir'
10064 export_dynamic_flag_spec='${wl}--export-all-symbols'
10065 allow_undefined_flag=unsupported
10066 always_export_symbols=no
10067 enable_shared_with_static_runtimes=yes
10068 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10070 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10071 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10072 # If the export-symbols file already is a .def file (1st line
10073 # is EXPORTS), use it as is; otherwise, prepend...
10074 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10075 cp $export_symbols $output_objdir/$soname.def;
10076 else
10077 echo EXPORTS > $output_objdir/$soname.def;
10078 cat $export_symbols >> $output_objdir/$soname.def;
10080 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10081 else
10082 ld_shlibs=no
10086 haiku*)
10087 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10088 link_all_deplibs=yes
10091 interix[3-9]*)
10092 hardcode_direct=no
10093 hardcode_shlibpath_var=no
10094 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10095 export_dynamic_flag_spec='${wl}-E'
10096 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10097 # Instead, shared libraries are loaded at an image base (0x10000000 by
10098 # default) and relocated if they conflict, which is a slow very memory
10099 # consuming and fragmenting process. To avoid this, we pick a random,
10100 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10101 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10102 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10103 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'
10106 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10107 tmp_diet=no
10108 if test "$host_os" = linux-dietlibc; then
10109 case $cc_basename in
10110 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10111 esac
10113 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10114 && test "$tmp_diet" = no
10115 then
10116 tmp_addflag=
10117 tmp_sharedflag='-shared'
10118 case $cc_basename,$host_cpu in
10119 pgcc*) # Portland Group C compiler
10120 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'
10121 tmp_addflag=' $pic_flag'
10123 pgf77* | pgf90* | pgf95* | pgfortran*)
10124 # Portland Group f77 and f90 compilers
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 tmp_addflag=' $pic_flag -Mnomain' ;;
10127 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10128 tmp_addflag=' -i_dynamic' ;;
10129 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10130 tmp_addflag=' -i_dynamic -nofor_main' ;;
10131 ifc* | ifort*) # Intel Fortran compiler
10132 tmp_addflag=' -nofor_main' ;;
10133 lf95*) # Lahey Fortran 8.1
10134 whole_archive_flag_spec=
10135 tmp_sharedflag='--shared' ;;
10136 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10137 tmp_sharedflag='-qmkshrobj'
10138 tmp_addflag= ;;
10139 nvcc*) # Cuda Compiler Driver 2.2
10140 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'
10141 compiler_needs_object=yes
10143 esac
10144 case `$CC -V 2>&1 | sed 5q` in
10145 *Sun\ C*) # Sun C 5.9
10146 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'
10147 compiler_needs_object=yes
10148 tmp_sharedflag='-G' ;;
10149 *Sun\ F*) # Sun Fortran 8.3
10150 tmp_sharedflag='-G' ;;
10151 esac
10152 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10154 if test "x$supports_anon_versioning" = xyes; then
10155 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10156 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10157 echo "local: *; };" >> $output_objdir/$libname.ver~
10158 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10161 case $cc_basename in
10162 xlf* | bgf* | bgxlf* | mpixlf*)
10163 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10164 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10165 hardcode_libdir_flag_spec=
10166 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10167 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10168 if test "x$supports_anon_versioning" = xyes; then
10169 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10170 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10171 echo "local: *; };" >> $output_objdir/$libname.ver~
10172 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10175 esac
10176 else
10177 ld_shlibs=no
10181 netbsd*)
10182 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10183 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10184 wlarc=
10185 else
10186 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10187 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10191 solaris*)
10192 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10193 ld_shlibs=no
10194 cat <<_LT_EOF 1>&2
10196 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10197 *** create shared libraries on Solaris systems. Therefore, libtool
10198 *** is disabling shared libraries support. We urge you to upgrade GNU
10199 *** binutils to release 2.9.1 or newer. Another option is to modify
10200 *** your PATH or compiler configuration so that the native linker is
10201 *** used, and then restart.
10203 _LT_EOF
10204 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10205 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10206 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10207 else
10208 ld_shlibs=no
10212 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10213 case `$LD -v 2>&1` in
10214 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10215 ld_shlibs=no
10216 cat <<_LT_EOF 1>&2
10218 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10219 *** reliably create shared libraries on SCO systems. Therefore, libtool
10220 *** is disabling shared libraries support. We urge you to upgrade GNU
10221 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10222 *** your PATH or compiler configuration so that the native linker is
10223 *** used, and then restart.
10225 _LT_EOF
10228 # For security reasons, it is highly recommended that you always
10229 # use absolute paths for naming shared libraries, and exclude the
10230 # DT_RUNPATH tag from executables and libraries. But doing so
10231 # requires that you compile everything twice, which is a pain.
10232 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10233 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10235 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10236 else
10237 ld_shlibs=no
10240 esac
10243 sunos4*)
10244 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10245 wlarc=
10246 hardcode_direct=yes
10247 hardcode_shlibpath_var=no
10251 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10252 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10253 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10254 else
10255 ld_shlibs=no
10258 esac
10260 if test "$ld_shlibs" = no; then
10261 runpath_var=
10262 hardcode_libdir_flag_spec=
10263 export_dynamic_flag_spec=
10264 whole_archive_flag_spec=
10266 else
10267 # PORTME fill in a description of your system's linker (not GNU ld)
10268 case $host_os in
10269 aix3*)
10270 allow_undefined_flag=unsupported
10271 always_export_symbols=yes
10272 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'
10273 # Note: this linker hardcodes the directories in LIBPATH if there
10274 # are no directories specified by -L.
10275 hardcode_minus_L=yes
10276 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10277 # Neither direct hardcoding nor static linking is supported with a
10278 # broken collect2.
10279 hardcode_direct=unsupported
10283 aix[4-9]*)
10284 if test "$host_cpu" = ia64; then
10285 # On IA64, the linker does run time linking by default, so we don't
10286 # have to do anything special.
10287 aix_use_runtimelinking=no
10288 exp_sym_flag='-Bexport'
10289 no_entry_flag=""
10290 else
10291 # If we're using GNU nm, then we don't want the "-C" option.
10292 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10293 # Also, AIX nm treats weak defined symbols like other global
10294 # defined symbols, whereas GNU nm marks them as "W".
10295 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10296 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'
10297 else
10298 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'
10300 aix_use_runtimelinking=no
10302 # Test if we are trying to use run time linking or normal
10303 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10304 # need to do runtime linking.
10305 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10306 for ld_flag in $LDFLAGS; do
10307 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10308 aix_use_runtimelinking=yes
10309 break
10311 done
10313 esac
10315 exp_sym_flag='-bexport'
10316 no_entry_flag='-bnoentry'
10319 # When large executables or shared objects are built, AIX ld can
10320 # have problems creating the table of contents. If linking a library
10321 # or program results in "error TOC overflow" add -mminimal-toc to
10322 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10323 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10325 archive_cmds=''
10326 hardcode_direct=yes
10327 hardcode_direct_absolute=yes
10328 hardcode_libdir_separator=':'
10329 link_all_deplibs=yes
10330 file_list_spec='${wl}-f,'
10332 if test "$GCC" = yes; then
10333 case $host_os in aix4.[012]|aix4.[012].*)
10334 # We only want to do this on AIX 4.2 and lower, the check
10335 # below for broken collect2 doesn't work under 4.3+
10336 collect2name=`${CC} -print-prog-name=collect2`
10337 if test -f "$collect2name" &&
10338 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10339 then
10340 # We have reworked collect2
10342 else
10343 # We have old collect2
10344 hardcode_direct=unsupported
10345 # It fails to find uninstalled libraries when the uninstalled
10346 # path is not listed in the libpath. Setting hardcode_minus_L
10347 # to unsupported forces relinking
10348 hardcode_minus_L=yes
10349 hardcode_libdir_flag_spec='-L$libdir'
10350 hardcode_libdir_separator=
10353 esac
10354 shared_flag='-shared'
10355 if test "$aix_use_runtimelinking" = yes; then
10356 shared_flag="$shared_flag "'${wl}-G'
10358 else
10359 # not using gcc
10360 if test "$host_cpu" = ia64; then
10361 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10362 # chokes on -Wl,-G. The following line is correct:
10363 shared_flag='-G'
10364 else
10365 if test "$aix_use_runtimelinking" = yes; then
10366 shared_flag='${wl}-G'
10367 else
10368 shared_flag='${wl}-bM:SRE'
10373 export_dynamic_flag_spec='${wl}-bexpall'
10374 # It seems that -bexpall does not export symbols beginning with
10375 # underscore (_), so it is better to generate a list of symbols to export.
10376 always_export_symbols=yes
10377 if test "$aix_use_runtimelinking" = yes; then
10378 # Warning - without using the other runtime loading flags (-brtl),
10379 # -berok will link without error, but may produce a broken library.
10380 allow_undefined_flag='-berok'
10381 # Determine the default libpath from the value encoded in an
10382 # empty executable.
10383 if test x$gcc_no_link = xyes; then
10384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10390 main ()
10394 return 0;
10396 _ACEOF
10397 if ac_fn_c_try_link "$LINENO"; then :
10399 lt_aix_libpath_sed='
10400 /Import File Strings/,/^$/ {
10401 /^0/ {
10402 s/^0 *\(.*\)$/\1/
10406 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10407 # Check for a 64-bit object if we didn't find anything.
10408 if test -z "$aix_libpath"; then
10409 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10412 rm -f core conftest.err conftest.$ac_objext \
10413 conftest$ac_exeext conftest.$ac_ext
10414 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10416 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10417 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"
10418 else
10419 if test "$host_cpu" = ia64; then
10420 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10421 allow_undefined_flag="-z nodefs"
10422 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"
10423 else
10424 # Determine the default libpath from the value encoded in an
10425 # empty executable.
10426 if test x$gcc_no_link = xyes; then
10427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10430 /* end confdefs.h. */
10433 main ()
10437 return 0;
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"; then :
10442 lt_aix_libpath_sed='
10443 /Import File Strings/,/^$/ {
10444 /^0/ {
10445 s/^0 *\(.*\)$/\1/
10449 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10450 # Check for a 64-bit object if we didn't find anything.
10451 if test -z "$aix_libpath"; then
10452 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10455 rm -f core conftest.err conftest.$ac_objext \
10456 conftest$ac_exeext conftest.$ac_ext
10457 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10459 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10460 # Warning - without using the other run time loading flags,
10461 # -berok will link without error, but may produce a broken library.
10462 no_undefined_flag=' ${wl}-bernotok'
10463 allow_undefined_flag=' ${wl}-berok'
10464 if test "$with_gnu_ld" = yes; then
10465 # We only use this code for GNU lds that support --whole-archive.
10466 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10467 else
10468 # Exported symbols can be pulled into shared objects from archives
10469 whole_archive_flag_spec='$convenience'
10471 archive_cmds_need_lc=yes
10472 # This is similar to how AIX traditionally builds its shared libraries.
10473 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'
10478 amigaos*)
10479 case $host_cpu in
10480 powerpc)
10481 # see comment about AmigaOS4 .so support
10482 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10483 archive_expsym_cmds=''
10485 m68k)
10486 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)'
10487 hardcode_libdir_flag_spec='-L$libdir'
10488 hardcode_minus_L=yes
10490 esac
10493 bsdi[45]*)
10494 export_dynamic_flag_spec=-rdynamic
10497 cygwin* | mingw* | pw32* | cegcc*)
10498 # When not using gcc, we currently assume that we are using
10499 # Microsoft Visual C++.
10500 # hardcode_libdir_flag_spec is actually meaningless, as there is
10501 # no search path for DLLs.
10502 hardcode_libdir_flag_spec=' '
10503 allow_undefined_flag=unsupported
10504 # Tell ltmain to make .lib files, not .a files.
10505 libext=lib
10506 # Tell ltmain to make .dll files, not .so files.
10507 shrext_cmds=".dll"
10508 # FIXME: Setting linknames here is a bad hack.
10509 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10510 # The linker will automatically build a .lib file if we build a DLL.
10511 old_archive_from_new_cmds='true'
10512 # FIXME: Should let the user specify the lib program.
10513 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10514 fix_srcfile_path='`cygpath -w "$srcfile"`'
10515 enable_shared_with_static_runtimes=yes
10518 darwin* | rhapsody*)
10521 archive_cmds_need_lc=no
10522 hardcode_direct=no
10523 hardcode_automatic=yes
10524 hardcode_shlibpath_var=unsupported
10525 if test "$lt_cv_ld_force_load" = "yes"; then
10526 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\"`'
10527 else
10528 whole_archive_flag_spec=''
10530 link_all_deplibs=yes
10531 allow_undefined_flag="$_lt_dar_allow_undefined"
10532 case $cc_basename in
10533 ifort*) _lt_dar_can_shared=yes ;;
10534 *) _lt_dar_can_shared=$GCC ;;
10535 esac
10536 if test "$_lt_dar_can_shared" = "yes"; then
10537 output_verbose_link_cmd=func_echo_all
10538 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10539 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10540 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}"
10541 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}"
10543 else
10544 ld_shlibs=no
10549 dgux*)
10550 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10551 hardcode_libdir_flag_spec='-L$libdir'
10552 hardcode_shlibpath_var=no
10555 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10556 # support. Future versions do this automatically, but an explicit c++rt0.o
10557 # does not break anything, and helps significantly (at the cost of a little
10558 # extra space).
10559 freebsd2.2*)
10560 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10561 hardcode_libdir_flag_spec='-R$libdir'
10562 hardcode_direct=yes
10563 hardcode_shlibpath_var=no
10566 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10567 freebsd2.*)
10568 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10569 hardcode_direct=yes
10570 hardcode_minus_L=yes
10571 hardcode_shlibpath_var=no
10574 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10575 freebsd* | dragonfly*)
10576 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10577 hardcode_libdir_flag_spec='-R$libdir'
10578 hardcode_direct=yes
10579 hardcode_shlibpath_var=no
10582 hpux9*)
10583 if test "$GCC" = yes; then
10584 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'
10585 else
10586 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'
10588 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10589 hardcode_libdir_separator=:
10590 hardcode_direct=yes
10592 # hardcode_minus_L: Not really in the search PATH,
10593 # but as the default location of the library.
10594 hardcode_minus_L=yes
10595 export_dynamic_flag_spec='${wl}-E'
10598 hpux10*)
10599 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10600 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10601 else
10602 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10604 if test "$with_gnu_ld" = no; then
10605 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10606 hardcode_libdir_flag_spec_ld='+b $libdir'
10607 hardcode_libdir_separator=:
10608 hardcode_direct=yes
10609 hardcode_direct_absolute=yes
10610 export_dynamic_flag_spec='${wl}-E'
10611 # hardcode_minus_L: Not really in the search PATH,
10612 # but as the default location of the library.
10613 hardcode_minus_L=yes
10617 hpux11*)
10618 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10619 case $host_cpu in
10620 hppa*64*)
10621 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10623 ia64*)
10624 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10627 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10629 esac
10630 else
10631 case $host_cpu in
10632 hppa*64*)
10633 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10635 ia64*)
10636 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10640 # Older versions of the 11.00 compiler do not understand -b yet
10641 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10643 $as_echo_n "checking if $CC understands -b... " >&6; }
10644 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10645 $as_echo_n "(cached) " >&6
10646 else
10647 lt_cv_prog_compiler__b=no
10648 save_LDFLAGS="$LDFLAGS"
10649 LDFLAGS="$LDFLAGS -b"
10650 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10651 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10652 # The linker can only warn and ignore the option if not recognized
10653 # So say no if there are warnings
10654 if test -s conftest.err; then
10655 # Append any errors to the config.log.
10656 cat conftest.err 1>&5
10657 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10658 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10659 if diff conftest.exp conftest.er2 >/dev/null; then
10660 lt_cv_prog_compiler__b=yes
10662 else
10663 lt_cv_prog_compiler__b=yes
10666 $RM -r conftest*
10667 LDFLAGS="$save_LDFLAGS"
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10671 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10673 if test x"$lt_cv_prog_compiler__b" = xyes; then
10674 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10675 else
10676 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10680 esac
10682 if test "$with_gnu_ld" = no; then
10683 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10684 hardcode_libdir_separator=:
10686 case $host_cpu in
10687 hppa*64*|ia64*)
10688 hardcode_direct=no
10689 hardcode_shlibpath_var=no
10692 hardcode_direct=yes
10693 hardcode_direct_absolute=yes
10694 export_dynamic_flag_spec='${wl}-E'
10696 # hardcode_minus_L: Not really in the search PATH,
10697 # but as the default location of the library.
10698 hardcode_minus_L=yes
10700 esac
10704 irix5* | irix6* | nonstopux*)
10705 if test "$GCC" = yes; then
10706 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'
10707 # Try to use the -exported_symbol ld option, if it does not
10708 # work, assume that -exports_file does not work either and
10709 # implicitly export all symbols.
10710 save_LDFLAGS="$LDFLAGS"
10711 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10712 if test x$gcc_no_link = xyes; then
10713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10717 int foo(void) {}
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"; then :
10720 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'
10723 rm -f core conftest.err conftest.$ac_objext \
10724 conftest$ac_exeext conftest.$ac_ext
10725 LDFLAGS="$save_LDFLAGS"
10726 else
10727 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'
10728 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'
10730 archive_cmds_need_lc='no'
10731 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10732 hardcode_libdir_separator=:
10733 inherit_rpath=yes
10734 link_all_deplibs=yes
10737 netbsd*)
10738 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10739 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10740 else
10741 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10743 hardcode_libdir_flag_spec='-R$libdir'
10744 hardcode_direct=yes
10745 hardcode_shlibpath_var=no
10748 newsos6)
10749 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10750 hardcode_direct=yes
10751 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10752 hardcode_libdir_separator=:
10753 hardcode_shlibpath_var=no
10756 *nto* | *qnx*)
10759 openbsd*)
10760 if test -f /usr/libexec/ld.so; then
10761 hardcode_direct=yes
10762 hardcode_shlibpath_var=no
10763 hardcode_direct_absolute=yes
10764 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10765 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10766 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10767 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10768 export_dynamic_flag_spec='${wl}-E'
10769 else
10770 case $host_os in
10771 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10772 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10773 hardcode_libdir_flag_spec='-R$libdir'
10776 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10777 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10779 esac
10781 else
10782 ld_shlibs=no
10786 os2*)
10787 hardcode_libdir_flag_spec='-L$libdir'
10788 hardcode_minus_L=yes
10789 allow_undefined_flag=unsupported
10790 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'
10791 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10794 osf3*)
10795 if test "$GCC" = yes; then
10796 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10797 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'
10798 else
10799 allow_undefined_flag=' -expect_unresolved \*'
10800 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'
10802 archive_cmds_need_lc='no'
10803 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10804 hardcode_libdir_separator=:
10807 osf4* | osf5*) # as osf3* with the addition of -msym flag
10808 if test "$GCC" = yes; then
10809 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10810 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
10811 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10812 else
10813 allow_undefined_flag=' -expect_unresolved \*'
10814 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'
10815 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~
10816 $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'
10818 # Both c and cxx compiler support -rpath directly
10819 hardcode_libdir_flag_spec='-rpath $libdir'
10821 archive_cmds_need_lc='no'
10822 hardcode_libdir_separator=:
10825 solaris*)
10826 no_undefined_flag=' -z defs'
10827 if test "$GCC" = yes; then
10828 wlarc='${wl}'
10829 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10830 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10831 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10832 else
10833 case `$CC -V 2>&1` in
10834 *"Compilers 5.0"*)
10835 wlarc=''
10836 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10837 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10838 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10841 wlarc='${wl}'
10842 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10843 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10844 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10846 esac
10848 hardcode_libdir_flag_spec='-R$libdir'
10849 hardcode_shlibpath_var=no
10850 case $host_os in
10851 solaris2.[0-5] | solaris2.[0-5].*) ;;
10853 # The compiler driver will combine and reorder linker options,
10854 # but understands `-z linker_flag'. GCC discards it without `$wl',
10855 # but is careful enough not to reorder.
10856 # Supported since Solaris 2.6 (maybe 2.5.1?)
10857 if test "$GCC" = yes; then
10858 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10859 else
10860 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10863 esac
10864 link_all_deplibs=yes
10867 sunos4*)
10868 if test "x$host_vendor" = xsequent; then
10869 # Use $CC to link under sequent, because it throws in some extra .o
10870 # files that make .init and .fini sections work.
10871 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10872 else
10873 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10875 hardcode_libdir_flag_spec='-L$libdir'
10876 hardcode_direct=yes
10877 hardcode_minus_L=yes
10878 hardcode_shlibpath_var=no
10881 sysv4)
10882 case $host_vendor in
10883 sni)
10884 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10885 hardcode_direct=yes # is this really true???
10887 siemens)
10888 ## LD is ld it makes a PLAMLIB
10889 ## CC just makes a GrossModule.
10890 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10891 reload_cmds='$CC -r -o $output$reload_objs'
10892 hardcode_direct=no
10894 motorola)
10895 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10898 esac
10899 runpath_var='LD_RUN_PATH'
10900 hardcode_shlibpath_var=no
10903 sysv4.3*)
10904 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10905 hardcode_shlibpath_var=no
10906 export_dynamic_flag_spec='-Bexport'
10909 sysv4*MP*)
10910 if test -d /usr/nec; then
10911 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10912 hardcode_shlibpath_var=no
10913 runpath_var=LD_RUN_PATH
10914 hardcode_runpath_var=yes
10915 ld_shlibs=yes
10919 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10920 no_undefined_flag='${wl}-z,text'
10921 archive_cmds_need_lc=no
10922 hardcode_shlibpath_var=no
10923 runpath_var='LD_RUN_PATH'
10925 if test "$GCC" = yes; then
10926 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10927 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10928 else
10929 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10930 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10934 sysv5* | sco3.2v5* | sco5v6*)
10935 # Note: We can NOT use -z defs as we might desire, because we do not
10936 # link with -lc, and that would cause any symbols used from libc to
10937 # always be unresolved, which means just about no library would
10938 # ever link correctly. If we're not using GNU ld we use -z text
10939 # though, which does catch some bad symbols but isn't as heavy-handed
10940 # as -z defs.
10941 no_undefined_flag='${wl}-z,text'
10942 allow_undefined_flag='${wl}-z,nodefs'
10943 archive_cmds_need_lc=no
10944 hardcode_shlibpath_var=no
10945 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10946 hardcode_libdir_separator=':'
10947 link_all_deplibs=yes
10948 export_dynamic_flag_spec='${wl}-Bexport'
10949 runpath_var='LD_RUN_PATH'
10951 if test "$GCC" = yes; then
10952 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10953 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10954 else
10955 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10956 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10960 uts4*)
10961 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10962 hardcode_libdir_flag_spec='-L$libdir'
10963 hardcode_shlibpath_var=no
10967 ld_shlibs=no
10969 esac
10971 if test x$host_vendor = xsni; then
10972 case $host in
10973 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10974 export_dynamic_flag_spec='${wl}-Blargedynsym'
10976 esac
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10981 $as_echo "$ld_shlibs" >&6; }
10982 test "$ld_shlibs" = no && can_build_shared=no
10984 with_gnu_ld=$with_gnu_ld
11001 # Do we need to explicitly link libc?
11003 case "x$archive_cmds_need_lc" in
11004 x|xyes)
11005 # Assume -lc should be added
11006 archive_cmds_need_lc=yes
11008 if test "$enable_shared" = yes && test "$GCC" = yes; then
11009 case $archive_cmds in
11010 *'~'*)
11011 # FIXME: we may have to deal with multi-command sequences.
11013 '$CC '*)
11014 # Test whether the compiler implicitly links with -lc since on some
11015 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11016 # to ld, don't add -lc before -lgcc.
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11018 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11019 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11020 $as_echo_n "(cached) " >&6
11021 else
11022 $RM conftest*
11023 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11026 (eval $ac_compile) 2>&5
11027 ac_status=$?
11028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11029 test $ac_status = 0; } 2>conftest.err; then
11030 soname=conftest
11031 lib=conftest
11032 libobjs=conftest.$ac_objext
11033 deplibs=
11034 wl=$lt_prog_compiler_wl
11035 pic_flag=$lt_prog_compiler_pic
11036 compiler_flags=-v
11037 linker_flags=-v
11038 verstring=
11039 output_objdir=.
11040 libname=conftest
11041 lt_save_allow_undefined_flag=$allow_undefined_flag
11042 allow_undefined_flag=
11043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11044 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11045 ac_status=$?
11046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11047 test $ac_status = 0; }
11048 then
11049 lt_cv_archive_cmds_need_lc=no
11050 else
11051 lt_cv_archive_cmds_need_lc=yes
11053 allow_undefined_flag=$lt_save_allow_undefined_flag
11054 else
11055 cat conftest.err 1>&5
11057 $RM conftest*
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11061 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11062 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11064 esac
11067 esac
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11226 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11228 if test "$GCC" = yes; then
11229 case $host_os in
11230 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11231 *) lt_awk_arg="/^libraries:/" ;;
11232 esac
11233 case $host_os in
11234 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11235 *) lt_sed_strip_eq="s,=/,/,g" ;;
11236 esac
11237 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11238 case $lt_search_path_spec in
11239 *\;*)
11240 # if the path contains ";" then we assume it to be the separator
11241 # otherwise default to the standard path separator (i.e. ":") - it is
11242 # assumed that no part of a normal pathname contains ";" but that should
11243 # okay in the real world where ";" in dirpaths is itself problematic.
11244 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11247 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11249 esac
11250 # Ok, now we have the path, separated by spaces, we can step through it
11251 # and add multilib dir if necessary.
11252 lt_tmp_lt_search_path_spec=
11253 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11254 for lt_sys_path in $lt_search_path_spec; do
11255 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11256 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11257 else
11258 test -d "$lt_sys_path" && \
11259 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11261 done
11262 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11263 BEGIN {RS=" "; FS="/|\n";} {
11264 lt_foo="";
11265 lt_count=0;
11266 for (lt_i = NF; lt_i > 0; lt_i--) {
11267 if ($lt_i != "" && $lt_i != ".") {
11268 if ($lt_i == "..") {
11269 lt_count++;
11270 } else {
11271 if (lt_count == 0) {
11272 lt_foo="/" $lt_i lt_foo;
11273 } else {
11274 lt_count--;
11279 if (lt_foo != "") { lt_freq[lt_foo]++; }
11280 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11282 # AWK program above erroneously prepends '/' to C:/dos/paths
11283 # for these hosts.
11284 case $host_os in
11285 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11286 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11287 esac
11288 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11289 else
11290 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11292 library_names_spec=
11293 libname_spec='lib$name'
11294 soname_spec=
11295 shrext_cmds=".so"
11296 postinstall_cmds=
11297 postuninstall_cmds=
11298 finish_cmds=
11299 finish_eval=
11300 shlibpath_var=
11301 shlibpath_overrides_runpath=unknown
11302 version_type=none
11303 dynamic_linker="$host_os ld.so"
11304 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11305 need_lib_prefix=unknown
11306 hardcode_into_libs=no
11308 # when you set need_version to no, make sure it does not cause -set_version
11309 # flags to be left without arguments
11310 need_version=unknown
11312 case $host_os in
11313 aix3*)
11314 version_type=linux
11315 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11316 shlibpath_var=LIBPATH
11318 # AIX 3 has no versioning support, so we append a major version to the name.
11319 soname_spec='${libname}${release}${shared_ext}$major'
11322 aix[4-9]*)
11323 version_type=linux
11324 need_lib_prefix=no
11325 need_version=no
11326 hardcode_into_libs=yes
11327 if test "$host_cpu" = ia64; then
11328 # AIX 5 supports IA64
11329 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11330 shlibpath_var=LD_LIBRARY_PATH
11331 else
11332 # With GCC up to 2.95.x, collect2 would create an import file
11333 # for dependence libraries. The import file would start with
11334 # the line `#! .'. This would cause the generated library to
11335 # depend on `.', always an invalid library. This was fixed in
11336 # development snapshots of GCC prior to 3.0.
11337 case $host_os in
11338 aix4 | aix4.[01] | aix4.[01].*)
11339 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11340 echo ' yes '
11341 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11343 else
11344 can_build_shared=no
11347 esac
11348 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11349 # soname into executable. Probably we can add versioning support to
11350 # collect2, so additional links can be useful in future.
11351 if test "$aix_use_runtimelinking" = yes; then
11352 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11353 # instead of lib<name>.a to let people know that these are not
11354 # typical AIX shared libraries.
11355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11356 else
11357 # We preserve .a as extension for shared libraries through AIX4.2
11358 # and later when we are not doing run time linking.
11359 library_names_spec='${libname}${release}.a $libname.a'
11360 soname_spec='${libname}${release}${shared_ext}$major'
11362 shlibpath_var=LIBPATH
11366 amigaos*)
11367 case $host_cpu in
11368 powerpc)
11369 # Since July 2007 AmigaOS4 officially supports .so libraries.
11370 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11373 m68k)
11374 library_names_spec='$libname.ixlibrary $libname.a'
11375 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11376 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'
11378 esac
11381 beos*)
11382 library_names_spec='${libname}${shared_ext}'
11383 dynamic_linker="$host_os ld.so"
11384 shlibpath_var=LIBRARY_PATH
11387 bsdi[45]*)
11388 version_type=linux
11389 need_version=no
11390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11391 soname_spec='${libname}${release}${shared_ext}$major'
11392 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11393 shlibpath_var=LD_LIBRARY_PATH
11394 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11395 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11396 # the default ld.so.conf also contains /usr/contrib/lib and
11397 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11398 # libtool to hard-code these into programs
11401 cygwin* | mingw* | pw32* | cegcc*)
11402 version_type=windows
11403 shrext_cmds=".dll"
11404 need_version=no
11405 need_lib_prefix=no
11407 case $GCC,$host_os in
11408 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11409 library_names_spec='$libname.dll.a'
11410 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11411 postinstall_cmds='base_file=`basename \${file}`~
11412 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11413 dldir=$destdir/`dirname \$dlpath`~
11414 test -d \$dldir || mkdir -p \$dldir~
11415 $install_prog $dir/$dlname \$dldir/$dlname~
11416 chmod a+x \$dldir/$dlname~
11417 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11418 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11420 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11421 dlpath=$dir/\$dldll~
11422 $RM \$dlpath'
11423 shlibpath_overrides_runpath=yes
11425 case $host_os in
11426 cygwin*)
11427 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11428 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11430 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11432 mingw* | cegcc*)
11433 # MinGW DLLs use traditional 'lib' prefix
11434 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11436 pw32*)
11437 # pw32 DLLs use 'pw' prefix rather than 'lib'
11438 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11440 esac
11444 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11446 esac
11447 dynamic_linker='Win32 ld.exe'
11448 # FIXME: first we should search . and the directory the executable is in
11449 shlibpath_var=PATH
11452 darwin* | rhapsody*)
11453 dynamic_linker="$host_os dyld"
11454 version_type=darwin
11455 need_lib_prefix=no
11456 need_version=no
11457 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11458 soname_spec='${libname}${release}${major}$shared_ext'
11459 shlibpath_overrides_runpath=yes
11460 shlibpath_var=DYLD_LIBRARY_PATH
11461 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11463 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11464 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11467 dgux*)
11468 version_type=linux
11469 need_lib_prefix=no
11470 need_version=no
11471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11472 soname_spec='${libname}${release}${shared_ext}$major'
11473 shlibpath_var=LD_LIBRARY_PATH
11476 freebsd* | dragonfly*)
11477 # DragonFly does not have aout. When/if they implement a new
11478 # versioning mechanism, adjust this.
11479 if test -x /usr/bin/objformat; then
11480 objformat=`/usr/bin/objformat`
11481 else
11482 case $host_os in
11483 freebsd[23].*) objformat=aout ;;
11484 *) objformat=elf ;;
11485 esac
11487 version_type=freebsd-$objformat
11488 case $version_type in
11489 freebsd-elf*)
11490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11491 need_version=no
11492 need_lib_prefix=no
11494 freebsd-*)
11495 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11496 need_version=yes
11498 esac
11499 shlibpath_var=LD_LIBRARY_PATH
11500 case $host_os in
11501 freebsd2.*)
11502 shlibpath_overrides_runpath=yes
11504 freebsd3.[01]* | freebsdelf3.[01]*)
11505 shlibpath_overrides_runpath=yes
11506 hardcode_into_libs=yes
11508 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11509 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11510 shlibpath_overrides_runpath=no
11511 hardcode_into_libs=yes
11513 *) # from 4.6 on, and DragonFly
11514 shlibpath_overrides_runpath=yes
11515 hardcode_into_libs=yes
11517 esac
11520 gnu*)
11521 version_type=linux
11522 need_lib_prefix=no
11523 need_version=no
11524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11525 soname_spec='${libname}${release}${shared_ext}$major'
11526 shlibpath_var=LD_LIBRARY_PATH
11527 hardcode_into_libs=yes
11530 haiku*)
11531 version_type=linux
11532 need_lib_prefix=no
11533 need_version=no
11534 dynamic_linker="$host_os runtime_loader"
11535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11536 soname_spec='${libname}${release}${shared_ext}$major'
11537 shlibpath_var=LIBRARY_PATH
11538 shlibpath_overrides_runpath=yes
11539 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11540 hardcode_into_libs=yes
11543 hpux9* | hpux10* | hpux11*)
11544 # Give a soname corresponding to the major version so that dld.sl refuses to
11545 # link against other versions.
11546 version_type=sunos
11547 need_lib_prefix=no
11548 need_version=no
11549 case $host_cpu in
11550 ia64*)
11551 shrext_cmds='.so'
11552 hardcode_into_libs=yes
11553 dynamic_linker="$host_os dld.so"
11554 shlibpath_var=LD_LIBRARY_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 if test "X$HPUX_IA64_MODE" = X32; then
11559 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11560 else
11561 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11563 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11565 hppa*64*)
11566 shrext_cmds='.sl'
11567 hardcode_into_libs=yes
11568 dynamic_linker="$host_os dld.sl"
11569 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11570 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11572 soname_spec='${libname}${release}${shared_ext}$major'
11573 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11574 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11577 shrext_cmds='.sl'
11578 dynamic_linker="$host_os dld.sl"
11579 shlibpath_var=SHLIB_PATH
11580 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11582 soname_spec='${libname}${release}${shared_ext}$major'
11584 esac
11585 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11586 postinstall_cmds='chmod 555 $lib'
11587 # or fails outright, so override atomically:
11588 install_override_mode=555
11591 interix[3-9]*)
11592 version_type=linux
11593 need_lib_prefix=no
11594 need_version=no
11595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11596 soname_spec='${libname}${release}${shared_ext}$major'
11597 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11598 shlibpath_var=LD_LIBRARY_PATH
11599 shlibpath_overrides_runpath=no
11600 hardcode_into_libs=yes
11603 irix5* | irix6* | nonstopux*)
11604 case $host_os in
11605 nonstopux*) version_type=nonstopux ;;
11607 if test "$lt_cv_prog_gnu_ld" = yes; then
11608 version_type=linux
11609 else
11610 version_type=irix
11611 fi ;;
11612 esac
11613 need_lib_prefix=no
11614 need_version=no
11615 soname_spec='${libname}${release}${shared_ext}$major'
11616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11617 case $host_os in
11618 irix5* | nonstopux*)
11619 libsuff= shlibsuff=
11622 case $LD in # libtool.m4 will add one of these switches to LD
11623 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11624 libsuff= shlibsuff= libmagic=32-bit;;
11625 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11626 libsuff=32 shlibsuff=N32 libmagic=N32;;
11627 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11628 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11629 *) libsuff= shlibsuff= libmagic=never-match;;
11630 esac
11632 esac
11633 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11634 shlibpath_overrides_runpath=no
11635 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11636 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11637 hardcode_into_libs=yes
11640 # No shared lib support for Linux oldld, aout, or coff.
11641 linux*oldld* | linux*aout* | linux*coff*)
11642 dynamic_linker=no
11645 # This must be Linux ELF.
11646 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11647 version_type=linux
11648 need_lib_prefix=no
11649 need_version=no
11650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11651 soname_spec='${libname}${release}${shared_ext}$major'
11652 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11653 shlibpath_var=LD_LIBRARY_PATH
11654 shlibpath_overrides_runpath=no
11656 # Some binutils ld are patched to set DT_RUNPATH
11657 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11658 $as_echo_n "(cached) " >&6
11659 else
11660 lt_cv_shlibpath_overrides_runpath=no
11661 save_LDFLAGS=$LDFLAGS
11662 save_libdir=$libdir
11663 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11664 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11665 if test x$gcc_no_link = xyes; then
11666 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11672 main ()
11676 return 0;
11678 _ACEOF
11679 if ac_fn_c_try_link "$LINENO"; then :
11680 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11681 lt_cv_shlibpath_overrides_runpath=yes
11684 rm -f core conftest.err conftest.$ac_objext \
11685 conftest$ac_exeext conftest.$ac_ext
11686 LDFLAGS=$save_LDFLAGS
11687 libdir=$save_libdir
11691 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11693 # This implies no fast_install, which is unacceptable.
11694 # Some rework will be needed to allow for fast_install
11695 # before this can be enabled.
11696 hardcode_into_libs=yes
11698 # Append ld.so.conf contents to the search path
11699 if test -f /etc/ld.so.conf; then
11700 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' ' '`
11701 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11704 # We used to test for /lib/ld.so.1 and disable shared libraries on
11705 # powerpc, because MkLinux only supported shared libraries with the
11706 # GNU dynamic linker. Since this was broken with cross compilers,
11707 # most powerpc-linux boxes support dynamic linking these days and
11708 # people can always --disable-shared, the test was removed, and we
11709 # assume the GNU/Linux dynamic linker is in use.
11710 dynamic_linker='GNU/Linux ld.so'
11713 netbsd*)
11714 version_type=sunos
11715 need_lib_prefix=no
11716 need_version=no
11717 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11719 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11720 dynamic_linker='NetBSD (a.out) ld.so'
11721 else
11722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11723 soname_spec='${libname}${release}${shared_ext}$major'
11724 dynamic_linker='NetBSD ld.elf_so'
11726 shlibpath_var=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath=yes
11728 hardcode_into_libs=yes
11731 newsos6)
11732 version_type=linux
11733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11734 shlibpath_var=LD_LIBRARY_PATH
11735 shlibpath_overrides_runpath=yes
11738 *nto* | *qnx*)
11739 version_type=qnx
11740 need_lib_prefix=no
11741 need_version=no
11742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11743 soname_spec='${libname}${release}${shared_ext}$major'
11744 shlibpath_var=LD_LIBRARY_PATH
11745 shlibpath_overrides_runpath=no
11746 hardcode_into_libs=yes
11747 dynamic_linker='ldqnx.so'
11750 openbsd*)
11751 version_type=sunos
11752 sys_lib_dlsearch_path_spec="/usr/lib"
11753 need_lib_prefix=no
11754 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11755 case $host_os in
11756 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11757 *) need_version=no ;;
11758 esac
11759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11760 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11761 shlibpath_var=LD_LIBRARY_PATH
11762 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11763 case $host_os in
11764 openbsd2.[89] | openbsd2.[89].*)
11765 shlibpath_overrides_runpath=no
11768 shlibpath_overrides_runpath=yes
11770 esac
11771 else
11772 shlibpath_overrides_runpath=yes
11776 os2*)
11777 libname_spec='$name'
11778 shrext_cmds=".dll"
11779 need_lib_prefix=no
11780 library_names_spec='$libname${shared_ext} $libname.a'
11781 dynamic_linker='OS/2 ld.exe'
11782 shlibpath_var=LIBPATH
11785 osf3* | osf4* | osf5*)
11786 version_type=osf
11787 need_lib_prefix=no
11788 need_version=no
11789 soname_spec='${libname}${release}${shared_ext}$major'
11790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11791 shlibpath_var=LD_LIBRARY_PATH
11792 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11793 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11796 rdos*)
11797 dynamic_linker=no
11800 solaris*)
11801 version_type=linux
11802 need_lib_prefix=no
11803 need_version=no
11804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11805 soname_spec='${libname}${release}${shared_ext}$major'
11806 shlibpath_var=LD_LIBRARY_PATH
11807 shlibpath_overrides_runpath=yes
11808 hardcode_into_libs=yes
11809 # ldd complains unless libraries are executable
11810 postinstall_cmds='chmod +x $lib'
11813 sunos4*)
11814 version_type=sunos
11815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11816 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11817 shlibpath_var=LD_LIBRARY_PATH
11818 shlibpath_overrides_runpath=yes
11819 if test "$with_gnu_ld" = yes; then
11820 need_lib_prefix=no
11822 need_version=yes
11825 sysv4 | sysv4.3*)
11826 version_type=linux
11827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11828 soname_spec='${libname}${release}${shared_ext}$major'
11829 shlibpath_var=LD_LIBRARY_PATH
11830 case $host_vendor in
11831 sni)
11832 shlibpath_overrides_runpath=no
11833 need_lib_prefix=no
11834 runpath_var=LD_RUN_PATH
11836 siemens)
11837 need_lib_prefix=no
11839 motorola)
11840 need_lib_prefix=no
11841 need_version=no
11842 shlibpath_overrides_runpath=no
11843 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11845 esac
11848 sysv4*MP*)
11849 if test -d /usr/nec ;then
11850 version_type=linux
11851 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11852 soname_spec='$libname${shared_ext}.$major'
11853 shlibpath_var=LD_LIBRARY_PATH
11857 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11858 version_type=freebsd-elf
11859 need_lib_prefix=no
11860 need_version=no
11861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11862 soname_spec='${libname}${release}${shared_ext}$major'
11863 shlibpath_var=LD_LIBRARY_PATH
11864 shlibpath_overrides_runpath=yes
11865 hardcode_into_libs=yes
11866 if test "$with_gnu_ld" = yes; then
11867 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11868 else
11869 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11870 case $host_os in
11871 sco3.2v5*)
11872 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11874 esac
11876 sys_lib_dlsearch_path_spec='/usr/lib'
11879 tpf*)
11880 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11881 version_type=linux
11882 need_lib_prefix=no
11883 need_version=no
11884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11885 shlibpath_var=LD_LIBRARY_PATH
11886 shlibpath_overrides_runpath=no
11887 hardcode_into_libs=yes
11890 uts4*)
11891 version_type=linux
11892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11893 soname_spec='${libname}${release}${shared_ext}$major'
11894 shlibpath_var=LD_LIBRARY_PATH
11898 dynamic_linker=no
11900 esac
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11902 $as_echo "$dynamic_linker" >&6; }
11903 test "$dynamic_linker" = no && can_build_shared=no
11905 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11906 if test "$GCC" = yes; then
11907 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11910 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11911 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11913 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11914 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12009 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12010 hardcode_action=
12011 if test -n "$hardcode_libdir_flag_spec" ||
12012 test -n "$runpath_var" ||
12013 test "X$hardcode_automatic" = "Xyes" ; then
12015 # We can hardcode non-existent directories.
12016 if test "$hardcode_direct" != no &&
12017 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12018 # have to relink, otherwise we might link with an installed library
12019 # when we should be linking with a yet-to-be-installed one
12020 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12021 test "$hardcode_minus_L" != no; then
12022 # Linking always hardcodes the temporary library directory.
12023 hardcode_action=relink
12024 else
12025 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12026 hardcode_action=immediate
12028 else
12029 # We cannot hardcode anything, or else we can only hardcode existing
12030 # directories.
12031 hardcode_action=unsupported
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12034 $as_echo "$hardcode_action" >&6; }
12036 if test "$hardcode_action" = relink ||
12037 test "$inherit_rpath" = yes; then
12038 # Fast installation is not supported
12039 enable_fast_install=no
12040 elif test "$shlibpath_overrides_runpath" = yes ||
12041 test "$enable_shared" = no; then
12042 # Fast installation is not necessary
12043 enable_fast_install=needless
12051 if test "x$enable_dlopen" != xyes; then
12052 enable_dlopen=unknown
12053 enable_dlopen_self=unknown
12054 enable_dlopen_self_static=unknown
12055 else
12056 lt_cv_dlopen=no
12057 lt_cv_dlopen_libs=
12059 case $host_os in
12060 beos*)
12061 lt_cv_dlopen="load_add_on"
12062 lt_cv_dlopen_libs=
12063 lt_cv_dlopen_self=yes
12066 mingw* | pw32* | cegcc*)
12067 lt_cv_dlopen="LoadLibrary"
12068 lt_cv_dlopen_libs=
12071 cygwin*)
12072 lt_cv_dlopen="dlopen"
12073 lt_cv_dlopen_libs=
12076 darwin*)
12077 # if libdl is installed we need to link against it
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12079 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12080 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12081 $as_echo_n "(cached) " >&6
12082 else
12083 ac_check_lib_save_LIBS=$LIBS
12084 LIBS="-ldl $LIBS"
12085 if test x$gcc_no_link = xyes; then
12086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12094 #ifdef __cplusplus
12095 extern "C"
12096 #endif
12097 char dlopen ();
12099 main ()
12101 return dlopen ();
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"; then :
12107 ac_cv_lib_dl_dlopen=yes
12108 else
12109 ac_cv_lib_dl_dlopen=no
12111 rm -f core conftest.err conftest.$ac_objext \
12112 conftest$ac_exeext conftest.$ac_ext
12113 LIBS=$ac_check_lib_save_LIBS
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12116 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12117 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12118 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12119 else
12121 lt_cv_dlopen="dyld"
12122 lt_cv_dlopen_libs=
12123 lt_cv_dlopen_self=yes
12130 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12131 if test "x$ac_cv_func_shl_load" = x""yes; then :
12132 lt_cv_dlopen="shl_load"
12133 else
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12135 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12136 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12137 $as_echo_n "(cached) " >&6
12138 else
12139 ac_check_lib_save_LIBS=$LIBS
12140 LIBS="-ldld $LIBS"
12141 if test x$gcc_no_link = xyes; then
12142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12147 /* Override any GCC internal prototype to avoid an error.
12148 Use char because int might match the return type of a GCC
12149 builtin and then its argument prototype would still apply. */
12150 #ifdef __cplusplus
12151 extern "C"
12152 #endif
12153 char shl_load ();
12155 main ()
12157 return shl_load ();
12159 return 0;
12161 _ACEOF
12162 if ac_fn_c_try_link "$LINENO"; then :
12163 ac_cv_lib_dld_shl_load=yes
12164 else
12165 ac_cv_lib_dld_shl_load=no
12167 rm -f core conftest.err conftest.$ac_objext \
12168 conftest$ac_exeext conftest.$ac_ext
12169 LIBS=$ac_check_lib_save_LIBS
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12172 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12173 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12174 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12175 else
12176 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12177 if test "x$ac_cv_func_dlopen" = x""yes; then :
12178 lt_cv_dlopen="dlopen"
12179 else
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12181 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12182 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 ac_check_lib_save_LIBS=$LIBS
12186 LIBS="-ldl $LIBS"
12187 if test x$gcc_no_link = xyes; then
12188 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12193 /* Override any GCC internal prototype to avoid an error.
12194 Use char because int might match the return type of a GCC
12195 builtin and then its argument prototype would still apply. */
12196 #ifdef __cplusplus
12197 extern "C"
12198 #endif
12199 char dlopen ();
12201 main ()
12203 return dlopen ();
12205 return 0;
12207 _ACEOF
12208 if ac_fn_c_try_link "$LINENO"; then :
12209 ac_cv_lib_dl_dlopen=yes
12210 else
12211 ac_cv_lib_dl_dlopen=no
12213 rm -f core conftest.err conftest.$ac_objext \
12214 conftest$ac_exeext conftest.$ac_ext
12215 LIBS=$ac_check_lib_save_LIBS
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12218 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12219 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12220 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12221 else
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12223 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12224 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12225 $as_echo_n "(cached) " >&6
12226 else
12227 ac_check_lib_save_LIBS=$LIBS
12228 LIBS="-lsvld $LIBS"
12229 if test x$gcc_no_link = xyes; then
12230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12233 /* end confdefs.h. */
12235 /* Override any GCC internal prototype to avoid an error.
12236 Use char because int might match the return type of a GCC
12237 builtin and then its argument prototype would still apply. */
12238 #ifdef __cplusplus
12239 extern "C"
12240 #endif
12241 char dlopen ();
12243 main ()
12245 return dlopen ();
12247 return 0;
12249 _ACEOF
12250 if ac_fn_c_try_link "$LINENO"; then :
12251 ac_cv_lib_svld_dlopen=yes
12252 else
12253 ac_cv_lib_svld_dlopen=no
12255 rm -f core conftest.err conftest.$ac_objext \
12256 conftest$ac_exeext conftest.$ac_ext
12257 LIBS=$ac_check_lib_save_LIBS
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12260 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12261 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12262 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12263 else
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12265 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12266 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12267 $as_echo_n "(cached) " >&6
12268 else
12269 ac_check_lib_save_LIBS=$LIBS
12270 LIBS="-ldld $LIBS"
12271 if test x$gcc_no_link = xyes; then
12272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12277 /* Override any GCC internal prototype to avoid an error.
12278 Use char because int might match the return type of a GCC
12279 builtin and then its argument prototype would still apply. */
12280 #ifdef __cplusplus
12281 extern "C"
12282 #endif
12283 char dld_link ();
12285 main ()
12287 return dld_link ();
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_link "$LINENO"; then :
12293 ac_cv_lib_dld_dld_link=yes
12294 else
12295 ac_cv_lib_dld_dld_link=no
12297 rm -f core conftest.err conftest.$ac_objext \
12298 conftest$ac_exeext conftest.$ac_ext
12299 LIBS=$ac_check_lib_save_LIBS
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12302 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12303 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12304 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12323 esac
12325 if test "x$lt_cv_dlopen" != xno; then
12326 enable_dlopen=yes
12327 else
12328 enable_dlopen=no
12331 case $lt_cv_dlopen in
12332 dlopen)
12333 save_CPPFLAGS="$CPPFLAGS"
12334 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12336 save_LDFLAGS="$LDFLAGS"
12337 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12339 save_LIBS="$LIBS"
12340 LIBS="$lt_cv_dlopen_libs $LIBS"
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12343 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12344 if test "${lt_cv_dlopen_self+set}" = set; then :
12345 $as_echo_n "(cached) " >&6
12346 else
12347 if test "$cross_compiling" = yes; then :
12348 lt_cv_dlopen_self=cross
12349 else
12350 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12351 lt_status=$lt_dlunknown
12352 cat > conftest.$ac_ext <<_LT_EOF
12353 #line 12353 "configure"
12354 #include "confdefs.h"
12356 #if HAVE_DLFCN_H
12357 #include <dlfcn.h>
12358 #endif
12360 #include <stdio.h>
12362 #ifdef RTLD_GLOBAL
12363 # define LT_DLGLOBAL RTLD_GLOBAL
12364 #else
12365 # ifdef DL_GLOBAL
12366 # define LT_DLGLOBAL DL_GLOBAL
12367 # else
12368 # define LT_DLGLOBAL 0
12369 # endif
12370 #endif
12372 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12373 find out it does not work in some platform. */
12374 #ifndef LT_DLLAZY_OR_NOW
12375 # ifdef RTLD_LAZY
12376 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12377 # else
12378 # ifdef DL_LAZY
12379 # define LT_DLLAZY_OR_NOW DL_LAZY
12380 # else
12381 # ifdef RTLD_NOW
12382 # define LT_DLLAZY_OR_NOW RTLD_NOW
12383 # else
12384 # ifdef DL_NOW
12385 # define LT_DLLAZY_OR_NOW DL_NOW
12386 # else
12387 # define LT_DLLAZY_OR_NOW 0
12388 # endif
12389 # endif
12390 # endif
12391 # endif
12392 #endif
12394 /* When -fvisbility=hidden is used, assume the code has been annotated
12395 correspondingly for the symbols needed. */
12396 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12397 void fnord () __attribute__((visibility("default")));
12398 #endif
12400 void fnord () { int i=42; }
12401 int main ()
12403 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12404 int status = $lt_dlunknown;
12406 if (self)
12408 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12409 else
12411 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12412 else puts (dlerror ());
12414 /* dlclose (self); */
12416 else
12417 puts (dlerror ());
12419 return status;
12421 _LT_EOF
12422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12423 (eval $ac_link) 2>&5
12424 ac_status=$?
12425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12426 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12427 (./conftest; exit; ) >&5 2>/dev/null
12428 lt_status=$?
12429 case x$lt_status in
12430 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12431 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12432 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12433 esac
12434 else :
12435 # compilation failed
12436 lt_cv_dlopen_self=no
12439 rm -fr conftest*
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12444 $as_echo "$lt_cv_dlopen_self" >&6; }
12446 if test "x$lt_cv_dlopen_self" = xyes; then
12447 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12449 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12450 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12451 $as_echo_n "(cached) " >&6
12452 else
12453 if test "$cross_compiling" = yes; then :
12454 lt_cv_dlopen_self_static=cross
12455 else
12456 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12457 lt_status=$lt_dlunknown
12458 cat > conftest.$ac_ext <<_LT_EOF
12459 #line 12459 "configure"
12460 #include "confdefs.h"
12462 #if HAVE_DLFCN_H
12463 #include <dlfcn.h>
12464 #endif
12466 #include <stdio.h>
12468 #ifdef RTLD_GLOBAL
12469 # define LT_DLGLOBAL RTLD_GLOBAL
12470 #else
12471 # ifdef DL_GLOBAL
12472 # define LT_DLGLOBAL DL_GLOBAL
12473 # else
12474 # define LT_DLGLOBAL 0
12475 # endif
12476 #endif
12478 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12479 find out it does not work in some platform. */
12480 #ifndef LT_DLLAZY_OR_NOW
12481 # ifdef RTLD_LAZY
12482 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12483 # else
12484 # ifdef DL_LAZY
12485 # define LT_DLLAZY_OR_NOW DL_LAZY
12486 # else
12487 # ifdef RTLD_NOW
12488 # define LT_DLLAZY_OR_NOW RTLD_NOW
12489 # else
12490 # ifdef DL_NOW
12491 # define LT_DLLAZY_OR_NOW DL_NOW
12492 # else
12493 # define LT_DLLAZY_OR_NOW 0
12494 # endif
12495 # endif
12496 # endif
12497 # endif
12498 #endif
12500 /* When -fvisbility=hidden is used, assume the code has been annotated
12501 correspondingly for the symbols needed. */
12502 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12503 void fnord () __attribute__((visibility("default")));
12504 #endif
12506 void fnord () { int i=42; }
12507 int main ()
12509 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12510 int status = $lt_dlunknown;
12512 if (self)
12514 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12515 else
12517 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12518 else puts (dlerror ());
12520 /* dlclose (self); */
12522 else
12523 puts (dlerror ());
12525 return status;
12527 _LT_EOF
12528 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12529 (eval $ac_link) 2>&5
12530 ac_status=$?
12531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12532 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12533 (./conftest; exit; ) >&5 2>/dev/null
12534 lt_status=$?
12535 case x$lt_status in
12536 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12537 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12538 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12539 esac
12540 else :
12541 # compilation failed
12542 lt_cv_dlopen_self_static=no
12545 rm -fr conftest*
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12550 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12553 CPPFLAGS="$save_CPPFLAGS"
12554 LDFLAGS="$save_LDFLAGS"
12555 LIBS="$save_LIBS"
12557 esac
12559 case $lt_cv_dlopen_self in
12560 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12561 *) enable_dlopen_self=unknown ;;
12562 esac
12564 case $lt_cv_dlopen_self_static in
12565 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12566 *) enable_dlopen_self_static=unknown ;;
12567 esac
12586 striplib=
12587 old_striplib=
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12589 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12590 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12591 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12592 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12594 $as_echo "yes" >&6; }
12595 else
12596 # FIXME - insert some real tests, host_os isn't really good enough
12597 case $host_os in
12598 darwin*)
12599 if test -n "$STRIP" ; then
12600 striplib="$STRIP -x"
12601 old_striplib="$STRIP -S"
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12603 $as_echo "yes" >&6; }
12604 else
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12611 $as_echo "no" >&6; }
12613 esac
12627 # Report which library types will actually be built
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12629 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12631 $as_echo "$can_build_shared" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12634 $as_echo_n "checking whether to build shared libraries... " >&6; }
12635 test "$can_build_shared" = "no" && enable_shared=no
12637 # On AIX, shared libraries and static libraries use the same namespace, and
12638 # are all built from PIC.
12639 case $host_os in
12640 aix3*)
12641 test "$enable_shared" = yes && enable_static=no
12642 if test -n "$RANLIB"; then
12643 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12644 postinstall_cmds='$RANLIB $lib'
12648 aix[4-9]*)
12649 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12650 test "$enable_shared" = yes && enable_static=no
12653 esac
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12655 $as_echo "$enable_shared" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12658 $as_echo_n "checking whether to build static libraries... " >&6; }
12659 # Make sure either enable_shared or enable_static is yes.
12660 test "$enable_shared" = yes || enable_static=yes
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12662 $as_echo "$enable_static" >&6; }
12668 ac_ext=c
12669 ac_cpp='$CPP $CPPFLAGS'
12670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12674 CC="$lt_save_CC"
12688 ac_config_commands="$ac_config_commands libtool"
12693 # Only expand once:
12699 case $host in
12700 *-cygwin* | *-mingw*)
12701 # 'host' will be top-level target in the case of a target lib,
12702 # we must compare to with_cross_host to decide if this is a native
12703 # or cross-compiler and select where to install dlls appropriately.
12704 if test -n "$with_cross_host" &&
12705 test x"$with_cross_host" != x"no"; then
12706 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12707 else
12708 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12712 lt_host_flags=
12714 esac
12720 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12722 # We need gfortran to compile parts of the library
12723 #AC_PROG_FC(gfortran)
12724 FC="$GFORTRAN"
12725 ac_ext=${ac_fc_srcext-f}
12726 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12727 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12728 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12729 if test -n "$ac_tool_prefix"; then
12730 for ac_prog in gfortran
12732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12735 $as_echo_n "checking for $ac_word... " >&6; }
12736 if test "${ac_cv_prog_FC+set}" = set; then :
12737 $as_echo_n "(cached) " >&6
12738 else
12739 if test -n "$FC"; then
12740 ac_cv_prog_FC="$FC" # Let the user override the test.
12741 else
12742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12743 for as_dir in $PATH
12745 IFS=$as_save_IFS
12746 test -z "$as_dir" && as_dir=.
12747 for ac_exec_ext in '' $ac_executable_extensions; do
12748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12749 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12751 break 2
12753 done
12754 done
12755 IFS=$as_save_IFS
12759 FC=$ac_cv_prog_FC
12760 if test -n "$FC"; then
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12762 $as_echo "$FC" >&6; }
12763 else
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12765 $as_echo "no" >&6; }
12769 test -n "$FC" && break
12770 done
12772 if test -z "$FC"; then
12773 ac_ct_FC=$FC
12774 for ac_prog in gfortran
12776 # Extract the first word of "$ac_prog", so it can be a program name with args.
12777 set dummy $ac_prog; ac_word=$2
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12779 $as_echo_n "checking for $ac_word... " >&6; }
12780 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12781 $as_echo_n "(cached) " >&6
12782 else
12783 if test -n "$ac_ct_FC"; then
12784 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12785 else
12786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12787 for as_dir in $PATH
12789 IFS=$as_save_IFS
12790 test -z "$as_dir" && as_dir=.
12791 for ac_exec_ext in '' $ac_executable_extensions; do
12792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12793 ac_cv_prog_ac_ct_FC="$ac_prog"
12794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12795 break 2
12797 done
12798 done
12799 IFS=$as_save_IFS
12803 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12804 if test -n "$ac_ct_FC"; then
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12806 $as_echo "$ac_ct_FC" >&6; }
12807 else
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12809 $as_echo "no" >&6; }
12813 test -n "$ac_ct_FC" && break
12814 done
12816 if test "x$ac_ct_FC" = x; then
12817 FC=""
12818 else
12819 case $cross_compiling:$ac_tool_warned in
12820 yes:)
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12823 ac_tool_warned=yes ;;
12824 esac
12825 FC=$ac_ct_FC
12830 # Provide some information about the compiler.
12831 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12832 set X $ac_compile
12833 ac_compiler=$2
12834 for ac_option in --version -v -V -qversion; do
12835 { { ac_try="$ac_compiler $ac_option >&5"
12836 case "(($ac_try" in
12837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12838 *) ac_try_echo=$ac_try;;
12839 esac
12840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12841 $as_echo "$ac_try_echo"; } >&5
12842 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12843 ac_status=$?
12844 if test -s conftest.err; then
12845 sed '10a\
12846 ... rest of stderr output deleted ...
12847 10q' conftest.err >conftest.er1
12848 cat conftest.er1 >&5
12849 rm -f conftest.er1 conftest.err
12851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12852 test $ac_status = 0; }
12853 done
12854 rm -f a.out
12856 # If we don't use `.F' as extension, the preprocessor is not run on the
12857 # input file. (Note that this only needs to work for GNU compilers.)
12858 ac_save_ext=$ac_ext
12859 ac_ext=F
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12861 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12862 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12863 $as_echo_n "(cached) " >&6
12864 else
12865 cat > conftest.$ac_ext <<_ACEOF
12866 program main
12867 #ifndef __GNUC__
12868 choke me
12869 #endif
12872 _ACEOF
12873 if ac_fn_fc_try_compile "$LINENO"; then :
12874 ac_compiler_gnu=yes
12875 else
12876 ac_compiler_gnu=no
12878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12879 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12883 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12884 ac_ext=$ac_save_ext
12885 ac_test_FCFLAGS=${FCFLAGS+set}
12886 ac_save_FCFLAGS=$FCFLAGS
12887 FCFLAGS=
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12889 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12890 if test "${ac_cv_prog_fc_g+set}" = set; then :
12891 $as_echo_n "(cached) " >&6
12892 else
12893 FCFLAGS=-g
12894 cat > conftest.$ac_ext <<_ACEOF
12895 program main
12898 _ACEOF
12899 if ac_fn_fc_try_compile "$LINENO"; then :
12900 ac_cv_prog_fc_g=yes
12901 else
12902 ac_cv_prog_fc_g=no
12904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12908 $as_echo "$ac_cv_prog_fc_g" >&6; }
12909 if test "$ac_test_FCFLAGS" = set; then
12910 FCFLAGS=$ac_save_FCFLAGS
12911 elif test $ac_cv_prog_fc_g = yes; then
12912 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12913 FCFLAGS="-g -O2"
12914 else
12915 FCFLAGS="-g"
12917 else
12918 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12919 FCFLAGS="-O2"
12920 else
12921 FCFLAGS=
12925 ac_ext=c
12926 ac_cpp='$CPP $CPPFLAGS'
12927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12931 ac_ext=${ac_fc_srcext-f}
12932 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12933 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12934 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12937 if test -z "$FC" || test "X$FC" = "Xno"; then
12938 _lt_disable_FC=yes
12941 archive_cmds_need_lc_FC=no
12942 allow_undefined_flag_FC=
12943 always_export_symbols_FC=no
12944 archive_expsym_cmds_FC=
12945 export_dynamic_flag_spec_FC=
12946 hardcode_direct_FC=no
12947 hardcode_direct_absolute_FC=no
12948 hardcode_libdir_flag_spec_FC=
12949 hardcode_libdir_flag_spec_ld_FC=
12950 hardcode_libdir_separator_FC=
12951 hardcode_minus_L_FC=no
12952 hardcode_automatic_FC=no
12953 inherit_rpath_FC=no
12954 module_cmds_FC=
12955 module_expsym_cmds_FC=
12956 link_all_deplibs_FC=unknown
12957 old_archive_cmds_FC=$old_archive_cmds
12958 reload_flag_FC=$reload_flag
12959 reload_cmds_FC=$reload_cmds
12960 no_undefined_flag_FC=
12961 whole_archive_flag_spec_FC=
12962 enable_shared_with_static_runtimes_FC=no
12964 # Source file extension for fc test sources.
12965 ac_ext=${ac_fc_srcext-f}
12967 # Object file extension for compiled fc test sources.
12968 objext=o
12969 objext_FC=$objext
12971 # No sense in running all these tests if we already determined that
12972 # the FC compiler isn't working. Some variables (like enable_shared)
12973 # are currently assumed to apply to all compilers on this platform,
12974 # and will be corrupted by setting them based on a non-working compiler.
12975 if test "$_lt_disable_FC" != yes; then
12976 # Code to be used in simple compile tests
12977 lt_simple_compile_test_code="\
12978 subroutine t
12979 return
12983 # Code to be used in simple link tests
12984 lt_simple_link_test_code="\
12985 program t
12989 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12996 # If no C compiler was specified, use CC.
12997 LTCC=${LTCC-"$CC"}
12999 # If no C compiler flags were specified, use CFLAGS.
13000 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13002 # Allow CC to be a program name with arguments.
13003 compiler=$CC
13006 # save warnings/boilerplate of simple test code
13007 ac_outfile=conftest.$ac_objext
13008 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13009 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13010 _lt_compiler_boilerplate=`cat conftest.err`
13011 $RM conftest*
13013 ac_outfile=conftest.$ac_objext
13014 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13015 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13016 _lt_linker_boilerplate=`cat conftest.err`
13017 $RM -r conftest*
13020 # Allow CC to be a program name with arguments.
13021 lt_save_CC="$CC"
13022 lt_save_GCC=$GCC
13023 CC=${FC-"f95"}
13024 compiler=$CC
13025 GCC=$ac_cv_fc_compiler_gnu
13027 compiler_FC=$CC
13028 for cc_temp in $compiler""; do
13029 case $cc_temp in
13030 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13031 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13032 \-*) ;;
13033 *) break;;
13034 esac
13035 done
13036 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13039 if test -n "$compiler"; then
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13041 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13043 $as_echo "$can_build_shared" >&6; }
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13046 $as_echo_n "checking whether to build shared libraries... " >&6; }
13047 test "$can_build_shared" = "no" && enable_shared=no
13049 # On AIX, shared libraries and static libraries use the same namespace, and
13050 # are all built from PIC.
13051 case $host_os in
13052 aix3*)
13053 test "$enable_shared" = yes && enable_static=no
13054 if test -n "$RANLIB"; then
13055 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13056 postinstall_cmds='$RANLIB $lib'
13059 aix[4-9]*)
13060 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13061 test "$enable_shared" = yes && enable_static=no
13064 esac
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13066 $as_echo "$enable_shared" >&6; }
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13069 $as_echo_n "checking whether to build static libraries... " >&6; }
13070 # Make sure either enable_shared or enable_static is yes.
13071 test "$enable_shared" = yes || enable_static=yes
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13073 $as_echo "$enable_static" >&6; }
13075 GCC_FC="$ac_cv_fc_compiler_gnu"
13076 LD_FC="$LD"
13078 ## CAVEAT EMPTOR:
13079 ## There is no encapsulation within the following macros, do not change
13080 ## the running order or otherwise move them around unless you know exactly
13081 ## what you are doing...
13082 # Dependencies to place before and after the object being linked:
13083 predep_objects_FC=
13084 postdep_objects_FC=
13085 predeps_FC=
13086 postdeps_FC=
13087 compiler_lib_search_path_FC=
13089 cat > conftest.$ac_ext <<_LT_EOF
13090 subroutine foo
13091 implicit none
13092 integer a
13094 return
13096 _LT_EOF
13098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13099 (eval $ac_compile) 2>&5
13100 ac_status=$?
13101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13102 test $ac_status = 0; }; then
13103 # Parse the compiler output and extract the necessary
13104 # objects, libraries and library flags.
13106 # Sentinel used to keep track of whether or not we are before
13107 # the conftest object file.
13108 pre_test_object_deps_done=no
13110 for p in `eval "$output_verbose_link_cmd"`; do
13111 case $p in
13113 -L* | -R* | -l*)
13114 # Some compilers place space between "-{L,R}" and the path.
13115 # Remove the space.
13116 if test $p = "-L" ||
13117 test $p = "-R"; then
13118 prev=$p
13119 continue
13120 else
13121 prev=
13124 if test "$pre_test_object_deps_done" = no; then
13125 case $p in
13126 -L* | -R*)
13127 # Internal compiler library paths should come after those
13128 # provided the user. The postdeps already come after the
13129 # user supplied libs so there is no need to process them.
13130 if test -z "$compiler_lib_search_path_FC"; then
13131 compiler_lib_search_path_FC="${prev}${p}"
13132 else
13133 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13136 # The "-l" case would never come before the object being
13137 # linked, so don't bother handling this case.
13138 esac
13139 else
13140 if test -z "$postdeps_FC"; then
13141 postdeps_FC="${prev}${p}"
13142 else
13143 postdeps_FC="${postdeps_FC} ${prev}${p}"
13148 *.$objext)
13149 # This assumes that the test object file only shows up
13150 # once in the compiler output.
13151 if test "$p" = "conftest.$objext"; then
13152 pre_test_object_deps_done=yes
13153 continue
13156 if test "$pre_test_object_deps_done" = no; then
13157 if test -z "$predep_objects_FC"; then
13158 predep_objects_FC="$p"
13159 else
13160 predep_objects_FC="$predep_objects_FC $p"
13162 else
13163 if test -z "$postdep_objects_FC"; then
13164 postdep_objects_FC="$p"
13165 else
13166 postdep_objects_FC="$postdep_objects_FC $p"
13171 *) ;; # Ignore the rest.
13173 esac
13174 done
13176 # Clean up.
13177 rm -f a.out a.exe
13178 else
13179 echo "libtool.m4: error: problem compiling FC test program"
13182 $RM -f confest.$objext
13184 # PORTME: override above test on systems where it is broken
13187 case " $postdeps_FC " in
13188 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13189 esac
13190 compiler_lib_search_dirs_FC=
13191 if test -n "${compiler_lib_search_path_FC}"; then
13192 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13225 lt_prog_compiler_wl_FC=
13226 lt_prog_compiler_pic_FC=
13227 lt_prog_compiler_static_FC=
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13230 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13232 if test "$GCC" = yes; then
13233 lt_prog_compiler_wl_FC='-Wl,'
13234 lt_prog_compiler_static_FC='-static'
13236 case $host_os in
13237 aix*)
13238 # All AIX code is PIC.
13239 if test "$host_cpu" = ia64; then
13240 # AIX 5 now supports IA64 processor
13241 lt_prog_compiler_static_FC='-Bstatic'
13243 lt_prog_compiler_pic_FC='-fPIC'
13246 amigaos*)
13247 case $host_cpu in
13248 powerpc)
13249 # see comment about AmigaOS4 .so support
13250 lt_prog_compiler_pic_FC='-fPIC'
13252 m68k)
13253 # FIXME: we need at least 68020 code to build shared libraries, but
13254 # adding the `-m68020' flag to GCC prevents building anything better,
13255 # like `-m68040'.
13256 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13258 esac
13261 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13262 # PIC is the default for these OSes.
13265 mingw* | cygwin* | pw32* | os2* | cegcc*)
13266 # This hack is so that the source file can tell whether it is being
13267 # built for inclusion in a dll (and should export symbols for example).
13268 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13269 # (--disable-auto-import) libraries
13270 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13273 darwin* | rhapsody*)
13274 # PIC is the default on this platform
13275 # Common symbols not allowed in MH_DYLIB files
13276 lt_prog_compiler_pic_FC='-fno-common'
13279 haiku*)
13280 # PIC is the default for Haiku.
13281 # The "-static" flag exists, but is broken.
13282 lt_prog_compiler_static_FC=
13285 hpux*)
13286 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13287 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13288 # sets the default TLS model and affects inlining.
13289 case $host_cpu in
13290 hppa*64*)
13291 # +Z the default
13294 lt_prog_compiler_pic_FC='-fPIC'
13296 esac
13299 interix[3-9]*)
13300 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13301 # Instead, we relocate shared libraries at runtime.
13304 msdosdjgpp*)
13305 # Just because we use GCC doesn't mean we suddenly get shared libraries
13306 # on systems that don't support them.
13307 lt_prog_compiler_can_build_shared_FC=no
13308 enable_shared=no
13311 *nto* | *qnx*)
13312 # QNX uses GNU C++, but need to define -shared option too, otherwise
13313 # it will coredump.
13314 lt_prog_compiler_pic_FC='-fPIC -shared'
13317 sysv4*MP*)
13318 if test -d /usr/nec; then
13319 lt_prog_compiler_pic_FC=-Kconform_pic
13324 lt_prog_compiler_pic_FC='-fPIC'
13326 esac
13328 case $cc_basename in
13329 nvcc*) # Cuda Compiler Driver 2.2
13330 lt_prog_compiler_wl_FC='-Xlinker '
13331 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13333 esac
13334 else
13335 # PORTME Check for flag to pass linker flags through the system compiler.
13336 case $host_os in
13337 aix*)
13338 lt_prog_compiler_wl_FC='-Wl,'
13339 if test "$host_cpu" = ia64; then
13340 # AIX 5 now supports IA64 processor
13341 lt_prog_compiler_static_FC='-Bstatic'
13342 else
13343 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13347 mingw* | cygwin* | pw32* | os2* | cegcc*)
13348 # This hack is so that the source file can tell whether it is being
13349 # built for inclusion in a dll (and should export symbols for example).
13350 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13353 hpux9* | hpux10* | hpux11*)
13354 lt_prog_compiler_wl_FC='-Wl,'
13355 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13356 # not for PA HP-UX.
13357 case $host_cpu in
13358 hppa*64*|ia64*)
13359 # +Z the default
13362 lt_prog_compiler_pic_FC='+Z'
13364 esac
13365 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13366 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13369 irix5* | irix6* | nonstopux*)
13370 lt_prog_compiler_wl_FC='-Wl,'
13371 # PIC (with -KPIC) is the default.
13372 lt_prog_compiler_static_FC='-non_shared'
13375 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13376 case $cc_basename in
13377 # old Intel for x86_64 which still supported -KPIC.
13378 ecc*)
13379 lt_prog_compiler_wl_FC='-Wl,'
13380 lt_prog_compiler_pic_FC='-KPIC'
13381 lt_prog_compiler_static_FC='-static'
13383 # icc used to be incompatible with GCC.
13384 # ICC 10 doesn't accept -KPIC any more.
13385 icc* | ifort*)
13386 lt_prog_compiler_wl_FC='-Wl,'
13387 lt_prog_compiler_pic_FC='-fPIC'
13388 lt_prog_compiler_static_FC='-static'
13390 # Lahey Fortran 8.1.
13391 lf95*)
13392 lt_prog_compiler_wl_FC='-Wl,'
13393 lt_prog_compiler_pic_FC='--shared'
13394 lt_prog_compiler_static_FC='--static'
13396 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13397 # Portland Group compilers (*not* the Pentium gcc compiler,
13398 # which looks to be a dead project)
13399 lt_prog_compiler_wl_FC='-Wl,'
13400 lt_prog_compiler_pic_FC='-fpic'
13401 lt_prog_compiler_static_FC='-Bstatic'
13403 ccc*)
13404 lt_prog_compiler_wl_FC='-Wl,'
13405 # All Alpha code is PIC.
13406 lt_prog_compiler_static_FC='-non_shared'
13408 xl* | bgxl* | bgf* | mpixl*)
13409 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13410 lt_prog_compiler_wl_FC='-Wl,'
13411 lt_prog_compiler_pic_FC='-qpic'
13412 lt_prog_compiler_static_FC='-qstaticlink'
13415 case `$CC -V 2>&1 | sed 5q` in
13416 *Sun\ F* | *Sun*Fortran*)
13417 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13418 lt_prog_compiler_pic_FC='-KPIC'
13419 lt_prog_compiler_static_FC='-Bstatic'
13420 lt_prog_compiler_wl_FC=''
13422 *Sun\ C*)
13423 # Sun C 5.9
13424 lt_prog_compiler_pic_FC='-KPIC'
13425 lt_prog_compiler_static_FC='-Bstatic'
13426 lt_prog_compiler_wl_FC='-Wl,'
13428 esac
13430 esac
13433 newsos6)
13434 lt_prog_compiler_pic_FC='-KPIC'
13435 lt_prog_compiler_static_FC='-Bstatic'
13438 *nto* | *qnx*)
13439 # QNX uses GNU C++, but need to define -shared option too, otherwise
13440 # it will coredump.
13441 lt_prog_compiler_pic_FC='-fPIC -shared'
13444 osf3* | osf4* | osf5*)
13445 lt_prog_compiler_wl_FC='-Wl,'
13446 # All OSF/1 code is PIC.
13447 lt_prog_compiler_static_FC='-non_shared'
13450 rdos*)
13451 lt_prog_compiler_static_FC='-non_shared'
13454 solaris*)
13455 lt_prog_compiler_pic_FC='-KPIC'
13456 lt_prog_compiler_static_FC='-Bstatic'
13457 case $cc_basename in
13458 f77* | f90* | f95*)
13459 lt_prog_compiler_wl_FC='-Qoption ld ';;
13461 lt_prog_compiler_wl_FC='-Wl,';;
13462 esac
13465 sunos4*)
13466 lt_prog_compiler_wl_FC='-Qoption ld '
13467 lt_prog_compiler_pic_FC='-PIC'
13468 lt_prog_compiler_static_FC='-Bstatic'
13471 sysv4 | sysv4.2uw2* | sysv4.3*)
13472 lt_prog_compiler_wl_FC='-Wl,'
13473 lt_prog_compiler_pic_FC='-KPIC'
13474 lt_prog_compiler_static_FC='-Bstatic'
13477 sysv4*MP*)
13478 if test -d /usr/nec ;then
13479 lt_prog_compiler_pic_FC='-Kconform_pic'
13480 lt_prog_compiler_static_FC='-Bstatic'
13484 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13485 lt_prog_compiler_wl_FC='-Wl,'
13486 lt_prog_compiler_pic_FC='-KPIC'
13487 lt_prog_compiler_static_FC='-Bstatic'
13490 unicos*)
13491 lt_prog_compiler_wl_FC='-Wl,'
13492 lt_prog_compiler_can_build_shared_FC=no
13495 uts4*)
13496 lt_prog_compiler_pic_FC='-pic'
13497 lt_prog_compiler_static_FC='-Bstatic'
13501 lt_prog_compiler_can_build_shared_FC=no
13503 esac
13506 case $host_os in
13507 # For platforms which do not support PIC, -DPIC is meaningless:
13508 *djgpp*)
13509 lt_prog_compiler_pic_FC=
13512 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13514 esac
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13516 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13521 # Check to make sure the PIC flag actually works.
13523 if test -n "$lt_prog_compiler_pic_FC"; then
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13525 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13526 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13527 $as_echo_n "(cached) " >&6
13528 else
13529 lt_cv_prog_compiler_pic_works_FC=no
13530 ac_outfile=conftest.$ac_objext
13531 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13532 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13533 # Insert the option either (1) after the last *FLAGS variable, or
13534 # (2) before a word containing "conftest.", or (3) at the end.
13535 # Note that $ac_compile itself does not contain backslashes and begins
13536 # with a dollar sign (not a hyphen), so the echo should work correctly.
13537 # The option is referenced via a variable to avoid confusing sed.
13538 lt_compile=`echo "$ac_compile" | $SED \
13539 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13540 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13541 -e 's:$: $lt_compiler_flag:'`
13542 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13543 (eval "$lt_compile" 2>conftest.err)
13544 ac_status=$?
13545 cat conftest.err >&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 if (exit $ac_status) && test -s "$ac_outfile"; then
13548 # The compiler can only warn and ignore the option if not recognized
13549 # So say no if there are warnings other than the usual output.
13550 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13551 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13552 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13553 lt_cv_prog_compiler_pic_works_FC=yes
13556 $RM conftest*
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13560 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13562 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13563 case $lt_prog_compiler_pic_FC in
13564 "" | " "*) ;;
13565 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13566 esac
13567 else
13568 lt_prog_compiler_pic_FC=
13569 lt_prog_compiler_can_build_shared_FC=no
13577 # Check to make sure the static flag actually works.
13579 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13581 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13582 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13583 $as_echo_n "(cached) " >&6
13584 else
13585 lt_cv_prog_compiler_static_works_FC=no
13586 save_LDFLAGS="$LDFLAGS"
13587 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13588 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13589 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13590 # The linker can only warn and ignore the option if not recognized
13591 # So say no if there are warnings
13592 if test -s conftest.err; then
13593 # Append any errors to the config.log.
13594 cat conftest.err 1>&5
13595 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13596 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13597 if diff conftest.exp conftest.er2 >/dev/null; then
13598 lt_cv_prog_compiler_static_works_FC=yes
13600 else
13601 lt_cv_prog_compiler_static_works_FC=yes
13604 $RM -r conftest*
13605 LDFLAGS="$save_LDFLAGS"
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13609 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13611 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13613 else
13614 lt_prog_compiler_static_FC=
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13621 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13622 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13623 $as_echo_n "(cached) " >&6
13624 else
13625 lt_cv_prog_compiler_c_o_FC=no
13626 $RM -r conftest 2>/dev/null
13627 mkdir conftest
13628 cd conftest
13629 mkdir out
13630 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13632 lt_compiler_flag="-o out/conftest2.$ac_objext"
13633 # Insert the option either (1) after the last *FLAGS variable, or
13634 # (2) before a word containing "conftest.", or (3) at the end.
13635 # Note that $ac_compile itself does not contain backslashes and begins
13636 # with a dollar sign (not a hyphen), so the echo should work correctly.
13637 lt_compile=`echo "$ac_compile" | $SED \
13638 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13639 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13640 -e 's:$: $lt_compiler_flag:'`
13641 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13642 (eval "$lt_compile" 2>out/conftest.err)
13643 ac_status=$?
13644 cat out/conftest.err >&5
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13647 then
13648 # The compiler can only warn and ignore the option if not recognized
13649 # So say no if there are warnings
13650 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13651 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13652 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13653 lt_cv_prog_compiler_c_o_FC=yes
13656 chmod u+w . 2>&5
13657 $RM conftest*
13658 # SGI C++ compiler will create directory out/ii_files/ for
13659 # template instantiation
13660 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13661 $RM out/* && rmdir out
13662 cd ..
13663 $RM -r conftest
13664 $RM conftest*
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13668 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13673 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13674 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13675 $as_echo_n "(cached) " >&6
13676 else
13677 lt_cv_prog_compiler_c_o_FC=no
13678 $RM -r conftest 2>/dev/null
13679 mkdir conftest
13680 cd conftest
13681 mkdir out
13682 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13684 lt_compiler_flag="-o out/conftest2.$ac_objext"
13685 # Insert the option either (1) after the last *FLAGS variable, or
13686 # (2) before a word containing "conftest.", or (3) at the end.
13687 # Note that $ac_compile itself does not contain backslashes and begins
13688 # with a dollar sign (not a hyphen), so the echo should work correctly.
13689 lt_compile=`echo "$ac_compile" | $SED \
13690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13691 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13692 -e 's:$: $lt_compiler_flag:'`
13693 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13694 (eval "$lt_compile" 2>out/conftest.err)
13695 ac_status=$?
13696 cat out/conftest.err >&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13699 then
13700 # The compiler can only warn and ignore the option if not recognized
13701 # So say no if there are warnings
13702 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13703 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13704 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13705 lt_cv_prog_compiler_c_o_FC=yes
13708 chmod u+w . 2>&5
13709 $RM conftest*
13710 # SGI C++ compiler will create directory out/ii_files/ for
13711 # template instantiation
13712 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13713 $RM out/* && rmdir out
13714 cd ..
13715 $RM -r conftest
13716 $RM conftest*
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13720 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13725 hard_links="nottested"
13726 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13727 # do not overwrite the value of need_locks provided by the user
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13729 $as_echo_n "checking if we can lock with hard links... " >&6; }
13730 hard_links=yes
13731 $RM conftest*
13732 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13733 touch conftest.a
13734 ln conftest.a conftest.b 2>&5 || hard_links=no
13735 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13737 $as_echo "$hard_links" >&6; }
13738 if test "$hard_links" = no; then
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13740 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13741 need_locks=warn
13743 else
13744 need_locks=no
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13750 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13752 runpath_var=
13753 allow_undefined_flag_FC=
13754 always_export_symbols_FC=no
13755 archive_cmds_FC=
13756 archive_expsym_cmds_FC=
13757 compiler_needs_object_FC=no
13758 enable_shared_with_static_runtimes_FC=no
13759 export_dynamic_flag_spec_FC=
13760 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13761 hardcode_automatic_FC=no
13762 hardcode_direct_FC=no
13763 hardcode_direct_absolute_FC=no
13764 hardcode_libdir_flag_spec_FC=
13765 hardcode_libdir_flag_spec_ld_FC=
13766 hardcode_libdir_separator_FC=
13767 hardcode_minus_L_FC=no
13768 hardcode_shlibpath_var_FC=unsupported
13769 inherit_rpath_FC=no
13770 link_all_deplibs_FC=unknown
13771 module_cmds_FC=
13772 module_expsym_cmds_FC=
13773 old_archive_from_new_cmds_FC=
13774 old_archive_from_expsyms_cmds_FC=
13775 thread_safe_flag_spec_FC=
13776 whole_archive_flag_spec_FC=
13777 # include_expsyms should be a list of space-separated symbols to be *always*
13778 # included in the symbol list
13779 include_expsyms_FC=
13780 # exclude_expsyms can be an extended regexp of symbols to exclude
13781 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13782 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13783 # as well as any symbol that contains `d'.
13784 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13785 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13786 # platforms (ab)use it in PIC code, but their linkers get confused if
13787 # the symbol is explicitly referenced. Since portable code cannot
13788 # rely on this symbol name, it's probably fine to never include it in
13789 # preloaded symbol tables.
13790 # Exclude shared library initialization/finalization symbols.
13791 extract_expsyms_cmds=
13793 case $host_os in
13794 cygwin* | mingw* | pw32* | cegcc*)
13795 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13796 # When not using gcc, we currently assume that we are using
13797 # Microsoft Visual C++.
13798 if test "$GCC" != yes; then
13799 with_gnu_ld=no
13802 interix*)
13803 # we just hope/assume this is gcc and not c89 (= MSVC++)
13804 with_gnu_ld=yes
13806 openbsd*)
13807 with_gnu_ld=no
13809 esac
13811 ld_shlibs_FC=yes
13813 # On some targets, GNU ld is compatible enough with the native linker
13814 # that we're better off using the native interface for both.
13815 lt_use_gnu_ld_interface=no
13816 if test "$with_gnu_ld" = yes; then
13817 case $host_os in
13818 aix*)
13819 # The AIX port of GNU ld has always aspired to compatibility
13820 # with the native linker. However, as the warning in the GNU ld
13821 # block says, versions before 2.19.5* couldn't really create working
13822 # shared libraries, regardless of the interface used.
13823 case `$LD -v 2>&1` in
13824 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13825 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13826 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13828 lt_use_gnu_ld_interface=yes
13830 esac
13833 lt_use_gnu_ld_interface=yes
13835 esac
13838 if test "$lt_use_gnu_ld_interface" = yes; then
13839 # If archive_cmds runs LD, not CC, wlarc should be empty
13840 wlarc='${wl}'
13842 # Set some defaults for GNU ld with shared library support. These
13843 # are reset later if shared libraries are not supported. Putting them
13844 # here allows them to be overridden if necessary.
13845 runpath_var=LD_RUN_PATH
13846 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13847 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13848 # ancient GNU ld didn't support --whole-archive et. al.
13849 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13850 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13851 else
13852 whole_archive_flag_spec_FC=
13854 supports_anon_versioning=no
13855 case `$LD -v 2>&1` in
13856 *GNU\ gold*) supports_anon_versioning=yes ;;
13857 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13858 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13859 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13860 *\ 2.11.*) ;; # other 2.11 versions
13861 *) supports_anon_versioning=yes ;;
13862 esac
13864 # See if GNU ld supports shared libraries.
13865 case $host_os in
13866 aix[3-9]*)
13867 # On AIX/PPC, the GNU linker is very broken
13868 if test "$host_cpu" != ia64; then
13869 ld_shlibs_FC=no
13870 cat <<_LT_EOF 1>&2
13872 *** Warning: the GNU linker, at least up to release 2.19, is reported
13873 *** to be unable to reliably create shared libraries on AIX.
13874 *** Therefore, libtool is disabling shared libraries support. If you
13875 *** really care for shared libraries, you may want to install binutils
13876 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13877 *** You will then need to restart the configuration process.
13879 _LT_EOF
13883 amigaos*)
13884 case $host_cpu in
13885 powerpc)
13886 # see comment about AmigaOS4 .so support
13887 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13888 archive_expsym_cmds_FC=''
13890 m68k)
13891 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)'
13892 hardcode_libdir_flag_spec_FC='-L$libdir'
13893 hardcode_minus_L_FC=yes
13895 esac
13898 beos*)
13899 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13900 allow_undefined_flag_FC=unsupported
13901 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13902 # support --undefined. This deserves some investigation. FIXME
13903 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13904 else
13905 ld_shlibs_FC=no
13909 cygwin* | mingw* | pw32* | cegcc*)
13910 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13911 # as there is no search path for DLLs.
13912 hardcode_libdir_flag_spec_FC='-L$libdir'
13913 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13914 allow_undefined_flag_FC=unsupported
13915 always_export_symbols_FC=no
13916 enable_shared_with_static_runtimes_FC=yes
13917 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13919 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13920 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13921 # If the export-symbols file already is a .def file (1st line
13922 # is EXPORTS), use it as is; otherwise, prepend...
13923 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13924 cp $export_symbols $output_objdir/$soname.def;
13925 else
13926 echo EXPORTS > $output_objdir/$soname.def;
13927 cat $export_symbols >> $output_objdir/$soname.def;
13929 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13930 else
13931 ld_shlibs_FC=no
13935 haiku*)
13936 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13937 link_all_deplibs_FC=yes
13940 interix[3-9]*)
13941 hardcode_direct_FC=no
13942 hardcode_shlibpath_var_FC=no
13943 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13944 export_dynamic_flag_spec_FC='${wl}-E'
13945 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13946 # Instead, shared libraries are loaded at an image base (0x10000000 by
13947 # default) and relocated if they conflict, which is a slow very memory
13948 # consuming and fragmenting process. To avoid this, we pick a random,
13949 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13950 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13951 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'
13952 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'
13955 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13956 tmp_diet=no
13957 if test "$host_os" = linux-dietlibc; then
13958 case $cc_basename in
13959 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13960 esac
13962 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13963 && test "$tmp_diet" = no
13964 then
13965 tmp_addflag=
13966 tmp_sharedflag='-shared'
13967 case $cc_basename,$host_cpu in
13968 pgcc*) # Portland Group C compiler
13969 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'
13970 tmp_addflag=' $pic_flag'
13972 pgf77* | pgf90* | pgf95* | pgfortran*)
13973 # Portland Group f77 and f90 compilers
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 tmp_addflag=' $pic_flag -Mnomain' ;;
13976 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13977 tmp_addflag=' -i_dynamic' ;;
13978 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13979 tmp_addflag=' -i_dynamic -nofor_main' ;;
13980 ifc* | ifort*) # Intel Fortran compiler
13981 tmp_addflag=' -nofor_main' ;;
13982 lf95*) # Lahey Fortran 8.1
13983 whole_archive_flag_spec_FC=
13984 tmp_sharedflag='--shared' ;;
13985 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13986 tmp_sharedflag='-qmkshrobj'
13987 tmp_addflag= ;;
13988 nvcc*) # Cuda Compiler Driver 2.2
13989 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'
13990 compiler_needs_object_FC=yes
13992 esac
13993 case `$CC -V 2>&1 | sed 5q` in
13994 *Sun\ C*) # Sun C 5.9
13995 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'
13996 compiler_needs_object_FC=yes
13997 tmp_sharedflag='-G' ;;
13998 *Sun\ F*) # Sun Fortran 8.3
13999 tmp_sharedflag='-G' ;;
14000 esac
14001 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14003 if test "x$supports_anon_versioning" = xyes; then
14004 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14005 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14006 echo "local: *; };" >> $output_objdir/$libname.ver~
14007 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14010 case $cc_basename in
14011 xlf* | bgf* | bgxlf* | mpixlf*)
14012 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14013 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14014 hardcode_libdir_flag_spec_FC=
14015 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14016 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14017 if test "x$supports_anon_versioning" = xyes; then
14018 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14019 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14020 echo "local: *; };" >> $output_objdir/$libname.ver~
14021 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14024 esac
14025 else
14026 ld_shlibs_FC=no
14030 netbsd*)
14031 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14032 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14033 wlarc=
14034 else
14035 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14036 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14040 solaris*)
14041 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14042 ld_shlibs_FC=no
14043 cat <<_LT_EOF 1>&2
14045 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14046 *** create shared libraries on Solaris systems. Therefore, libtool
14047 *** is disabling shared libraries support. We urge you to upgrade GNU
14048 *** binutils to release 2.9.1 or newer. Another option is to modify
14049 *** your PATH or compiler configuration so that the native linker is
14050 *** used, and then restart.
14052 _LT_EOF
14053 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14054 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14055 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14056 else
14057 ld_shlibs_FC=no
14061 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14062 case `$LD -v 2>&1` in
14063 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14064 ld_shlibs_FC=no
14065 cat <<_LT_EOF 1>&2
14067 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14068 *** reliably create shared libraries on SCO systems. Therefore, libtool
14069 *** is disabling shared libraries support. We urge you to upgrade GNU
14070 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14071 *** your PATH or compiler configuration so that the native linker is
14072 *** used, and then restart.
14074 _LT_EOF
14077 # For security reasons, it is highly recommended that you always
14078 # use absolute paths for naming shared libraries, and exclude the
14079 # DT_RUNPATH tag from executables and libraries. But doing so
14080 # requires that you compile everything twice, which is a pain.
14081 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14082 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14083 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14084 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14085 else
14086 ld_shlibs_FC=no
14089 esac
14092 sunos4*)
14093 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14094 wlarc=
14095 hardcode_direct_FC=yes
14096 hardcode_shlibpath_var_FC=no
14100 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14101 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14102 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14103 else
14104 ld_shlibs_FC=no
14107 esac
14109 if test "$ld_shlibs_FC" = no; then
14110 runpath_var=
14111 hardcode_libdir_flag_spec_FC=
14112 export_dynamic_flag_spec_FC=
14113 whole_archive_flag_spec_FC=
14115 else
14116 # PORTME fill in a description of your system's linker (not GNU ld)
14117 case $host_os in
14118 aix3*)
14119 allow_undefined_flag_FC=unsupported
14120 always_export_symbols_FC=yes
14121 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'
14122 # Note: this linker hardcodes the directories in LIBPATH if there
14123 # are no directories specified by -L.
14124 hardcode_minus_L_FC=yes
14125 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14126 # Neither direct hardcoding nor static linking is supported with a
14127 # broken collect2.
14128 hardcode_direct_FC=unsupported
14132 aix[4-9]*)
14133 if test "$host_cpu" = ia64; then
14134 # On IA64, the linker does run time linking by default, so we don't
14135 # have to do anything special.
14136 aix_use_runtimelinking=no
14137 exp_sym_flag='-Bexport'
14138 no_entry_flag=""
14139 else
14140 # If we're using GNU nm, then we don't want the "-C" option.
14141 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14142 # Also, AIX nm treats weak defined symbols like other global
14143 # defined symbols, whereas GNU nm marks them as "W".
14144 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14145 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'
14146 else
14147 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'
14149 aix_use_runtimelinking=no
14151 # Test if we are trying to use run time linking or normal
14152 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14153 # need to do runtime linking.
14154 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14155 for ld_flag in $LDFLAGS; do
14156 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14157 aix_use_runtimelinking=yes
14158 break
14160 done
14162 esac
14164 exp_sym_flag='-bexport'
14165 no_entry_flag='-bnoentry'
14168 # When large executables or shared objects are built, AIX ld can
14169 # have problems creating the table of contents. If linking a library
14170 # or program results in "error TOC overflow" add -mminimal-toc to
14171 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14172 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14174 archive_cmds_FC=''
14175 hardcode_direct_FC=yes
14176 hardcode_direct_absolute_FC=yes
14177 hardcode_libdir_separator_FC=':'
14178 link_all_deplibs_FC=yes
14179 file_list_spec_FC='${wl}-f,'
14181 if test "$GCC" = yes; then
14182 case $host_os in aix4.[012]|aix4.[012].*)
14183 # We only want to do this on AIX 4.2 and lower, the check
14184 # below for broken collect2 doesn't work under 4.3+
14185 collect2name=`${CC} -print-prog-name=collect2`
14186 if test -f "$collect2name" &&
14187 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14188 then
14189 # We have reworked collect2
14191 else
14192 # We have old collect2
14193 hardcode_direct_FC=unsupported
14194 # It fails to find uninstalled libraries when the uninstalled
14195 # path is not listed in the libpath. Setting hardcode_minus_L
14196 # to unsupported forces relinking
14197 hardcode_minus_L_FC=yes
14198 hardcode_libdir_flag_spec_FC='-L$libdir'
14199 hardcode_libdir_separator_FC=
14202 esac
14203 shared_flag='-shared'
14204 if test "$aix_use_runtimelinking" = yes; then
14205 shared_flag="$shared_flag "'${wl}-G'
14207 else
14208 # not using gcc
14209 if test "$host_cpu" = ia64; then
14210 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14211 # chokes on -Wl,-G. The following line is correct:
14212 shared_flag='-G'
14213 else
14214 if test "$aix_use_runtimelinking" = yes; then
14215 shared_flag='${wl}-G'
14216 else
14217 shared_flag='${wl}-bM:SRE'
14222 export_dynamic_flag_spec_FC='${wl}-bexpall'
14223 # It seems that -bexpall does not export symbols beginning with
14224 # underscore (_), so it is better to generate a list of symbols to export.
14225 always_export_symbols_FC=yes
14226 if test "$aix_use_runtimelinking" = yes; then
14227 # Warning - without using the other runtime loading flags (-brtl),
14228 # -berok will link without error, but may produce a broken library.
14229 allow_undefined_flag_FC='-berok'
14230 # Determine the default libpath from the value encoded in an
14231 # empty executable.
14232 if test x$gcc_no_link = xyes; then
14233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14235 cat > conftest.$ac_ext <<_ACEOF
14236 program main
14239 _ACEOF
14240 if ac_fn_fc_try_link "$LINENO"; then :
14242 lt_aix_libpath_sed='
14243 /Import File Strings/,/^$/ {
14244 /^0/ {
14245 s/^0 *\(.*\)$/\1/
14249 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14250 # Check for a 64-bit object if we didn't find anything.
14251 if test -z "$aix_libpath"; then
14252 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14255 rm -f core conftest.err conftest.$ac_objext \
14256 conftest$ac_exeext conftest.$ac_ext
14257 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14259 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14260 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"
14261 else
14262 if test "$host_cpu" = ia64; then
14263 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14264 allow_undefined_flag_FC="-z nodefs"
14265 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"
14266 else
14267 # Determine the default libpath from the value encoded in an
14268 # empty executable.
14269 if test x$gcc_no_link = xyes; then
14270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14272 cat > conftest.$ac_ext <<_ACEOF
14273 program main
14276 _ACEOF
14277 if ac_fn_fc_try_link "$LINENO"; then :
14279 lt_aix_libpath_sed='
14280 /Import File Strings/,/^$/ {
14281 /^0/ {
14282 s/^0 *\(.*\)$/\1/
14286 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14287 # Check for a 64-bit object if we didn't find anything.
14288 if test -z "$aix_libpath"; then
14289 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14292 rm -f core conftest.err conftest.$ac_objext \
14293 conftest$ac_exeext conftest.$ac_ext
14294 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14296 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14297 # Warning - without using the other run time loading flags,
14298 # -berok will link without error, but may produce a broken library.
14299 no_undefined_flag_FC=' ${wl}-bernotok'
14300 allow_undefined_flag_FC=' ${wl}-berok'
14301 if test "$with_gnu_ld" = yes; then
14302 # We only use this code for GNU lds that support --whole-archive.
14303 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14304 else
14305 # Exported symbols can be pulled into shared objects from archives
14306 whole_archive_flag_spec_FC='$convenience'
14308 archive_cmds_need_lc_FC=yes
14309 # This is similar to how AIX traditionally builds its shared libraries.
14310 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'
14315 amigaos*)
14316 case $host_cpu in
14317 powerpc)
14318 # see comment about AmigaOS4 .so support
14319 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14320 archive_expsym_cmds_FC=''
14322 m68k)
14323 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)'
14324 hardcode_libdir_flag_spec_FC='-L$libdir'
14325 hardcode_minus_L_FC=yes
14327 esac
14330 bsdi[45]*)
14331 export_dynamic_flag_spec_FC=-rdynamic
14334 cygwin* | mingw* | pw32* | cegcc*)
14335 # When not using gcc, we currently assume that we are using
14336 # Microsoft Visual C++.
14337 # hardcode_libdir_flag_spec is actually meaningless, as there is
14338 # no search path for DLLs.
14339 hardcode_libdir_flag_spec_FC=' '
14340 allow_undefined_flag_FC=unsupported
14341 # Tell ltmain to make .lib files, not .a files.
14342 libext=lib
14343 # Tell ltmain to make .dll files, not .so files.
14344 shrext_cmds=".dll"
14345 # FIXME: Setting linknames here is a bad hack.
14346 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14347 # The linker will automatically build a .lib file if we build a DLL.
14348 old_archive_from_new_cmds_FC='true'
14349 # FIXME: Should let the user specify the lib program.
14350 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14351 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14352 enable_shared_with_static_runtimes_FC=yes
14355 darwin* | rhapsody*)
14358 archive_cmds_need_lc_FC=no
14359 hardcode_direct_FC=no
14360 hardcode_automatic_FC=yes
14361 hardcode_shlibpath_var_FC=unsupported
14362 if test "$lt_cv_ld_force_load" = "yes"; then
14363 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\"`'
14364 else
14365 whole_archive_flag_spec_FC=''
14367 link_all_deplibs_FC=yes
14368 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14369 case $cc_basename in
14370 ifort*) _lt_dar_can_shared=yes ;;
14371 *) _lt_dar_can_shared=$GCC ;;
14372 esac
14373 if test "$_lt_dar_can_shared" = "yes"; then
14374 output_verbose_link_cmd=func_echo_all
14375 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}"
14376 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14377 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}"
14378 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}"
14380 else
14381 ld_shlibs_FC=no
14386 dgux*)
14387 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14388 hardcode_libdir_flag_spec_FC='-L$libdir'
14389 hardcode_shlibpath_var_FC=no
14392 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14393 # support. Future versions do this automatically, but an explicit c++rt0.o
14394 # does not break anything, and helps significantly (at the cost of a little
14395 # extra space).
14396 freebsd2.2*)
14397 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14398 hardcode_libdir_flag_spec_FC='-R$libdir'
14399 hardcode_direct_FC=yes
14400 hardcode_shlibpath_var_FC=no
14403 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14404 freebsd2.*)
14405 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14406 hardcode_direct_FC=yes
14407 hardcode_minus_L_FC=yes
14408 hardcode_shlibpath_var_FC=no
14411 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14412 freebsd* | dragonfly*)
14413 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14414 hardcode_libdir_flag_spec_FC='-R$libdir'
14415 hardcode_direct_FC=yes
14416 hardcode_shlibpath_var_FC=no
14419 hpux9*)
14420 if test "$GCC" = yes; then
14421 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'
14422 else
14423 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'
14425 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14426 hardcode_libdir_separator_FC=:
14427 hardcode_direct_FC=yes
14429 # hardcode_minus_L: Not really in the search PATH,
14430 # but as the default location of the library.
14431 hardcode_minus_L_FC=yes
14432 export_dynamic_flag_spec_FC='${wl}-E'
14435 hpux10*)
14436 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14437 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14438 else
14439 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14441 if test "$with_gnu_ld" = no; then
14442 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14443 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14444 hardcode_libdir_separator_FC=:
14445 hardcode_direct_FC=yes
14446 hardcode_direct_absolute_FC=yes
14447 export_dynamic_flag_spec_FC='${wl}-E'
14448 # hardcode_minus_L: Not really in the search PATH,
14449 # but as the default location of the library.
14450 hardcode_minus_L_FC=yes
14454 hpux11*)
14455 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14456 case $host_cpu in
14457 hppa*64*)
14458 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14460 ia64*)
14461 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14464 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14466 esac
14467 else
14468 case $host_cpu in
14469 hppa*64*)
14470 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14472 ia64*)
14473 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14476 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14478 esac
14480 if test "$with_gnu_ld" = no; then
14481 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14482 hardcode_libdir_separator_FC=:
14484 case $host_cpu in
14485 hppa*64*|ia64*)
14486 hardcode_direct_FC=no
14487 hardcode_shlibpath_var_FC=no
14490 hardcode_direct_FC=yes
14491 hardcode_direct_absolute_FC=yes
14492 export_dynamic_flag_spec_FC='${wl}-E'
14494 # hardcode_minus_L: Not really in the search PATH,
14495 # but as the default location of the library.
14496 hardcode_minus_L_FC=yes
14498 esac
14502 irix5* | irix6* | nonstopux*)
14503 if test "$GCC" = yes; then
14504 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'
14505 # Try to use the -exported_symbol ld option, if it does not
14506 # work, assume that -exports_file does not work either and
14507 # implicitly export all symbols.
14508 save_LDFLAGS="$LDFLAGS"
14509 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14510 if test x$gcc_no_link = xyes; then
14511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14513 cat > conftest.$ac_ext <<_ACEOF
14514 int foo(void) {}
14515 _ACEOF
14516 if ac_fn_fc_try_link "$LINENO"; then :
14517 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'
14520 rm -f core conftest.err conftest.$ac_objext \
14521 conftest$ac_exeext conftest.$ac_ext
14522 LDFLAGS="$save_LDFLAGS"
14523 else
14524 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'
14525 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'
14527 archive_cmds_need_lc_FC='no'
14528 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14529 hardcode_libdir_separator_FC=:
14530 inherit_rpath_FC=yes
14531 link_all_deplibs_FC=yes
14534 netbsd*)
14535 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14536 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14537 else
14538 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14540 hardcode_libdir_flag_spec_FC='-R$libdir'
14541 hardcode_direct_FC=yes
14542 hardcode_shlibpath_var_FC=no
14545 newsos6)
14546 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14547 hardcode_direct_FC=yes
14548 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14549 hardcode_libdir_separator_FC=:
14550 hardcode_shlibpath_var_FC=no
14553 *nto* | *qnx*)
14556 openbsd*)
14557 if test -f /usr/libexec/ld.so; then
14558 hardcode_direct_FC=yes
14559 hardcode_shlibpath_var_FC=no
14560 hardcode_direct_absolute_FC=yes
14561 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14562 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14563 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14564 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14565 export_dynamic_flag_spec_FC='${wl}-E'
14566 else
14567 case $host_os in
14568 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14569 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14570 hardcode_libdir_flag_spec_FC='-R$libdir'
14573 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14574 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14576 esac
14578 else
14579 ld_shlibs_FC=no
14583 os2*)
14584 hardcode_libdir_flag_spec_FC='-L$libdir'
14585 hardcode_minus_L_FC=yes
14586 allow_undefined_flag_FC=unsupported
14587 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'
14588 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14591 osf3*)
14592 if test "$GCC" = yes; then
14593 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14594 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'
14595 else
14596 allow_undefined_flag_FC=' -expect_unresolved \*'
14597 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'
14599 archive_cmds_need_lc_FC='no'
14600 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14601 hardcode_libdir_separator_FC=:
14604 osf4* | osf5*) # as osf3* with the addition of -msym flag
14605 if test "$GCC" = yes; then
14606 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14607 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
14608 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14609 else
14610 allow_undefined_flag_FC=' -expect_unresolved \*'
14611 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'
14612 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~
14613 $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'
14615 # Both c and cxx compiler support -rpath directly
14616 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14618 archive_cmds_need_lc_FC='no'
14619 hardcode_libdir_separator_FC=:
14622 solaris*)
14623 no_undefined_flag_FC=' -z defs'
14624 if test "$GCC" = yes; then
14625 wlarc='${wl}'
14626 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14627 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14628 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14629 else
14630 case `$CC -V 2>&1` in
14631 *"Compilers 5.0"*)
14632 wlarc=''
14633 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14634 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14635 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14638 wlarc='${wl}'
14639 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14640 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14641 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14643 esac
14645 hardcode_libdir_flag_spec_FC='-R$libdir'
14646 hardcode_shlibpath_var_FC=no
14647 case $host_os in
14648 solaris2.[0-5] | solaris2.[0-5].*) ;;
14650 # The compiler driver will combine and reorder linker options,
14651 # but understands `-z linker_flag'. GCC discards it without `$wl',
14652 # but is careful enough not to reorder.
14653 # Supported since Solaris 2.6 (maybe 2.5.1?)
14654 if test "$GCC" = yes; then
14655 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14656 else
14657 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14660 esac
14661 link_all_deplibs_FC=yes
14664 sunos4*)
14665 if test "x$host_vendor" = xsequent; then
14666 # Use $CC to link under sequent, because it throws in some extra .o
14667 # files that make .init and .fini sections work.
14668 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14669 else
14670 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14672 hardcode_libdir_flag_spec_FC='-L$libdir'
14673 hardcode_direct_FC=yes
14674 hardcode_minus_L_FC=yes
14675 hardcode_shlibpath_var_FC=no
14678 sysv4)
14679 case $host_vendor in
14680 sni)
14681 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14682 hardcode_direct_FC=yes # is this really true???
14684 siemens)
14685 ## LD is ld it makes a PLAMLIB
14686 ## CC just makes a GrossModule.
14687 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14688 reload_cmds_FC='$CC -r -o $output$reload_objs'
14689 hardcode_direct_FC=no
14691 motorola)
14692 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14693 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14695 esac
14696 runpath_var='LD_RUN_PATH'
14697 hardcode_shlibpath_var_FC=no
14700 sysv4.3*)
14701 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14702 hardcode_shlibpath_var_FC=no
14703 export_dynamic_flag_spec_FC='-Bexport'
14706 sysv4*MP*)
14707 if test -d /usr/nec; then
14708 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14709 hardcode_shlibpath_var_FC=no
14710 runpath_var=LD_RUN_PATH
14711 hardcode_runpath_var=yes
14712 ld_shlibs_FC=yes
14716 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14717 no_undefined_flag_FC='${wl}-z,text'
14718 archive_cmds_need_lc_FC=no
14719 hardcode_shlibpath_var_FC=no
14720 runpath_var='LD_RUN_PATH'
14722 if test "$GCC" = yes; then
14723 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14724 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14725 else
14726 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14727 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14731 sysv5* | sco3.2v5* | sco5v6*)
14732 # Note: We can NOT use -z defs as we might desire, because we do not
14733 # link with -lc, and that would cause any symbols used from libc to
14734 # always be unresolved, which means just about no library would
14735 # ever link correctly. If we're not using GNU ld we use -z text
14736 # though, which does catch some bad symbols but isn't as heavy-handed
14737 # as -z defs.
14738 no_undefined_flag_FC='${wl}-z,text'
14739 allow_undefined_flag_FC='${wl}-z,nodefs'
14740 archive_cmds_need_lc_FC=no
14741 hardcode_shlibpath_var_FC=no
14742 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14743 hardcode_libdir_separator_FC=':'
14744 link_all_deplibs_FC=yes
14745 export_dynamic_flag_spec_FC='${wl}-Bexport'
14746 runpath_var='LD_RUN_PATH'
14748 if test "$GCC" = yes; then
14749 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14750 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14751 else
14752 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14753 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14757 uts4*)
14758 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14759 hardcode_libdir_flag_spec_FC='-L$libdir'
14760 hardcode_shlibpath_var_FC=no
14764 ld_shlibs_FC=no
14766 esac
14768 if test x$host_vendor = xsni; then
14769 case $host in
14770 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14771 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14773 esac
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14778 $as_echo "$ld_shlibs_FC" >&6; }
14779 test "$ld_shlibs_FC" = no && can_build_shared=no
14781 with_gnu_ld_FC=$with_gnu_ld
14789 # Do we need to explicitly link libc?
14791 case "x$archive_cmds_need_lc_FC" in
14792 x|xyes)
14793 # Assume -lc should be added
14794 archive_cmds_need_lc_FC=yes
14796 if test "$enable_shared" = yes && test "$GCC" = yes; then
14797 case $archive_cmds_FC in
14798 *'~'*)
14799 # FIXME: we may have to deal with multi-command sequences.
14801 '$CC '*)
14802 # Test whether the compiler implicitly links with -lc since on some
14803 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14804 # to ld, don't add -lc before -lgcc.
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14806 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14807 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14808 $as_echo_n "(cached) " >&6
14809 else
14810 $RM conftest*
14811 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14813 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14814 (eval $ac_compile) 2>&5
14815 ac_status=$?
14816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14817 test $ac_status = 0; } 2>conftest.err; then
14818 soname=conftest
14819 lib=conftest
14820 libobjs=conftest.$ac_objext
14821 deplibs=
14822 wl=$lt_prog_compiler_wl_FC
14823 pic_flag=$lt_prog_compiler_pic_FC
14824 compiler_flags=-v
14825 linker_flags=-v
14826 verstring=
14827 output_objdir=.
14828 libname=conftest
14829 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14830 allow_undefined_flag_FC=
14831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14832 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14833 ac_status=$?
14834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14835 test $ac_status = 0; }
14836 then
14837 lt_cv_archive_cmds_need_lc_FC=no
14838 else
14839 lt_cv_archive_cmds_need_lc_FC=yes
14841 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14842 else
14843 cat conftest.err 1>&5
14845 $RM conftest*
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14849 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14850 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14852 esac
14855 esac
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14921 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14923 library_names_spec=
14924 libname_spec='lib$name'
14925 soname_spec=
14926 shrext_cmds=".so"
14927 postinstall_cmds=
14928 postuninstall_cmds=
14929 finish_cmds=
14930 finish_eval=
14931 shlibpath_var=
14932 shlibpath_overrides_runpath=unknown
14933 version_type=none
14934 dynamic_linker="$host_os ld.so"
14935 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14936 need_lib_prefix=unknown
14937 hardcode_into_libs=no
14939 # when you set need_version to no, make sure it does not cause -set_version
14940 # flags to be left without arguments
14941 need_version=unknown
14943 case $host_os in
14944 aix3*)
14945 version_type=linux
14946 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14947 shlibpath_var=LIBPATH
14949 # AIX 3 has no versioning support, so we append a major version to the name.
14950 soname_spec='${libname}${release}${shared_ext}$major'
14953 aix[4-9]*)
14954 version_type=linux
14955 need_lib_prefix=no
14956 need_version=no
14957 hardcode_into_libs=yes
14958 if test "$host_cpu" = ia64; then
14959 # AIX 5 supports IA64
14960 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14961 shlibpath_var=LD_LIBRARY_PATH
14962 else
14963 # With GCC up to 2.95.x, collect2 would create an import file
14964 # for dependence libraries. The import file would start with
14965 # the line `#! .'. This would cause the generated library to
14966 # depend on `.', always an invalid library. This was fixed in
14967 # development snapshots of GCC prior to 3.0.
14968 case $host_os in
14969 aix4 | aix4.[01] | aix4.[01].*)
14970 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14971 echo ' yes '
14972 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14974 else
14975 can_build_shared=no
14978 esac
14979 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14980 # soname into executable. Probably we can add versioning support to
14981 # collect2, so additional links can be useful in future.
14982 if test "$aix_use_runtimelinking" = yes; then
14983 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14984 # instead of lib<name>.a to let people know that these are not
14985 # typical AIX shared libraries.
14986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14987 else
14988 # We preserve .a as extension for shared libraries through AIX4.2
14989 # and later when we are not doing run time linking.
14990 library_names_spec='${libname}${release}.a $libname.a'
14991 soname_spec='${libname}${release}${shared_ext}$major'
14993 shlibpath_var=LIBPATH
14997 amigaos*)
14998 case $host_cpu in
14999 powerpc)
15000 # Since July 2007 AmigaOS4 officially supports .so libraries.
15001 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15004 m68k)
15005 library_names_spec='$libname.ixlibrary $libname.a'
15006 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15007 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'
15009 esac
15012 beos*)
15013 library_names_spec='${libname}${shared_ext}'
15014 dynamic_linker="$host_os ld.so"
15015 shlibpath_var=LIBRARY_PATH
15018 bsdi[45]*)
15019 version_type=linux
15020 need_version=no
15021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15022 soname_spec='${libname}${release}${shared_ext}$major'
15023 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15024 shlibpath_var=LD_LIBRARY_PATH
15025 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15026 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15027 # the default ld.so.conf also contains /usr/contrib/lib and
15028 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15029 # libtool to hard-code these into programs
15032 cygwin* | mingw* | pw32* | cegcc*)
15033 version_type=windows
15034 shrext_cmds=".dll"
15035 need_version=no
15036 need_lib_prefix=no
15038 case $GCC,$host_os in
15039 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15040 library_names_spec='$libname.dll.a'
15041 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15042 postinstall_cmds='base_file=`basename \${file}`~
15043 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15044 dldir=$destdir/`dirname \$dlpath`~
15045 test -d \$dldir || mkdir -p \$dldir~
15046 $install_prog $dir/$dlname \$dldir/$dlname~
15047 chmod a+x \$dldir/$dlname~
15048 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15049 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15051 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15052 dlpath=$dir/\$dldll~
15053 $RM \$dlpath'
15054 shlibpath_overrides_runpath=yes
15056 case $host_os in
15057 cygwin*)
15058 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15059 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15062 mingw* | cegcc*)
15063 # MinGW DLLs use traditional 'lib' prefix
15064 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15066 pw32*)
15067 # pw32 DLLs use 'pw' prefix rather than 'lib'
15068 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15070 esac
15074 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15076 esac
15077 dynamic_linker='Win32 ld.exe'
15078 # FIXME: first we should search . and the directory the executable is in
15079 shlibpath_var=PATH
15082 darwin* | rhapsody*)
15083 dynamic_linker="$host_os dyld"
15084 version_type=darwin
15085 need_lib_prefix=no
15086 need_version=no
15087 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15088 soname_spec='${libname}${release}${major}$shared_ext'
15089 shlibpath_overrides_runpath=yes
15090 shlibpath_var=DYLD_LIBRARY_PATH
15091 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15093 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15096 dgux*)
15097 version_type=linux
15098 need_lib_prefix=no
15099 need_version=no
15100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15101 soname_spec='${libname}${release}${shared_ext}$major'
15102 shlibpath_var=LD_LIBRARY_PATH
15105 freebsd* | dragonfly*)
15106 # DragonFly does not have aout. When/if they implement a new
15107 # versioning mechanism, adjust this.
15108 if test -x /usr/bin/objformat; then
15109 objformat=`/usr/bin/objformat`
15110 else
15111 case $host_os in
15112 freebsd[23].*) objformat=aout ;;
15113 *) objformat=elf ;;
15114 esac
15116 version_type=freebsd-$objformat
15117 case $version_type in
15118 freebsd-elf*)
15119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15120 need_version=no
15121 need_lib_prefix=no
15123 freebsd-*)
15124 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15125 need_version=yes
15127 esac
15128 shlibpath_var=LD_LIBRARY_PATH
15129 case $host_os in
15130 freebsd2.*)
15131 shlibpath_overrides_runpath=yes
15133 freebsd3.[01]* | freebsdelf3.[01]*)
15134 shlibpath_overrides_runpath=yes
15135 hardcode_into_libs=yes
15137 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15138 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15139 shlibpath_overrides_runpath=no
15140 hardcode_into_libs=yes
15142 *) # from 4.6 on, and DragonFly
15143 shlibpath_overrides_runpath=yes
15144 hardcode_into_libs=yes
15146 esac
15149 gnu*)
15150 version_type=linux
15151 need_lib_prefix=no
15152 need_version=no
15153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15154 soname_spec='${libname}${release}${shared_ext}$major'
15155 shlibpath_var=LD_LIBRARY_PATH
15156 hardcode_into_libs=yes
15159 haiku*)
15160 version_type=linux
15161 need_lib_prefix=no
15162 need_version=no
15163 dynamic_linker="$host_os runtime_loader"
15164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15165 soname_spec='${libname}${release}${shared_ext}$major'
15166 shlibpath_var=LIBRARY_PATH
15167 shlibpath_overrides_runpath=yes
15168 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15169 hardcode_into_libs=yes
15172 hpux9* | hpux10* | hpux11*)
15173 # Give a soname corresponding to the major version so that dld.sl refuses to
15174 # link against other versions.
15175 version_type=sunos
15176 need_lib_prefix=no
15177 need_version=no
15178 case $host_cpu in
15179 ia64*)
15180 shrext_cmds='.so'
15181 hardcode_into_libs=yes
15182 dynamic_linker="$host_os dld.so"
15183 shlibpath_var=LD_LIBRARY_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 if test "X$HPUX_IA64_MODE" = X32; then
15188 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15189 else
15190 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15192 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15194 hppa*64*)
15195 shrext_cmds='.sl'
15196 hardcode_into_libs=yes
15197 dynamic_linker="$host_os dld.sl"
15198 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15199 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15201 soname_spec='${libname}${release}${shared_ext}$major'
15202 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15203 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15206 shrext_cmds='.sl'
15207 dynamic_linker="$host_os dld.sl"
15208 shlibpath_var=SHLIB_PATH
15209 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15211 soname_spec='${libname}${release}${shared_ext}$major'
15213 esac
15214 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15215 postinstall_cmds='chmod 555 $lib'
15216 # or fails outright, so override atomically:
15217 install_override_mode=555
15220 interix[3-9]*)
15221 version_type=linux
15222 need_lib_prefix=no
15223 need_version=no
15224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15225 soname_spec='${libname}${release}${shared_ext}$major'
15226 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15227 shlibpath_var=LD_LIBRARY_PATH
15228 shlibpath_overrides_runpath=no
15229 hardcode_into_libs=yes
15232 irix5* | irix6* | nonstopux*)
15233 case $host_os in
15234 nonstopux*) version_type=nonstopux ;;
15236 if test "$lt_cv_prog_gnu_ld" = yes; then
15237 version_type=linux
15238 else
15239 version_type=irix
15240 fi ;;
15241 esac
15242 need_lib_prefix=no
15243 need_version=no
15244 soname_spec='${libname}${release}${shared_ext}$major'
15245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15246 case $host_os in
15247 irix5* | nonstopux*)
15248 libsuff= shlibsuff=
15251 case $LD in # libtool.m4 will add one of these switches to LD
15252 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15253 libsuff= shlibsuff= libmagic=32-bit;;
15254 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15255 libsuff=32 shlibsuff=N32 libmagic=N32;;
15256 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15257 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15258 *) libsuff= shlibsuff= libmagic=never-match;;
15259 esac
15261 esac
15262 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15263 shlibpath_overrides_runpath=no
15264 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15265 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15266 hardcode_into_libs=yes
15269 # No shared lib support for Linux oldld, aout, or coff.
15270 linux*oldld* | linux*aout* | linux*coff*)
15271 dynamic_linker=no
15274 # This must be Linux ELF.
15275 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15276 version_type=linux
15277 need_lib_prefix=no
15278 need_version=no
15279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15280 soname_spec='${libname}${release}${shared_ext}$major'
15281 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15282 shlibpath_var=LD_LIBRARY_PATH
15283 shlibpath_overrides_runpath=no
15285 # Some binutils ld are patched to set DT_RUNPATH
15286 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15287 $as_echo_n "(cached) " >&6
15288 else
15289 lt_cv_shlibpath_overrides_runpath=no
15290 save_LDFLAGS=$LDFLAGS
15291 save_libdir=$libdir
15292 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15293 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15294 if test x$gcc_no_link = xyes; then
15295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15297 cat > conftest.$ac_ext <<_ACEOF
15298 program main
15301 _ACEOF
15302 if ac_fn_fc_try_link "$LINENO"; then :
15303 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15304 lt_cv_shlibpath_overrides_runpath=yes
15307 rm -f core conftest.err conftest.$ac_objext \
15308 conftest$ac_exeext conftest.$ac_ext
15309 LDFLAGS=$save_LDFLAGS
15310 libdir=$save_libdir
15314 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15316 # This implies no fast_install, which is unacceptable.
15317 # Some rework will be needed to allow for fast_install
15318 # before this can be enabled.
15319 hardcode_into_libs=yes
15321 # Append ld.so.conf contents to the search path
15322 if test -f /etc/ld.so.conf; then
15323 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' ' '`
15324 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15327 # We used to test for /lib/ld.so.1 and disable shared libraries on
15328 # powerpc, because MkLinux only supported shared libraries with the
15329 # GNU dynamic linker. Since this was broken with cross compilers,
15330 # most powerpc-linux boxes support dynamic linking these days and
15331 # people can always --disable-shared, the test was removed, and we
15332 # assume the GNU/Linux dynamic linker is in use.
15333 dynamic_linker='GNU/Linux ld.so'
15336 netbsd*)
15337 version_type=sunos
15338 need_lib_prefix=no
15339 need_version=no
15340 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15342 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15343 dynamic_linker='NetBSD (a.out) ld.so'
15344 else
15345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15346 soname_spec='${libname}${release}${shared_ext}$major'
15347 dynamic_linker='NetBSD ld.elf_so'
15349 shlibpath_var=LD_LIBRARY_PATH
15350 shlibpath_overrides_runpath=yes
15351 hardcode_into_libs=yes
15354 newsos6)
15355 version_type=linux
15356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15357 shlibpath_var=LD_LIBRARY_PATH
15358 shlibpath_overrides_runpath=yes
15361 *nto* | *qnx*)
15362 version_type=qnx
15363 need_lib_prefix=no
15364 need_version=no
15365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15366 soname_spec='${libname}${release}${shared_ext}$major'
15367 shlibpath_var=LD_LIBRARY_PATH
15368 shlibpath_overrides_runpath=no
15369 hardcode_into_libs=yes
15370 dynamic_linker='ldqnx.so'
15373 openbsd*)
15374 version_type=sunos
15375 sys_lib_dlsearch_path_spec="/usr/lib"
15376 need_lib_prefix=no
15377 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15378 case $host_os in
15379 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15380 *) need_version=no ;;
15381 esac
15382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15383 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15384 shlibpath_var=LD_LIBRARY_PATH
15385 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15386 case $host_os in
15387 openbsd2.[89] | openbsd2.[89].*)
15388 shlibpath_overrides_runpath=no
15391 shlibpath_overrides_runpath=yes
15393 esac
15394 else
15395 shlibpath_overrides_runpath=yes
15399 os2*)
15400 libname_spec='$name'
15401 shrext_cmds=".dll"
15402 need_lib_prefix=no
15403 library_names_spec='$libname${shared_ext} $libname.a'
15404 dynamic_linker='OS/2 ld.exe'
15405 shlibpath_var=LIBPATH
15408 osf3* | osf4* | osf5*)
15409 version_type=osf
15410 need_lib_prefix=no
15411 need_version=no
15412 soname_spec='${libname}${release}${shared_ext}$major'
15413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15414 shlibpath_var=LD_LIBRARY_PATH
15415 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15416 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15419 rdos*)
15420 dynamic_linker=no
15423 solaris*)
15424 version_type=linux
15425 need_lib_prefix=no
15426 need_version=no
15427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 soname_spec='${libname}${release}${shared_ext}$major'
15429 shlibpath_var=LD_LIBRARY_PATH
15430 shlibpath_overrides_runpath=yes
15431 hardcode_into_libs=yes
15432 # ldd complains unless libraries are executable
15433 postinstall_cmds='chmod +x $lib'
15436 sunos4*)
15437 version_type=sunos
15438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15439 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15440 shlibpath_var=LD_LIBRARY_PATH
15441 shlibpath_overrides_runpath=yes
15442 if test "$with_gnu_ld" = yes; then
15443 need_lib_prefix=no
15445 need_version=yes
15448 sysv4 | sysv4.3*)
15449 version_type=linux
15450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15451 soname_spec='${libname}${release}${shared_ext}$major'
15452 shlibpath_var=LD_LIBRARY_PATH
15453 case $host_vendor in
15454 sni)
15455 shlibpath_overrides_runpath=no
15456 need_lib_prefix=no
15457 runpath_var=LD_RUN_PATH
15459 siemens)
15460 need_lib_prefix=no
15462 motorola)
15463 need_lib_prefix=no
15464 need_version=no
15465 shlibpath_overrides_runpath=no
15466 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15468 esac
15471 sysv4*MP*)
15472 if test -d /usr/nec ;then
15473 version_type=linux
15474 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15475 soname_spec='$libname${shared_ext}.$major'
15476 shlibpath_var=LD_LIBRARY_PATH
15480 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15481 version_type=freebsd-elf
15482 need_lib_prefix=no
15483 need_version=no
15484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15485 soname_spec='${libname}${release}${shared_ext}$major'
15486 shlibpath_var=LD_LIBRARY_PATH
15487 shlibpath_overrides_runpath=yes
15488 hardcode_into_libs=yes
15489 if test "$with_gnu_ld" = yes; then
15490 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15491 else
15492 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15493 case $host_os in
15494 sco3.2v5*)
15495 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15497 esac
15499 sys_lib_dlsearch_path_spec='/usr/lib'
15502 tpf*)
15503 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15504 version_type=linux
15505 need_lib_prefix=no
15506 need_version=no
15507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15508 shlibpath_var=LD_LIBRARY_PATH
15509 shlibpath_overrides_runpath=no
15510 hardcode_into_libs=yes
15513 uts4*)
15514 version_type=linux
15515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15516 soname_spec='${libname}${release}${shared_ext}$major'
15517 shlibpath_var=LD_LIBRARY_PATH
15521 dynamic_linker=no
15523 esac
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15525 $as_echo "$dynamic_linker" >&6; }
15526 test "$dynamic_linker" = no && can_build_shared=no
15528 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15529 if test "$GCC" = yes; then
15530 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15533 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15534 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15536 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15537 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15578 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15579 hardcode_action_FC=
15580 if test -n "$hardcode_libdir_flag_spec_FC" ||
15581 test -n "$runpath_var_FC" ||
15582 test "X$hardcode_automatic_FC" = "Xyes" ; then
15584 # We can hardcode non-existent directories.
15585 if test "$hardcode_direct_FC" != no &&
15586 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15587 # have to relink, otherwise we might link with an installed library
15588 # when we should be linking with a yet-to-be-installed one
15589 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15590 test "$hardcode_minus_L_FC" != no; then
15591 # Linking always hardcodes the temporary library directory.
15592 hardcode_action_FC=relink
15593 else
15594 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15595 hardcode_action_FC=immediate
15597 else
15598 # We cannot hardcode anything, or else we can only hardcode existing
15599 # directories.
15600 hardcode_action_FC=unsupported
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15603 $as_echo "$hardcode_action_FC" >&6; }
15605 if test "$hardcode_action_FC" = relink ||
15606 test "$inherit_rpath_FC" = yes; then
15607 # Fast installation is not supported
15608 enable_fast_install=no
15609 elif test "$shlibpath_overrides_runpath" = yes ||
15610 test "$enable_shared" = no; then
15611 # Fast installation is not necessary
15612 enable_fast_install=needless
15621 fi # test -n "$compiler"
15623 GCC=$lt_save_GCC
15624 CC="$lt_save_CC"
15625 fi # test "$_lt_disable_FC" != yes
15627 ac_ext=c
15628 ac_cpp='$CPP $CPPFLAGS'
15629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15635 # extra LD Flags which are required for targets
15636 case "${host}" in
15637 *-darwin*)
15638 # Darwin needs -single_module when linking libgfortran
15639 extra_ldflags_libgfortran=-Wl,-single_module
15641 esac
15644 # We need a working compiler at that point, otherwise give a clear
15645 # error message and bail out.
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15648 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15649 ac_ext=${ac_fc_srcext-f}
15650 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15651 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15652 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15654 cat > conftest.$ac_ext <<_ACEOF
15656 program foo
15657 real, parameter :: bar = sin (12.34 / 2.5)
15658 end program foo
15659 _ACEOF
15660 if ac_fn_fc_try_compile "$LINENO"; then :
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15662 $as_echo "yes" >&6; }
15663 else
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15665 $as_echo "no" >&6; }
15666 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15670 ac_ext=c
15671 ac_cpp='$CPP $CPPFLAGS'
15672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15678 # Check whether --enable-largefile was given.
15679 if test "${enable_largefile+set}" = set; then :
15680 enableval=$enable_largefile;
15683 if test "$enable_largefile" != no; then
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15686 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15687 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15688 $as_echo_n "(cached) " >&6
15689 else
15690 ac_cv_sys_largefile_CC=no
15691 if test "$GCC" != yes; then
15692 ac_save_CC=$CC
15693 while :; do
15694 # IRIX 6.2 and later do not support large files by default,
15695 # so use the C compiler's -n32 option if that helps.
15696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h. */
15698 #include <sys/types.h>
15699 /* Check that off_t can represent 2**63 - 1 correctly.
15700 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15701 since some C++ compilers masquerading as C compilers
15702 incorrectly reject 9223372036854775807. */
15703 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15704 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15705 && LARGE_OFF_T % 2147483647 == 1)
15706 ? 1 : -1];
15708 main ()
15712 return 0;
15714 _ACEOF
15715 if ac_fn_c_try_compile "$LINENO"; then :
15716 break
15718 rm -f core conftest.err conftest.$ac_objext
15719 CC="$CC -n32"
15720 if ac_fn_c_try_compile "$LINENO"; then :
15721 ac_cv_sys_largefile_CC=' -n32'; break
15723 rm -f core conftest.err conftest.$ac_objext
15724 break
15725 done
15726 CC=$ac_save_CC
15727 rm -f conftest.$ac_ext
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15731 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15732 if test "$ac_cv_sys_largefile_CC" != no; then
15733 CC=$CC$ac_cv_sys_largefile_CC
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15737 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15738 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15739 $as_echo_n "(cached) " >&6
15740 else
15741 while :; do
15742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15743 /* end confdefs.h. */
15744 #include <sys/types.h>
15745 /* Check that off_t can represent 2**63 - 1 correctly.
15746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15747 since some C++ compilers masquerading as C compilers
15748 incorrectly reject 9223372036854775807. */
15749 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15751 && LARGE_OFF_T % 2147483647 == 1)
15752 ? 1 : -1];
15754 main ()
15758 return 0;
15760 _ACEOF
15761 if ac_fn_c_try_compile "$LINENO"; then :
15762 ac_cv_sys_file_offset_bits=no; break
15764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15767 #define _FILE_OFFSET_BITS 64
15768 #include <sys/types.h>
15769 /* Check that off_t can represent 2**63 - 1 correctly.
15770 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15771 since some C++ compilers masquerading as C compilers
15772 incorrectly reject 9223372036854775807. */
15773 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15774 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15775 && LARGE_OFF_T % 2147483647 == 1)
15776 ? 1 : -1];
15778 main ()
15782 return 0;
15784 _ACEOF
15785 if ac_fn_c_try_compile "$LINENO"; then :
15786 ac_cv_sys_file_offset_bits=64; break
15788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15789 ac_cv_sys_file_offset_bits=unknown
15790 break
15791 done
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15794 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15795 case $ac_cv_sys_file_offset_bits in #(
15796 no | unknown) ;;
15798 cat >>confdefs.h <<_ACEOF
15799 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15800 _ACEOF
15802 esac
15803 rm -rf conftest*
15804 if test $ac_cv_sys_file_offset_bits = unknown; then
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15806 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15807 if test "${ac_cv_sys_large_files+set}" = set; then :
15808 $as_echo_n "(cached) " >&6
15809 else
15810 while :; do
15811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15812 /* end confdefs.h. */
15813 #include <sys/types.h>
15814 /* Check that off_t can represent 2**63 - 1 correctly.
15815 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15816 since some C++ compilers masquerading as C compilers
15817 incorrectly reject 9223372036854775807. */
15818 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15819 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15820 && LARGE_OFF_T % 2147483647 == 1)
15821 ? 1 : -1];
15823 main ()
15827 return 0;
15829 _ACEOF
15830 if ac_fn_c_try_compile "$LINENO"; then :
15831 ac_cv_sys_large_files=no; break
15833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15835 /* end confdefs.h. */
15836 #define _LARGE_FILES 1
15837 #include <sys/types.h>
15838 /* Check that off_t can represent 2**63 - 1 correctly.
15839 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15840 since some C++ compilers masquerading as C compilers
15841 incorrectly reject 9223372036854775807. */
15842 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15843 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15844 && LARGE_OFF_T % 2147483647 == 1)
15845 ? 1 : -1];
15847 main ()
15851 return 0;
15853 _ACEOF
15854 if ac_fn_c_try_compile "$LINENO"; then :
15855 ac_cv_sys_large_files=1; break
15857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15858 ac_cv_sys_large_files=unknown
15859 break
15860 done
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15863 $as_echo "$ac_cv_sys_large_files" >&6; }
15864 case $ac_cv_sys_large_files in #(
15865 no | unknown) ;;
15867 cat >>confdefs.h <<_ACEOF
15868 #define _LARGE_FILES $ac_cv_sys_large_files
15869 _ACEOF
15871 esac
15872 rm -rf conftest*
15877 # Types
15878 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15879 if test "x$ac_cv_type_off_t" = x""yes; then :
15881 else
15883 cat >>confdefs.h <<_ACEOF
15884 #define off_t long int
15885 _ACEOF
15890 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15891 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15893 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15895 else
15896 for ac_type in 'int' 'long int' 'long long int'; do
15897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15899 $ac_includes_default
15901 main ()
15903 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15904 test_array [0] = 0
15907 return 0;
15909 _ACEOF
15910 if ac_fn_c_try_compile "$LINENO"; then :
15912 cat >>confdefs.h <<_ACEOF
15913 #define intptr_t $ac_type
15914 _ACEOF
15916 ac_type=
15918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15919 test -z "$ac_type" && break
15920 done
15925 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15926 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15928 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15930 else
15931 for ac_type in 'unsigned int' 'unsigned long int' \
15932 'unsigned long long int'; do
15933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15934 /* end confdefs.h. */
15935 $ac_includes_default
15937 main ()
15939 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15940 test_array [0] = 0
15943 return 0;
15945 _ACEOF
15946 if ac_fn_c_try_compile "$LINENO"; then :
15948 cat >>confdefs.h <<_ACEOF
15949 #define uintptr_t $ac_type
15950 _ACEOF
15952 ac_type=
15954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15955 test -z "$ac_type" && break
15956 done
15960 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15961 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15963 cat >>confdefs.h <<_ACEOF
15964 #define HAVE_PTRDIFF_T 1
15965 _ACEOF
15971 # check header files (we assume C89 is available, so don't check for that)
15975 for ac_header in $ac_header_list
15976 do :
15977 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15978 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15980 eval as_val=\$$as_ac_Header
15981 if test "x$as_val" = x""yes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15984 _ACEOF
15988 done
16022 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16024 acx_cv_header_stdint=stddef.h
16025 acx_cv_header_stdint_kind="(already complete)"
16026 for i in stdint.h $inttype_headers; do
16027 unset ac_cv_type_uintptr_t
16028 unset ac_cv_type_uintmax_t
16029 unset ac_cv_type_int_least32_t
16030 unset ac_cv_type_int_fast32_t
16031 unset ac_cv_type_uint64_t
16032 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16033 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16034 #include <$i>
16036 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16037 acx_cv_header_stdint=$i
16038 else
16039 continue
16042 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16043 #include <$i>
16045 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16047 else
16048 acx_cv_header_stdint_kind="(mostly complete)"
16051 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16052 #include <$i>
16054 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16056 else
16057 acx_cv_header_stdint_kind="(mostly complete)"
16060 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16061 #include <$i>
16063 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16065 else
16066 acx_cv_header_stdint_kind="(mostly complete)"
16069 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16070 #include <$i>
16072 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16074 else
16075 acx_cv_header_stdint_kind="(lacks uint64_t)"
16078 break
16079 done
16080 if test "$acx_cv_header_stdint" = stddef.h; then
16081 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16082 for i in stdint.h $inttype_headers; do
16083 unset ac_cv_type_uintptr_t
16084 unset ac_cv_type_uint32_t
16085 unset ac_cv_type_uint64_t
16086 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16087 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16088 #include <$i>
16090 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16091 acx_cv_header_stdint=$i
16092 else
16093 continue
16096 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16097 #include <$i>
16099 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16103 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16104 #include <$i>
16106 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16110 break
16111 done
16113 if test "$acx_cv_header_stdint" = stddef.h; then
16114 acx_cv_header_stdint_kind="(u_intXX_t style)"
16115 for i in sys/types.h $inttype_headers; do
16116 unset ac_cv_type_u_int32_t
16117 unset ac_cv_type_u_int64_t
16118 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16119 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16120 #include <$i>
16122 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16123 acx_cv_header_stdint=$i
16124 else
16125 continue
16128 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16129 #include <$i>
16131 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16135 break
16136 done
16138 if test "$acx_cv_header_stdint" = stddef.h; then
16139 acx_cv_header_stdint_kind="(using manual detection)"
16142 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16143 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16144 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16145 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16146 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16148 # ----------------- Summarize what we found so far
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16151 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16153 case `$as_basename -- gstdint.h ||
16154 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16155 Xgstdint.h : 'X\(//\)$' \| \
16156 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16157 $as_echo X/gstdint.h |
16158 sed '/^.*\/\([^/][^/]*\)\/*$/{
16159 s//\1/
16162 /^X\/\(\/\/\)$/{
16163 s//\1/
16166 /^X\/\(\/\).*/{
16167 s//\1/
16170 s/.*/./; q'` in
16171 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16172 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16173 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16174 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16175 *) ;;
16176 esac
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16179 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16181 # ----------------- done included file, check C basic types --------
16183 # Lacking an uintptr_t? Test size of void *
16184 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16185 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16186 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16187 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16188 # This bug is HP SR number 8606223364.
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16190 $as_echo_n "checking size of void *... " >&6; }
16191 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16192 $as_echo_n "(cached) " >&6
16193 else
16194 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16196 else
16197 if test "$ac_cv_type_void_p" = yes; then
16198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16200 { as_fn_set_status 77
16201 as_fn_error "cannot compute sizeof (void *)
16202 See \`config.log' for more details." "$LINENO" 5; }; }
16203 else
16204 ac_cv_sizeof_void_p=0
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16210 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16214 cat >>confdefs.h <<_ACEOF
16215 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16216 _ACEOF
16219 esac
16221 # Lacking an uint64_t? Test size of long
16222 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16223 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16224 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16225 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16226 # This bug is HP SR number 8606223364.
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16228 $as_echo_n "checking size of long... " >&6; }
16229 if test "${ac_cv_sizeof_long+set}" = set; then :
16230 $as_echo_n "(cached) " >&6
16231 else
16232 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16234 else
16235 if test "$ac_cv_type_long" = yes; then
16236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16238 { as_fn_set_status 77
16239 as_fn_error "cannot compute sizeof (long)
16240 See \`config.log' for more details." "$LINENO" 5; }; }
16241 else
16242 ac_cv_sizeof_long=0
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16248 $as_echo "$ac_cv_sizeof_long" >&6; }
16252 cat >>confdefs.h <<_ACEOF
16253 #define SIZEOF_LONG $ac_cv_sizeof_long
16254 _ACEOF
16257 esac
16259 if test $acx_cv_header_stdint = stddef.h; then
16260 # Lacking a good header? Test size of everything and deduce all types.
16261 # The cast to long int works around a bug in the HP C Compiler
16262 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16263 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16264 # This bug is HP SR number 8606223364.
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16266 $as_echo_n "checking size of int... " >&6; }
16267 if test "${ac_cv_sizeof_int+set}" = set; then :
16268 $as_echo_n "(cached) " >&6
16269 else
16270 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16272 else
16273 if test "$ac_cv_type_int" = yes; then
16274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16276 { as_fn_set_status 77
16277 as_fn_error "cannot compute sizeof (int)
16278 See \`config.log' for more details." "$LINENO" 5; }; }
16279 else
16280 ac_cv_sizeof_int=0
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16286 $as_echo "$ac_cv_sizeof_int" >&6; }
16290 cat >>confdefs.h <<_ACEOF
16291 #define SIZEOF_INT $ac_cv_sizeof_int
16292 _ACEOF
16295 # The cast to long int works around a bug in the HP C Compiler
16296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16298 # This bug is HP SR number 8606223364.
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16300 $as_echo_n "checking size of short... " >&6; }
16301 if test "${ac_cv_sizeof_short+set}" = set; then :
16302 $as_echo_n "(cached) " >&6
16303 else
16304 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16306 else
16307 if test "$ac_cv_type_short" = yes; then
16308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16310 { as_fn_set_status 77
16311 as_fn_error "cannot compute sizeof (short)
16312 See \`config.log' for more details." "$LINENO" 5; }; }
16313 else
16314 ac_cv_sizeof_short=0
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16320 $as_echo "$ac_cv_sizeof_short" >&6; }
16324 cat >>confdefs.h <<_ACEOF
16325 #define SIZEOF_SHORT $ac_cv_sizeof_short
16326 _ACEOF
16329 # The cast to long int works around a bug in the HP C Compiler
16330 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16331 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16332 # This bug is HP SR number 8606223364.
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16334 $as_echo_n "checking size of char... " >&6; }
16335 if test "${ac_cv_sizeof_char+set}" = set; then :
16336 $as_echo_n "(cached) " >&6
16337 else
16338 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16340 else
16341 if test "$ac_cv_type_char" = yes; then
16342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16344 { as_fn_set_status 77
16345 as_fn_error "cannot compute sizeof (char)
16346 See \`config.log' for more details." "$LINENO" 5; }; }
16347 else
16348 ac_cv_sizeof_char=0
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16354 $as_echo "$ac_cv_sizeof_char" >&6; }
16358 cat >>confdefs.h <<_ACEOF
16359 #define SIZEOF_CHAR $ac_cv_sizeof_char
16360 _ACEOF
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16365 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16366 case "$ac_cv_sizeof_char" in
16367 1) acx_cv_type_int8_t=char ;;
16368 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16369 esac
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16371 $as_echo "$acx_cv_type_int8_t" >&6; }
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16374 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16375 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16376 2:*) acx_cv_type_int16_t=int ;;
16377 *:2) acx_cv_type_int16_t=short ;;
16378 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16379 esac
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16381 $as_echo "$acx_cv_type_int16_t" >&6; }
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16384 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16385 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16386 4:*) acx_cv_type_int32_t=int ;;
16387 *:4) acx_cv_type_int32_t=long ;;
16388 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16389 esac
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16391 $as_echo "$acx_cv_type_int32_t" >&6; }
16394 # These tests are here to make the output prettier
16396 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16397 case "$ac_cv_sizeof_long" in
16398 8) acx_cv_type_int64_t=long ;;
16399 esac
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16401 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16403 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16406 # Now we can use the above types
16408 if test "$ac_cv_type_uintptr_t" != yes; then
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16410 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16411 case $ac_cv_sizeof_void_p in
16412 2) acx_cv_type_intptr_t=int16_t ;;
16413 4) acx_cv_type_intptr_t=int32_t ;;
16414 8) acx_cv_type_intptr_t=int64_t ;;
16415 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16416 esac
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16418 $as_echo "$acx_cv_type_intptr_t" >&6; }
16421 # ----------------- done all checks, emit header -------------
16422 ac_config_commands="$ac_config_commands gstdint.h"
16427 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16428 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16432 _ACEOF
16436 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16437 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16439 cat >>confdefs.h <<_ACEOF
16440 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16441 _ACEOF
16445 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16446 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16448 cat >>confdefs.h <<_ACEOF
16449 #define HAVE_STRUCT_STAT_ST_RDEV 1
16450 _ACEOF
16456 # Check for library functions.
16457 if test "x${with_newlib}" = "xyes"; then
16458 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16459 # may not work correctly, because the compiler may not be able to
16460 # link executables.
16462 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16465 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16468 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16471 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16474 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16477 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16480 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16483 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16486 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16489 $as_echo "#define HAVE_STRTOK_R 1" >>confdefs.h
16492 # At some point, we should differentiate between architectures
16493 # like x86, which have long double versions, and alpha/powerpc/etc.,
16494 # which don't. For the time being, punt.
16495 if test x"long_double_math_on_this_cpu" = x"yes"; then
16497 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16500 else
16504 for ac_func in $ac_func_list
16505 do :
16506 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16507 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16508 eval as_val=\$$as_ac_var
16509 if test "x$as_val" = x""yes; then :
16510 cat >>confdefs.h <<_ACEOF
16511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16512 _ACEOF
16515 done
16632 # Check strerror_r, cannot be above as versions with two and three arguments exist
16634 ac_save_CFLAGS="$CFLAGS"
16635 CFLAGS="-Wimplicit-function-declaration -Werror"
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #define _GNU_SOURCE 1
16639 #include <string.h>
16640 #include <locale.h>
16642 main ()
16644 char s[128]; strerror_r(5, s, 128);
16646 return 0;
16648 _ACEOF
16649 if ac_fn_c_try_compile "$LINENO"; then :
16651 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16655 CFLAGS="$ac_save_CFLAGS"
16657 ac_save_CFLAGS="$CFLAGS"
16658 CFLAGS="-Wimplicit-function-declaration -Werror"
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16661 #define _GNU_SOURCE 1
16662 #include <string.h>
16663 #include <locale.h>
16665 main ()
16667 char s[128]; strerror_r(5, s);
16669 return 0;
16671 _ACEOF
16672 if ac_fn_c_try_compile "$LINENO"; then :
16674 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16678 CFLAGS="$ac_save_CFLAGS"
16681 # Check for C99 (and other IEEE) math functions
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16683 $as_echo_n "checking for sin in -lm... " >&6; }
16684 if test "${ac_cv_lib_m_sin+set}" = set; then :
16685 $as_echo_n "(cached) " >&6
16686 else
16687 ac_check_lib_save_LIBS=$LIBS
16688 LIBS="-lm $LIBS"
16689 if test x$gcc_no_link = xyes; then
16690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16695 /* Override any GCC internal prototype to avoid an error.
16696 Use char because int might match the return type of a GCC
16697 builtin and then its argument prototype would still apply. */
16698 #ifdef __cplusplus
16699 extern "C"
16700 #endif
16701 char sin ();
16703 main ()
16705 return sin ();
16707 return 0;
16709 _ACEOF
16710 if ac_fn_c_try_link "$LINENO"; then :
16711 ac_cv_lib_m_sin=yes
16712 else
16713 ac_cv_lib_m_sin=no
16715 rm -f core conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16717 LIBS=$ac_check_lib_save_LIBS
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16720 $as_echo "$ac_cv_lib_m_sin" >&6; }
16721 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16722 cat >>confdefs.h <<_ACEOF
16723 #define HAVE_LIBM 1
16724 _ACEOF
16726 LIBS="-lm $LIBS"
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16737 $as_echo_n "checking for acosf... " >&6; }
16738 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16739 $as_echo_n "(cached) " >&6
16740 else
16741 if test x$gcc_no_link = xyes; then
16742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16745 /* end confdefs.h. */
16747 #ifdef HAVE_COMPLEX_H
16748 #include <complex.h>
16749 #endif
16750 #ifdef HAVE_MATH_H
16751 #include <math.h>
16752 #endif
16754 int (*ptr)() = (int (*)())acosf;
16757 main ()
16759 return 0;
16762 _ACEOF
16763 if ac_fn_c_try_link "$LINENO"; then :
16764 gcc_cv_math_func_acosf=yes
16765 else
16766 gcc_cv_math_func_acosf=no
16768 rm -f core conftest.err conftest.$ac_objext \
16769 conftest$ac_exeext conftest.$ac_ext
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16772 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16773 if test $gcc_cv_math_func_acosf = yes; then
16775 cat >>confdefs.h <<_ACEOF
16776 #define HAVE_ACOSF 1
16777 _ACEOF
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16785 $as_echo_n "checking for acos... " >&6; }
16786 if test "${gcc_cv_math_func_acos+set}" = set; then :
16787 $as_echo_n "(cached) " >&6
16788 else
16789 if test x$gcc_no_link = xyes; then
16790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16793 /* end confdefs.h. */
16795 #ifdef HAVE_COMPLEX_H
16796 #include <complex.h>
16797 #endif
16798 #ifdef HAVE_MATH_H
16799 #include <math.h>
16800 #endif
16802 int (*ptr)() = (int (*)())acos;
16805 main ()
16807 return 0;
16810 _ACEOF
16811 if ac_fn_c_try_link "$LINENO"; then :
16812 gcc_cv_math_func_acos=yes
16813 else
16814 gcc_cv_math_func_acos=no
16816 rm -f core conftest.err conftest.$ac_objext \
16817 conftest$ac_exeext conftest.$ac_ext
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16820 $as_echo "$gcc_cv_math_func_acos" >&6; }
16821 if test $gcc_cv_math_func_acos = yes; then
16823 cat >>confdefs.h <<_ACEOF
16824 #define HAVE_ACOS 1
16825 _ACEOF
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16833 $as_echo_n "checking for acosl... " >&6; }
16834 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16835 $as_echo_n "(cached) " >&6
16836 else
16837 if test x$gcc_no_link = xyes; then
16838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16843 #ifdef HAVE_COMPLEX_H
16844 #include <complex.h>
16845 #endif
16846 #ifdef HAVE_MATH_H
16847 #include <math.h>
16848 #endif
16850 int (*ptr)() = (int (*)())acosl;
16853 main ()
16855 return 0;
16858 _ACEOF
16859 if ac_fn_c_try_link "$LINENO"; then :
16860 gcc_cv_math_func_acosl=yes
16861 else
16862 gcc_cv_math_func_acosl=no
16864 rm -f core conftest.err conftest.$ac_objext \
16865 conftest$ac_exeext conftest.$ac_ext
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16868 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16869 if test $gcc_cv_math_func_acosl = yes; then
16871 cat >>confdefs.h <<_ACEOF
16872 #define HAVE_ACOSL 1
16873 _ACEOF
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16881 $as_echo_n "checking for acoshf... " >&6; }
16882 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16883 $as_echo_n "(cached) " >&6
16884 else
16885 if test x$gcc_no_link = xyes; then
16886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16891 #ifdef HAVE_COMPLEX_H
16892 #include <complex.h>
16893 #endif
16894 #ifdef HAVE_MATH_H
16895 #include <math.h>
16896 #endif
16898 int (*ptr)() = (int (*)())acoshf;
16901 main ()
16903 return 0;
16906 _ACEOF
16907 if ac_fn_c_try_link "$LINENO"; then :
16908 gcc_cv_math_func_acoshf=yes
16909 else
16910 gcc_cv_math_func_acoshf=no
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16916 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16917 if test $gcc_cv_math_func_acoshf = yes; then
16919 cat >>confdefs.h <<_ACEOF
16920 #define HAVE_ACOSHF 1
16921 _ACEOF
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16929 $as_echo_n "checking for acosh... " >&6; }
16930 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16931 $as_echo_n "(cached) " >&6
16932 else
16933 if test x$gcc_no_link = xyes; then
16934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16939 #ifdef HAVE_COMPLEX_H
16940 #include <complex.h>
16941 #endif
16942 #ifdef HAVE_MATH_H
16943 #include <math.h>
16944 #endif
16946 int (*ptr)() = (int (*)())acosh;
16949 main ()
16951 return 0;
16954 _ACEOF
16955 if ac_fn_c_try_link "$LINENO"; then :
16956 gcc_cv_math_func_acosh=yes
16957 else
16958 gcc_cv_math_func_acosh=no
16960 rm -f core conftest.err conftest.$ac_objext \
16961 conftest$ac_exeext conftest.$ac_ext
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16964 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16965 if test $gcc_cv_math_func_acosh = yes; then
16967 cat >>confdefs.h <<_ACEOF
16968 #define HAVE_ACOSH 1
16969 _ACEOF
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16977 $as_echo_n "checking for acoshl... " >&6; }
16978 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16979 $as_echo_n "(cached) " >&6
16980 else
16981 if test x$gcc_no_link = xyes; then
16982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16987 #ifdef HAVE_COMPLEX_H
16988 #include <complex.h>
16989 #endif
16990 #ifdef HAVE_MATH_H
16991 #include <math.h>
16992 #endif
16994 int (*ptr)() = (int (*)())acoshl;
16997 main ()
16999 return 0;
17002 _ACEOF
17003 if ac_fn_c_try_link "$LINENO"; then :
17004 gcc_cv_math_func_acoshl=yes
17005 else
17006 gcc_cv_math_func_acoshl=no
17008 rm -f core conftest.err conftest.$ac_objext \
17009 conftest$ac_exeext conftest.$ac_ext
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17012 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17013 if test $gcc_cv_math_func_acoshl = yes; then
17015 cat >>confdefs.h <<_ACEOF
17016 #define HAVE_ACOSHL 1
17017 _ACEOF
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17025 $as_echo_n "checking for asinf... " >&6; }
17026 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17027 $as_echo_n "(cached) " >&6
17028 else
17029 if test x$gcc_no_link = xyes; then
17030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17035 #ifdef HAVE_COMPLEX_H
17036 #include <complex.h>
17037 #endif
17038 #ifdef HAVE_MATH_H
17039 #include <math.h>
17040 #endif
17042 int (*ptr)() = (int (*)())asinf;
17045 main ()
17047 return 0;
17050 _ACEOF
17051 if ac_fn_c_try_link "$LINENO"; then :
17052 gcc_cv_math_func_asinf=yes
17053 else
17054 gcc_cv_math_func_asinf=no
17056 rm -f core conftest.err conftest.$ac_objext \
17057 conftest$ac_exeext conftest.$ac_ext
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17060 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17061 if test $gcc_cv_math_func_asinf = yes; then
17063 cat >>confdefs.h <<_ACEOF
17064 #define HAVE_ASINF 1
17065 _ACEOF
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17073 $as_echo_n "checking for asin... " >&6; }
17074 if test "${gcc_cv_math_func_asin+set}" = set; then :
17075 $as_echo_n "(cached) " >&6
17076 else
17077 if test x$gcc_no_link = xyes; then
17078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17083 #ifdef HAVE_COMPLEX_H
17084 #include <complex.h>
17085 #endif
17086 #ifdef HAVE_MATH_H
17087 #include <math.h>
17088 #endif
17090 int (*ptr)() = (int (*)())asin;
17093 main ()
17095 return 0;
17098 _ACEOF
17099 if ac_fn_c_try_link "$LINENO"; then :
17100 gcc_cv_math_func_asin=yes
17101 else
17102 gcc_cv_math_func_asin=no
17104 rm -f core conftest.err conftest.$ac_objext \
17105 conftest$ac_exeext conftest.$ac_ext
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17108 $as_echo "$gcc_cv_math_func_asin" >&6; }
17109 if test $gcc_cv_math_func_asin = yes; then
17111 cat >>confdefs.h <<_ACEOF
17112 #define HAVE_ASIN 1
17113 _ACEOF
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17121 $as_echo_n "checking for asinl... " >&6; }
17122 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 if test x$gcc_no_link = xyes; then
17126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17131 #ifdef HAVE_COMPLEX_H
17132 #include <complex.h>
17133 #endif
17134 #ifdef HAVE_MATH_H
17135 #include <math.h>
17136 #endif
17138 int (*ptr)() = (int (*)())asinl;
17141 main ()
17143 return 0;
17146 _ACEOF
17147 if ac_fn_c_try_link "$LINENO"; then :
17148 gcc_cv_math_func_asinl=yes
17149 else
17150 gcc_cv_math_func_asinl=no
17152 rm -f core conftest.err conftest.$ac_objext \
17153 conftest$ac_exeext conftest.$ac_ext
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17156 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17157 if test $gcc_cv_math_func_asinl = yes; then
17159 cat >>confdefs.h <<_ACEOF
17160 #define HAVE_ASINL 1
17161 _ACEOF
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17169 $as_echo_n "checking for asinhf... " >&6; }
17170 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17171 $as_echo_n "(cached) " >&6
17172 else
17173 if test x$gcc_no_link = xyes; then
17174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17179 #ifdef HAVE_COMPLEX_H
17180 #include <complex.h>
17181 #endif
17182 #ifdef HAVE_MATH_H
17183 #include <math.h>
17184 #endif
17186 int (*ptr)() = (int (*)())asinhf;
17189 main ()
17191 return 0;
17194 _ACEOF
17195 if ac_fn_c_try_link "$LINENO"; then :
17196 gcc_cv_math_func_asinhf=yes
17197 else
17198 gcc_cv_math_func_asinhf=no
17200 rm -f core conftest.err conftest.$ac_objext \
17201 conftest$ac_exeext conftest.$ac_ext
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17204 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17205 if test $gcc_cv_math_func_asinhf = yes; then
17207 cat >>confdefs.h <<_ACEOF
17208 #define HAVE_ASINHF 1
17209 _ACEOF
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17217 $as_echo_n "checking for asinh... " >&6; }
17218 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17219 $as_echo_n "(cached) " >&6
17220 else
17221 if test x$gcc_no_link = xyes; then
17222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17227 #ifdef HAVE_COMPLEX_H
17228 #include <complex.h>
17229 #endif
17230 #ifdef HAVE_MATH_H
17231 #include <math.h>
17232 #endif
17234 int (*ptr)() = (int (*)())asinh;
17237 main ()
17239 return 0;
17242 _ACEOF
17243 if ac_fn_c_try_link "$LINENO"; then :
17244 gcc_cv_math_func_asinh=yes
17245 else
17246 gcc_cv_math_func_asinh=no
17248 rm -f core conftest.err conftest.$ac_objext \
17249 conftest$ac_exeext conftest.$ac_ext
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17252 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17253 if test $gcc_cv_math_func_asinh = yes; then
17255 cat >>confdefs.h <<_ACEOF
17256 #define HAVE_ASINH 1
17257 _ACEOF
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17265 $as_echo_n "checking for asinhl... " >&6; }
17266 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17267 $as_echo_n "(cached) " >&6
17268 else
17269 if test x$gcc_no_link = xyes; then
17270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17275 #ifdef HAVE_COMPLEX_H
17276 #include <complex.h>
17277 #endif
17278 #ifdef HAVE_MATH_H
17279 #include <math.h>
17280 #endif
17282 int (*ptr)() = (int (*)())asinhl;
17285 main ()
17287 return 0;
17290 _ACEOF
17291 if ac_fn_c_try_link "$LINENO"; then :
17292 gcc_cv_math_func_asinhl=yes
17293 else
17294 gcc_cv_math_func_asinhl=no
17296 rm -f core conftest.err conftest.$ac_objext \
17297 conftest$ac_exeext conftest.$ac_ext
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17300 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17301 if test $gcc_cv_math_func_asinhl = yes; then
17303 cat >>confdefs.h <<_ACEOF
17304 #define HAVE_ASINHL 1
17305 _ACEOF
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17313 $as_echo_n "checking for atan2f... " >&6; }
17314 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17317 if test x$gcc_no_link = xyes; then
17318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17323 #ifdef HAVE_COMPLEX_H
17324 #include <complex.h>
17325 #endif
17326 #ifdef HAVE_MATH_H
17327 #include <math.h>
17328 #endif
17330 int (*ptr)() = (int (*)())atan2f;
17333 main ()
17335 return 0;
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"; then :
17340 gcc_cv_math_func_atan2f=yes
17341 else
17342 gcc_cv_math_func_atan2f=no
17344 rm -f core conftest.err conftest.$ac_objext \
17345 conftest$ac_exeext conftest.$ac_ext
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17348 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17349 if test $gcc_cv_math_func_atan2f = yes; then
17351 cat >>confdefs.h <<_ACEOF
17352 #define HAVE_ATAN2F 1
17353 _ACEOF
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17361 $as_echo_n "checking for atan2... " >&6; }
17362 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17363 $as_echo_n "(cached) " >&6
17364 else
17365 if test x$gcc_no_link = xyes; then
17366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h. */
17371 #ifdef HAVE_COMPLEX_H
17372 #include <complex.h>
17373 #endif
17374 #ifdef HAVE_MATH_H
17375 #include <math.h>
17376 #endif
17378 int (*ptr)() = (int (*)())atan2;
17381 main ()
17383 return 0;
17386 _ACEOF
17387 if ac_fn_c_try_link "$LINENO"; then :
17388 gcc_cv_math_func_atan2=yes
17389 else
17390 gcc_cv_math_func_atan2=no
17392 rm -f core conftest.err conftest.$ac_objext \
17393 conftest$ac_exeext conftest.$ac_ext
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17396 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17397 if test $gcc_cv_math_func_atan2 = yes; then
17399 cat >>confdefs.h <<_ACEOF
17400 #define HAVE_ATAN2 1
17401 _ACEOF
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17409 $as_echo_n "checking for atan2l... " >&6; }
17410 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 if test x$gcc_no_link = xyes; then
17414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17419 #ifdef HAVE_COMPLEX_H
17420 #include <complex.h>
17421 #endif
17422 #ifdef HAVE_MATH_H
17423 #include <math.h>
17424 #endif
17426 int (*ptr)() = (int (*)())atan2l;
17429 main ()
17431 return 0;
17434 _ACEOF
17435 if ac_fn_c_try_link "$LINENO"; then :
17436 gcc_cv_math_func_atan2l=yes
17437 else
17438 gcc_cv_math_func_atan2l=no
17440 rm -f core conftest.err conftest.$ac_objext \
17441 conftest$ac_exeext conftest.$ac_ext
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17444 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17445 if test $gcc_cv_math_func_atan2l = yes; then
17447 cat >>confdefs.h <<_ACEOF
17448 #define HAVE_ATAN2L 1
17449 _ACEOF
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17457 $as_echo_n "checking for atanf... " >&6; }
17458 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17459 $as_echo_n "(cached) " >&6
17460 else
17461 if test x$gcc_no_link = xyes; then
17462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17467 #ifdef HAVE_COMPLEX_H
17468 #include <complex.h>
17469 #endif
17470 #ifdef HAVE_MATH_H
17471 #include <math.h>
17472 #endif
17474 int (*ptr)() = (int (*)())atanf;
17477 main ()
17479 return 0;
17482 _ACEOF
17483 if ac_fn_c_try_link "$LINENO"; then :
17484 gcc_cv_math_func_atanf=yes
17485 else
17486 gcc_cv_math_func_atanf=no
17488 rm -f core conftest.err conftest.$ac_objext \
17489 conftest$ac_exeext conftest.$ac_ext
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17492 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17493 if test $gcc_cv_math_func_atanf = yes; then
17495 cat >>confdefs.h <<_ACEOF
17496 #define HAVE_ATANF 1
17497 _ACEOF
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17505 $as_echo_n "checking for atan... " >&6; }
17506 if test "${gcc_cv_math_func_atan+set}" = set; then :
17507 $as_echo_n "(cached) " >&6
17508 else
17509 if test x$gcc_no_link = xyes; then
17510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17515 #ifdef HAVE_COMPLEX_H
17516 #include <complex.h>
17517 #endif
17518 #ifdef HAVE_MATH_H
17519 #include <math.h>
17520 #endif
17522 int (*ptr)() = (int (*)())atan;
17525 main ()
17527 return 0;
17530 _ACEOF
17531 if ac_fn_c_try_link "$LINENO"; then :
17532 gcc_cv_math_func_atan=yes
17533 else
17534 gcc_cv_math_func_atan=no
17536 rm -f core conftest.err conftest.$ac_objext \
17537 conftest$ac_exeext conftest.$ac_ext
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17540 $as_echo "$gcc_cv_math_func_atan" >&6; }
17541 if test $gcc_cv_math_func_atan = yes; then
17543 cat >>confdefs.h <<_ACEOF
17544 #define HAVE_ATAN 1
17545 _ACEOF
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17553 $as_echo_n "checking for atanl... " >&6; }
17554 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17555 $as_echo_n "(cached) " >&6
17556 else
17557 if test x$gcc_no_link = xyes; then
17558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17563 #ifdef HAVE_COMPLEX_H
17564 #include <complex.h>
17565 #endif
17566 #ifdef HAVE_MATH_H
17567 #include <math.h>
17568 #endif
17570 int (*ptr)() = (int (*)())atanl;
17573 main ()
17575 return 0;
17578 _ACEOF
17579 if ac_fn_c_try_link "$LINENO"; then :
17580 gcc_cv_math_func_atanl=yes
17581 else
17582 gcc_cv_math_func_atanl=no
17584 rm -f core conftest.err conftest.$ac_objext \
17585 conftest$ac_exeext conftest.$ac_ext
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17588 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17589 if test $gcc_cv_math_func_atanl = yes; then
17591 cat >>confdefs.h <<_ACEOF
17592 #define HAVE_ATANL 1
17593 _ACEOF
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17601 $as_echo_n "checking for atanhf... " >&6; }
17602 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17605 if test x$gcc_no_link = xyes; then
17606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17609 /* end confdefs.h. */
17611 #ifdef HAVE_COMPLEX_H
17612 #include <complex.h>
17613 #endif
17614 #ifdef HAVE_MATH_H
17615 #include <math.h>
17616 #endif
17618 int (*ptr)() = (int (*)())atanhf;
17621 main ()
17623 return 0;
17626 _ACEOF
17627 if ac_fn_c_try_link "$LINENO"; then :
17628 gcc_cv_math_func_atanhf=yes
17629 else
17630 gcc_cv_math_func_atanhf=no
17632 rm -f core conftest.err conftest.$ac_objext \
17633 conftest$ac_exeext conftest.$ac_ext
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17636 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17637 if test $gcc_cv_math_func_atanhf = yes; then
17639 cat >>confdefs.h <<_ACEOF
17640 #define HAVE_ATANHF 1
17641 _ACEOF
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17649 $as_echo_n "checking for atanh... " >&6; }
17650 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17651 $as_echo_n "(cached) " >&6
17652 else
17653 if test x$gcc_no_link = xyes; then
17654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17659 #ifdef HAVE_COMPLEX_H
17660 #include <complex.h>
17661 #endif
17662 #ifdef HAVE_MATH_H
17663 #include <math.h>
17664 #endif
17666 int (*ptr)() = (int (*)())atanh;
17669 main ()
17671 return 0;
17674 _ACEOF
17675 if ac_fn_c_try_link "$LINENO"; then :
17676 gcc_cv_math_func_atanh=yes
17677 else
17678 gcc_cv_math_func_atanh=no
17680 rm -f core conftest.err conftest.$ac_objext \
17681 conftest$ac_exeext conftest.$ac_ext
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17684 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17685 if test $gcc_cv_math_func_atanh = yes; then
17687 cat >>confdefs.h <<_ACEOF
17688 #define HAVE_ATANH 1
17689 _ACEOF
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17697 $as_echo_n "checking for atanhl... " >&6; }
17698 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17699 $as_echo_n "(cached) " >&6
17700 else
17701 if test x$gcc_no_link = xyes; then
17702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17707 #ifdef HAVE_COMPLEX_H
17708 #include <complex.h>
17709 #endif
17710 #ifdef HAVE_MATH_H
17711 #include <math.h>
17712 #endif
17714 int (*ptr)() = (int (*)())atanhl;
17717 main ()
17719 return 0;
17722 _ACEOF
17723 if ac_fn_c_try_link "$LINENO"; then :
17724 gcc_cv_math_func_atanhl=yes
17725 else
17726 gcc_cv_math_func_atanhl=no
17728 rm -f core conftest.err conftest.$ac_objext \
17729 conftest$ac_exeext conftest.$ac_ext
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17732 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17733 if test $gcc_cv_math_func_atanhl = yes; then
17735 cat >>confdefs.h <<_ACEOF
17736 #define HAVE_ATANHL 1
17737 _ACEOF
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17745 $as_echo_n "checking for cargf... " >&6; }
17746 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17747 $as_echo_n "(cached) " >&6
17748 else
17749 if test x$gcc_no_link = xyes; then
17750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17755 #ifdef HAVE_COMPLEX_H
17756 #include <complex.h>
17757 #endif
17758 #ifdef HAVE_MATH_H
17759 #include <math.h>
17760 #endif
17762 int (*ptr)() = (int (*)())cargf;
17765 main ()
17767 return 0;
17770 _ACEOF
17771 if ac_fn_c_try_link "$LINENO"; then :
17772 gcc_cv_math_func_cargf=yes
17773 else
17774 gcc_cv_math_func_cargf=no
17776 rm -f core conftest.err conftest.$ac_objext \
17777 conftest$ac_exeext conftest.$ac_ext
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17780 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17781 if test $gcc_cv_math_func_cargf = yes; then
17783 cat >>confdefs.h <<_ACEOF
17784 #define HAVE_CARGF 1
17785 _ACEOF
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17793 $as_echo_n "checking for carg... " >&6; }
17794 if test "${gcc_cv_math_func_carg+set}" = set; then :
17795 $as_echo_n "(cached) " >&6
17796 else
17797 if test x$gcc_no_link = xyes; then
17798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17803 #ifdef HAVE_COMPLEX_H
17804 #include <complex.h>
17805 #endif
17806 #ifdef HAVE_MATH_H
17807 #include <math.h>
17808 #endif
17810 int (*ptr)() = (int (*)())carg;
17813 main ()
17815 return 0;
17818 _ACEOF
17819 if ac_fn_c_try_link "$LINENO"; then :
17820 gcc_cv_math_func_carg=yes
17821 else
17822 gcc_cv_math_func_carg=no
17824 rm -f core conftest.err conftest.$ac_objext \
17825 conftest$ac_exeext conftest.$ac_ext
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17828 $as_echo "$gcc_cv_math_func_carg" >&6; }
17829 if test $gcc_cv_math_func_carg = yes; then
17831 cat >>confdefs.h <<_ACEOF
17832 #define HAVE_CARG 1
17833 _ACEOF
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17841 $as_echo_n "checking for cargl... " >&6; }
17842 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17843 $as_echo_n "(cached) " >&6
17844 else
17845 if test x$gcc_no_link = xyes; then
17846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17849 /* end confdefs.h. */
17851 #ifdef HAVE_COMPLEX_H
17852 #include <complex.h>
17853 #endif
17854 #ifdef HAVE_MATH_H
17855 #include <math.h>
17856 #endif
17858 int (*ptr)() = (int (*)())cargl;
17861 main ()
17863 return 0;
17866 _ACEOF
17867 if ac_fn_c_try_link "$LINENO"; then :
17868 gcc_cv_math_func_cargl=yes
17869 else
17870 gcc_cv_math_func_cargl=no
17872 rm -f core conftest.err conftest.$ac_objext \
17873 conftest$ac_exeext conftest.$ac_ext
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17876 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17877 if test $gcc_cv_math_func_cargl = yes; then
17879 cat >>confdefs.h <<_ACEOF
17880 #define HAVE_CARGL 1
17881 _ACEOF
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17889 $as_echo_n "checking for ceilf... " >&6; }
17890 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17891 $as_echo_n "(cached) " >&6
17892 else
17893 if test x$gcc_no_link = xyes; then
17894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17899 #ifdef HAVE_COMPLEX_H
17900 #include <complex.h>
17901 #endif
17902 #ifdef HAVE_MATH_H
17903 #include <math.h>
17904 #endif
17906 int (*ptr)() = (int (*)())ceilf;
17909 main ()
17911 return 0;
17914 _ACEOF
17915 if ac_fn_c_try_link "$LINENO"; then :
17916 gcc_cv_math_func_ceilf=yes
17917 else
17918 gcc_cv_math_func_ceilf=no
17920 rm -f core conftest.err conftest.$ac_objext \
17921 conftest$ac_exeext conftest.$ac_ext
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17924 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17925 if test $gcc_cv_math_func_ceilf = yes; then
17927 cat >>confdefs.h <<_ACEOF
17928 #define HAVE_CEILF 1
17929 _ACEOF
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17937 $as_echo_n "checking for ceil... " >&6; }
17938 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17939 $as_echo_n "(cached) " >&6
17940 else
17941 if test x$gcc_no_link = xyes; then
17942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17945 /* end confdefs.h. */
17947 #ifdef HAVE_COMPLEX_H
17948 #include <complex.h>
17949 #endif
17950 #ifdef HAVE_MATH_H
17951 #include <math.h>
17952 #endif
17954 int (*ptr)() = (int (*)())ceil;
17957 main ()
17959 return 0;
17962 _ACEOF
17963 if ac_fn_c_try_link "$LINENO"; then :
17964 gcc_cv_math_func_ceil=yes
17965 else
17966 gcc_cv_math_func_ceil=no
17968 rm -f core conftest.err conftest.$ac_objext \
17969 conftest$ac_exeext conftest.$ac_ext
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17972 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17973 if test $gcc_cv_math_func_ceil = yes; then
17975 cat >>confdefs.h <<_ACEOF
17976 #define HAVE_CEIL 1
17977 _ACEOF
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17985 $as_echo_n "checking for ceill... " >&6; }
17986 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17987 $as_echo_n "(cached) " >&6
17988 else
17989 if test x$gcc_no_link = xyes; then
17990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17993 /* end confdefs.h. */
17995 #ifdef HAVE_COMPLEX_H
17996 #include <complex.h>
17997 #endif
17998 #ifdef HAVE_MATH_H
17999 #include <math.h>
18000 #endif
18002 int (*ptr)() = (int (*)())ceill;
18005 main ()
18007 return 0;
18010 _ACEOF
18011 if ac_fn_c_try_link "$LINENO"; then :
18012 gcc_cv_math_func_ceill=yes
18013 else
18014 gcc_cv_math_func_ceill=no
18016 rm -f core conftest.err conftest.$ac_objext \
18017 conftest$ac_exeext conftest.$ac_ext
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18020 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18021 if test $gcc_cv_math_func_ceill = yes; then
18023 cat >>confdefs.h <<_ACEOF
18024 #define HAVE_CEILL 1
18025 _ACEOF
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18033 $as_echo_n "checking for copysignf... " >&6; }
18034 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18035 $as_echo_n "(cached) " >&6
18036 else
18037 if test x$gcc_no_link = xyes; then
18038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h. */
18043 #ifdef HAVE_COMPLEX_H
18044 #include <complex.h>
18045 #endif
18046 #ifdef HAVE_MATH_H
18047 #include <math.h>
18048 #endif
18050 int (*ptr)() = (int (*)())copysignf;
18053 main ()
18055 return 0;
18058 _ACEOF
18059 if ac_fn_c_try_link "$LINENO"; then :
18060 gcc_cv_math_func_copysignf=yes
18061 else
18062 gcc_cv_math_func_copysignf=no
18064 rm -f core conftest.err conftest.$ac_objext \
18065 conftest$ac_exeext conftest.$ac_ext
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18068 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18069 if test $gcc_cv_math_func_copysignf = yes; then
18071 cat >>confdefs.h <<_ACEOF
18072 #define HAVE_COPYSIGNF 1
18073 _ACEOF
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18081 $as_echo_n "checking for copysign... " >&6; }
18082 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18083 $as_echo_n "(cached) " >&6
18084 else
18085 if test x$gcc_no_link = xyes; then
18086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18091 #ifdef HAVE_COMPLEX_H
18092 #include <complex.h>
18093 #endif
18094 #ifdef HAVE_MATH_H
18095 #include <math.h>
18096 #endif
18098 int (*ptr)() = (int (*)())copysign;
18101 main ()
18103 return 0;
18106 _ACEOF
18107 if ac_fn_c_try_link "$LINENO"; then :
18108 gcc_cv_math_func_copysign=yes
18109 else
18110 gcc_cv_math_func_copysign=no
18112 rm -f core conftest.err conftest.$ac_objext \
18113 conftest$ac_exeext conftest.$ac_ext
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18116 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18117 if test $gcc_cv_math_func_copysign = yes; then
18119 cat >>confdefs.h <<_ACEOF
18120 #define HAVE_COPYSIGN 1
18121 _ACEOF
18128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18129 $as_echo_n "checking for copysignl... " >&6; }
18130 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18131 $as_echo_n "(cached) " >&6
18132 else
18133 if test x$gcc_no_link = xyes; then
18134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18139 #ifdef HAVE_COMPLEX_H
18140 #include <complex.h>
18141 #endif
18142 #ifdef HAVE_MATH_H
18143 #include <math.h>
18144 #endif
18146 int (*ptr)() = (int (*)())copysignl;
18149 main ()
18151 return 0;
18154 _ACEOF
18155 if ac_fn_c_try_link "$LINENO"; then :
18156 gcc_cv_math_func_copysignl=yes
18157 else
18158 gcc_cv_math_func_copysignl=no
18160 rm -f core conftest.err conftest.$ac_objext \
18161 conftest$ac_exeext conftest.$ac_ext
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18164 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18165 if test $gcc_cv_math_func_copysignl = yes; then
18167 cat >>confdefs.h <<_ACEOF
18168 #define HAVE_COPYSIGNL 1
18169 _ACEOF
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18177 $as_echo_n "checking for cosf... " >&6; }
18178 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18179 $as_echo_n "(cached) " >&6
18180 else
18181 if test x$gcc_no_link = xyes; then
18182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185 /* end confdefs.h. */
18187 #ifdef HAVE_COMPLEX_H
18188 #include <complex.h>
18189 #endif
18190 #ifdef HAVE_MATH_H
18191 #include <math.h>
18192 #endif
18194 int (*ptr)() = (int (*)())cosf;
18197 main ()
18199 return 0;
18202 _ACEOF
18203 if ac_fn_c_try_link "$LINENO"; then :
18204 gcc_cv_math_func_cosf=yes
18205 else
18206 gcc_cv_math_func_cosf=no
18208 rm -f core conftest.err conftest.$ac_objext \
18209 conftest$ac_exeext conftest.$ac_ext
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18212 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18213 if test $gcc_cv_math_func_cosf = yes; then
18215 cat >>confdefs.h <<_ACEOF
18216 #define HAVE_COSF 1
18217 _ACEOF
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18225 $as_echo_n "checking for cos... " >&6; }
18226 if test "${gcc_cv_math_func_cos+set}" = set; then :
18227 $as_echo_n "(cached) " >&6
18228 else
18229 if test x$gcc_no_link = xyes; then
18230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18233 /* end confdefs.h. */
18235 #ifdef HAVE_COMPLEX_H
18236 #include <complex.h>
18237 #endif
18238 #ifdef HAVE_MATH_H
18239 #include <math.h>
18240 #endif
18242 int (*ptr)() = (int (*)())cos;
18245 main ()
18247 return 0;
18250 _ACEOF
18251 if ac_fn_c_try_link "$LINENO"; then :
18252 gcc_cv_math_func_cos=yes
18253 else
18254 gcc_cv_math_func_cos=no
18256 rm -f core conftest.err conftest.$ac_objext \
18257 conftest$ac_exeext conftest.$ac_ext
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18260 $as_echo "$gcc_cv_math_func_cos" >&6; }
18261 if test $gcc_cv_math_func_cos = yes; then
18263 cat >>confdefs.h <<_ACEOF
18264 #define HAVE_COS 1
18265 _ACEOF
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18273 $as_echo_n "checking for cosl... " >&6; }
18274 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18275 $as_echo_n "(cached) " >&6
18276 else
18277 if test x$gcc_no_link = xyes; then
18278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18283 #ifdef HAVE_COMPLEX_H
18284 #include <complex.h>
18285 #endif
18286 #ifdef HAVE_MATH_H
18287 #include <math.h>
18288 #endif
18290 int (*ptr)() = (int (*)())cosl;
18293 main ()
18295 return 0;
18298 _ACEOF
18299 if ac_fn_c_try_link "$LINENO"; then :
18300 gcc_cv_math_func_cosl=yes
18301 else
18302 gcc_cv_math_func_cosl=no
18304 rm -f core conftest.err conftest.$ac_objext \
18305 conftest$ac_exeext conftest.$ac_ext
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18308 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18309 if test $gcc_cv_math_func_cosl = yes; then
18311 cat >>confdefs.h <<_ACEOF
18312 #define HAVE_COSL 1
18313 _ACEOF
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18321 $as_echo_n "checking for ccosf... " >&6; }
18322 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18323 $as_echo_n "(cached) " >&6
18324 else
18325 if test x$gcc_no_link = xyes; then
18326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18329 /* end confdefs.h. */
18331 #ifdef HAVE_COMPLEX_H
18332 #include <complex.h>
18333 #endif
18334 #ifdef HAVE_MATH_H
18335 #include <math.h>
18336 #endif
18338 int (*ptr)() = (int (*)())ccosf;
18341 main ()
18343 return 0;
18346 _ACEOF
18347 if ac_fn_c_try_link "$LINENO"; then :
18348 gcc_cv_math_func_ccosf=yes
18349 else
18350 gcc_cv_math_func_ccosf=no
18352 rm -f core conftest.err conftest.$ac_objext \
18353 conftest$ac_exeext conftest.$ac_ext
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18356 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18357 if test $gcc_cv_math_func_ccosf = yes; then
18359 cat >>confdefs.h <<_ACEOF
18360 #define HAVE_CCOSF 1
18361 _ACEOF
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18369 $as_echo_n "checking for ccos... " >&6; }
18370 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18371 $as_echo_n "(cached) " >&6
18372 else
18373 if test x$gcc_no_link = xyes; then
18374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18379 #ifdef HAVE_COMPLEX_H
18380 #include <complex.h>
18381 #endif
18382 #ifdef HAVE_MATH_H
18383 #include <math.h>
18384 #endif
18386 int (*ptr)() = (int (*)())ccos;
18389 main ()
18391 return 0;
18394 _ACEOF
18395 if ac_fn_c_try_link "$LINENO"; then :
18396 gcc_cv_math_func_ccos=yes
18397 else
18398 gcc_cv_math_func_ccos=no
18400 rm -f core conftest.err conftest.$ac_objext \
18401 conftest$ac_exeext conftest.$ac_ext
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18404 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18405 if test $gcc_cv_math_func_ccos = yes; then
18407 cat >>confdefs.h <<_ACEOF
18408 #define HAVE_CCOS 1
18409 _ACEOF
18416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18417 $as_echo_n "checking for ccosl... " >&6; }
18418 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18419 $as_echo_n "(cached) " >&6
18420 else
18421 if test x$gcc_no_link = xyes; then
18422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18425 /* end confdefs.h. */
18427 #ifdef HAVE_COMPLEX_H
18428 #include <complex.h>
18429 #endif
18430 #ifdef HAVE_MATH_H
18431 #include <math.h>
18432 #endif
18434 int (*ptr)() = (int (*)())ccosl;
18437 main ()
18439 return 0;
18442 _ACEOF
18443 if ac_fn_c_try_link "$LINENO"; then :
18444 gcc_cv_math_func_ccosl=yes
18445 else
18446 gcc_cv_math_func_ccosl=no
18448 rm -f core conftest.err conftest.$ac_objext \
18449 conftest$ac_exeext conftest.$ac_ext
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18452 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18453 if test $gcc_cv_math_func_ccosl = yes; then
18455 cat >>confdefs.h <<_ACEOF
18456 #define HAVE_CCOSL 1
18457 _ACEOF
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18465 $as_echo_n "checking for coshf... " >&6; }
18466 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18467 $as_echo_n "(cached) " >&6
18468 else
18469 if test x$gcc_no_link = xyes; then
18470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18475 #ifdef HAVE_COMPLEX_H
18476 #include <complex.h>
18477 #endif
18478 #ifdef HAVE_MATH_H
18479 #include <math.h>
18480 #endif
18482 int (*ptr)() = (int (*)())coshf;
18485 main ()
18487 return 0;
18490 _ACEOF
18491 if ac_fn_c_try_link "$LINENO"; then :
18492 gcc_cv_math_func_coshf=yes
18493 else
18494 gcc_cv_math_func_coshf=no
18496 rm -f core conftest.err conftest.$ac_objext \
18497 conftest$ac_exeext conftest.$ac_ext
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18500 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18501 if test $gcc_cv_math_func_coshf = yes; then
18503 cat >>confdefs.h <<_ACEOF
18504 #define HAVE_COSHF 1
18505 _ACEOF
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18513 $as_echo_n "checking for cosh... " >&6; }
18514 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18515 $as_echo_n "(cached) " >&6
18516 else
18517 if test x$gcc_no_link = xyes; then
18518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18521 /* end confdefs.h. */
18523 #ifdef HAVE_COMPLEX_H
18524 #include <complex.h>
18525 #endif
18526 #ifdef HAVE_MATH_H
18527 #include <math.h>
18528 #endif
18530 int (*ptr)() = (int (*)())cosh;
18533 main ()
18535 return 0;
18538 _ACEOF
18539 if ac_fn_c_try_link "$LINENO"; then :
18540 gcc_cv_math_func_cosh=yes
18541 else
18542 gcc_cv_math_func_cosh=no
18544 rm -f core conftest.err conftest.$ac_objext \
18545 conftest$ac_exeext conftest.$ac_ext
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18548 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18549 if test $gcc_cv_math_func_cosh = yes; then
18551 cat >>confdefs.h <<_ACEOF
18552 #define HAVE_COSH 1
18553 _ACEOF
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18561 $as_echo_n "checking for coshl... " >&6; }
18562 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18563 $as_echo_n "(cached) " >&6
18564 else
18565 if test x$gcc_no_link = xyes; then
18566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18571 #ifdef HAVE_COMPLEX_H
18572 #include <complex.h>
18573 #endif
18574 #ifdef HAVE_MATH_H
18575 #include <math.h>
18576 #endif
18578 int (*ptr)() = (int (*)())coshl;
18581 main ()
18583 return 0;
18586 _ACEOF
18587 if ac_fn_c_try_link "$LINENO"; then :
18588 gcc_cv_math_func_coshl=yes
18589 else
18590 gcc_cv_math_func_coshl=no
18592 rm -f core conftest.err conftest.$ac_objext \
18593 conftest$ac_exeext conftest.$ac_ext
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18596 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18597 if test $gcc_cv_math_func_coshl = yes; then
18599 cat >>confdefs.h <<_ACEOF
18600 #define HAVE_COSHL 1
18601 _ACEOF
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18609 $as_echo_n "checking for ccoshf... " >&6; }
18610 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18611 $as_echo_n "(cached) " >&6
18612 else
18613 if test x$gcc_no_link = xyes; then
18614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18619 #ifdef HAVE_COMPLEX_H
18620 #include <complex.h>
18621 #endif
18622 #ifdef HAVE_MATH_H
18623 #include <math.h>
18624 #endif
18626 int (*ptr)() = (int (*)())ccoshf;
18629 main ()
18631 return 0;
18634 _ACEOF
18635 if ac_fn_c_try_link "$LINENO"; then :
18636 gcc_cv_math_func_ccoshf=yes
18637 else
18638 gcc_cv_math_func_ccoshf=no
18640 rm -f core conftest.err conftest.$ac_objext \
18641 conftest$ac_exeext conftest.$ac_ext
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18644 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18645 if test $gcc_cv_math_func_ccoshf = yes; then
18647 cat >>confdefs.h <<_ACEOF
18648 #define HAVE_CCOSHF 1
18649 _ACEOF
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18657 $as_echo_n "checking for ccosh... " >&6; }
18658 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18659 $as_echo_n "(cached) " >&6
18660 else
18661 if test x$gcc_no_link = xyes; then
18662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18667 #ifdef HAVE_COMPLEX_H
18668 #include <complex.h>
18669 #endif
18670 #ifdef HAVE_MATH_H
18671 #include <math.h>
18672 #endif
18674 int (*ptr)() = (int (*)())ccosh;
18677 main ()
18679 return 0;
18682 _ACEOF
18683 if ac_fn_c_try_link "$LINENO"; then :
18684 gcc_cv_math_func_ccosh=yes
18685 else
18686 gcc_cv_math_func_ccosh=no
18688 rm -f core conftest.err conftest.$ac_objext \
18689 conftest$ac_exeext conftest.$ac_ext
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18692 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18693 if test $gcc_cv_math_func_ccosh = yes; then
18695 cat >>confdefs.h <<_ACEOF
18696 #define HAVE_CCOSH 1
18697 _ACEOF
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18705 $as_echo_n "checking for ccoshl... " >&6; }
18706 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18707 $as_echo_n "(cached) " >&6
18708 else
18709 if test x$gcc_no_link = xyes; then
18710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18713 /* end confdefs.h. */
18715 #ifdef HAVE_COMPLEX_H
18716 #include <complex.h>
18717 #endif
18718 #ifdef HAVE_MATH_H
18719 #include <math.h>
18720 #endif
18722 int (*ptr)() = (int (*)())ccoshl;
18725 main ()
18727 return 0;
18730 _ACEOF
18731 if ac_fn_c_try_link "$LINENO"; then :
18732 gcc_cv_math_func_ccoshl=yes
18733 else
18734 gcc_cv_math_func_ccoshl=no
18736 rm -f core conftest.err conftest.$ac_objext \
18737 conftest$ac_exeext conftest.$ac_ext
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18740 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18741 if test $gcc_cv_math_func_ccoshl = yes; then
18743 cat >>confdefs.h <<_ACEOF
18744 #define HAVE_CCOSHL 1
18745 _ACEOF
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18753 $as_echo_n "checking for expf... " >&6; }
18754 if test "${gcc_cv_math_func_expf+set}" = set; then :
18755 $as_echo_n "(cached) " >&6
18756 else
18757 if test x$gcc_no_link = xyes; then
18758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h. */
18763 #ifdef HAVE_COMPLEX_H
18764 #include <complex.h>
18765 #endif
18766 #ifdef HAVE_MATH_H
18767 #include <math.h>
18768 #endif
18770 int (*ptr)() = (int (*)())expf;
18773 main ()
18775 return 0;
18778 _ACEOF
18779 if ac_fn_c_try_link "$LINENO"; then :
18780 gcc_cv_math_func_expf=yes
18781 else
18782 gcc_cv_math_func_expf=no
18784 rm -f core conftest.err conftest.$ac_objext \
18785 conftest$ac_exeext conftest.$ac_ext
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18788 $as_echo "$gcc_cv_math_func_expf" >&6; }
18789 if test $gcc_cv_math_func_expf = yes; then
18791 cat >>confdefs.h <<_ACEOF
18792 #define HAVE_EXPF 1
18793 _ACEOF
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18801 $as_echo_n "checking for exp... " >&6; }
18802 if test "${gcc_cv_math_func_exp+set}" = set; then :
18803 $as_echo_n "(cached) " >&6
18804 else
18805 if test x$gcc_no_link = xyes; then
18806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18811 #ifdef HAVE_COMPLEX_H
18812 #include <complex.h>
18813 #endif
18814 #ifdef HAVE_MATH_H
18815 #include <math.h>
18816 #endif
18818 int (*ptr)() = (int (*)())exp;
18821 main ()
18823 return 0;
18826 _ACEOF
18827 if ac_fn_c_try_link "$LINENO"; then :
18828 gcc_cv_math_func_exp=yes
18829 else
18830 gcc_cv_math_func_exp=no
18832 rm -f core conftest.err conftest.$ac_objext \
18833 conftest$ac_exeext conftest.$ac_ext
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18836 $as_echo "$gcc_cv_math_func_exp" >&6; }
18837 if test $gcc_cv_math_func_exp = yes; then
18839 cat >>confdefs.h <<_ACEOF
18840 #define HAVE_EXP 1
18841 _ACEOF
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18849 $as_echo_n "checking for expl... " >&6; }
18850 if test "${gcc_cv_math_func_expl+set}" = set; then :
18851 $as_echo_n "(cached) " >&6
18852 else
18853 if test x$gcc_no_link = xyes; then
18854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18859 #ifdef HAVE_COMPLEX_H
18860 #include <complex.h>
18861 #endif
18862 #ifdef HAVE_MATH_H
18863 #include <math.h>
18864 #endif
18866 int (*ptr)() = (int (*)())expl;
18869 main ()
18871 return 0;
18874 _ACEOF
18875 if ac_fn_c_try_link "$LINENO"; then :
18876 gcc_cv_math_func_expl=yes
18877 else
18878 gcc_cv_math_func_expl=no
18880 rm -f core conftest.err conftest.$ac_objext \
18881 conftest$ac_exeext conftest.$ac_ext
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18884 $as_echo "$gcc_cv_math_func_expl" >&6; }
18885 if test $gcc_cv_math_func_expl = yes; then
18887 cat >>confdefs.h <<_ACEOF
18888 #define HAVE_EXPL 1
18889 _ACEOF
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18897 $as_echo_n "checking for cexpf... " >&6; }
18898 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18899 $as_echo_n "(cached) " >&6
18900 else
18901 if test x$gcc_no_link = xyes; then
18902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18905 /* end confdefs.h. */
18907 #ifdef HAVE_COMPLEX_H
18908 #include <complex.h>
18909 #endif
18910 #ifdef HAVE_MATH_H
18911 #include <math.h>
18912 #endif
18914 int (*ptr)() = (int (*)())cexpf;
18917 main ()
18919 return 0;
18922 _ACEOF
18923 if ac_fn_c_try_link "$LINENO"; then :
18924 gcc_cv_math_func_cexpf=yes
18925 else
18926 gcc_cv_math_func_cexpf=no
18928 rm -f core conftest.err conftest.$ac_objext \
18929 conftest$ac_exeext conftest.$ac_ext
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18932 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18933 if test $gcc_cv_math_func_cexpf = yes; then
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_CEXPF 1
18937 _ACEOF
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18945 $as_echo_n "checking for cexp... " >&6; }
18946 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18947 $as_echo_n "(cached) " >&6
18948 else
18949 if test x$gcc_no_link = xyes; then
18950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18953 /* end confdefs.h. */
18955 #ifdef HAVE_COMPLEX_H
18956 #include <complex.h>
18957 #endif
18958 #ifdef HAVE_MATH_H
18959 #include <math.h>
18960 #endif
18962 int (*ptr)() = (int (*)())cexp;
18965 main ()
18967 return 0;
18970 _ACEOF
18971 if ac_fn_c_try_link "$LINENO"; then :
18972 gcc_cv_math_func_cexp=yes
18973 else
18974 gcc_cv_math_func_cexp=no
18976 rm -f core conftest.err conftest.$ac_objext \
18977 conftest$ac_exeext conftest.$ac_ext
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18980 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18981 if test $gcc_cv_math_func_cexp = yes; then
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_CEXP 1
18985 _ACEOF
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18993 $as_echo_n "checking for cexpl... " >&6; }
18994 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18995 $as_echo_n "(cached) " >&6
18996 else
18997 if test x$gcc_no_link = xyes; then
18998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19003 #ifdef HAVE_COMPLEX_H
19004 #include <complex.h>
19005 #endif
19006 #ifdef HAVE_MATH_H
19007 #include <math.h>
19008 #endif
19010 int (*ptr)() = (int (*)())cexpl;
19013 main ()
19015 return 0;
19018 _ACEOF
19019 if ac_fn_c_try_link "$LINENO"; then :
19020 gcc_cv_math_func_cexpl=yes
19021 else
19022 gcc_cv_math_func_cexpl=no
19024 rm -f core conftest.err conftest.$ac_objext \
19025 conftest$ac_exeext conftest.$ac_ext
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19028 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19029 if test $gcc_cv_math_func_cexpl = yes; then
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_CEXPL 1
19033 _ACEOF
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19041 $as_echo_n "checking for fabsf... " >&6; }
19042 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19043 $as_echo_n "(cached) " >&6
19044 else
19045 if test x$gcc_no_link = xyes; then
19046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19049 /* end confdefs.h. */
19051 #ifdef HAVE_COMPLEX_H
19052 #include <complex.h>
19053 #endif
19054 #ifdef HAVE_MATH_H
19055 #include <math.h>
19056 #endif
19058 int (*ptr)() = (int (*)())fabsf;
19061 main ()
19063 return 0;
19066 _ACEOF
19067 if ac_fn_c_try_link "$LINENO"; then :
19068 gcc_cv_math_func_fabsf=yes
19069 else
19070 gcc_cv_math_func_fabsf=no
19072 rm -f core conftest.err conftest.$ac_objext \
19073 conftest$ac_exeext conftest.$ac_ext
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19076 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19077 if test $gcc_cv_math_func_fabsf = yes; then
19079 cat >>confdefs.h <<_ACEOF
19080 #define HAVE_FABSF 1
19081 _ACEOF
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19089 $as_echo_n "checking for fabs... " >&6; }
19090 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19091 $as_echo_n "(cached) " >&6
19092 else
19093 if test x$gcc_no_link = xyes; then
19094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19097 /* end confdefs.h. */
19099 #ifdef HAVE_COMPLEX_H
19100 #include <complex.h>
19101 #endif
19102 #ifdef HAVE_MATH_H
19103 #include <math.h>
19104 #endif
19106 int (*ptr)() = (int (*)())fabs;
19109 main ()
19111 return 0;
19114 _ACEOF
19115 if ac_fn_c_try_link "$LINENO"; then :
19116 gcc_cv_math_func_fabs=yes
19117 else
19118 gcc_cv_math_func_fabs=no
19120 rm -f core conftest.err conftest.$ac_objext \
19121 conftest$ac_exeext conftest.$ac_ext
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19124 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19125 if test $gcc_cv_math_func_fabs = yes; then
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_FABS 1
19129 _ACEOF
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19137 $as_echo_n "checking for fabsl... " >&6; }
19138 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19139 $as_echo_n "(cached) " >&6
19140 else
19141 if test x$gcc_no_link = xyes; then
19142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19145 /* end confdefs.h. */
19147 #ifdef HAVE_COMPLEX_H
19148 #include <complex.h>
19149 #endif
19150 #ifdef HAVE_MATH_H
19151 #include <math.h>
19152 #endif
19154 int (*ptr)() = (int (*)())fabsl;
19157 main ()
19159 return 0;
19162 _ACEOF
19163 if ac_fn_c_try_link "$LINENO"; then :
19164 gcc_cv_math_func_fabsl=yes
19165 else
19166 gcc_cv_math_func_fabsl=no
19168 rm -f core conftest.err conftest.$ac_objext \
19169 conftest$ac_exeext conftest.$ac_ext
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19172 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19173 if test $gcc_cv_math_func_fabsl = yes; then
19175 cat >>confdefs.h <<_ACEOF
19176 #define HAVE_FABSL 1
19177 _ACEOF
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19185 $as_echo_n "checking for cabsf... " >&6; }
19186 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19187 $as_echo_n "(cached) " >&6
19188 else
19189 if test x$gcc_no_link = xyes; then
19190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19195 #ifdef HAVE_COMPLEX_H
19196 #include <complex.h>
19197 #endif
19198 #ifdef HAVE_MATH_H
19199 #include <math.h>
19200 #endif
19202 int (*ptr)() = (int (*)())cabsf;
19205 main ()
19207 return 0;
19210 _ACEOF
19211 if ac_fn_c_try_link "$LINENO"; then :
19212 gcc_cv_math_func_cabsf=yes
19213 else
19214 gcc_cv_math_func_cabsf=no
19216 rm -f core conftest.err conftest.$ac_objext \
19217 conftest$ac_exeext conftest.$ac_ext
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19220 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19221 if test $gcc_cv_math_func_cabsf = yes; then
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_CABSF 1
19225 _ACEOF
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19233 $as_echo_n "checking for cabs... " >&6; }
19234 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19235 $as_echo_n "(cached) " >&6
19236 else
19237 if test x$gcc_no_link = xyes; then
19238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h. */
19243 #ifdef HAVE_COMPLEX_H
19244 #include <complex.h>
19245 #endif
19246 #ifdef HAVE_MATH_H
19247 #include <math.h>
19248 #endif
19250 int (*ptr)() = (int (*)())cabs;
19253 main ()
19255 return 0;
19258 _ACEOF
19259 if ac_fn_c_try_link "$LINENO"; then :
19260 gcc_cv_math_func_cabs=yes
19261 else
19262 gcc_cv_math_func_cabs=no
19264 rm -f core conftest.err conftest.$ac_objext \
19265 conftest$ac_exeext conftest.$ac_ext
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19268 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19269 if test $gcc_cv_math_func_cabs = yes; then
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_CABS 1
19273 _ACEOF
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19281 $as_echo_n "checking for cabsl... " >&6; }
19282 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19283 $as_echo_n "(cached) " >&6
19284 else
19285 if test x$gcc_no_link = xyes; then
19286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h. */
19291 #ifdef HAVE_COMPLEX_H
19292 #include <complex.h>
19293 #endif
19294 #ifdef HAVE_MATH_H
19295 #include <math.h>
19296 #endif
19298 int (*ptr)() = (int (*)())cabsl;
19301 main ()
19303 return 0;
19306 _ACEOF
19307 if ac_fn_c_try_link "$LINENO"; then :
19308 gcc_cv_math_func_cabsl=yes
19309 else
19310 gcc_cv_math_func_cabsl=no
19312 rm -f core conftest.err conftest.$ac_objext \
19313 conftest$ac_exeext conftest.$ac_ext
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19316 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19317 if test $gcc_cv_math_func_cabsl = yes; then
19319 cat >>confdefs.h <<_ACEOF
19320 #define HAVE_CABSL 1
19321 _ACEOF
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19329 $as_echo_n "checking for floorf... " >&6; }
19330 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19331 $as_echo_n "(cached) " >&6
19332 else
19333 if test x$gcc_no_link = xyes; then
19334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19337 /* end confdefs.h. */
19339 #ifdef HAVE_COMPLEX_H
19340 #include <complex.h>
19341 #endif
19342 #ifdef HAVE_MATH_H
19343 #include <math.h>
19344 #endif
19346 int (*ptr)() = (int (*)())floorf;
19349 main ()
19351 return 0;
19354 _ACEOF
19355 if ac_fn_c_try_link "$LINENO"; then :
19356 gcc_cv_math_func_floorf=yes
19357 else
19358 gcc_cv_math_func_floorf=no
19360 rm -f core conftest.err conftest.$ac_objext \
19361 conftest$ac_exeext conftest.$ac_ext
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19364 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19365 if test $gcc_cv_math_func_floorf = yes; then
19367 cat >>confdefs.h <<_ACEOF
19368 #define HAVE_FLOORF 1
19369 _ACEOF
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19377 $as_echo_n "checking for floor... " >&6; }
19378 if test "${gcc_cv_math_func_floor+set}" = set; then :
19379 $as_echo_n "(cached) " >&6
19380 else
19381 if test x$gcc_no_link = xyes; then
19382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19387 #ifdef HAVE_COMPLEX_H
19388 #include <complex.h>
19389 #endif
19390 #ifdef HAVE_MATH_H
19391 #include <math.h>
19392 #endif
19394 int (*ptr)() = (int (*)())floor;
19397 main ()
19399 return 0;
19402 _ACEOF
19403 if ac_fn_c_try_link "$LINENO"; then :
19404 gcc_cv_math_func_floor=yes
19405 else
19406 gcc_cv_math_func_floor=no
19408 rm -f core conftest.err conftest.$ac_objext \
19409 conftest$ac_exeext conftest.$ac_ext
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19412 $as_echo "$gcc_cv_math_func_floor" >&6; }
19413 if test $gcc_cv_math_func_floor = yes; then
19415 cat >>confdefs.h <<_ACEOF
19416 #define HAVE_FLOOR 1
19417 _ACEOF
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19425 $as_echo_n "checking for floorl... " >&6; }
19426 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19427 $as_echo_n "(cached) " >&6
19428 else
19429 if test x$gcc_no_link = xyes; then
19430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19435 #ifdef HAVE_COMPLEX_H
19436 #include <complex.h>
19437 #endif
19438 #ifdef HAVE_MATH_H
19439 #include <math.h>
19440 #endif
19442 int (*ptr)() = (int (*)())floorl;
19445 main ()
19447 return 0;
19450 _ACEOF
19451 if ac_fn_c_try_link "$LINENO"; then :
19452 gcc_cv_math_func_floorl=yes
19453 else
19454 gcc_cv_math_func_floorl=no
19456 rm -f core conftest.err conftest.$ac_objext \
19457 conftest$ac_exeext conftest.$ac_ext
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19460 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19461 if test $gcc_cv_math_func_floorl = yes; then
19463 cat >>confdefs.h <<_ACEOF
19464 #define HAVE_FLOORL 1
19465 _ACEOF
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19473 $as_echo_n "checking for fmodf... " >&6; }
19474 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19475 $as_echo_n "(cached) " >&6
19476 else
19477 if test x$gcc_no_link = xyes; then
19478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19481 /* end confdefs.h. */
19483 #ifdef HAVE_COMPLEX_H
19484 #include <complex.h>
19485 #endif
19486 #ifdef HAVE_MATH_H
19487 #include <math.h>
19488 #endif
19490 int (*ptr)() = (int (*)())fmodf;
19493 main ()
19495 return 0;
19498 _ACEOF
19499 if ac_fn_c_try_link "$LINENO"; then :
19500 gcc_cv_math_func_fmodf=yes
19501 else
19502 gcc_cv_math_func_fmodf=no
19504 rm -f core conftest.err conftest.$ac_objext \
19505 conftest$ac_exeext conftest.$ac_ext
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19508 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19509 if test $gcc_cv_math_func_fmodf = yes; then
19511 cat >>confdefs.h <<_ACEOF
19512 #define HAVE_FMODF 1
19513 _ACEOF
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19521 $as_echo_n "checking for fmod... " >&6; }
19522 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19523 $as_echo_n "(cached) " >&6
19524 else
19525 if test x$gcc_no_link = xyes; then
19526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19531 #ifdef HAVE_COMPLEX_H
19532 #include <complex.h>
19533 #endif
19534 #ifdef HAVE_MATH_H
19535 #include <math.h>
19536 #endif
19538 int (*ptr)() = (int (*)())fmod;
19541 main ()
19543 return 0;
19546 _ACEOF
19547 if ac_fn_c_try_link "$LINENO"; then :
19548 gcc_cv_math_func_fmod=yes
19549 else
19550 gcc_cv_math_func_fmod=no
19552 rm -f core conftest.err conftest.$ac_objext \
19553 conftest$ac_exeext conftest.$ac_ext
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19556 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19557 if test $gcc_cv_math_func_fmod = yes; then
19559 cat >>confdefs.h <<_ACEOF
19560 #define HAVE_FMOD 1
19561 _ACEOF
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19569 $as_echo_n "checking for fmodl... " >&6; }
19570 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 if test x$gcc_no_link = xyes; then
19574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19577 /* end confdefs.h. */
19579 #ifdef HAVE_COMPLEX_H
19580 #include <complex.h>
19581 #endif
19582 #ifdef HAVE_MATH_H
19583 #include <math.h>
19584 #endif
19586 int (*ptr)() = (int (*)())fmodl;
19589 main ()
19591 return 0;
19594 _ACEOF
19595 if ac_fn_c_try_link "$LINENO"; then :
19596 gcc_cv_math_func_fmodl=yes
19597 else
19598 gcc_cv_math_func_fmodl=no
19600 rm -f core conftest.err conftest.$ac_objext \
19601 conftest$ac_exeext conftest.$ac_ext
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19604 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19605 if test $gcc_cv_math_func_fmodl = yes; then
19607 cat >>confdefs.h <<_ACEOF
19608 #define HAVE_FMODL 1
19609 _ACEOF
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19617 $as_echo_n "checking for frexpf... " >&6; }
19618 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19619 $as_echo_n "(cached) " >&6
19620 else
19621 if test x$gcc_no_link = xyes; then
19622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19627 #ifdef HAVE_COMPLEX_H
19628 #include <complex.h>
19629 #endif
19630 #ifdef HAVE_MATH_H
19631 #include <math.h>
19632 #endif
19634 int (*ptr)() = (int (*)())frexpf;
19637 main ()
19639 return 0;
19642 _ACEOF
19643 if ac_fn_c_try_link "$LINENO"; then :
19644 gcc_cv_math_func_frexpf=yes
19645 else
19646 gcc_cv_math_func_frexpf=no
19648 rm -f core conftest.err conftest.$ac_objext \
19649 conftest$ac_exeext conftest.$ac_ext
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19652 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19653 if test $gcc_cv_math_func_frexpf = yes; then
19655 cat >>confdefs.h <<_ACEOF
19656 #define HAVE_FREXPF 1
19657 _ACEOF
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19665 $as_echo_n "checking for frexp... " >&6; }
19666 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19667 $as_echo_n "(cached) " >&6
19668 else
19669 if test x$gcc_no_link = xyes; then
19670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19675 #ifdef HAVE_COMPLEX_H
19676 #include <complex.h>
19677 #endif
19678 #ifdef HAVE_MATH_H
19679 #include <math.h>
19680 #endif
19682 int (*ptr)() = (int (*)())frexp;
19685 main ()
19687 return 0;
19690 _ACEOF
19691 if ac_fn_c_try_link "$LINENO"; then :
19692 gcc_cv_math_func_frexp=yes
19693 else
19694 gcc_cv_math_func_frexp=no
19696 rm -f core conftest.err conftest.$ac_objext \
19697 conftest$ac_exeext conftest.$ac_ext
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19700 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19701 if test $gcc_cv_math_func_frexp = yes; then
19703 cat >>confdefs.h <<_ACEOF
19704 #define HAVE_FREXP 1
19705 _ACEOF
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19713 $as_echo_n "checking for frexpl... " >&6; }
19714 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19715 $as_echo_n "(cached) " >&6
19716 else
19717 if test x$gcc_no_link = xyes; then
19718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19723 #ifdef HAVE_COMPLEX_H
19724 #include <complex.h>
19725 #endif
19726 #ifdef HAVE_MATH_H
19727 #include <math.h>
19728 #endif
19730 int (*ptr)() = (int (*)())frexpl;
19733 main ()
19735 return 0;
19738 _ACEOF
19739 if ac_fn_c_try_link "$LINENO"; then :
19740 gcc_cv_math_func_frexpl=yes
19741 else
19742 gcc_cv_math_func_frexpl=no
19744 rm -f core conftest.err conftest.$ac_objext \
19745 conftest$ac_exeext conftest.$ac_ext
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19748 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19749 if test $gcc_cv_math_func_frexpl = yes; then
19751 cat >>confdefs.h <<_ACEOF
19752 #define HAVE_FREXPL 1
19753 _ACEOF
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19761 $as_echo_n "checking for hypotf... " >&6; }
19762 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19763 $as_echo_n "(cached) " >&6
19764 else
19765 if test x$gcc_no_link = xyes; then
19766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19771 #ifdef HAVE_COMPLEX_H
19772 #include <complex.h>
19773 #endif
19774 #ifdef HAVE_MATH_H
19775 #include <math.h>
19776 #endif
19778 int (*ptr)() = (int (*)())hypotf;
19781 main ()
19783 return 0;
19786 _ACEOF
19787 if ac_fn_c_try_link "$LINENO"; then :
19788 gcc_cv_math_func_hypotf=yes
19789 else
19790 gcc_cv_math_func_hypotf=no
19792 rm -f core conftest.err conftest.$ac_objext \
19793 conftest$ac_exeext conftest.$ac_ext
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19796 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19797 if test $gcc_cv_math_func_hypotf = yes; then
19799 cat >>confdefs.h <<_ACEOF
19800 #define HAVE_HYPOTF 1
19801 _ACEOF
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19809 $as_echo_n "checking for hypot... " >&6; }
19810 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19811 $as_echo_n "(cached) " >&6
19812 else
19813 if test x$gcc_no_link = xyes; then
19814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19817 /* end confdefs.h. */
19819 #ifdef HAVE_COMPLEX_H
19820 #include <complex.h>
19821 #endif
19822 #ifdef HAVE_MATH_H
19823 #include <math.h>
19824 #endif
19826 int (*ptr)() = (int (*)())hypot;
19829 main ()
19831 return 0;
19834 _ACEOF
19835 if ac_fn_c_try_link "$LINENO"; then :
19836 gcc_cv_math_func_hypot=yes
19837 else
19838 gcc_cv_math_func_hypot=no
19840 rm -f core conftest.err conftest.$ac_objext \
19841 conftest$ac_exeext conftest.$ac_ext
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19844 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19845 if test $gcc_cv_math_func_hypot = yes; then
19847 cat >>confdefs.h <<_ACEOF
19848 #define HAVE_HYPOT 1
19849 _ACEOF
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19857 $as_echo_n "checking for hypotl... " >&6; }
19858 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19859 $as_echo_n "(cached) " >&6
19860 else
19861 if test x$gcc_no_link = xyes; then
19862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19865 /* end confdefs.h. */
19867 #ifdef HAVE_COMPLEX_H
19868 #include <complex.h>
19869 #endif
19870 #ifdef HAVE_MATH_H
19871 #include <math.h>
19872 #endif
19874 int (*ptr)() = (int (*)())hypotl;
19877 main ()
19879 return 0;
19882 _ACEOF
19883 if ac_fn_c_try_link "$LINENO"; then :
19884 gcc_cv_math_func_hypotl=yes
19885 else
19886 gcc_cv_math_func_hypotl=no
19888 rm -f core conftest.err conftest.$ac_objext \
19889 conftest$ac_exeext conftest.$ac_ext
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19892 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19893 if test $gcc_cv_math_func_hypotl = yes; then
19895 cat >>confdefs.h <<_ACEOF
19896 #define HAVE_HYPOTL 1
19897 _ACEOF
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19905 $as_echo_n "checking for ldexpf... " >&6; }
19906 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19907 $as_echo_n "(cached) " >&6
19908 else
19909 if test x$gcc_no_link = xyes; then
19910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19913 /* end confdefs.h. */
19915 #ifdef HAVE_COMPLEX_H
19916 #include <complex.h>
19917 #endif
19918 #ifdef HAVE_MATH_H
19919 #include <math.h>
19920 #endif
19922 int (*ptr)() = (int (*)())ldexpf;
19925 main ()
19927 return 0;
19930 _ACEOF
19931 if ac_fn_c_try_link "$LINENO"; then :
19932 gcc_cv_math_func_ldexpf=yes
19933 else
19934 gcc_cv_math_func_ldexpf=no
19936 rm -f core conftest.err conftest.$ac_objext \
19937 conftest$ac_exeext conftest.$ac_ext
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19940 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19941 if test $gcc_cv_math_func_ldexpf = yes; then
19943 cat >>confdefs.h <<_ACEOF
19944 #define HAVE_LDEXPF 1
19945 _ACEOF
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19953 $as_echo_n "checking for ldexp... " >&6; }
19954 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19955 $as_echo_n "(cached) " >&6
19956 else
19957 if test x$gcc_no_link = xyes; then
19958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19961 /* end confdefs.h. */
19963 #ifdef HAVE_COMPLEX_H
19964 #include <complex.h>
19965 #endif
19966 #ifdef HAVE_MATH_H
19967 #include <math.h>
19968 #endif
19970 int (*ptr)() = (int (*)())ldexp;
19973 main ()
19975 return 0;
19978 _ACEOF
19979 if ac_fn_c_try_link "$LINENO"; then :
19980 gcc_cv_math_func_ldexp=yes
19981 else
19982 gcc_cv_math_func_ldexp=no
19984 rm -f core conftest.err conftest.$ac_objext \
19985 conftest$ac_exeext conftest.$ac_ext
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19988 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19989 if test $gcc_cv_math_func_ldexp = yes; then
19991 cat >>confdefs.h <<_ACEOF
19992 #define HAVE_LDEXP 1
19993 _ACEOF
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20001 $as_echo_n "checking for ldexpl... " >&6; }
20002 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
20003 $as_echo_n "(cached) " >&6
20004 else
20005 if test x$gcc_no_link = xyes; then
20006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20009 /* end confdefs.h. */
20011 #ifdef HAVE_COMPLEX_H
20012 #include <complex.h>
20013 #endif
20014 #ifdef HAVE_MATH_H
20015 #include <math.h>
20016 #endif
20018 int (*ptr)() = (int (*)())ldexpl;
20021 main ()
20023 return 0;
20026 _ACEOF
20027 if ac_fn_c_try_link "$LINENO"; then :
20028 gcc_cv_math_func_ldexpl=yes
20029 else
20030 gcc_cv_math_func_ldexpl=no
20032 rm -f core conftest.err conftest.$ac_objext \
20033 conftest$ac_exeext conftest.$ac_ext
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20036 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20037 if test $gcc_cv_math_func_ldexpl = yes; then
20039 cat >>confdefs.h <<_ACEOF
20040 #define HAVE_LDEXPL 1
20041 _ACEOF
20048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20049 $as_echo_n "checking for logf... " >&6; }
20050 if test "${gcc_cv_math_func_logf+set}" = set; then :
20051 $as_echo_n "(cached) " >&6
20052 else
20053 if test x$gcc_no_link = xyes; then
20054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h. */
20059 #ifdef HAVE_COMPLEX_H
20060 #include <complex.h>
20061 #endif
20062 #ifdef HAVE_MATH_H
20063 #include <math.h>
20064 #endif
20066 int (*ptr)() = (int (*)())logf;
20069 main ()
20071 return 0;
20074 _ACEOF
20075 if ac_fn_c_try_link "$LINENO"; then :
20076 gcc_cv_math_func_logf=yes
20077 else
20078 gcc_cv_math_func_logf=no
20080 rm -f core conftest.err conftest.$ac_objext \
20081 conftest$ac_exeext conftest.$ac_ext
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20084 $as_echo "$gcc_cv_math_func_logf" >&6; }
20085 if test $gcc_cv_math_func_logf = yes; then
20087 cat >>confdefs.h <<_ACEOF
20088 #define HAVE_LOGF 1
20089 _ACEOF
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20097 $as_echo_n "checking for log... " >&6; }
20098 if test "${gcc_cv_math_func_log+set}" = set; then :
20099 $as_echo_n "(cached) " >&6
20100 else
20101 if test x$gcc_no_link = xyes; then
20102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20105 /* end confdefs.h. */
20107 #ifdef HAVE_COMPLEX_H
20108 #include <complex.h>
20109 #endif
20110 #ifdef HAVE_MATH_H
20111 #include <math.h>
20112 #endif
20114 int (*ptr)() = (int (*)())log;
20117 main ()
20119 return 0;
20122 _ACEOF
20123 if ac_fn_c_try_link "$LINENO"; then :
20124 gcc_cv_math_func_log=yes
20125 else
20126 gcc_cv_math_func_log=no
20128 rm -f core conftest.err conftest.$ac_objext \
20129 conftest$ac_exeext conftest.$ac_ext
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20132 $as_echo "$gcc_cv_math_func_log" >&6; }
20133 if test $gcc_cv_math_func_log = yes; then
20135 cat >>confdefs.h <<_ACEOF
20136 #define HAVE_LOG 1
20137 _ACEOF
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20145 $as_echo_n "checking for logl... " >&6; }
20146 if test "${gcc_cv_math_func_logl+set}" = set; then :
20147 $as_echo_n "(cached) " >&6
20148 else
20149 if test x$gcc_no_link = xyes; then
20150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20153 /* end confdefs.h. */
20155 #ifdef HAVE_COMPLEX_H
20156 #include <complex.h>
20157 #endif
20158 #ifdef HAVE_MATH_H
20159 #include <math.h>
20160 #endif
20162 int (*ptr)() = (int (*)())logl;
20165 main ()
20167 return 0;
20170 _ACEOF
20171 if ac_fn_c_try_link "$LINENO"; then :
20172 gcc_cv_math_func_logl=yes
20173 else
20174 gcc_cv_math_func_logl=no
20176 rm -f core conftest.err conftest.$ac_objext \
20177 conftest$ac_exeext conftest.$ac_ext
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20180 $as_echo "$gcc_cv_math_func_logl" >&6; }
20181 if test $gcc_cv_math_func_logl = yes; then
20183 cat >>confdefs.h <<_ACEOF
20184 #define HAVE_LOGL 1
20185 _ACEOF
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20193 $as_echo_n "checking for clogf... " >&6; }
20194 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20195 $as_echo_n "(cached) " >&6
20196 else
20197 if test x$gcc_no_link = xyes; then
20198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20201 /* end confdefs.h. */
20203 #ifdef HAVE_COMPLEX_H
20204 #include <complex.h>
20205 #endif
20206 #ifdef HAVE_MATH_H
20207 #include <math.h>
20208 #endif
20210 int (*ptr)() = (int (*)())clogf;
20213 main ()
20215 return 0;
20218 _ACEOF
20219 if ac_fn_c_try_link "$LINENO"; then :
20220 gcc_cv_math_func_clogf=yes
20221 else
20222 gcc_cv_math_func_clogf=no
20224 rm -f core conftest.err conftest.$ac_objext \
20225 conftest$ac_exeext conftest.$ac_ext
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20228 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20229 if test $gcc_cv_math_func_clogf = yes; then
20231 cat >>confdefs.h <<_ACEOF
20232 #define HAVE_CLOGF 1
20233 _ACEOF
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20241 $as_echo_n "checking for clog... " >&6; }
20242 if test "${gcc_cv_math_func_clog+set}" = set; then :
20243 $as_echo_n "(cached) " >&6
20244 else
20245 if test x$gcc_no_link = xyes; then
20246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20249 /* end confdefs.h. */
20251 #ifdef HAVE_COMPLEX_H
20252 #include <complex.h>
20253 #endif
20254 #ifdef HAVE_MATH_H
20255 #include <math.h>
20256 #endif
20258 int (*ptr)() = (int (*)())clog;
20261 main ()
20263 return 0;
20266 _ACEOF
20267 if ac_fn_c_try_link "$LINENO"; then :
20268 gcc_cv_math_func_clog=yes
20269 else
20270 gcc_cv_math_func_clog=no
20272 rm -f core conftest.err conftest.$ac_objext \
20273 conftest$ac_exeext conftest.$ac_ext
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20276 $as_echo "$gcc_cv_math_func_clog" >&6; }
20277 if test $gcc_cv_math_func_clog = yes; then
20279 cat >>confdefs.h <<_ACEOF
20280 #define HAVE_CLOG 1
20281 _ACEOF
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20289 $as_echo_n "checking for clogl... " >&6; }
20290 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20291 $as_echo_n "(cached) " >&6
20292 else
20293 if test x$gcc_no_link = xyes; then
20294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20297 /* end confdefs.h. */
20299 #ifdef HAVE_COMPLEX_H
20300 #include <complex.h>
20301 #endif
20302 #ifdef HAVE_MATH_H
20303 #include <math.h>
20304 #endif
20306 int (*ptr)() = (int (*)())clogl;
20309 main ()
20311 return 0;
20314 _ACEOF
20315 if ac_fn_c_try_link "$LINENO"; then :
20316 gcc_cv_math_func_clogl=yes
20317 else
20318 gcc_cv_math_func_clogl=no
20320 rm -f core conftest.err conftest.$ac_objext \
20321 conftest$ac_exeext conftest.$ac_ext
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20324 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20325 if test $gcc_cv_math_func_clogl = yes; then
20327 cat >>confdefs.h <<_ACEOF
20328 #define HAVE_CLOGL 1
20329 _ACEOF
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20337 $as_echo_n "checking for log10f... " >&6; }
20338 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20339 $as_echo_n "(cached) " >&6
20340 else
20341 if test x$gcc_no_link = xyes; then
20342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20345 /* end confdefs.h. */
20347 #ifdef HAVE_COMPLEX_H
20348 #include <complex.h>
20349 #endif
20350 #ifdef HAVE_MATH_H
20351 #include <math.h>
20352 #endif
20354 int (*ptr)() = (int (*)())log10f;
20357 main ()
20359 return 0;
20362 _ACEOF
20363 if ac_fn_c_try_link "$LINENO"; then :
20364 gcc_cv_math_func_log10f=yes
20365 else
20366 gcc_cv_math_func_log10f=no
20368 rm -f core conftest.err conftest.$ac_objext \
20369 conftest$ac_exeext conftest.$ac_ext
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20372 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20373 if test $gcc_cv_math_func_log10f = yes; then
20375 cat >>confdefs.h <<_ACEOF
20376 #define HAVE_LOG10F 1
20377 _ACEOF
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20385 $as_echo_n "checking for log10... " >&6; }
20386 if test "${gcc_cv_math_func_log10+set}" = set; then :
20387 $as_echo_n "(cached) " >&6
20388 else
20389 if test x$gcc_no_link = xyes; then
20390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20393 /* end confdefs.h. */
20395 #ifdef HAVE_COMPLEX_H
20396 #include <complex.h>
20397 #endif
20398 #ifdef HAVE_MATH_H
20399 #include <math.h>
20400 #endif
20402 int (*ptr)() = (int (*)())log10;
20405 main ()
20407 return 0;
20410 _ACEOF
20411 if ac_fn_c_try_link "$LINENO"; then :
20412 gcc_cv_math_func_log10=yes
20413 else
20414 gcc_cv_math_func_log10=no
20416 rm -f core conftest.err conftest.$ac_objext \
20417 conftest$ac_exeext conftest.$ac_ext
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20420 $as_echo "$gcc_cv_math_func_log10" >&6; }
20421 if test $gcc_cv_math_func_log10 = yes; then
20423 cat >>confdefs.h <<_ACEOF
20424 #define HAVE_LOG10 1
20425 _ACEOF
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20433 $as_echo_n "checking for log10l... " >&6; }
20434 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20435 $as_echo_n "(cached) " >&6
20436 else
20437 if test x$gcc_no_link = xyes; then
20438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h. */
20443 #ifdef HAVE_COMPLEX_H
20444 #include <complex.h>
20445 #endif
20446 #ifdef HAVE_MATH_H
20447 #include <math.h>
20448 #endif
20450 int (*ptr)() = (int (*)())log10l;
20453 main ()
20455 return 0;
20458 _ACEOF
20459 if ac_fn_c_try_link "$LINENO"; then :
20460 gcc_cv_math_func_log10l=yes
20461 else
20462 gcc_cv_math_func_log10l=no
20464 rm -f core conftest.err conftest.$ac_objext \
20465 conftest$ac_exeext conftest.$ac_ext
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20468 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20469 if test $gcc_cv_math_func_log10l = yes; then
20471 cat >>confdefs.h <<_ACEOF
20472 #define HAVE_LOG10L 1
20473 _ACEOF
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20481 $as_echo_n "checking for clog10f... " >&6; }
20482 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20483 $as_echo_n "(cached) " >&6
20484 else
20485 if test x$gcc_no_link = xyes; then
20486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20489 /* end confdefs.h. */
20491 #ifdef HAVE_COMPLEX_H
20492 #include <complex.h>
20493 #endif
20494 #ifdef HAVE_MATH_H
20495 #include <math.h>
20496 #endif
20498 int (*ptr)() = (int (*)())clog10f;
20501 main ()
20503 return 0;
20506 _ACEOF
20507 if ac_fn_c_try_link "$LINENO"; then :
20508 gcc_cv_math_func_clog10f=yes
20509 else
20510 gcc_cv_math_func_clog10f=no
20512 rm -f core conftest.err conftest.$ac_objext \
20513 conftest$ac_exeext conftest.$ac_ext
20515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20516 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20517 if test $gcc_cv_math_func_clog10f = yes; then
20519 cat >>confdefs.h <<_ACEOF
20520 #define HAVE_CLOG10F 1
20521 _ACEOF
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20529 $as_echo_n "checking for clog10... " >&6; }
20530 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20531 $as_echo_n "(cached) " >&6
20532 else
20533 if test x$gcc_no_link = xyes; then
20534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20537 /* end confdefs.h. */
20539 #ifdef HAVE_COMPLEX_H
20540 #include <complex.h>
20541 #endif
20542 #ifdef HAVE_MATH_H
20543 #include <math.h>
20544 #endif
20546 int (*ptr)() = (int (*)())clog10;
20549 main ()
20551 return 0;
20554 _ACEOF
20555 if ac_fn_c_try_link "$LINENO"; then :
20556 gcc_cv_math_func_clog10=yes
20557 else
20558 gcc_cv_math_func_clog10=no
20560 rm -f core conftest.err conftest.$ac_objext \
20561 conftest$ac_exeext conftest.$ac_ext
20563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20564 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20565 if test $gcc_cv_math_func_clog10 = yes; then
20567 cat >>confdefs.h <<_ACEOF
20568 #define HAVE_CLOG10 1
20569 _ACEOF
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20577 $as_echo_n "checking for clog10l... " >&6; }
20578 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20579 $as_echo_n "(cached) " >&6
20580 else
20581 if test x$gcc_no_link = xyes; then
20582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20585 /* end confdefs.h. */
20587 #ifdef HAVE_COMPLEX_H
20588 #include <complex.h>
20589 #endif
20590 #ifdef HAVE_MATH_H
20591 #include <math.h>
20592 #endif
20594 int (*ptr)() = (int (*)())clog10l;
20597 main ()
20599 return 0;
20602 _ACEOF
20603 if ac_fn_c_try_link "$LINENO"; then :
20604 gcc_cv_math_func_clog10l=yes
20605 else
20606 gcc_cv_math_func_clog10l=no
20608 rm -f core conftest.err conftest.$ac_objext \
20609 conftest$ac_exeext conftest.$ac_ext
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20612 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20613 if test $gcc_cv_math_func_clog10l = yes; then
20615 cat >>confdefs.h <<_ACEOF
20616 #define HAVE_CLOG10L 1
20617 _ACEOF
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20625 $as_echo_n "checking for nextafterf... " >&6; }
20626 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20627 $as_echo_n "(cached) " >&6
20628 else
20629 if test x$gcc_no_link = xyes; then
20630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20633 /* end confdefs.h. */
20635 #ifdef HAVE_COMPLEX_H
20636 #include <complex.h>
20637 #endif
20638 #ifdef HAVE_MATH_H
20639 #include <math.h>
20640 #endif
20642 int (*ptr)() = (int (*)())nextafterf;
20645 main ()
20647 return 0;
20650 _ACEOF
20651 if ac_fn_c_try_link "$LINENO"; then :
20652 gcc_cv_math_func_nextafterf=yes
20653 else
20654 gcc_cv_math_func_nextafterf=no
20656 rm -f core conftest.err conftest.$ac_objext \
20657 conftest$ac_exeext conftest.$ac_ext
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20660 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20661 if test $gcc_cv_math_func_nextafterf = yes; then
20663 cat >>confdefs.h <<_ACEOF
20664 #define HAVE_NEXTAFTERF 1
20665 _ACEOF
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20673 $as_echo_n "checking for nextafter... " >&6; }
20674 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20675 $as_echo_n "(cached) " >&6
20676 else
20677 if test x$gcc_no_link = xyes; then
20678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20681 /* end confdefs.h. */
20683 #ifdef HAVE_COMPLEX_H
20684 #include <complex.h>
20685 #endif
20686 #ifdef HAVE_MATH_H
20687 #include <math.h>
20688 #endif
20690 int (*ptr)() = (int (*)())nextafter;
20693 main ()
20695 return 0;
20698 _ACEOF
20699 if ac_fn_c_try_link "$LINENO"; then :
20700 gcc_cv_math_func_nextafter=yes
20701 else
20702 gcc_cv_math_func_nextafter=no
20704 rm -f core conftest.err conftest.$ac_objext \
20705 conftest$ac_exeext conftest.$ac_ext
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20708 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20709 if test $gcc_cv_math_func_nextafter = yes; then
20711 cat >>confdefs.h <<_ACEOF
20712 #define HAVE_NEXTAFTER 1
20713 _ACEOF
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20721 $as_echo_n "checking for nextafterl... " >&6; }
20722 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20723 $as_echo_n "(cached) " >&6
20724 else
20725 if test x$gcc_no_link = xyes; then
20726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20729 /* end confdefs.h. */
20731 #ifdef HAVE_COMPLEX_H
20732 #include <complex.h>
20733 #endif
20734 #ifdef HAVE_MATH_H
20735 #include <math.h>
20736 #endif
20738 int (*ptr)() = (int (*)())nextafterl;
20741 main ()
20743 return 0;
20746 _ACEOF
20747 if ac_fn_c_try_link "$LINENO"; then :
20748 gcc_cv_math_func_nextafterl=yes
20749 else
20750 gcc_cv_math_func_nextafterl=no
20752 rm -f core conftest.err conftest.$ac_objext \
20753 conftest$ac_exeext conftest.$ac_ext
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20756 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20757 if test $gcc_cv_math_func_nextafterl = yes; then
20759 cat >>confdefs.h <<_ACEOF
20760 #define HAVE_NEXTAFTERL 1
20761 _ACEOF
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20769 $as_echo_n "checking for powf... " >&6; }
20770 if test "${gcc_cv_math_func_powf+set}" = set; then :
20771 $as_echo_n "(cached) " >&6
20772 else
20773 if test x$gcc_no_link = xyes; then
20774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20777 /* end confdefs.h. */
20779 #ifdef HAVE_COMPLEX_H
20780 #include <complex.h>
20781 #endif
20782 #ifdef HAVE_MATH_H
20783 #include <math.h>
20784 #endif
20786 int (*ptr)() = (int (*)())powf;
20789 main ()
20791 return 0;
20794 _ACEOF
20795 if ac_fn_c_try_link "$LINENO"; then :
20796 gcc_cv_math_func_powf=yes
20797 else
20798 gcc_cv_math_func_powf=no
20800 rm -f core conftest.err conftest.$ac_objext \
20801 conftest$ac_exeext conftest.$ac_ext
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20804 $as_echo "$gcc_cv_math_func_powf" >&6; }
20805 if test $gcc_cv_math_func_powf = yes; then
20807 cat >>confdefs.h <<_ACEOF
20808 #define HAVE_POWF 1
20809 _ACEOF
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20817 $as_echo_n "checking for pow... " >&6; }
20818 if test "${gcc_cv_math_func_pow+set}" = set; then :
20819 $as_echo_n "(cached) " >&6
20820 else
20821 if test x$gcc_no_link = xyes; then
20822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20825 /* end confdefs.h. */
20827 #ifdef HAVE_COMPLEX_H
20828 #include <complex.h>
20829 #endif
20830 #ifdef HAVE_MATH_H
20831 #include <math.h>
20832 #endif
20834 int (*ptr)() = (int (*)())pow;
20837 main ()
20839 return 0;
20842 _ACEOF
20843 if ac_fn_c_try_link "$LINENO"; then :
20844 gcc_cv_math_func_pow=yes
20845 else
20846 gcc_cv_math_func_pow=no
20848 rm -f core conftest.err conftest.$ac_objext \
20849 conftest$ac_exeext conftest.$ac_ext
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20852 $as_echo "$gcc_cv_math_func_pow" >&6; }
20853 if test $gcc_cv_math_func_pow = yes; then
20855 cat >>confdefs.h <<_ACEOF
20856 #define HAVE_POW 1
20857 _ACEOF
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20865 $as_echo_n "checking for powl... " >&6; }
20866 if test "${gcc_cv_math_func_powl+set}" = set; then :
20867 $as_echo_n "(cached) " >&6
20868 else
20869 if test x$gcc_no_link = xyes; then
20870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20875 #ifdef HAVE_COMPLEX_H
20876 #include <complex.h>
20877 #endif
20878 #ifdef HAVE_MATH_H
20879 #include <math.h>
20880 #endif
20882 int (*ptr)() = (int (*)())powl;
20885 main ()
20887 return 0;
20890 _ACEOF
20891 if ac_fn_c_try_link "$LINENO"; then :
20892 gcc_cv_math_func_powl=yes
20893 else
20894 gcc_cv_math_func_powl=no
20896 rm -f core conftest.err conftest.$ac_objext \
20897 conftest$ac_exeext conftest.$ac_ext
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20900 $as_echo "$gcc_cv_math_func_powl" >&6; }
20901 if test $gcc_cv_math_func_powl = yes; then
20903 cat >>confdefs.h <<_ACEOF
20904 #define HAVE_POWL 1
20905 _ACEOF
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20913 $as_echo_n "checking for cpowf... " >&6; }
20914 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20915 $as_echo_n "(cached) " >&6
20916 else
20917 if test x$gcc_no_link = xyes; then
20918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20921 /* end confdefs.h. */
20923 #ifdef HAVE_COMPLEX_H
20924 #include <complex.h>
20925 #endif
20926 #ifdef HAVE_MATH_H
20927 #include <math.h>
20928 #endif
20930 int (*ptr)() = (int (*)())cpowf;
20933 main ()
20935 return 0;
20938 _ACEOF
20939 if ac_fn_c_try_link "$LINENO"; then :
20940 gcc_cv_math_func_cpowf=yes
20941 else
20942 gcc_cv_math_func_cpowf=no
20944 rm -f core conftest.err conftest.$ac_objext \
20945 conftest$ac_exeext conftest.$ac_ext
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20948 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20949 if test $gcc_cv_math_func_cpowf = yes; then
20951 cat >>confdefs.h <<_ACEOF
20952 #define HAVE_CPOWF 1
20953 _ACEOF
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20961 $as_echo_n "checking for cpow... " >&6; }
20962 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20963 $as_echo_n "(cached) " >&6
20964 else
20965 if test x$gcc_no_link = xyes; then
20966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20971 #ifdef HAVE_COMPLEX_H
20972 #include <complex.h>
20973 #endif
20974 #ifdef HAVE_MATH_H
20975 #include <math.h>
20976 #endif
20978 int (*ptr)() = (int (*)())cpow;
20981 main ()
20983 return 0;
20986 _ACEOF
20987 if ac_fn_c_try_link "$LINENO"; then :
20988 gcc_cv_math_func_cpow=yes
20989 else
20990 gcc_cv_math_func_cpow=no
20992 rm -f core conftest.err conftest.$ac_objext \
20993 conftest$ac_exeext conftest.$ac_ext
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20996 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20997 if test $gcc_cv_math_func_cpow = yes; then
20999 cat >>confdefs.h <<_ACEOF
21000 #define HAVE_CPOW 1
21001 _ACEOF
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21009 $as_echo_n "checking for cpowl... " >&6; }
21010 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21011 $as_echo_n "(cached) " >&6
21012 else
21013 if test x$gcc_no_link = xyes; then
21014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h. */
21019 #ifdef HAVE_COMPLEX_H
21020 #include <complex.h>
21021 #endif
21022 #ifdef HAVE_MATH_H
21023 #include <math.h>
21024 #endif
21026 int (*ptr)() = (int (*)())cpowl;
21029 main ()
21031 return 0;
21034 _ACEOF
21035 if ac_fn_c_try_link "$LINENO"; then :
21036 gcc_cv_math_func_cpowl=yes
21037 else
21038 gcc_cv_math_func_cpowl=no
21040 rm -f core conftest.err conftest.$ac_objext \
21041 conftest$ac_exeext conftest.$ac_ext
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21044 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21045 if test $gcc_cv_math_func_cpowl = yes; then
21047 cat >>confdefs.h <<_ACEOF
21048 #define HAVE_CPOWL 1
21049 _ACEOF
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21057 $as_echo_n "checking for roundf... " >&6; }
21058 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21059 $as_echo_n "(cached) " >&6
21060 else
21061 if test x$gcc_no_link = xyes; then
21062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21065 /* end confdefs.h. */
21067 #ifdef HAVE_COMPLEX_H
21068 #include <complex.h>
21069 #endif
21070 #ifdef HAVE_MATH_H
21071 #include <math.h>
21072 #endif
21074 int (*ptr)() = (int (*)())roundf;
21077 main ()
21079 return 0;
21082 _ACEOF
21083 if ac_fn_c_try_link "$LINENO"; then :
21084 gcc_cv_math_func_roundf=yes
21085 else
21086 gcc_cv_math_func_roundf=no
21088 rm -f core conftest.err conftest.$ac_objext \
21089 conftest$ac_exeext conftest.$ac_ext
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21092 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21093 if test $gcc_cv_math_func_roundf = yes; then
21095 cat >>confdefs.h <<_ACEOF
21096 #define HAVE_ROUNDF 1
21097 _ACEOF
21104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21105 $as_echo_n "checking for round... " >&6; }
21106 if test "${gcc_cv_math_func_round+set}" = set; then :
21107 $as_echo_n "(cached) " >&6
21108 else
21109 if test x$gcc_no_link = xyes; then
21110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21113 /* end confdefs.h. */
21115 #ifdef HAVE_COMPLEX_H
21116 #include <complex.h>
21117 #endif
21118 #ifdef HAVE_MATH_H
21119 #include <math.h>
21120 #endif
21122 int (*ptr)() = (int (*)())round;
21125 main ()
21127 return 0;
21130 _ACEOF
21131 if ac_fn_c_try_link "$LINENO"; then :
21132 gcc_cv_math_func_round=yes
21133 else
21134 gcc_cv_math_func_round=no
21136 rm -f core conftest.err conftest.$ac_objext \
21137 conftest$ac_exeext conftest.$ac_ext
21139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21140 $as_echo "$gcc_cv_math_func_round" >&6; }
21141 if test $gcc_cv_math_func_round = yes; then
21143 cat >>confdefs.h <<_ACEOF
21144 #define HAVE_ROUND 1
21145 _ACEOF
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21153 $as_echo_n "checking for roundl... " >&6; }
21154 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21155 $as_echo_n "(cached) " >&6
21156 else
21157 if test x$gcc_no_link = xyes; then
21158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21161 /* end confdefs.h. */
21163 #ifdef HAVE_COMPLEX_H
21164 #include <complex.h>
21165 #endif
21166 #ifdef HAVE_MATH_H
21167 #include <math.h>
21168 #endif
21170 int (*ptr)() = (int (*)())roundl;
21173 main ()
21175 return 0;
21178 _ACEOF
21179 if ac_fn_c_try_link "$LINENO"; then :
21180 gcc_cv_math_func_roundl=yes
21181 else
21182 gcc_cv_math_func_roundl=no
21184 rm -f core conftest.err conftest.$ac_objext \
21185 conftest$ac_exeext conftest.$ac_ext
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21188 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21189 if test $gcc_cv_math_func_roundl = yes; then
21191 cat >>confdefs.h <<_ACEOF
21192 #define HAVE_ROUNDL 1
21193 _ACEOF
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21201 $as_echo_n "checking for lroundf... " >&6; }
21202 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21203 $as_echo_n "(cached) " >&6
21204 else
21205 if test x$gcc_no_link = xyes; then
21206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21209 /* end confdefs.h. */
21211 #ifdef HAVE_COMPLEX_H
21212 #include <complex.h>
21213 #endif
21214 #ifdef HAVE_MATH_H
21215 #include <math.h>
21216 #endif
21218 int (*ptr)() = (int (*)())lroundf;
21221 main ()
21223 return 0;
21226 _ACEOF
21227 if ac_fn_c_try_link "$LINENO"; then :
21228 gcc_cv_math_func_lroundf=yes
21229 else
21230 gcc_cv_math_func_lroundf=no
21232 rm -f core conftest.err conftest.$ac_objext \
21233 conftest$ac_exeext conftest.$ac_ext
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21236 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21237 if test $gcc_cv_math_func_lroundf = yes; then
21239 cat >>confdefs.h <<_ACEOF
21240 #define HAVE_LROUNDF 1
21241 _ACEOF
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21249 $as_echo_n "checking for lround... " >&6; }
21250 if test "${gcc_cv_math_func_lround+set}" = set; then :
21251 $as_echo_n "(cached) " >&6
21252 else
21253 if test x$gcc_no_link = xyes; then
21254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21257 /* end confdefs.h. */
21259 #ifdef HAVE_COMPLEX_H
21260 #include <complex.h>
21261 #endif
21262 #ifdef HAVE_MATH_H
21263 #include <math.h>
21264 #endif
21266 int (*ptr)() = (int (*)())lround;
21269 main ()
21271 return 0;
21274 _ACEOF
21275 if ac_fn_c_try_link "$LINENO"; then :
21276 gcc_cv_math_func_lround=yes
21277 else
21278 gcc_cv_math_func_lround=no
21280 rm -f core conftest.err conftest.$ac_objext \
21281 conftest$ac_exeext conftest.$ac_ext
21283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21284 $as_echo "$gcc_cv_math_func_lround" >&6; }
21285 if test $gcc_cv_math_func_lround = yes; then
21287 cat >>confdefs.h <<_ACEOF
21288 #define HAVE_LROUND 1
21289 _ACEOF
21296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21297 $as_echo_n "checking for lroundl... " >&6; }
21298 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21299 $as_echo_n "(cached) " >&6
21300 else
21301 if test x$gcc_no_link = xyes; then
21302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21305 /* end confdefs.h. */
21307 #ifdef HAVE_COMPLEX_H
21308 #include <complex.h>
21309 #endif
21310 #ifdef HAVE_MATH_H
21311 #include <math.h>
21312 #endif
21314 int (*ptr)() = (int (*)())lroundl;
21317 main ()
21319 return 0;
21322 _ACEOF
21323 if ac_fn_c_try_link "$LINENO"; then :
21324 gcc_cv_math_func_lroundl=yes
21325 else
21326 gcc_cv_math_func_lroundl=no
21328 rm -f core conftest.err conftest.$ac_objext \
21329 conftest$ac_exeext conftest.$ac_ext
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21332 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21333 if test $gcc_cv_math_func_lroundl = yes; then
21335 cat >>confdefs.h <<_ACEOF
21336 #define HAVE_LROUNDL 1
21337 _ACEOF
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21345 $as_echo_n "checking for llroundf... " >&6; }
21346 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21347 $as_echo_n "(cached) " >&6
21348 else
21349 if test x$gcc_no_link = xyes; then
21350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21355 #ifdef HAVE_COMPLEX_H
21356 #include <complex.h>
21357 #endif
21358 #ifdef HAVE_MATH_H
21359 #include <math.h>
21360 #endif
21362 int (*ptr)() = (int (*)())llroundf;
21365 main ()
21367 return 0;
21370 _ACEOF
21371 if ac_fn_c_try_link "$LINENO"; then :
21372 gcc_cv_math_func_llroundf=yes
21373 else
21374 gcc_cv_math_func_llroundf=no
21376 rm -f core conftest.err conftest.$ac_objext \
21377 conftest$ac_exeext conftest.$ac_ext
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21380 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21381 if test $gcc_cv_math_func_llroundf = yes; then
21383 cat >>confdefs.h <<_ACEOF
21384 #define HAVE_LLROUNDF 1
21385 _ACEOF
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21393 $as_echo_n "checking for llround... " >&6; }
21394 if test "${gcc_cv_math_func_llround+set}" = set; then :
21395 $as_echo_n "(cached) " >&6
21396 else
21397 if test x$gcc_no_link = xyes; then
21398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21401 /* end confdefs.h. */
21403 #ifdef HAVE_COMPLEX_H
21404 #include <complex.h>
21405 #endif
21406 #ifdef HAVE_MATH_H
21407 #include <math.h>
21408 #endif
21410 int (*ptr)() = (int (*)())llround;
21413 main ()
21415 return 0;
21418 _ACEOF
21419 if ac_fn_c_try_link "$LINENO"; then :
21420 gcc_cv_math_func_llround=yes
21421 else
21422 gcc_cv_math_func_llround=no
21424 rm -f core conftest.err conftest.$ac_objext \
21425 conftest$ac_exeext conftest.$ac_ext
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21428 $as_echo "$gcc_cv_math_func_llround" >&6; }
21429 if test $gcc_cv_math_func_llround = yes; then
21431 cat >>confdefs.h <<_ACEOF
21432 #define HAVE_LLROUND 1
21433 _ACEOF
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21441 $as_echo_n "checking for llroundl... " >&6; }
21442 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21443 $as_echo_n "(cached) " >&6
21444 else
21445 if test x$gcc_no_link = xyes; then
21446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21449 /* end confdefs.h. */
21451 #ifdef HAVE_COMPLEX_H
21452 #include <complex.h>
21453 #endif
21454 #ifdef HAVE_MATH_H
21455 #include <math.h>
21456 #endif
21458 int (*ptr)() = (int (*)())llroundl;
21461 main ()
21463 return 0;
21466 _ACEOF
21467 if ac_fn_c_try_link "$LINENO"; then :
21468 gcc_cv_math_func_llroundl=yes
21469 else
21470 gcc_cv_math_func_llroundl=no
21472 rm -f core conftest.err conftest.$ac_objext \
21473 conftest$ac_exeext conftest.$ac_ext
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21476 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21477 if test $gcc_cv_math_func_llroundl = yes; then
21479 cat >>confdefs.h <<_ACEOF
21480 #define HAVE_LLROUNDL 1
21481 _ACEOF
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21489 $as_echo_n "checking for scalbnf... " >&6; }
21490 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21491 $as_echo_n "(cached) " >&6
21492 else
21493 if test x$gcc_no_link = xyes; then
21494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h. */
21499 #ifdef HAVE_COMPLEX_H
21500 #include <complex.h>
21501 #endif
21502 #ifdef HAVE_MATH_H
21503 #include <math.h>
21504 #endif
21506 int (*ptr)() = (int (*)())scalbnf;
21509 main ()
21511 return 0;
21514 _ACEOF
21515 if ac_fn_c_try_link "$LINENO"; then :
21516 gcc_cv_math_func_scalbnf=yes
21517 else
21518 gcc_cv_math_func_scalbnf=no
21520 rm -f core conftest.err conftest.$ac_objext \
21521 conftest$ac_exeext conftest.$ac_ext
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21524 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21525 if test $gcc_cv_math_func_scalbnf = yes; then
21527 cat >>confdefs.h <<_ACEOF
21528 #define HAVE_SCALBNF 1
21529 _ACEOF
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21537 $as_echo_n "checking for scalbn... " >&6; }
21538 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21539 $as_echo_n "(cached) " >&6
21540 else
21541 if test x$gcc_no_link = xyes; then
21542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21545 /* end confdefs.h. */
21547 #ifdef HAVE_COMPLEX_H
21548 #include <complex.h>
21549 #endif
21550 #ifdef HAVE_MATH_H
21551 #include <math.h>
21552 #endif
21554 int (*ptr)() = (int (*)())scalbn;
21557 main ()
21559 return 0;
21562 _ACEOF
21563 if ac_fn_c_try_link "$LINENO"; then :
21564 gcc_cv_math_func_scalbn=yes
21565 else
21566 gcc_cv_math_func_scalbn=no
21568 rm -f core conftest.err conftest.$ac_objext \
21569 conftest$ac_exeext conftest.$ac_ext
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21572 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21573 if test $gcc_cv_math_func_scalbn = yes; then
21575 cat >>confdefs.h <<_ACEOF
21576 #define HAVE_SCALBN 1
21577 _ACEOF
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21585 $as_echo_n "checking for scalbnl... " >&6; }
21586 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21589 if test x$gcc_no_link = xyes; then
21590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21593 /* end confdefs.h. */
21595 #ifdef HAVE_COMPLEX_H
21596 #include <complex.h>
21597 #endif
21598 #ifdef HAVE_MATH_H
21599 #include <math.h>
21600 #endif
21602 int (*ptr)() = (int (*)())scalbnl;
21605 main ()
21607 return 0;
21610 _ACEOF
21611 if ac_fn_c_try_link "$LINENO"; then :
21612 gcc_cv_math_func_scalbnl=yes
21613 else
21614 gcc_cv_math_func_scalbnl=no
21616 rm -f core conftest.err conftest.$ac_objext \
21617 conftest$ac_exeext conftest.$ac_ext
21619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21620 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21621 if test $gcc_cv_math_func_scalbnl = yes; then
21623 cat >>confdefs.h <<_ACEOF
21624 #define HAVE_SCALBNL 1
21625 _ACEOF
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21633 $as_echo_n "checking for sinf... " >&6; }
21634 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21635 $as_echo_n "(cached) " >&6
21636 else
21637 if test x$gcc_no_link = xyes; then
21638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21641 /* end confdefs.h. */
21643 #ifdef HAVE_COMPLEX_H
21644 #include <complex.h>
21645 #endif
21646 #ifdef HAVE_MATH_H
21647 #include <math.h>
21648 #endif
21650 int (*ptr)() = (int (*)())sinf;
21653 main ()
21655 return 0;
21658 _ACEOF
21659 if ac_fn_c_try_link "$LINENO"; then :
21660 gcc_cv_math_func_sinf=yes
21661 else
21662 gcc_cv_math_func_sinf=no
21664 rm -f core conftest.err conftest.$ac_objext \
21665 conftest$ac_exeext conftest.$ac_ext
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21668 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21669 if test $gcc_cv_math_func_sinf = yes; then
21671 cat >>confdefs.h <<_ACEOF
21672 #define HAVE_SINF 1
21673 _ACEOF
21680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21681 $as_echo_n "checking for sin... " >&6; }
21682 if test "${gcc_cv_math_func_sin+set}" = set; then :
21683 $as_echo_n "(cached) " >&6
21684 else
21685 if test x$gcc_no_link = xyes; then
21686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h. */
21691 #ifdef HAVE_COMPLEX_H
21692 #include <complex.h>
21693 #endif
21694 #ifdef HAVE_MATH_H
21695 #include <math.h>
21696 #endif
21698 int (*ptr)() = (int (*)())sin;
21701 main ()
21703 return 0;
21706 _ACEOF
21707 if ac_fn_c_try_link "$LINENO"; then :
21708 gcc_cv_math_func_sin=yes
21709 else
21710 gcc_cv_math_func_sin=no
21712 rm -f core conftest.err conftest.$ac_objext \
21713 conftest$ac_exeext conftest.$ac_ext
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21716 $as_echo "$gcc_cv_math_func_sin" >&6; }
21717 if test $gcc_cv_math_func_sin = yes; then
21719 cat >>confdefs.h <<_ACEOF
21720 #define HAVE_SIN 1
21721 _ACEOF
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21729 $as_echo_n "checking for sinl... " >&6; }
21730 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21731 $as_echo_n "(cached) " >&6
21732 else
21733 if test x$gcc_no_link = xyes; then
21734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21737 /* end confdefs.h. */
21739 #ifdef HAVE_COMPLEX_H
21740 #include <complex.h>
21741 #endif
21742 #ifdef HAVE_MATH_H
21743 #include <math.h>
21744 #endif
21746 int (*ptr)() = (int (*)())sinl;
21749 main ()
21751 return 0;
21754 _ACEOF
21755 if ac_fn_c_try_link "$LINENO"; then :
21756 gcc_cv_math_func_sinl=yes
21757 else
21758 gcc_cv_math_func_sinl=no
21760 rm -f core conftest.err conftest.$ac_objext \
21761 conftest$ac_exeext conftest.$ac_ext
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21764 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21765 if test $gcc_cv_math_func_sinl = yes; then
21767 cat >>confdefs.h <<_ACEOF
21768 #define HAVE_SINL 1
21769 _ACEOF
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21777 $as_echo_n "checking for csinf... " >&6; }
21778 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21779 $as_echo_n "(cached) " >&6
21780 else
21781 if test x$gcc_no_link = xyes; then
21782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21785 /* end confdefs.h. */
21787 #ifdef HAVE_COMPLEX_H
21788 #include <complex.h>
21789 #endif
21790 #ifdef HAVE_MATH_H
21791 #include <math.h>
21792 #endif
21794 int (*ptr)() = (int (*)())csinf;
21797 main ()
21799 return 0;
21802 _ACEOF
21803 if ac_fn_c_try_link "$LINENO"; then :
21804 gcc_cv_math_func_csinf=yes
21805 else
21806 gcc_cv_math_func_csinf=no
21808 rm -f core conftest.err conftest.$ac_objext \
21809 conftest$ac_exeext conftest.$ac_ext
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21812 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21813 if test $gcc_cv_math_func_csinf = yes; then
21815 cat >>confdefs.h <<_ACEOF
21816 #define HAVE_CSINF 1
21817 _ACEOF
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21825 $as_echo_n "checking for csin... " >&6; }
21826 if test "${gcc_cv_math_func_csin+set}" = set; then :
21827 $as_echo_n "(cached) " >&6
21828 else
21829 if test x$gcc_no_link = xyes; then
21830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h. */
21835 #ifdef HAVE_COMPLEX_H
21836 #include <complex.h>
21837 #endif
21838 #ifdef HAVE_MATH_H
21839 #include <math.h>
21840 #endif
21842 int (*ptr)() = (int (*)())csin;
21845 main ()
21847 return 0;
21850 _ACEOF
21851 if ac_fn_c_try_link "$LINENO"; then :
21852 gcc_cv_math_func_csin=yes
21853 else
21854 gcc_cv_math_func_csin=no
21856 rm -f core conftest.err conftest.$ac_objext \
21857 conftest$ac_exeext conftest.$ac_ext
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21860 $as_echo "$gcc_cv_math_func_csin" >&6; }
21861 if test $gcc_cv_math_func_csin = yes; then
21863 cat >>confdefs.h <<_ACEOF
21864 #define HAVE_CSIN 1
21865 _ACEOF
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21873 $as_echo_n "checking for csinl... " >&6; }
21874 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21875 $as_echo_n "(cached) " >&6
21876 else
21877 if test x$gcc_no_link = xyes; then
21878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21881 /* end confdefs.h. */
21883 #ifdef HAVE_COMPLEX_H
21884 #include <complex.h>
21885 #endif
21886 #ifdef HAVE_MATH_H
21887 #include <math.h>
21888 #endif
21890 int (*ptr)() = (int (*)())csinl;
21893 main ()
21895 return 0;
21898 _ACEOF
21899 if ac_fn_c_try_link "$LINENO"; then :
21900 gcc_cv_math_func_csinl=yes
21901 else
21902 gcc_cv_math_func_csinl=no
21904 rm -f core conftest.err conftest.$ac_objext \
21905 conftest$ac_exeext conftest.$ac_ext
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21908 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21909 if test $gcc_cv_math_func_csinl = yes; then
21911 cat >>confdefs.h <<_ACEOF
21912 #define HAVE_CSINL 1
21913 _ACEOF
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21921 $as_echo_n "checking for sinhf... " >&6; }
21922 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21923 $as_echo_n "(cached) " >&6
21924 else
21925 if test x$gcc_no_link = xyes; then
21926 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21929 /* end confdefs.h. */
21931 #ifdef HAVE_COMPLEX_H
21932 #include <complex.h>
21933 #endif
21934 #ifdef HAVE_MATH_H
21935 #include <math.h>
21936 #endif
21938 int (*ptr)() = (int (*)())sinhf;
21941 main ()
21943 return 0;
21946 _ACEOF
21947 if ac_fn_c_try_link "$LINENO"; then :
21948 gcc_cv_math_func_sinhf=yes
21949 else
21950 gcc_cv_math_func_sinhf=no
21952 rm -f core conftest.err conftest.$ac_objext \
21953 conftest$ac_exeext conftest.$ac_ext
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21956 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21957 if test $gcc_cv_math_func_sinhf = yes; then
21959 cat >>confdefs.h <<_ACEOF
21960 #define HAVE_SINHF 1
21961 _ACEOF
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21969 $as_echo_n "checking for sinh... " >&6; }
21970 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21971 $as_echo_n "(cached) " >&6
21972 else
21973 if test x$gcc_no_link = xyes; then
21974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21977 /* end confdefs.h. */
21979 #ifdef HAVE_COMPLEX_H
21980 #include <complex.h>
21981 #endif
21982 #ifdef HAVE_MATH_H
21983 #include <math.h>
21984 #endif
21986 int (*ptr)() = (int (*)())sinh;
21989 main ()
21991 return 0;
21994 _ACEOF
21995 if ac_fn_c_try_link "$LINENO"; then :
21996 gcc_cv_math_func_sinh=yes
21997 else
21998 gcc_cv_math_func_sinh=no
22000 rm -f core conftest.err conftest.$ac_objext \
22001 conftest$ac_exeext conftest.$ac_ext
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22004 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22005 if test $gcc_cv_math_func_sinh = yes; then
22007 cat >>confdefs.h <<_ACEOF
22008 #define HAVE_SINH 1
22009 _ACEOF
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22017 $as_echo_n "checking for sinhl... " >&6; }
22018 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22019 $as_echo_n "(cached) " >&6
22020 else
22021 if test x$gcc_no_link = xyes; then
22022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22025 /* end confdefs.h. */
22027 #ifdef HAVE_COMPLEX_H
22028 #include <complex.h>
22029 #endif
22030 #ifdef HAVE_MATH_H
22031 #include <math.h>
22032 #endif
22034 int (*ptr)() = (int (*)())sinhl;
22037 main ()
22039 return 0;
22042 _ACEOF
22043 if ac_fn_c_try_link "$LINENO"; then :
22044 gcc_cv_math_func_sinhl=yes
22045 else
22046 gcc_cv_math_func_sinhl=no
22048 rm -f core conftest.err conftest.$ac_objext \
22049 conftest$ac_exeext conftest.$ac_ext
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22052 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22053 if test $gcc_cv_math_func_sinhl = yes; then
22055 cat >>confdefs.h <<_ACEOF
22056 #define HAVE_SINHL 1
22057 _ACEOF
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22065 $as_echo_n "checking for csinhf... " >&6; }
22066 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22067 $as_echo_n "(cached) " >&6
22068 else
22069 if test x$gcc_no_link = xyes; then
22070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22073 /* end confdefs.h. */
22075 #ifdef HAVE_COMPLEX_H
22076 #include <complex.h>
22077 #endif
22078 #ifdef HAVE_MATH_H
22079 #include <math.h>
22080 #endif
22082 int (*ptr)() = (int (*)())csinhf;
22085 main ()
22087 return 0;
22090 _ACEOF
22091 if ac_fn_c_try_link "$LINENO"; then :
22092 gcc_cv_math_func_csinhf=yes
22093 else
22094 gcc_cv_math_func_csinhf=no
22096 rm -f core conftest.err conftest.$ac_objext \
22097 conftest$ac_exeext conftest.$ac_ext
22099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22100 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22101 if test $gcc_cv_math_func_csinhf = yes; then
22103 cat >>confdefs.h <<_ACEOF
22104 #define HAVE_CSINHF 1
22105 _ACEOF
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22113 $as_echo_n "checking for csinh... " >&6; }
22114 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22115 $as_echo_n "(cached) " >&6
22116 else
22117 if test x$gcc_no_link = xyes; then
22118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22121 /* end confdefs.h. */
22123 #ifdef HAVE_COMPLEX_H
22124 #include <complex.h>
22125 #endif
22126 #ifdef HAVE_MATH_H
22127 #include <math.h>
22128 #endif
22130 int (*ptr)() = (int (*)())csinh;
22133 main ()
22135 return 0;
22138 _ACEOF
22139 if ac_fn_c_try_link "$LINENO"; then :
22140 gcc_cv_math_func_csinh=yes
22141 else
22142 gcc_cv_math_func_csinh=no
22144 rm -f core conftest.err conftest.$ac_objext \
22145 conftest$ac_exeext conftest.$ac_ext
22147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22148 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22149 if test $gcc_cv_math_func_csinh = yes; then
22151 cat >>confdefs.h <<_ACEOF
22152 #define HAVE_CSINH 1
22153 _ACEOF
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22161 $as_echo_n "checking for csinhl... " >&6; }
22162 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22163 $as_echo_n "(cached) " >&6
22164 else
22165 if test x$gcc_no_link = xyes; then
22166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22169 /* end confdefs.h. */
22171 #ifdef HAVE_COMPLEX_H
22172 #include <complex.h>
22173 #endif
22174 #ifdef HAVE_MATH_H
22175 #include <math.h>
22176 #endif
22178 int (*ptr)() = (int (*)())csinhl;
22181 main ()
22183 return 0;
22186 _ACEOF
22187 if ac_fn_c_try_link "$LINENO"; then :
22188 gcc_cv_math_func_csinhl=yes
22189 else
22190 gcc_cv_math_func_csinhl=no
22192 rm -f core conftest.err conftest.$ac_objext \
22193 conftest$ac_exeext conftest.$ac_ext
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22196 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22197 if test $gcc_cv_math_func_csinhl = yes; then
22199 cat >>confdefs.h <<_ACEOF
22200 #define HAVE_CSINHL 1
22201 _ACEOF
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22209 $as_echo_n "checking for sqrtf... " >&6; }
22210 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22211 $as_echo_n "(cached) " >&6
22212 else
22213 if test x$gcc_no_link = xyes; then
22214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22217 /* end confdefs.h. */
22219 #ifdef HAVE_COMPLEX_H
22220 #include <complex.h>
22221 #endif
22222 #ifdef HAVE_MATH_H
22223 #include <math.h>
22224 #endif
22226 int (*ptr)() = (int (*)())sqrtf;
22229 main ()
22231 return 0;
22234 _ACEOF
22235 if ac_fn_c_try_link "$LINENO"; then :
22236 gcc_cv_math_func_sqrtf=yes
22237 else
22238 gcc_cv_math_func_sqrtf=no
22240 rm -f core conftest.err conftest.$ac_objext \
22241 conftest$ac_exeext conftest.$ac_ext
22243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22244 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22245 if test $gcc_cv_math_func_sqrtf = yes; then
22247 cat >>confdefs.h <<_ACEOF
22248 #define HAVE_SQRTF 1
22249 _ACEOF
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22257 $as_echo_n "checking for sqrt... " >&6; }
22258 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22259 $as_echo_n "(cached) " >&6
22260 else
22261 if test x$gcc_no_link = xyes; then
22262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22267 #ifdef HAVE_COMPLEX_H
22268 #include <complex.h>
22269 #endif
22270 #ifdef HAVE_MATH_H
22271 #include <math.h>
22272 #endif
22274 int (*ptr)() = (int (*)())sqrt;
22277 main ()
22279 return 0;
22282 _ACEOF
22283 if ac_fn_c_try_link "$LINENO"; then :
22284 gcc_cv_math_func_sqrt=yes
22285 else
22286 gcc_cv_math_func_sqrt=no
22288 rm -f core conftest.err conftest.$ac_objext \
22289 conftest$ac_exeext conftest.$ac_ext
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22292 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22293 if test $gcc_cv_math_func_sqrt = yes; then
22295 cat >>confdefs.h <<_ACEOF
22296 #define HAVE_SQRT 1
22297 _ACEOF
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22305 $as_echo_n "checking for sqrtl... " >&6; }
22306 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22307 $as_echo_n "(cached) " >&6
22308 else
22309 if test x$gcc_no_link = xyes; then
22310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22313 /* end confdefs.h. */
22315 #ifdef HAVE_COMPLEX_H
22316 #include <complex.h>
22317 #endif
22318 #ifdef HAVE_MATH_H
22319 #include <math.h>
22320 #endif
22322 int (*ptr)() = (int (*)())sqrtl;
22325 main ()
22327 return 0;
22330 _ACEOF
22331 if ac_fn_c_try_link "$LINENO"; then :
22332 gcc_cv_math_func_sqrtl=yes
22333 else
22334 gcc_cv_math_func_sqrtl=no
22336 rm -f core conftest.err conftest.$ac_objext \
22337 conftest$ac_exeext conftest.$ac_ext
22339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22340 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22341 if test $gcc_cv_math_func_sqrtl = yes; then
22343 cat >>confdefs.h <<_ACEOF
22344 #define HAVE_SQRTL 1
22345 _ACEOF
22352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22353 $as_echo_n "checking for csqrtf... " >&6; }
22354 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22355 $as_echo_n "(cached) " >&6
22356 else
22357 if test x$gcc_no_link = xyes; then
22358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22361 /* end confdefs.h. */
22363 #ifdef HAVE_COMPLEX_H
22364 #include <complex.h>
22365 #endif
22366 #ifdef HAVE_MATH_H
22367 #include <math.h>
22368 #endif
22370 int (*ptr)() = (int (*)())csqrtf;
22373 main ()
22375 return 0;
22378 _ACEOF
22379 if ac_fn_c_try_link "$LINENO"; then :
22380 gcc_cv_math_func_csqrtf=yes
22381 else
22382 gcc_cv_math_func_csqrtf=no
22384 rm -f core conftest.err conftest.$ac_objext \
22385 conftest$ac_exeext conftest.$ac_ext
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22388 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22389 if test $gcc_cv_math_func_csqrtf = yes; then
22391 cat >>confdefs.h <<_ACEOF
22392 #define HAVE_CSQRTF 1
22393 _ACEOF
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22401 $as_echo_n "checking for csqrt... " >&6; }
22402 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22403 $as_echo_n "(cached) " >&6
22404 else
22405 if test x$gcc_no_link = xyes; then
22406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h. */
22411 #ifdef HAVE_COMPLEX_H
22412 #include <complex.h>
22413 #endif
22414 #ifdef HAVE_MATH_H
22415 #include <math.h>
22416 #endif
22418 int (*ptr)() = (int (*)())csqrt;
22421 main ()
22423 return 0;
22426 _ACEOF
22427 if ac_fn_c_try_link "$LINENO"; then :
22428 gcc_cv_math_func_csqrt=yes
22429 else
22430 gcc_cv_math_func_csqrt=no
22432 rm -f core conftest.err conftest.$ac_objext \
22433 conftest$ac_exeext conftest.$ac_ext
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22436 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22437 if test $gcc_cv_math_func_csqrt = yes; then
22439 cat >>confdefs.h <<_ACEOF
22440 #define HAVE_CSQRT 1
22441 _ACEOF
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22449 $as_echo_n "checking for csqrtl... " >&6; }
22450 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22451 $as_echo_n "(cached) " >&6
22452 else
22453 if test x$gcc_no_link = xyes; then
22454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22457 /* end confdefs.h. */
22459 #ifdef HAVE_COMPLEX_H
22460 #include <complex.h>
22461 #endif
22462 #ifdef HAVE_MATH_H
22463 #include <math.h>
22464 #endif
22466 int (*ptr)() = (int (*)())csqrtl;
22469 main ()
22471 return 0;
22474 _ACEOF
22475 if ac_fn_c_try_link "$LINENO"; then :
22476 gcc_cv_math_func_csqrtl=yes
22477 else
22478 gcc_cv_math_func_csqrtl=no
22480 rm -f core conftest.err conftest.$ac_objext \
22481 conftest$ac_exeext conftest.$ac_ext
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22484 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22485 if test $gcc_cv_math_func_csqrtl = yes; then
22487 cat >>confdefs.h <<_ACEOF
22488 #define HAVE_CSQRTL 1
22489 _ACEOF
22496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22497 $as_echo_n "checking for tanf... " >&6; }
22498 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22499 $as_echo_n "(cached) " >&6
22500 else
22501 if test x$gcc_no_link = xyes; then
22502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22505 /* end confdefs.h. */
22507 #ifdef HAVE_COMPLEX_H
22508 #include <complex.h>
22509 #endif
22510 #ifdef HAVE_MATH_H
22511 #include <math.h>
22512 #endif
22514 int (*ptr)() = (int (*)())tanf;
22517 main ()
22519 return 0;
22522 _ACEOF
22523 if ac_fn_c_try_link "$LINENO"; then :
22524 gcc_cv_math_func_tanf=yes
22525 else
22526 gcc_cv_math_func_tanf=no
22528 rm -f core conftest.err conftest.$ac_objext \
22529 conftest$ac_exeext conftest.$ac_ext
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22532 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22533 if test $gcc_cv_math_func_tanf = yes; then
22535 cat >>confdefs.h <<_ACEOF
22536 #define HAVE_TANF 1
22537 _ACEOF
22544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22545 $as_echo_n "checking for tan... " >&6; }
22546 if test "${gcc_cv_math_func_tan+set}" = set; then :
22547 $as_echo_n "(cached) " >&6
22548 else
22549 if test x$gcc_no_link = xyes; then
22550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22553 /* end confdefs.h. */
22555 #ifdef HAVE_COMPLEX_H
22556 #include <complex.h>
22557 #endif
22558 #ifdef HAVE_MATH_H
22559 #include <math.h>
22560 #endif
22562 int (*ptr)() = (int (*)())tan;
22565 main ()
22567 return 0;
22570 _ACEOF
22571 if ac_fn_c_try_link "$LINENO"; then :
22572 gcc_cv_math_func_tan=yes
22573 else
22574 gcc_cv_math_func_tan=no
22576 rm -f core conftest.err conftest.$ac_objext \
22577 conftest$ac_exeext conftest.$ac_ext
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22580 $as_echo "$gcc_cv_math_func_tan" >&6; }
22581 if test $gcc_cv_math_func_tan = yes; then
22583 cat >>confdefs.h <<_ACEOF
22584 #define HAVE_TAN 1
22585 _ACEOF
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22593 $as_echo_n "checking for tanl... " >&6; }
22594 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22595 $as_echo_n "(cached) " >&6
22596 else
22597 if test x$gcc_no_link = xyes; then
22598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22601 /* end confdefs.h. */
22603 #ifdef HAVE_COMPLEX_H
22604 #include <complex.h>
22605 #endif
22606 #ifdef HAVE_MATH_H
22607 #include <math.h>
22608 #endif
22610 int (*ptr)() = (int (*)())tanl;
22613 main ()
22615 return 0;
22618 _ACEOF
22619 if ac_fn_c_try_link "$LINENO"; then :
22620 gcc_cv_math_func_tanl=yes
22621 else
22622 gcc_cv_math_func_tanl=no
22624 rm -f core conftest.err conftest.$ac_objext \
22625 conftest$ac_exeext conftest.$ac_ext
22627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22628 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22629 if test $gcc_cv_math_func_tanl = yes; then
22631 cat >>confdefs.h <<_ACEOF
22632 #define HAVE_TANL 1
22633 _ACEOF
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22641 $as_echo_n "checking for ctanf... " >&6; }
22642 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22643 $as_echo_n "(cached) " >&6
22644 else
22645 if test x$gcc_no_link = xyes; then
22646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22649 /* end confdefs.h. */
22651 #ifdef HAVE_COMPLEX_H
22652 #include <complex.h>
22653 #endif
22654 #ifdef HAVE_MATH_H
22655 #include <math.h>
22656 #endif
22658 int (*ptr)() = (int (*)())ctanf;
22661 main ()
22663 return 0;
22666 _ACEOF
22667 if ac_fn_c_try_link "$LINENO"; then :
22668 gcc_cv_math_func_ctanf=yes
22669 else
22670 gcc_cv_math_func_ctanf=no
22672 rm -f core conftest.err conftest.$ac_objext \
22673 conftest$ac_exeext conftest.$ac_ext
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22676 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22677 if test $gcc_cv_math_func_ctanf = yes; then
22679 cat >>confdefs.h <<_ACEOF
22680 #define HAVE_CTANF 1
22681 _ACEOF
22688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22689 $as_echo_n "checking for ctan... " >&6; }
22690 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22691 $as_echo_n "(cached) " >&6
22692 else
22693 if test x$gcc_no_link = xyes; then
22694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22697 /* end confdefs.h. */
22699 #ifdef HAVE_COMPLEX_H
22700 #include <complex.h>
22701 #endif
22702 #ifdef HAVE_MATH_H
22703 #include <math.h>
22704 #endif
22706 int (*ptr)() = (int (*)())ctan;
22709 main ()
22711 return 0;
22714 _ACEOF
22715 if ac_fn_c_try_link "$LINENO"; then :
22716 gcc_cv_math_func_ctan=yes
22717 else
22718 gcc_cv_math_func_ctan=no
22720 rm -f core conftest.err conftest.$ac_objext \
22721 conftest$ac_exeext conftest.$ac_ext
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22724 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22725 if test $gcc_cv_math_func_ctan = yes; then
22727 cat >>confdefs.h <<_ACEOF
22728 #define HAVE_CTAN 1
22729 _ACEOF
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22737 $as_echo_n "checking for ctanl... " >&6; }
22738 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22739 $as_echo_n "(cached) " >&6
22740 else
22741 if test x$gcc_no_link = xyes; then
22742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22745 /* end confdefs.h. */
22747 #ifdef HAVE_COMPLEX_H
22748 #include <complex.h>
22749 #endif
22750 #ifdef HAVE_MATH_H
22751 #include <math.h>
22752 #endif
22754 int (*ptr)() = (int (*)())ctanl;
22757 main ()
22759 return 0;
22762 _ACEOF
22763 if ac_fn_c_try_link "$LINENO"; then :
22764 gcc_cv_math_func_ctanl=yes
22765 else
22766 gcc_cv_math_func_ctanl=no
22768 rm -f core conftest.err conftest.$ac_objext \
22769 conftest$ac_exeext conftest.$ac_ext
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22772 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22773 if test $gcc_cv_math_func_ctanl = yes; then
22775 cat >>confdefs.h <<_ACEOF
22776 #define HAVE_CTANL 1
22777 _ACEOF
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22785 $as_echo_n "checking for tanhf... " >&6; }
22786 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22787 $as_echo_n "(cached) " >&6
22788 else
22789 if test x$gcc_no_link = xyes; then
22790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22793 /* end confdefs.h. */
22795 #ifdef HAVE_COMPLEX_H
22796 #include <complex.h>
22797 #endif
22798 #ifdef HAVE_MATH_H
22799 #include <math.h>
22800 #endif
22802 int (*ptr)() = (int (*)())tanhf;
22805 main ()
22807 return 0;
22810 _ACEOF
22811 if ac_fn_c_try_link "$LINENO"; then :
22812 gcc_cv_math_func_tanhf=yes
22813 else
22814 gcc_cv_math_func_tanhf=no
22816 rm -f core conftest.err conftest.$ac_objext \
22817 conftest$ac_exeext conftest.$ac_ext
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22820 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22821 if test $gcc_cv_math_func_tanhf = yes; then
22823 cat >>confdefs.h <<_ACEOF
22824 #define HAVE_TANHF 1
22825 _ACEOF
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22833 $as_echo_n "checking for tanh... " >&6; }
22834 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22835 $as_echo_n "(cached) " >&6
22836 else
22837 if test x$gcc_no_link = xyes; then
22838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22841 /* end confdefs.h. */
22843 #ifdef HAVE_COMPLEX_H
22844 #include <complex.h>
22845 #endif
22846 #ifdef HAVE_MATH_H
22847 #include <math.h>
22848 #endif
22850 int (*ptr)() = (int (*)())tanh;
22853 main ()
22855 return 0;
22858 _ACEOF
22859 if ac_fn_c_try_link "$LINENO"; then :
22860 gcc_cv_math_func_tanh=yes
22861 else
22862 gcc_cv_math_func_tanh=no
22864 rm -f core conftest.err conftest.$ac_objext \
22865 conftest$ac_exeext conftest.$ac_ext
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22868 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22869 if test $gcc_cv_math_func_tanh = yes; then
22871 cat >>confdefs.h <<_ACEOF
22872 #define HAVE_TANH 1
22873 _ACEOF
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22881 $as_echo_n "checking for tanhl... " >&6; }
22882 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22883 $as_echo_n "(cached) " >&6
22884 else
22885 if test x$gcc_no_link = xyes; then
22886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22889 /* end confdefs.h. */
22891 #ifdef HAVE_COMPLEX_H
22892 #include <complex.h>
22893 #endif
22894 #ifdef HAVE_MATH_H
22895 #include <math.h>
22896 #endif
22898 int (*ptr)() = (int (*)())tanhl;
22901 main ()
22903 return 0;
22906 _ACEOF
22907 if ac_fn_c_try_link "$LINENO"; then :
22908 gcc_cv_math_func_tanhl=yes
22909 else
22910 gcc_cv_math_func_tanhl=no
22912 rm -f core conftest.err conftest.$ac_objext \
22913 conftest$ac_exeext conftest.$ac_ext
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22916 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22917 if test $gcc_cv_math_func_tanhl = yes; then
22919 cat >>confdefs.h <<_ACEOF
22920 #define HAVE_TANHL 1
22921 _ACEOF
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22929 $as_echo_n "checking for ctanhf... " >&6; }
22930 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22931 $as_echo_n "(cached) " >&6
22932 else
22933 if test x$gcc_no_link = xyes; then
22934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22937 /* end confdefs.h. */
22939 #ifdef HAVE_COMPLEX_H
22940 #include <complex.h>
22941 #endif
22942 #ifdef HAVE_MATH_H
22943 #include <math.h>
22944 #endif
22946 int (*ptr)() = (int (*)())ctanhf;
22949 main ()
22951 return 0;
22954 _ACEOF
22955 if ac_fn_c_try_link "$LINENO"; then :
22956 gcc_cv_math_func_ctanhf=yes
22957 else
22958 gcc_cv_math_func_ctanhf=no
22960 rm -f core conftest.err conftest.$ac_objext \
22961 conftest$ac_exeext conftest.$ac_ext
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22964 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22965 if test $gcc_cv_math_func_ctanhf = yes; then
22967 cat >>confdefs.h <<_ACEOF
22968 #define HAVE_CTANHF 1
22969 _ACEOF
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22977 $as_echo_n "checking for ctanh... " >&6; }
22978 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22979 $as_echo_n "(cached) " >&6
22980 else
22981 if test x$gcc_no_link = xyes; then
22982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22985 /* end confdefs.h. */
22987 #ifdef HAVE_COMPLEX_H
22988 #include <complex.h>
22989 #endif
22990 #ifdef HAVE_MATH_H
22991 #include <math.h>
22992 #endif
22994 int (*ptr)() = (int (*)())ctanh;
22997 main ()
22999 return 0;
23002 _ACEOF
23003 if ac_fn_c_try_link "$LINENO"; then :
23004 gcc_cv_math_func_ctanh=yes
23005 else
23006 gcc_cv_math_func_ctanh=no
23008 rm -f core conftest.err conftest.$ac_objext \
23009 conftest$ac_exeext conftest.$ac_ext
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23012 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23013 if test $gcc_cv_math_func_ctanh = yes; then
23015 cat >>confdefs.h <<_ACEOF
23016 #define HAVE_CTANH 1
23017 _ACEOF
23024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23025 $as_echo_n "checking for ctanhl... " >&6; }
23026 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23027 $as_echo_n "(cached) " >&6
23028 else
23029 if test x$gcc_no_link = xyes; then
23030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23033 /* end confdefs.h. */
23035 #ifdef HAVE_COMPLEX_H
23036 #include <complex.h>
23037 #endif
23038 #ifdef HAVE_MATH_H
23039 #include <math.h>
23040 #endif
23042 int (*ptr)() = (int (*)())ctanhl;
23045 main ()
23047 return 0;
23050 _ACEOF
23051 if ac_fn_c_try_link "$LINENO"; then :
23052 gcc_cv_math_func_ctanhl=yes
23053 else
23054 gcc_cv_math_func_ctanhl=no
23056 rm -f core conftest.err conftest.$ac_objext \
23057 conftest$ac_exeext conftest.$ac_ext
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23060 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23061 if test $gcc_cv_math_func_ctanhl = yes; then
23063 cat >>confdefs.h <<_ACEOF
23064 #define HAVE_CTANHL 1
23065 _ACEOF
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23073 $as_echo_n "checking for truncf... " >&6; }
23074 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23075 $as_echo_n "(cached) " >&6
23076 else
23077 if test x$gcc_no_link = xyes; then
23078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23081 /* end confdefs.h. */
23083 #ifdef HAVE_COMPLEX_H
23084 #include <complex.h>
23085 #endif
23086 #ifdef HAVE_MATH_H
23087 #include <math.h>
23088 #endif
23090 int (*ptr)() = (int (*)())truncf;
23093 main ()
23095 return 0;
23098 _ACEOF
23099 if ac_fn_c_try_link "$LINENO"; then :
23100 gcc_cv_math_func_truncf=yes
23101 else
23102 gcc_cv_math_func_truncf=no
23104 rm -f core conftest.err conftest.$ac_objext \
23105 conftest$ac_exeext conftest.$ac_ext
23107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23108 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23109 if test $gcc_cv_math_func_truncf = yes; then
23111 cat >>confdefs.h <<_ACEOF
23112 #define HAVE_TRUNCF 1
23113 _ACEOF
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23121 $as_echo_n "checking for trunc... " >&6; }
23122 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23123 $as_echo_n "(cached) " >&6
23124 else
23125 if test x$gcc_no_link = xyes; then
23126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23129 /* end confdefs.h. */
23131 #ifdef HAVE_COMPLEX_H
23132 #include <complex.h>
23133 #endif
23134 #ifdef HAVE_MATH_H
23135 #include <math.h>
23136 #endif
23138 int (*ptr)() = (int (*)())trunc;
23141 main ()
23143 return 0;
23146 _ACEOF
23147 if ac_fn_c_try_link "$LINENO"; then :
23148 gcc_cv_math_func_trunc=yes
23149 else
23150 gcc_cv_math_func_trunc=no
23152 rm -f core conftest.err conftest.$ac_objext \
23153 conftest$ac_exeext conftest.$ac_ext
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23156 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23157 if test $gcc_cv_math_func_trunc = yes; then
23159 cat >>confdefs.h <<_ACEOF
23160 #define HAVE_TRUNC 1
23161 _ACEOF
23168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23169 $as_echo_n "checking for truncl... " >&6; }
23170 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23171 $as_echo_n "(cached) " >&6
23172 else
23173 if test x$gcc_no_link = xyes; then
23174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23177 /* end confdefs.h. */
23179 #ifdef HAVE_COMPLEX_H
23180 #include <complex.h>
23181 #endif
23182 #ifdef HAVE_MATH_H
23183 #include <math.h>
23184 #endif
23186 int (*ptr)() = (int (*)())truncl;
23189 main ()
23191 return 0;
23194 _ACEOF
23195 if ac_fn_c_try_link "$LINENO"; then :
23196 gcc_cv_math_func_truncl=yes
23197 else
23198 gcc_cv_math_func_truncl=no
23200 rm -f core conftest.err conftest.$ac_objext \
23201 conftest$ac_exeext conftest.$ac_ext
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23204 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23205 if test $gcc_cv_math_func_truncl = yes; then
23207 cat >>confdefs.h <<_ACEOF
23208 #define HAVE_TRUNCL 1
23209 _ACEOF
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23217 $as_echo_n "checking for erff... " >&6; }
23218 if test "${gcc_cv_math_func_erff+set}" = set; then :
23219 $as_echo_n "(cached) " >&6
23220 else
23221 if test x$gcc_no_link = xyes; then
23222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23225 /* end confdefs.h. */
23227 #ifdef HAVE_COMPLEX_H
23228 #include <complex.h>
23229 #endif
23230 #ifdef HAVE_MATH_H
23231 #include <math.h>
23232 #endif
23234 int (*ptr)() = (int (*)())erff;
23237 main ()
23239 return 0;
23242 _ACEOF
23243 if ac_fn_c_try_link "$LINENO"; then :
23244 gcc_cv_math_func_erff=yes
23245 else
23246 gcc_cv_math_func_erff=no
23248 rm -f core conftest.err conftest.$ac_objext \
23249 conftest$ac_exeext conftest.$ac_ext
23251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23252 $as_echo "$gcc_cv_math_func_erff" >&6; }
23253 if test $gcc_cv_math_func_erff = yes; then
23255 cat >>confdefs.h <<_ACEOF
23256 #define HAVE_ERFF 1
23257 _ACEOF
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23265 $as_echo_n "checking for erf... " >&6; }
23266 if test "${gcc_cv_math_func_erf+set}" = set; then :
23267 $as_echo_n "(cached) " >&6
23268 else
23269 if test x$gcc_no_link = xyes; then
23270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23273 /* end confdefs.h. */
23275 #ifdef HAVE_COMPLEX_H
23276 #include <complex.h>
23277 #endif
23278 #ifdef HAVE_MATH_H
23279 #include <math.h>
23280 #endif
23282 int (*ptr)() = (int (*)())erf;
23285 main ()
23287 return 0;
23290 _ACEOF
23291 if ac_fn_c_try_link "$LINENO"; then :
23292 gcc_cv_math_func_erf=yes
23293 else
23294 gcc_cv_math_func_erf=no
23296 rm -f core conftest.err conftest.$ac_objext \
23297 conftest$ac_exeext conftest.$ac_ext
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23300 $as_echo "$gcc_cv_math_func_erf" >&6; }
23301 if test $gcc_cv_math_func_erf = yes; then
23303 cat >>confdefs.h <<_ACEOF
23304 #define HAVE_ERF 1
23305 _ACEOF
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23313 $as_echo_n "checking for erfl... " >&6; }
23314 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23315 $as_echo_n "(cached) " >&6
23316 else
23317 if test x$gcc_no_link = xyes; then
23318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23321 /* end confdefs.h. */
23323 #ifdef HAVE_COMPLEX_H
23324 #include <complex.h>
23325 #endif
23326 #ifdef HAVE_MATH_H
23327 #include <math.h>
23328 #endif
23330 int (*ptr)() = (int (*)())erfl;
23333 main ()
23335 return 0;
23338 _ACEOF
23339 if ac_fn_c_try_link "$LINENO"; then :
23340 gcc_cv_math_func_erfl=yes
23341 else
23342 gcc_cv_math_func_erfl=no
23344 rm -f core conftest.err conftest.$ac_objext \
23345 conftest$ac_exeext conftest.$ac_ext
23347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23348 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23349 if test $gcc_cv_math_func_erfl = yes; then
23351 cat >>confdefs.h <<_ACEOF
23352 #define HAVE_ERFL 1
23353 _ACEOF
23360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23361 $as_echo_n "checking for erfcf... " >&6; }
23362 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23363 $as_echo_n "(cached) " >&6
23364 else
23365 if test x$gcc_no_link = xyes; then
23366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23369 /* end confdefs.h. */
23371 #ifdef HAVE_COMPLEX_H
23372 #include <complex.h>
23373 #endif
23374 #ifdef HAVE_MATH_H
23375 #include <math.h>
23376 #endif
23378 int (*ptr)() = (int (*)())erfcf;
23381 main ()
23383 return 0;
23386 _ACEOF
23387 if ac_fn_c_try_link "$LINENO"; then :
23388 gcc_cv_math_func_erfcf=yes
23389 else
23390 gcc_cv_math_func_erfcf=no
23392 rm -f core conftest.err conftest.$ac_objext \
23393 conftest$ac_exeext conftest.$ac_ext
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23396 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23397 if test $gcc_cv_math_func_erfcf = yes; then
23399 cat >>confdefs.h <<_ACEOF
23400 #define HAVE_ERFCF 1
23401 _ACEOF
23408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23409 $as_echo_n "checking for erfc... " >&6; }
23410 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23411 $as_echo_n "(cached) " >&6
23412 else
23413 if test x$gcc_no_link = xyes; then
23414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23417 /* end confdefs.h. */
23419 #ifdef HAVE_COMPLEX_H
23420 #include <complex.h>
23421 #endif
23422 #ifdef HAVE_MATH_H
23423 #include <math.h>
23424 #endif
23426 int (*ptr)() = (int (*)())erfc;
23429 main ()
23431 return 0;
23434 _ACEOF
23435 if ac_fn_c_try_link "$LINENO"; then :
23436 gcc_cv_math_func_erfc=yes
23437 else
23438 gcc_cv_math_func_erfc=no
23440 rm -f core conftest.err conftest.$ac_objext \
23441 conftest$ac_exeext conftest.$ac_ext
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23444 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23445 if test $gcc_cv_math_func_erfc = yes; then
23447 cat >>confdefs.h <<_ACEOF
23448 #define HAVE_ERFC 1
23449 _ACEOF
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23457 $as_echo_n "checking for erfcl... " >&6; }
23458 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23460 else
23461 if test x$gcc_no_link = xyes; then
23462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23465 /* end confdefs.h. */
23467 #ifdef HAVE_COMPLEX_H
23468 #include <complex.h>
23469 #endif
23470 #ifdef HAVE_MATH_H
23471 #include <math.h>
23472 #endif
23474 int (*ptr)() = (int (*)())erfcl;
23477 main ()
23479 return 0;
23482 _ACEOF
23483 if ac_fn_c_try_link "$LINENO"; then :
23484 gcc_cv_math_func_erfcl=yes
23485 else
23486 gcc_cv_math_func_erfcl=no
23488 rm -f core conftest.err conftest.$ac_objext \
23489 conftest$ac_exeext conftest.$ac_ext
23491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23492 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23493 if test $gcc_cv_math_func_erfcl = yes; then
23495 cat >>confdefs.h <<_ACEOF
23496 #define HAVE_ERFCL 1
23497 _ACEOF
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23505 $as_echo_n "checking for j0f... " >&6; }
23506 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23507 $as_echo_n "(cached) " >&6
23508 else
23509 if test x$gcc_no_link = xyes; then
23510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23513 /* end confdefs.h. */
23515 #ifdef HAVE_COMPLEX_H
23516 #include <complex.h>
23517 #endif
23518 #ifdef HAVE_MATH_H
23519 #include <math.h>
23520 #endif
23522 int (*ptr)() = (int (*)())j0f;
23525 main ()
23527 return 0;
23530 _ACEOF
23531 if ac_fn_c_try_link "$LINENO"; then :
23532 gcc_cv_math_func_j0f=yes
23533 else
23534 gcc_cv_math_func_j0f=no
23536 rm -f core conftest.err conftest.$ac_objext \
23537 conftest$ac_exeext conftest.$ac_ext
23539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23540 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23541 if test $gcc_cv_math_func_j0f = yes; then
23543 cat >>confdefs.h <<_ACEOF
23544 #define HAVE_J0F 1
23545 _ACEOF
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23553 $as_echo_n "checking for j0... " >&6; }
23554 if test "${gcc_cv_math_func_j0+set}" = set; then :
23555 $as_echo_n "(cached) " >&6
23556 else
23557 if test x$gcc_no_link = xyes; then
23558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23561 /* end confdefs.h. */
23563 #ifdef HAVE_COMPLEX_H
23564 #include <complex.h>
23565 #endif
23566 #ifdef HAVE_MATH_H
23567 #include <math.h>
23568 #endif
23570 int (*ptr)() = (int (*)())j0;
23573 main ()
23575 return 0;
23578 _ACEOF
23579 if ac_fn_c_try_link "$LINENO"; then :
23580 gcc_cv_math_func_j0=yes
23581 else
23582 gcc_cv_math_func_j0=no
23584 rm -f core conftest.err conftest.$ac_objext \
23585 conftest$ac_exeext conftest.$ac_ext
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23588 $as_echo "$gcc_cv_math_func_j0" >&6; }
23589 if test $gcc_cv_math_func_j0 = yes; then
23591 cat >>confdefs.h <<_ACEOF
23592 #define HAVE_J0 1
23593 _ACEOF
23600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23601 $as_echo_n "checking for j0l... " >&6; }
23602 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23603 $as_echo_n "(cached) " >&6
23604 else
23605 if test x$gcc_no_link = xyes; then
23606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23609 /* end confdefs.h. */
23611 #ifdef HAVE_COMPLEX_H
23612 #include <complex.h>
23613 #endif
23614 #ifdef HAVE_MATH_H
23615 #include <math.h>
23616 #endif
23618 int (*ptr)() = (int (*)())j0l;
23621 main ()
23623 return 0;
23626 _ACEOF
23627 if ac_fn_c_try_link "$LINENO"; then :
23628 gcc_cv_math_func_j0l=yes
23629 else
23630 gcc_cv_math_func_j0l=no
23632 rm -f core conftest.err conftest.$ac_objext \
23633 conftest$ac_exeext conftest.$ac_ext
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23636 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23637 if test $gcc_cv_math_func_j0l = yes; then
23639 cat >>confdefs.h <<_ACEOF
23640 #define HAVE_J0L 1
23641 _ACEOF
23648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23649 $as_echo_n "checking for j1f... " >&6; }
23650 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23651 $as_echo_n "(cached) " >&6
23652 else
23653 if test x$gcc_no_link = xyes; then
23654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h. */
23659 #ifdef HAVE_COMPLEX_H
23660 #include <complex.h>
23661 #endif
23662 #ifdef HAVE_MATH_H
23663 #include <math.h>
23664 #endif
23666 int (*ptr)() = (int (*)())j1f;
23669 main ()
23671 return 0;
23674 _ACEOF
23675 if ac_fn_c_try_link "$LINENO"; then :
23676 gcc_cv_math_func_j1f=yes
23677 else
23678 gcc_cv_math_func_j1f=no
23680 rm -f core conftest.err conftest.$ac_objext \
23681 conftest$ac_exeext conftest.$ac_ext
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23684 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23685 if test $gcc_cv_math_func_j1f = yes; then
23687 cat >>confdefs.h <<_ACEOF
23688 #define HAVE_J1F 1
23689 _ACEOF
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23697 $as_echo_n "checking for j1... " >&6; }
23698 if test "${gcc_cv_math_func_j1+set}" = set; then :
23699 $as_echo_n "(cached) " >&6
23700 else
23701 if test x$gcc_no_link = xyes; then
23702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23705 /* end confdefs.h. */
23707 #ifdef HAVE_COMPLEX_H
23708 #include <complex.h>
23709 #endif
23710 #ifdef HAVE_MATH_H
23711 #include <math.h>
23712 #endif
23714 int (*ptr)() = (int (*)())j1;
23717 main ()
23719 return 0;
23722 _ACEOF
23723 if ac_fn_c_try_link "$LINENO"; then :
23724 gcc_cv_math_func_j1=yes
23725 else
23726 gcc_cv_math_func_j1=no
23728 rm -f core conftest.err conftest.$ac_objext \
23729 conftest$ac_exeext conftest.$ac_ext
23731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23732 $as_echo "$gcc_cv_math_func_j1" >&6; }
23733 if test $gcc_cv_math_func_j1 = yes; then
23735 cat >>confdefs.h <<_ACEOF
23736 #define HAVE_J1 1
23737 _ACEOF
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23745 $as_echo_n "checking for j1l... " >&6; }
23746 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23747 $as_echo_n "(cached) " >&6
23748 else
23749 if test x$gcc_no_link = xyes; then
23750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23753 /* end confdefs.h. */
23755 #ifdef HAVE_COMPLEX_H
23756 #include <complex.h>
23757 #endif
23758 #ifdef HAVE_MATH_H
23759 #include <math.h>
23760 #endif
23762 int (*ptr)() = (int (*)())j1l;
23765 main ()
23767 return 0;
23770 _ACEOF
23771 if ac_fn_c_try_link "$LINENO"; then :
23772 gcc_cv_math_func_j1l=yes
23773 else
23774 gcc_cv_math_func_j1l=no
23776 rm -f core conftest.err conftest.$ac_objext \
23777 conftest$ac_exeext conftest.$ac_ext
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23780 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23781 if test $gcc_cv_math_func_j1l = yes; then
23783 cat >>confdefs.h <<_ACEOF
23784 #define HAVE_J1L 1
23785 _ACEOF
23792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23793 $as_echo_n "checking for jnf... " >&6; }
23794 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23795 $as_echo_n "(cached) " >&6
23796 else
23797 if test x$gcc_no_link = xyes; then
23798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23801 /* end confdefs.h. */
23803 #ifdef HAVE_COMPLEX_H
23804 #include <complex.h>
23805 #endif
23806 #ifdef HAVE_MATH_H
23807 #include <math.h>
23808 #endif
23810 int (*ptr)() = (int (*)())jnf;
23813 main ()
23815 return 0;
23818 _ACEOF
23819 if ac_fn_c_try_link "$LINENO"; then :
23820 gcc_cv_math_func_jnf=yes
23821 else
23822 gcc_cv_math_func_jnf=no
23824 rm -f core conftest.err conftest.$ac_objext \
23825 conftest$ac_exeext conftest.$ac_ext
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23828 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23829 if test $gcc_cv_math_func_jnf = yes; then
23831 cat >>confdefs.h <<_ACEOF
23832 #define HAVE_JNF 1
23833 _ACEOF
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23841 $as_echo_n "checking for jn... " >&6; }
23842 if test "${gcc_cv_math_func_jn+set}" = set; then :
23843 $as_echo_n "(cached) " >&6
23844 else
23845 if test x$gcc_no_link = xyes; then
23846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23849 /* end confdefs.h. */
23851 #ifdef HAVE_COMPLEX_H
23852 #include <complex.h>
23853 #endif
23854 #ifdef HAVE_MATH_H
23855 #include <math.h>
23856 #endif
23858 int (*ptr)() = (int (*)())jn;
23861 main ()
23863 return 0;
23866 _ACEOF
23867 if ac_fn_c_try_link "$LINENO"; then :
23868 gcc_cv_math_func_jn=yes
23869 else
23870 gcc_cv_math_func_jn=no
23872 rm -f core conftest.err conftest.$ac_objext \
23873 conftest$ac_exeext conftest.$ac_ext
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23876 $as_echo "$gcc_cv_math_func_jn" >&6; }
23877 if test $gcc_cv_math_func_jn = yes; then
23879 cat >>confdefs.h <<_ACEOF
23880 #define HAVE_JN 1
23881 _ACEOF
23888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23889 $as_echo_n "checking for jnl... " >&6; }
23890 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23891 $as_echo_n "(cached) " >&6
23892 else
23893 if test x$gcc_no_link = xyes; then
23894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23897 /* end confdefs.h. */
23899 #ifdef HAVE_COMPLEX_H
23900 #include <complex.h>
23901 #endif
23902 #ifdef HAVE_MATH_H
23903 #include <math.h>
23904 #endif
23906 int (*ptr)() = (int (*)())jnl;
23909 main ()
23911 return 0;
23914 _ACEOF
23915 if ac_fn_c_try_link "$LINENO"; then :
23916 gcc_cv_math_func_jnl=yes
23917 else
23918 gcc_cv_math_func_jnl=no
23920 rm -f core conftest.err conftest.$ac_objext \
23921 conftest$ac_exeext conftest.$ac_ext
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23924 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23925 if test $gcc_cv_math_func_jnl = yes; then
23927 cat >>confdefs.h <<_ACEOF
23928 #define HAVE_JNL 1
23929 _ACEOF
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23937 $as_echo_n "checking for y0f... " >&6; }
23938 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23939 $as_echo_n "(cached) " >&6
23940 else
23941 if test x$gcc_no_link = xyes; then
23942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23945 /* end confdefs.h. */
23947 #ifdef HAVE_COMPLEX_H
23948 #include <complex.h>
23949 #endif
23950 #ifdef HAVE_MATH_H
23951 #include <math.h>
23952 #endif
23954 int (*ptr)() = (int (*)())y0f;
23957 main ()
23959 return 0;
23962 _ACEOF
23963 if ac_fn_c_try_link "$LINENO"; then :
23964 gcc_cv_math_func_y0f=yes
23965 else
23966 gcc_cv_math_func_y0f=no
23968 rm -f core conftest.err conftest.$ac_objext \
23969 conftest$ac_exeext conftest.$ac_ext
23971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23972 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23973 if test $gcc_cv_math_func_y0f = yes; then
23975 cat >>confdefs.h <<_ACEOF
23976 #define HAVE_Y0F 1
23977 _ACEOF
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23985 $as_echo_n "checking for y0... " >&6; }
23986 if test "${gcc_cv_math_func_y0+set}" = set; then :
23987 $as_echo_n "(cached) " >&6
23988 else
23989 if test x$gcc_no_link = xyes; then
23990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23993 /* end confdefs.h. */
23995 #ifdef HAVE_COMPLEX_H
23996 #include <complex.h>
23997 #endif
23998 #ifdef HAVE_MATH_H
23999 #include <math.h>
24000 #endif
24002 int (*ptr)() = (int (*)())y0;
24005 main ()
24007 return 0;
24010 _ACEOF
24011 if ac_fn_c_try_link "$LINENO"; then :
24012 gcc_cv_math_func_y0=yes
24013 else
24014 gcc_cv_math_func_y0=no
24016 rm -f core conftest.err conftest.$ac_objext \
24017 conftest$ac_exeext conftest.$ac_ext
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24020 $as_echo "$gcc_cv_math_func_y0" >&6; }
24021 if test $gcc_cv_math_func_y0 = yes; then
24023 cat >>confdefs.h <<_ACEOF
24024 #define HAVE_Y0 1
24025 _ACEOF
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24033 $as_echo_n "checking for y0l... " >&6; }
24034 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24035 $as_echo_n "(cached) " >&6
24036 else
24037 if test x$gcc_no_link = xyes; then
24038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24041 /* end confdefs.h. */
24043 #ifdef HAVE_COMPLEX_H
24044 #include <complex.h>
24045 #endif
24046 #ifdef HAVE_MATH_H
24047 #include <math.h>
24048 #endif
24050 int (*ptr)() = (int (*)())y0l;
24053 main ()
24055 return 0;
24058 _ACEOF
24059 if ac_fn_c_try_link "$LINENO"; then :
24060 gcc_cv_math_func_y0l=yes
24061 else
24062 gcc_cv_math_func_y0l=no
24064 rm -f core conftest.err conftest.$ac_objext \
24065 conftest$ac_exeext conftest.$ac_ext
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24068 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24069 if test $gcc_cv_math_func_y0l = yes; then
24071 cat >>confdefs.h <<_ACEOF
24072 #define HAVE_Y0L 1
24073 _ACEOF
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24081 $as_echo_n "checking for y1f... " >&6; }
24082 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24083 $as_echo_n "(cached) " >&6
24084 else
24085 if test x$gcc_no_link = xyes; then
24086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24089 /* end confdefs.h. */
24091 #ifdef HAVE_COMPLEX_H
24092 #include <complex.h>
24093 #endif
24094 #ifdef HAVE_MATH_H
24095 #include <math.h>
24096 #endif
24098 int (*ptr)() = (int (*)())y1f;
24101 main ()
24103 return 0;
24106 _ACEOF
24107 if ac_fn_c_try_link "$LINENO"; then :
24108 gcc_cv_math_func_y1f=yes
24109 else
24110 gcc_cv_math_func_y1f=no
24112 rm -f core conftest.err conftest.$ac_objext \
24113 conftest$ac_exeext conftest.$ac_ext
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24116 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24117 if test $gcc_cv_math_func_y1f = yes; then
24119 cat >>confdefs.h <<_ACEOF
24120 #define HAVE_Y1F 1
24121 _ACEOF
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24129 $as_echo_n "checking for y1... " >&6; }
24130 if test "${gcc_cv_math_func_y1+set}" = set; then :
24131 $as_echo_n "(cached) " >&6
24132 else
24133 if test x$gcc_no_link = xyes; then
24134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24137 /* end confdefs.h. */
24139 #ifdef HAVE_COMPLEX_H
24140 #include <complex.h>
24141 #endif
24142 #ifdef HAVE_MATH_H
24143 #include <math.h>
24144 #endif
24146 int (*ptr)() = (int (*)())y1;
24149 main ()
24151 return 0;
24154 _ACEOF
24155 if ac_fn_c_try_link "$LINENO"; then :
24156 gcc_cv_math_func_y1=yes
24157 else
24158 gcc_cv_math_func_y1=no
24160 rm -f core conftest.err conftest.$ac_objext \
24161 conftest$ac_exeext conftest.$ac_ext
24163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24164 $as_echo "$gcc_cv_math_func_y1" >&6; }
24165 if test $gcc_cv_math_func_y1 = yes; then
24167 cat >>confdefs.h <<_ACEOF
24168 #define HAVE_Y1 1
24169 _ACEOF
24176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24177 $as_echo_n "checking for y1l... " >&6; }
24178 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24179 $as_echo_n "(cached) " >&6
24180 else
24181 if test x$gcc_no_link = xyes; then
24182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24185 /* end confdefs.h. */
24187 #ifdef HAVE_COMPLEX_H
24188 #include <complex.h>
24189 #endif
24190 #ifdef HAVE_MATH_H
24191 #include <math.h>
24192 #endif
24194 int (*ptr)() = (int (*)())y1l;
24197 main ()
24199 return 0;
24202 _ACEOF
24203 if ac_fn_c_try_link "$LINENO"; then :
24204 gcc_cv_math_func_y1l=yes
24205 else
24206 gcc_cv_math_func_y1l=no
24208 rm -f core conftest.err conftest.$ac_objext \
24209 conftest$ac_exeext conftest.$ac_ext
24211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24212 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24213 if test $gcc_cv_math_func_y1l = yes; then
24215 cat >>confdefs.h <<_ACEOF
24216 #define HAVE_Y1L 1
24217 _ACEOF
24224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24225 $as_echo_n "checking for ynf... " >&6; }
24226 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24227 $as_echo_n "(cached) " >&6
24228 else
24229 if test x$gcc_no_link = xyes; then
24230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24233 /* end confdefs.h. */
24235 #ifdef HAVE_COMPLEX_H
24236 #include <complex.h>
24237 #endif
24238 #ifdef HAVE_MATH_H
24239 #include <math.h>
24240 #endif
24242 int (*ptr)() = (int (*)())ynf;
24245 main ()
24247 return 0;
24250 _ACEOF
24251 if ac_fn_c_try_link "$LINENO"; then :
24252 gcc_cv_math_func_ynf=yes
24253 else
24254 gcc_cv_math_func_ynf=no
24256 rm -f core conftest.err conftest.$ac_objext \
24257 conftest$ac_exeext conftest.$ac_ext
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24260 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24261 if test $gcc_cv_math_func_ynf = yes; then
24263 cat >>confdefs.h <<_ACEOF
24264 #define HAVE_YNF 1
24265 _ACEOF
24272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24273 $as_echo_n "checking for yn... " >&6; }
24274 if test "${gcc_cv_math_func_yn+set}" = set; then :
24275 $as_echo_n "(cached) " >&6
24276 else
24277 if test x$gcc_no_link = xyes; then
24278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24281 /* end confdefs.h. */
24283 #ifdef HAVE_COMPLEX_H
24284 #include <complex.h>
24285 #endif
24286 #ifdef HAVE_MATH_H
24287 #include <math.h>
24288 #endif
24290 int (*ptr)() = (int (*)())yn;
24293 main ()
24295 return 0;
24298 _ACEOF
24299 if ac_fn_c_try_link "$LINENO"; then :
24300 gcc_cv_math_func_yn=yes
24301 else
24302 gcc_cv_math_func_yn=no
24304 rm -f core conftest.err conftest.$ac_objext \
24305 conftest$ac_exeext conftest.$ac_ext
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24308 $as_echo "$gcc_cv_math_func_yn" >&6; }
24309 if test $gcc_cv_math_func_yn = yes; then
24311 cat >>confdefs.h <<_ACEOF
24312 #define HAVE_YN 1
24313 _ACEOF
24320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24321 $as_echo_n "checking for ynl... " >&6; }
24322 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24323 $as_echo_n "(cached) " >&6
24324 else
24325 if test x$gcc_no_link = xyes; then
24326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24329 /* end confdefs.h. */
24331 #ifdef HAVE_COMPLEX_H
24332 #include <complex.h>
24333 #endif
24334 #ifdef HAVE_MATH_H
24335 #include <math.h>
24336 #endif
24338 int (*ptr)() = (int (*)())ynl;
24341 main ()
24343 return 0;
24346 _ACEOF
24347 if ac_fn_c_try_link "$LINENO"; then :
24348 gcc_cv_math_func_ynl=yes
24349 else
24350 gcc_cv_math_func_ynl=no
24352 rm -f core conftest.err conftest.$ac_objext \
24353 conftest$ac_exeext conftest.$ac_ext
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24356 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24357 if test $gcc_cv_math_func_ynl = yes; then
24359 cat >>confdefs.h <<_ACEOF
24360 #define HAVE_YNL 1
24361 _ACEOF
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24369 $as_echo_n "checking for tgamma... " >&6; }
24370 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24371 $as_echo_n "(cached) " >&6
24372 else
24373 if test x$gcc_no_link = xyes; then
24374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24377 /* end confdefs.h. */
24379 #ifdef HAVE_COMPLEX_H
24380 #include <complex.h>
24381 #endif
24382 #ifdef HAVE_MATH_H
24383 #include <math.h>
24384 #endif
24386 int (*ptr)() = (int (*)())tgamma;
24389 main ()
24391 return 0;
24394 _ACEOF
24395 if ac_fn_c_try_link "$LINENO"; then :
24396 gcc_cv_math_func_tgamma=yes
24397 else
24398 gcc_cv_math_func_tgamma=no
24400 rm -f core conftest.err conftest.$ac_objext \
24401 conftest$ac_exeext conftest.$ac_ext
24403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24404 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24405 if test $gcc_cv_math_func_tgamma = yes; then
24407 cat >>confdefs.h <<_ACEOF
24408 #define HAVE_TGAMMA 1
24409 _ACEOF
24416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24417 $as_echo_n "checking for tgammaf... " >&6; }
24418 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24419 $as_echo_n "(cached) " >&6
24420 else
24421 if test x$gcc_no_link = xyes; then
24422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24425 /* end confdefs.h. */
24427 #ifdef HAVE_COMPLEX_H
24428 #include <complex.h>
24429 #endif
24430 #ifdef HAVE_MATH_H
24431 #include <math.h>
24432 #endif
24434 int (*ptr)() = (int (*)())tgammaf;
24437 main ()
24439 return 0;
24442 _ACEOF
24443 if ac_fn_c_try_link "$LINENO"; then :
24444 gcc_cv_math_func_tgammaf=yes
24445 else
24446 gcc_cv_math_func_tgammaf=no
24448 rm -f core conftest.err conftest.$ac_objext \
24449 conftest$ac_exeext conftest.$ac_ext
24451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24452 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24453 if test $gcc_cv_math_func_tgammaf = yes; then
24455 cat >>confdefs.h <<_ACEOF
24456 #define HAVE_TGAMMAF 1
24457 _ACEOF
24464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24465 $as_echo_n "checking for tgammal... " >&6; }
24466 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24467 $as_echo_n "(cached) " >&6
24468 else
24469 if test x$gcc_no_link = xyes; then
24470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24473 /* end confdefs.h. */
24475 #ifdef HAVE_COMPLEX_H
24476 #include <complex.h>
24477 #endif
24478 #ifdef HAVE_MATH_H
24479 #include <math.h>
24480 #endif
24482 int (*ptr)() = (int (*)())tgammal;
24485 main ()
24487 return 0;
24490 _ACEOF
24491 if ac_fn_c_try_link "$LINENO"; then :
24492 gcc_cv_math_func_tgammal=yes
24493 else
24494 gcc_cv_math_func_tgammal=no
24496 rm -f core conftest.err conftest.$ac_objext \
24497 conftest$ac_exeext conftest.$ac_ext
24499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24500 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24501 if test $gcc_cv_math_func_tgammal = yes; then
24503 cat >>confdefs.h <<_ACEOF
24504 #define HAVE_TGAMMAL 1
24505 _ACEOF
24512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24513 $as_echo_n "checking for lgamma... " >&6; }
24514 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24515 $as_echo_n "(cached) " >&6
24516 else
24517 if test x$gcc_no_link = xyes; then
24518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24521 /* end confdefs.h. */
24523 #ifdef HAVE_COMPLEX_H
24524 #include <complex.h>
24525 #endif
24526 #ifdef HAVE_MATH_H
24527 #include <math.h>
24528 #endif
24530 int (*ptr)() = (int (*)())lgamma;
24533 main ()
24535 return 0;
24538 _ACEOF
24539 if ac_fn_c_try_link "$LINENO"; then :
24540 gcc_cv_math_func_lgamma=yes
24541 else
24542 gcc_cv_math_func_lgamma=no
24544 rm -f core conftest.err conftest.$ac_objext \
24545 conftest$ac_exeext conftest.$ac_ext
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24548 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24549 if test $gcc_cv_math_func_lgamma = yes; then
24551 cat >>confdefs.h <<_ACEOF
24552 #define HAVE_LGAMMA 1
24553 _ACEOF
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24561 $as_echo_n "checking for lgammaf... " >&6; }
24562 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24563 $as_echo_n "(cached) " >&6
24564 else
24565 if test x$gcc_no_link = xyes; then
24566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24569 /* end confdefs.h. */
24571 #ifdef HAVE_COMPLEX_H
24572 #include <complex.h>
24573 #endif
24574 #ifdef HAVE_MATH_H
24575 #include <math.h>
24576 #endif
24578 int (*ptr)() = (int (*)())lgammaf;
24581 main ()
24583 return 0;
24586 _ACEOF
24587 if ac_fn_c_try_link "$LINENO"; then :
24588 gcc_cv_math_func_lgammaf=yes
24589 else
24590 gcc_cv_math_func_lgammaf=no
24592 rm -f core conftest.err conftest.$ac_objext \
24593 conftest$ac_exeext conftest.$ac_ext
24595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24596 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24597 if test $gcc_cv_math_func_lgammaf = yes; then
24599 cat >>confdefs.h <<_ACEOF
24600 #define HAVE_LGAMMAF 1
24601 _ACEOF
24608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24609 $as_echo_n "checking for lgammal... " >&6; }
24610 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24611 $as_echo_n "(cached) " >&6
24612 else
24613 if test x$gcc_no_link = xyes; then
24614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24617 /* end confdefs.h. */
24619 #ifdef HAVE_COMPLEX_H
24620 #include <complex.h>
24621 #endif
24622 #ifdef HAVE_MATH_H
24623 #include <math.h>
24624 #endif
24626 int (*ptr)() = (int (*)())lgammal;
24629 main ()
24631 return 0;
24634 _ACEOF
24635 if ac_fn_c_try_link "$LINENO"; then :
24636 gcc_cv_math_func_lgammal=yes
24637 else
24638 gcc_cv_math_func_lgammal=no
24640 rm -f core conftest.err conftest.$ac_objext \
24641 conftest$ac_exeext conftest.$ac_ext
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24644 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24645 if test $gcc_cv_math_func_lgammal = yes; then
24647 cat >>confdefs.h <<_ACEOF
24648 #define HAVE_LGAMMAL 1
24649 _ACEOF
24654 # Check for GFORTRAN_C99_1.1 funcs
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24659 $as_echo_n "checking for cacos... " >&6; }
24660 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24661 $as_echo_n "(cached) " >&6
24662 else
24663 if test x$gcc_no_link = xyes; then
24664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24667 /* end confdefs.h. */
24669 #ifdef HAVE_COMPLEX_H
24670 #include <complex.h>
24671 #endif
24672 #ifdef HAVE_MATH_H
24673 #include <math.h>
24674 #endif
24676 int (*ptr)() = (int (*)())cacos;
24679 main ()
24681 return 0;
24684 _ACEOF
24685 if ac_fn_c_try_link "$LINENO"; then :
24686 gcc_cv_math_func_cacos=yes
24687 else
24688 gcc_cv_math_func_cacos=no
24690 rm -f core conftest.err conftest.$ac_objext \
24691 conftest$ac_exeext conftest.$ac_ext
24693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24694 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24695 if test $gcc_cv_math_func_cacos = yes; then
24697 cat >>confdefs.h <<_ACEOF
24698 #define HAVE_CACOS 1
24699 _ACEOF
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24707 $as_echo_n "checking for cacosf... " >&6; }
24708 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24709 $as_echo_n "(cached) " >&6
24710 else
24711 if test x$gcc_no_link = xyes; then
24712 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h. */
24717 #ifdef HAVE_COMPLEX_H
24718 #include <complex.h>
24719 #endif
24720 #ifdef HAVE_MATH_H
24721 #include <math.h>
24722 #endif
24724 int (*ptr)() = (int (*)())cacosf;
24727 main ()
24729 return 0;
24732 _ACEOF
24733 if ac_fn_c_try_link "$LINENO"; then :
24734 gcc_cv_math_func_cacosf=yes
24735 else
24736 gcc_cv_math_func_cacosf=no
24738 rm -f core conftest.err conftest.$ac_objext \
24739 conftest$ac_exeext conftest.$ac_ext
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24742 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24743 if test $gcc_cv_math_func_cacosf = yes; then
24745 cat >>confdefs.h <<_ACEOF
24746 #define HAVE_CACOSF 1
24747 _ACEOF
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24755 $as_echo_n "checking for cacosh... " >&6; }
24756 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24757 $as_echo_n "(cached) " >&6
24758 else
24759 if test x$gcc_no_link = xyes; then
24760 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24765 #ifdef HAVE_COMPLEX_H
24766 #include <complex.h>
24767 #endif
24768 #ifdef HAVE_MATH_H
24769 #include <math.h>
24770 #endif
24772 int (*ptr)() = (int (*)())cacosh;
24775 main ()
24777 return 0;
24780 _ACEOF
24781 if ac_fn_c_try_link "$LINENO"; then :
24782 gcc_cv_math_func_cacosh=yes
24783 else
24784 gcc_cv_math_func_cacosh=no
24786 rm -f core conftest.err conftest.$ac_objext \
24787 conftest$ac_exeext conftest.$ac_ext
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24790 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24791 if test $gcc_cv_math_func_cacosh = yes; then
24793 cat >>confdefs.h <<_ACEOF
24794 #define HAVE_CACOSH 1
24795 _ACEOF
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24803 $as_echo_n "checking for cacoshf... " >&6; }
24804 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24805 $as_echo_n "(cached) " >&6
24806 else
24807 if test x$gcc_no_link = xyes; then
24808 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24811 /* end confdefs.h. */
24813 #ifdef HAVE_COMPLEX_H
24814 #include <complex.h>
24815 #endif
24816 #ifdef HAVE_MATH_H
24817 #include <math.h>
24818 #endif
24820 int (*ptr)() = (int (*)())cacoshf;
24823 main ()
24825 return 0;
24828 _ACEOF
24829 if ac_fn_c_try_link "$LINENO"; then :
24830 gcc_cv_math_func_cacoshf=yes
24831 else
24832 gcc_cv_math_func_cacoshf=no
24834 rm -f core conftest.err conftest.$ac_objext \
24835 conftest$ac_exeext conftest.$ac_ext
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24838 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24839 if test $gcc_cv_math_func_cacoshf = yes; then
24841 cat >>confdefs.h <<_ACEOF
24842 #define HAVE_CACOSHF 1
24843 _ACEOF
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24851 $as_echo_n "checking for cacoshl... " >&6; }
24852 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24853 $as_echo_n "(cached) " >&6
24854 else
24855 if test x$gcc_no_link = xyes; then
24856 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24859 /* end confdefs.h. */
24861 #ifdef HAVE_COMPLEX_H
24862 #include <complex.h>
24863 #endif
24864 #ifdef HAVE_MATH_H
24865 #include <math.h>
24866 #endif
24868 int (*ptr)() = (int (*)())cacoshl;
24871 main ()
24873 return 0;
24876 _ACEOF
24877 if ac_fn_c_try_link "$LINENO"; then :
24878 gcc_cv_math_func_cacoshl=yes
24879 else
24880 gcc_cv_math_func_cacoshl=no
24882 rm -f core conftest.err conftest.$ac_objext \
24883 conftest$ac_exeext conftest.$ac_ext
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24886 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24887 if test $gcc_cv_math_func_cacoshl = yes; then
24889 cat >>confdefs.h <<_ACEOF
24890 #define HAVE_CACOSHL 1
24891 _ACEOF
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24899 $as_echo_n "checking for cacosl... " >&6; }
24900 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24901 $as_echo_n "(cached) " >&6
24902 else
24903 if test x$gcc_no_link = xyes; then
24904 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24907 /* end confdefs.h. */
24909 #ifdef HAVE_COMPLEX_H
24910 #include <complex.h>
24911 #endif
24912 #ifdef HAVE_MATH_H
24913 #include <math.h>
24914 #endif
24916 int (*ptr)() = (int (*)())cacosl;
24919 main ()
24921 return 0;
24924 _ACEOF
24925 if ac_fn_c_try_link "$LINENO"; then :
24926 gcc_cv_math_func_cacosl=yes
24927 else
24928 gcc_cv_math_func_cacosl=no
24930 rm -f core conftest.err conftest.$ac_objext \
24931 conftest$ac_exeext conftest.$ac_ext
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24934 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24935 if test $gcc_cv_math_func_cacosl = yes; then
24937 cat >>confdefs.h <<_ACEOF
24938 #define HAVE_CACOSL 1
24939 _ACEOF
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24947 $as_echo_n "checking for casin... " >&6; }
24948 if test "${gcc_cv_math_func_casin+set}" = set; then :
24949 $as_echo_n "(cached) " >&6
24950 else
24951 if test x$gcc_no_link = xyes; then
24952 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24955 /* end confdefs.h. */
24957 #ifdef HAVE_COMPLEX_H
24958 #include <complex.h>
24959 #endif
24960 #ifdef HAVE_MATH_H
24961 #include <math.h>
24962 #endif
24964 int (*ptr)() = (int (*)())casin;
24967 main ()
24969 return 0;
24972 _ACEOF
24973 if ac_fn_c_try_link "$LINENO"; then :
24974 gcc_cv_math_func_casin=yes
24975 else
24976 gcc_cv_math_func_casin=no
24978 rm -f core conftest.err conftest.$ac_objext \
24979 conftest$ac_exeext conftest.$ac_ext
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24982 $as_echo "$gcc_cv_math_func_casin" >&6; }
24983 if test $gcc_cv_math_func_casin = yes; then
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE_CASIN 1
24987 _ACEOF
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24995 $as_echo_n "checking for casinf... " >&6; }
24996 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24997 $as_echo_n "(cached) " >&6
24998 else
24999 if test x$gcc_no_link = xyes; then
25000 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25003 /* end confdefs.h. */
25005 #ifdef HAVE_COMPLEX_H
25006 #include <complex.h>
25007 #endif
25008 #ifdef HAVE_MATH_H
25009 #include <math.h>
25010 #endif
25012 int (*ptr)() = (int (*)())casinf;
25015 main ()
25017 return 0;
25020 _ACEOF
25021 if ac_fn_c_try_link "$LINENO"; then :
25022 gcc_cv_math_func_casinf=yes
25023 else
25024 gcc_cv_math_func_casinf=no
25026 rm -f core conftest.err conftest.$ac_objext \
25027 conftest$ac_exeext conftest.$ac_ext
25029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25030 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25031 if test $gcc_cv_math_func_casinf = yes; then
25033 cat >>confdefs.h <<_ACEOF
25034 #define HAVE_CASINF 1
25035 _ACEOF
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25043 $as_echo_n "checking for casinh... " >&6; }
25044 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25045 $as_echo_n "(cached) " >&6
25046 else
25047 if test x$gcc_no_link = xyes; then
25048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h. */
25053 #ifdef HAVE_COMPLEX_H
25054 #include <complex.h>
25055 #endif
25056 #ifdef HAVE_MATH_H
25057 #include <math.h>
25058 #endif
25060 int (*ptr)() = (int (*)())casinh;
25063 main ()
25065 return 0;
25068 _ACEOF
25069 if ac_fn_c_try_link "$LINENO"; then :
25070 gcc_cv_math_func_casinh=yes
25071 else
25072 gcc_cv_math_func_casinh=no
25074 rm -f core conftest.err conftest.$ac_objext \
25075 conftest$ac_exeext conftest.$ac_ext
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25078 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25079 if test $gcc_cv_math_func_casinh = yes; then
25081 cat >>confdefs.h <<_ACEOF
25082 #define HAVE_CASINH 1
25083 _ACEOF
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25091 $as_echo_n "checking for casinhf... " >&6; }
25092 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25093 $as_echo_n "(cached) " >&6
25094 else
25095 if test x$gcc_no_link = xyes; then
25096 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25099 /* end confdefs.h. */
25101 #ifdef HAVE_COMPLEX_H
25102 #include <complex.h>
25103 #endif
25104 #ifdef HAVE_MATH_H
25105 #include <math.h>
25106 #endif
25108 int (*ptr)() = (int (*)())casinhf;
25111 main ()
25113 return 0;
25116 _ACEOF
25117 if ac_fn_c_try_link "$LINENO"; then :
25118 gcc_cv_math_func_casinhf=yes
25119 else
25120 gcc_cv_math_func_casinhf=no
25122 rm -f core conftest.err conftest.$ac_objext \
25123 conftest$ac_exeext conftest.$ac_ext
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25126 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25127 if test $gcc_cv_math_func_casinhf = yes; then
25129 cat >>confdefs.h <<_ACEOF
25130 #define HAVE_CASINHF 1
25131 _ACEOF
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25139 $as_echo_n "checking for casinhl... " >&6; }
25140 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25141 $as_echo_n "(cached) " >&6
25142 else
25143 if test x$gcc_no_link = xyes; then
25144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25147 /* end confdefs.h. */
25149 #ifdef HAVE_COMPLEX_H
25150 #include <complex.h>
25151 #endif
25152 #ifdef HAVE_MATH_H
25153 #include <math.h>
25154 #endif
25156 int (*ptr)() = (int (*)())casinhl;
25159 main ()
25161 return 0;
25164 _ACEOF
25165 if ac_fn_c_try_link "$LINENO"; then :
25166 gcc_cv_math_func_casinhl=yes
25167 else
25168 gcc_cv_math_func_casinhl=no
25170 rm -f core conftest.err conftest.$ac_objext \
25171 conftest$ac_exeext conftest.$ac_ext
25173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25174 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25175 if test $gcc_cv_math_func_casinhl = yes; then
25177 cat >>confdefs.h <<_ACEOF
25178 #define HAVE_CASINHL 1
25179 _ACEOF
25186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25187 $as_echo_n "checking for casinl... " >&6; }
25188 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25189 $as_echo_n "(cached) " >&6
25190 else
25191 if test x$gcc_no_link = xyes; then
25192 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25195 /* end confdefs.h. */
25197 #ifdef HAVE_COMPLEX_H
25198 #include <complex.h>
25199 #endif
25200 #ifdef HAVE_MATH_H
25201 #include <math.h>
25202 #endif
25204 int (*ptr)() = (int (*)())casinl;
25207 main ()
25209 return 0;
25212 _ACEOF
25213 if ac_fn_c_try_link "$LINENO"; then :
25214 gcc_cv_math_func_casinl=yes
25215 else
25216 gcc_cv_math_func_casinl=no
25218 rm -f core conftest.err conftest.$ac_objext \
25219 conftest$ac_exeext conftest.$ac_ext
25221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25222 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25223 if test $gcc_cv_math_func_casinl = yes; then
25225 cat >>confdefs.h <<_ACEOF
25226 #define HAVE_CASINL 1
25227 _ACEOF
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25235 $as_echo_n "checking for catan... " >&6; }
25236 if test "${gcc_cv_math_func_catan+set}" = set; then :
25237 $as_echo_n "(cached) " >&6
25238 else
25239 if test x$gcc_no_link = xyes; then
25240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25243 /* end confdefs.h. */
25245 #ifdef HAVE_COMPLEX_H
25246 #include <complex.h>
25247 #endif
25248 #ifdef HAVE_MATH_H
25249 #include <math.h>
25250 #endif
25252 int (*ptr)() = (int (*)())catan;
25255 main ()
25257 return 0;
25260 _ACEOF
25261 if ac_fn_c_try_link "$LINENO"; then :
25262 gcc_cv_math_func_catan=yes
25263 else
25264 gcc_cv_math_func_catan=no
25266 rm -f core conftest.err conftest.$ac_objext \
25267 conftest$ac_exeext conftest.$ac_ext
25269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25270 $as_echo "$gcc_cv_math_func_catan" >&6; }
25271 if test $gcc_cv_math_func_catan = yes; then
25273 cat >>confdefs.h <<_ACEOF
25274 #define HAVE_CATAN 1
25275 _ACEOF
25282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25283 $as_echo_n "checking for catanf... " >&6; }
25284 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25285 $as_echo_n "(cached) " >&6
25286 else
25287 if test x$gcc_no_link = xyes; then
25288 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25291 /* end confdefs.h. */
25293 #ifdef HAVE_COMPLEX_H
25294 #include <complex.h>
25295 #endif
25296 #ifdef HAVE_MATH_H
25297 #include <math.h>
25298 #endif
25300 int (*ptr)() = (int (*)())catanf;
25303 main ()
25305 return 0;
25308 _ACEOF
25309 if ac_fn_c_try_link "$LINENO"; then :
25310 gcc_cv_math_func_catanf=yes
25311 else
25312 gcc_cv_math_func_catanf=no
25314 rm -f core conftest.err conftest.$ac_objext \
25315 conftest$ac_exeext conftest.$ac_ext
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25318 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25319 if test $gcc_cv_math_func_catanf = yes; then
25321 cat >>confdefs.h <<_ACEOF
25322 #define HAVE_CATANF 1
25323 _ACEOF
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25331 $as_echo_n "checking for catanh... " >&6; }
25332 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25333 $as_echo_n "(cached) " >&6
25334 else
25335 if test x$gcc_no_link = xyes; then
25336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25339 /* end confdefs.h. */
25341 #ifdef HAVE_COMPLEX_H
25342 #include <complex.h>
25343 #endif
25344 #ifdef HAVE_MATH_H
25345 #include <math.h>
25346 #endif
25348 int (*ptr)() = (int (*)())catanh;
25351 main ()
25353 return 0;
25356 _ACEOF
25357 if ac_fn_c_try_link "$LINENO"; then :
25358 gcc_cv_math_func_catanh=yes
25359 else
25360 gcc_cv_math_func_catanh=no
25362 rm -f core conftest.err conftest.$ac_objext \
25363 conftest$ac_exeext conftest.$ac_ext
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25366 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25367 if test $gcc_cv_math_func_catanh = yes; then
25369 cat >>confdefs.h <<_ACEOF
25370 #define HAVE_CATANH 1
25371 _ACEOF
25378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25379 $as_echo_n "checking for catanhf... " >&6; }
25380 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25381 $as_echo_n "(cached) " >&6
25382 else
25383 if test x$gcc_no_link = xyes; then
25384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25387 /* end confdefs.h. */
25389 #ifdef HAVE_COMPLEX_H
25390 #include <complex.h>
25391 #endif
25392 #ifdef HAVE_MATH_H
25393 #include <math.h>
25394 #endif
25396 int (*ptr)() = (int (*)())catanhf;
25399 main ()
25401 return 0;
25404 _ACEOF
25405 if ac_fn_c_try_link "$LINENO"; then :
25406 gcc_cv_math_func_catanhf=yes
25407 else
25408 gcc_cv_math_func_catanhf=no
25410 rm -f core conftest.err conftest.$ac_objext \
25411 conftest$ac_exeext conftest.$ac_ext
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25414 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25415 if test $gcc_cv_math_func_catanhf = yes; then
25417 cat >>confdefs.h <<_ACEOF
25418 #define HAVE_CATANHF 1
25419 _ACEOF
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25427 $as_echo_n "checking for catanhl... " >&6; }
25428 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25429 $as_echo_n "(cached) " >&6
25430 else
25431 if test x$gcc_no_link = xyes; then
25432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25435 /* end confdefs.h. */
25437 #ifdef HAVE_COMPLEX_H
25438 #include <complex.h>
25439 #endif
25440 #ifdef HAVE_MATH_H
25441 #include <math.h>
25442 #endif
25444 int (*ptr)() = (int (*)())catanhl;
25447 main ()
25449 return 0;
25452 _ACEOF
25453 if ac_fn_c_try_link "$LINENO"; then :
25454 gcc_cv_math_func_catanhl=yes
25455 else
25456 gcc_cv_math_func_catanhl=no
25458 rm -f core conftest.err conftest.$ac_objext \
25459 conftest$ac_exeext conftest.$ac_ext
25461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25462 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25463 if test $gcc_cv_math_func_catanhl = yes; then
25465 cat >>confdefs.h <<_ACEOF
25466 #define HAVE_CATANHL 1
25467 _ACEOF
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25475 $as_echo_n "checking for catanl... " >&6; }
25476 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25477 $as_echo_n "(cached) " >&6
25478 else
25479 if test x$gcc_no_link = xyes; then
25480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25483 /* end confdefs.h. */
25485 #ifdef HAVE_COMPLEX_H
25486 #include <complex.h>
25487 #endif
25488 #ifdef HAVE_MATH_H
25489 #include <math.h>
25490 #endif
25492 int (*ptr)() = (int (*)())catanl;
25495 main ()
25497 return 0;
25500 _ACEOF
25501 if ac_fn_c_try_link "$LINENO"; then :
25502 gcc_cv_math_func_catanl=yes
25503 else
25504 gcc_cv_math_func_catanl=no
25506 rm -f core conftest.err conftest.$ac_objext \
25507 conftest$ac_exeext conftest.$ac_ext
25509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25510 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25511 if test $gcc_cv_math_func_catanl = yes; then
25513 cat >>confdefs.h <<_ACEOF
25514 #define HAVE_CATANL 1
25515 _ACEOF
25520 # On AIX, clog is present in libm as __clog
25521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25522 $as_echo_n "checking for __clog in -lm... " >&6; }
25523 if test "${ac_cv_lib_m___clog+set}" = set; then :
25524 $as_echo_n "(cached) " >&6
25525 else
25526 ac_check_lib_save_LIBS=$LIBS
25527 LIBS="-lm $LIBS"
25528 if test x$gcc_no_link = xyes; then
25529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25532 /* end confdefs.h. */
25534 /* Override any GCC internal prototype to avoid an error.
25535 Use char because int might match the return type of a GCC
25536 builtin and then its argument prototype would still apply. */
25537 #ifdef __cplusplus
25538 extern "C"
25539 #endif
25540 char __clog ();
25542 main ()
25544 return __clog ();
25546 return 0;
25548 _ACEOF
25549 if ac_fn_c_try_link "$LINENO"; then :
25550 ac_cv_lib_m___clog=yes
25551 else
25552 ac_cv_lib_m___clog=no
25554 rm -f core conftest.err conftest.$ac_objext \
25555 conftest$ac_exeext conftest.$ac_ext
25556 LIBS=$ac_check_lib_save_LIBS
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25559 $as_echo "$ac_cv_lib_m___clog" >&6; }
25560 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25562 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25567 # Check whether the system has a working stat()
25569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25570 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25571 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25572 $as_echo_n "(cached) " >&6
25573 else
25575 if test "$cross_compiling" = yes; then :
25577 case "${target}" in
25578 *mingw*) libgfor_cv_have_working_stat=no ;;
25579 *) libgfor_cv_have_working_stat=yes;;
25580 esac
25581 else
25582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25583 /* end confdefs.h. */
25585 #include <stdio.h>
25586 #include <sys/types.h>
25587 #include <sys/stat.h>
25588 #include <unistd.h>
25590 int main ()
25592 FILE *f, *g;
25593 struct stat st1, st2;
25595 f = fopen ("foo", "w");
25596 g = fopen ("bar", "w");
25597 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25598 return 1;
25599 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25600 return 1;
25601 fclose(f);
25602 fclose(g);
25603 return 0;
25605 _ACEOF
25606 if ac_fn_c_try_run "$LINENO"; then :
25607 libgfor_cv_have_working_stat=yes
25608 else
25609 libgfor_cv_have_working_stat=no
25611 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25612 conftest.$ac_objext conftest.beam conftest.$ac_ext
25616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25617 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25618 if test x"$libgfor_cv_have_working_stat" = xyes; then
25620 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25624 # Check whether __mingw_snprintf() is present
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25627 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25628 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25629 $as_echo_n "(cached) " >&6
25630 else
25632 if test x$gcc_no_link = xyes; then
25633 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25636 /* end confdefs.h. */
25638 #include <stdio.h>
25639 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25642 main ()
25645 __mingw_snprintf (NULL, 0, "%d\n", 1);
25648 return 0;
25650 _ACEOF
25651 if ac_fn_c_try_link "$LINENO"; then :
25652 eval "libgfor_cv_have_mingw_snprintf=yes"
25653 else
25654 eval "libgfor_cv_have_mingw_snprintf=no"
25656 rm -f core conftest.err conftest.$ac_objext \
25657 conftest$ac_exeext conftest.$ac_ext
25660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25661 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25662 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25664 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25669 # Check whether libquadmath should be used
25670 # Check whether --enable-libquadmath-support was given.
25671 if test "${enable_libquadmath_support+set}" = set; then :
25672 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25673 else
25674 ENABLE_LIBQUADMATH_SUPPORT=yes
25677 enable_libquadmath_support=
25678 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25679 enable_libquadmath_support=no
25682 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25684 LIBQUADSPEC=
25686 if test "x$enable_libquadmath_support" != xno; then
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25689 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25690 if test "${libgfor_cv_have_float128+set}" = set; then :
25691 $as_echo_n "(cached) " >&6
25692 else
25694 if test x$gcc_no_link = xyes; then
25695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25696 /* end confdefs.h. */
25698 typedef _Complex float __attribute__((mode(TC))) __complex128;
25700 __float128 foo (__float128 x)
25703 __complex128 z1, z2;
25705 z1 = x;
25706 z2 = x / 7.Q;
25707 z2 /= z1;
25709 return (__float128) z2;
25712 __float128 bar (__float128 x)
25714 return x * __builtin_huge_valq ();
25718 main ()
25721 foo (1.2Q);
25722 bar (1.2Q);
25725 return 0;
25727 _ACEOF
25728 if ac_fn_c_try_compile "$LINENO"; then :
25730 libgfor_cv_have_float128=yes
25732 else
25734 libgfor_cv_have_float128=no
25737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25738 else
25739 if test x$gcc_no_link = xyes; then
25740 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25743 /* end confdefs.h. */
25745 typedef _Complex float __attribute__((mode(TC))) __complex128;
25747 __float128 foo (__float128 x)
25750 __complex128 z1, z2;
25752 z1 = x;
25753 z2 = x / 7.Q;
25754 z2 /= z1;
25756 return (__float128) z2;
25759 __float128 bar (__float128 x)
25761 return x * __builtin_huge_valq ();
25765 main ()
25768 foo (1.2Q);
25769 bar (1.2Q);
25772 return 0;
25774 _ACEOF
25775 if ac_fn_c_try_link "$LINENO"; then :
25777 libgfor_cv_have_float128=yes
25779 else
25781 libgfor_cv_have_float128=no
25784 rm -f core conftest.err conftest.$ac_objext \
25785 conftest$ac_exeext conftest.$ac_ext
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25789 $as_echo "$libgfor_cv_have_float128" >&6; }
25791 if test "x$libgfor_cv_have_float128" = xyes; then
25793 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25796 ac_xsave_c_werror_flag=$ac_c_werror_flag
25797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25798 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25799 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25800 $as_echo_n "(cached) " >&6
25801 else
25803 # Test for native Solaris options first.
25804 # No whitespace after -z to pass it through -Wl.
25805 libgfor_cv_as_needed_option="-zignore"
25806 libgfor_cv_no_as_needed_option="-zrecord"
25807 save_LDFLAGS="$LDFLAGS"
25808 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25809 libgfor_cv_have_as_needed=no
25811 ac_c_werror_flag=yes
25812 if test x$gcc_no_link = xyes; then
25813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25816 /* end confdefs.h. */
25819 main ()
25823 return 0;
25825 _ACEOF
25826 if ac_fn_c_try_link "$LINENO"; then :
25827 libgfor_cv_have_as_needed=yes
25828 else
25829 libgfor_cv_have_as_needed=no
25831 rm -f core conftest.err conftest.$ac_objext \
25832 conftest$ac_exeext conftest.$ac_ext
25833 LDFLAGS="$save_LDFLAGS"
25834 if test "x$libgfor_cv_have_as_needed" = xno; then
25835 libgfor_cv_as_needed_option="--as-needed"
25836 libgfor_cv_no_as_needed_option="--no-as-needed"
25837 save_LDFLAGS="$LDFLAGS"
25838 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25839 libgfor_cv_have_as_needed=no
25841 ac_c_werror_flag=yes
25842 if test x$gcc_no_link = xyes; then
25843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25846 /* end confdefs.h. */
25849 main ()
25853 return 0;
25855 _ACEOF
25856 if ac_fn_c_try_link "$LINENO"; then :
25857 libgfor_cv_have_as_needed=yes
25858 else
25859 libgfor_cv_have_as_needed=no
25861 rm -f core conftest.err conftest.$ac_objext \
25862 conftest$ac_exeext conftest.$ac_ext
25863 LDFLAGS="$save_LDFLAGS"
25865 ac_c_werror_flag=$ac_xsave_c_werror_flag
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25869 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25871 if test "x$libgfor_cv_have_as_needed" = xyes; then
25872 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25873 else
25874 LIBQUADSPEC="-lquadmath"
25876 if test -f ../libquadmath/libquadmath.la; then
25877 LIBQUADLIB=../libquadmath/libquadmath.la
25878 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25879 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25880 else
25881 LIBQUADLIB="-lquadmath"
25882 LIBQUADLIB_DEP=
25883 LIBQUADINCLUDE=
25886 else
25887 # for --disable-quadmath
25888 LIBQUADLIB=
25889 LIBQUADLIB_DEP=
25890 LIBQUADINCLUDE=
25898 if test "x$libgfor_cv_have_float128" = xyes; then
25899 LIBGFOR_BUILD_QUAD_TRUE=
25900 LIBGFOR_BUILD_QUAD_FALSE='#'
25901 else
25902 LIBGFOR_BUILD_QUAD_TRUE='#'
25903 LIBGFOR_BUILD_QUAD_FALSE=
25908 # Check for GNU libc feenableexcept
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25910 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25911 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25912 $as_echo_n "(cached) " >&6
25913 else
25914 ac_check_lib_save_LIBS=$LIBS
25915 LIBS="-lm $LIBS"
25916 if test x$gcc_no_link = xyes; then
25917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25920 /* end confdefs.h. */
25922 /* Override any GCC internal prototype to avoid an error.
25923 Use char because int might match the return type of a GCC
25924 builtin and then its argument prototype would still apply. */
25925 #ifdef __cplusplus
25926 extern "C"
25927 #endif
25928 char feenableexcept ();
25930 main ()
25932 return feenableexcept ();
25934 return 0;
25936 _ACEOF
25937 if ac_fn_c_try_link "$LINENO"; then :
25938 ac_cv_lib_m_feenableexcept=yes
25939 else
25940 ac_cv_lib_m_feenableexcept=no
25942 rm -f core conftest.err conftest.$ac_objext \
25943 conftest$ac_exeext conftest.$ac_ext
25944 LIBS=$ac_check_lib_save_LIBS
25946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25947 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25948 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25949 have_feenableexcept=yes
25950 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25955 # At least for glibc, clock_gettime is in librt. But don't
25956 # pull that in if it still doesn't give us the function we want. This
25957 # test is copied from libgomp, and modified to not link in -lrt as
25958 # libgfortran calls clock_gettime via a weak reference if it's found
25959 # in librt.
25960 if test "$ac_cv_func_clock_gettime" = no; then
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25962 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25963 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25964 $as_echo_n "(cached) " >&6
25965 else
25966 ac_check_lib_save_LIBS=$LIBS
25967 LIBS="-lrt $LIBS"
25968 if test x$gcc_no_link = xyes; then
25969 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25972 /* end confdefs.h. */
25974 /* Override any GCC internal prototype to avoid an error.
25975 Use char because int might match the return type of a GCC
25976 builtin and then its argument prototype would still apply. */
25977 #ifdef __cplusplus
25978 extern "C"
25979 #endif
25980 char clock_gettime ();
25982 main ()
25984 return clock_gettime ();
25986 return 0;
25988 _ACEOF
25989 if ac_fn_c_try_link "$LINENO"; then :
25990 ac_cv_lib_rt_clock_gettime=yes
25991 else
25992 ac_cv_lib_rt_clock_gettime=no
25994 rm -f core conftest.err conftest.$ac_objext \
25995 conftest$ac_exeext conftest.$ac_ext
25996 LIBS=$ac_check_lib_save_LIBS
25998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25999 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
26000 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
26002 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
26008 # Check for SysV fpsetmask
26010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26011 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26012 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
26013 $as_echo_n "(cached) " >&6
26014 else
26016 if test x$gcc_no_link = xyes; then
26017 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26020 /* end confdefs.h. */
26022 #if HAVE_FLOATINGPOINT_H
26023 # include <floatingpoint.h>
26024 #endif /* HAVE_FLOATINGPOINT_H */
26025 #if HAVE_IEEEFP_H
26026 # include <ieeefp.h>
26027 #endif /* HAVE_IEEEFP_H */
26029 main ()
26031 fpsetmask(0);
26033 return 0;
26035 _ACEOF
26036 if ac_fn_c_try_link "$LINENO"; then :
26037 eval "libgfor_cv_have_fpsetmask=yes"
26038 else
26039 eval "libgfor_cv_have_fpsetmask=no"
26041 rm -f core conftest.err conftest.$ac_objext \
26042 conftest$ac_exeext conftest.$ac_ext
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26046 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26047 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
26048 have_fpsetmask=yes
26050 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26054 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
26055 #include <ieeefp.h>
26056 #include <math.h>
26059 if test "x$ac_cv_type_fp_except" = x""yes; then :
26061 cat >>confdefs.h <<_ACEOF
26062 #define HAVE_FP_EXCEPT 1
26063 _ACEOF
26067 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26068 #include <ieeefp.h>
26069 #include <math.h>
26072 if test "x$ac_cv_type_fp_except_t" = x""yes; then :
26074 cat >>confdefs.h <<_ACEOF
26075 #define HAVE_FP_EXCEPT_T 1
26076 _ACEOF
26081 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26082 #include <ieeefp.h>
26083 #include <math.h>
26086 if test "x$ac_cv_type_fp_rnd" = x""yes; then :
26088 cat >>confdefs.h <<_ACEOF
26089 #define HAVE_FP_RND 1
26090 _ACEOF
26094 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26095 #include <ieeefp.h>
26096 #include <math.h>
26099 if test "x$ac_cv_type_fp_rnd_t" = x""yes; then :
26101 cat >>confdefs.h <<_ACEOF
26102 #define HAVE_FP_RND_T 1
26103 _ACEOF
26109 # Check whether we have fpsetsticky or fpresetsticky
26110 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26111 if test "x$ac_cv_func_fpsetsticky" = x""yes; then :
26112 have_fpsetsticky=yes
26113 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26117 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26118 if test "x$ac_cv_func_fpresetsticky" = x""yes; then :
26119 have_fpresetsticky=yes
26120 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26125 # Check for AIX fp_trap and fp_enable
26126 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26127 if test "x$ac_cv_func_fp_trap" = x""yes; then :
26128 have_fp_trap=yes
26129 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26133 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26134 if test "x$ac_cv_func_fp_enable" = x""yes; then :
26135 have_fp_enable=yes
26136 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26141 # Runs configure.host to set up necessary host-dependent shell variables.
26142 # We then display a message about it, and propagate them through the
26143 # build chain.
26144 . ${srcdir}/configure.host
26145 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26146 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26147 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26148 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26149 FPU_HOST_HEADER=config/${fpu_host}.h
26152 # Whether we will build the IEEE modules
26153 if test x${ieee_support} = xyes; then
26154 IEEE_SUPPORT_TRUE=
26155 IEEE_SUPPORT_FALSE='#'
26156 else
26157 IEEE_SUPPORT_TRUE='#'
26158 IEEE_SUPPORT_FALSE=
26163 # Some targets require additional compiler options for IEEE compatibility.
26164 IEEE_FLAGS="${ieee_flags}"
26168 # Check for POSIX getpwuid_r
26170 # There are two versions of getpwuid_r, the POSIX one with 5
26171 # arguments, and another one with 4 arguments used by at least HP-UX
26172 # 10.2.
26173 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26175 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26176 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26177 $as_echo_n "(cached) " >&6
26178 else
26180 if test x$gcc_no_link = xyes; then
26181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26184 /* end confdefs.h. */
26186 #include <stdio.h>
26187 #include <sys/types.h>
26188 #include <pwd.h>
26190 main ()
26193 getpwuid_r(0, NULL, NULL, 0, NULL);
26196 return 0;
26198 _ACEOF
26199 if ac_fn_c_try_link "$LINENO"; then :
26200 libgfor_cv_posix_getpwuid_r="yes"
26201 else
26202 libgfor_cv_posix_getpwuid_r="no"
26204 rm -f core conftest.err conftest.$ac_objext \
26205 conftest$ac_exeext conftest.$ac_ext
26207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26208 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26210 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26212 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26217 # Check out attribute support.
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26220 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26221 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26222 $as_echo_n "(cached) " >&6
26223 else
26225 save_CFLAGS="$CFLAGS"
26226 CFLAGS="$CFLAGS -Werror"
26227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26228 /* end confdefs.h. */
26229 void __attribute__((visibility("hidden"))) foo(void) { }
26231 main ()
26235 return 0;
26237 _ACEOF
26238 if ac_fn_c_try_compile "$LINENO"; then :
26239 libgfor_cv_have_attribute_visibility=yes
26240 else
26241 libgfor_cv_have_attribute_visibility=no
26243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244 CFLAGS="$save_CFLAGS"
26246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26247 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26248 if test $libgfor_cv_have_attribute_visibility = yes; then
26250 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26255 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26256 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26257 $as_echo_n "(cached) " >&6
26258 else
26260 save_CFLAGS="$CFLAGS"
26261 CFLAGS="$CFLAGS -Werror"
26262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26263 /* end confdefs.h. */
26264 void __attribute__((dllexport)) foo(void) { }
26266 main ()
26270 return 0;
26272 _ACEOF
26273 if ac_fn_c_try_compile "$LINENO"; then :
26274 libgfor_cv_have_attribute_dllexport=yes
26275 else
26276 libgfor_cv_have_attribute_dllexport=no
26278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26279 CFLAGS="$save_CFLAGS"
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26282 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26283 if test $libgfor_cv_have_attribute_dllexport = yes; then
26285 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26290 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26291 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26292 $as_echo_n "(cached) " >&6
26293 else
26295 if test x$gcc_no_link = xyes; then
26296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h. */
26301 void foo(void) { }
26302 extern void bar(void) __attribute__((alias("foo")));
26304 main ()
26306 bar();
26308 return 0;
26310 _ACEOF
26311 if ac_fn_c_try_link "$LINENO"; then :
26312 libgfor_cv_have_attribute_alias=yes
26313 else
26314 libgfor_cv_have_attribute_alias=no
26316 rm -f core conftest.err conftest.$ac_objext \
26317 conftest$ac_exeext conftest.$ac_ext
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26320 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26321 if test $libgfor_cv_have_attribute_alias = yes; then
26323 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26327 # Check out sync builtins support.
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26330 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26331 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26332 $as_echo_n "(cached) " >&6
26333 else
26335 if test x$gcc_no_link = xyes; then
26336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26339 /* end confdefs.h. */
26340 int foovar = 0;
26342 main ()
26345 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26346 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26348 return 0;
26350 _ACEOF
26351 if ac_fn_c_try_link "$LINENO"; then :
26352 libgfor_cv_have_sync_fetch_and_add=yes
26353 else
26354 libgfor_cv_have_sync_fetch_and_add=no
26356 rm -f core conftest.err conftest.$ac_objext \
26357 conftest$ac_exeext conftest.$ac_ext
26359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26360 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26361 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26363 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26367 # Check out #pragma weak.
26369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26370 $as_echo_n "checking whether pragma weak works... " >&6; }
26371 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26372 $as_echo_n "(cached) " >&6
26373 else
26375 gfor_save_CFLAGS="$CFLAGS"
26376 CFLAGS="$CFLAGS -Wunknown-pragmas"
26377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26378 /* end confdefs.h. */
26380 void foo (void);
26381 #pragma weak foo
26384 main ()
26386 if (foo) foo ();
26388 return 0;
26390 _ACEOF
26391 if ac_fn_c_try_compile "$LINENO"; then :
26392 libgfor_cv_have_pragma_weak=yes
26393 else
26394 libgfor_cv_have_pragma_weak=no
26396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26399 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26400 if test $libgfor_cv_have_pragma_weak = yes; then
26402 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26405 case "$host" in
26406 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
26408 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26411 esac
26413 # Various other checks on target
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26416 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26417 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26418 $as_echo_n "(cached) " >&6
26419 else
26421 if test "$cross_compiling" = yes; then :
26423 case "${target}" in
26424 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26425 *) libgfor_cv_have_unlink_open_file=yes;;
26426 esac
26427 else
26428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26429 /* end confdefs.h. */
26431 #include <errno.h>
26432 #include <fcntl.h>
26433 #include <unistd.h>
26434 #include <sys/stat.h>
26436 int main ()
26438 int fd;
26440 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26441 if (fd <= 0)
26442 return 0;
26443 if (unlink ("testfile") == -1)
26444 return 1;
26445 write (fd, "This is a test\n", 15);
26446 close (fd);
26448 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26449 return 0;
26450 else
26451 return 1;
26453 _ACEOF
26454 if ac_fn_c_try_run "$LINENO"; then :
26455 libgfor_cv_have_unlink_open_file=yes
26456 else
26457 libgfor_cv_have_unlink_open_file=no
26459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26460 conftest.$ac_objext conftest.beam conftest.$ac_ext
26464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26465 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26466 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26468 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26472 # Check whether line terminator is LF or CRLF
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26475 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26476 if test "${libgfor_cv_have_crlf+set}" = set; then :
26477 $as_echo_n "(cached) " >&6
26478 else
26480 if test "$cross_compiling" = yes; then :
26482 case "${target}" in
26483 *mingw*) libgfor_cv_have_crlf=yes ;;
26484 *) libgfor_cv_have_crlf=no;;
26485 esac
26486 else
26487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26488 /* end confdefs.h. */
26490 /* This test program should exit with status 0 if system uses a CRLF as
26491 line terminator, and status 1 otherwise.
26492 Since it is used to check for mingw systems, and should return 0 in any
26493 other case, in case of a failure we will not use CRLF. */
26494 #include <sys/stat.h>
26495 #include <stdlib.h>
26496 #include <fcntl.h>
26497 #include <stdio.h>
26499 int main ()
26501 #ifndef O_BINARY
26502 exit(1);
26503 #else
26504 int fd, bytes;
26505 char buff[5];
26507 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26508 if (fd < 0)
26509 exit(1);
26510 if (write (fd, "\n", 1) < 0)
26511 perror ("write");
26513 close (fd);
26515 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26516 exit(1);
26517 bytes = read (fd, buff, 5);
26518 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26519 exit(0);
26520 else
26521 exit(1);
26522 #endif
26524 _ACEOF
26525 if ac_fn_c_try_run "$LINENO"; then :
26526 libgfor_cv_have_crlf=yes
26527 else
26528 libgfor_cv_have_crlf=no
26530 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26531 conftest.$ac_objext conftest.beam conftest.$ac_ext
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26536 $as_echo "$libgfor_cv_have_crlf" >&6; }
26537 if test x"$libgfor_cv_have_crlf" = xyes; then
26539 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26543 # Check whether we have _Unwind_GetIPInfo for backtrace
26546 # Check whether --with-system-libunwind was given.
26547 if test "${with_system_libunwind+set}" = set; then :
26548 withval=$with_system_libunwind;
26551 # If system-libunwind was not specifically set, pick a default setting.
26552 if test x$with_system_libunwind = x; then
26553 case ${target} in
26554 ia64-*-hpux*) with_system_libunwind=yes ;;
26555 *) with_system_libunwind=no ;;
26556 esac
26558 # Based on system-libunwind and target, do we have ipinfo?
26559 if test x$with_system_libunwind = xyes; then
26560 case ${target} in
26561 ia64-*-*) have_unwind_getipinfo=no ;;
26562 *) have_unwind_getipinfo=yes ;;
26563 esac
26564 else
26565 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26567 case ${target} in
26568 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
26569 *) have_unwind_getipinfo=yes ;;
26570 esac
26574 if test x$have_unwind_getipinfo = xyes; then
26576 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26581 cat >confcache <<\_ACEOF
26582 # This file is a shell script that caches the results of configure
26583 # tests run on this system so they can be shared between configure
26584 # scripts and configure runs, see configure's option --config-cache.
26585 # It is not useful on other systems. If it contains results you don't
26586 # want to keep, you may remove or edit it.
26588 # config.status only pays attention to the cache file if you give it
26589 # the --recheck option to rerun configure.
26591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26593 # following values.
26595 _ACEOF
26597 # The following way of writing the cache mishandles newlines in values,
26598 # but we know of no workaround that is simple, portable, and efficient.
26599 # So, we kill variables containing newlines.
26600 # Ultrix sh set writes to stderr and can't be redirected directly,
26601 # and sets the high bit in the cache file unless we assign to the vars.
26603 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26604 eval ac_val=\$$ac_var
26605 case $ac_val in #(
26606 *${as_nl}*)
26607 case $ac_var in #(
26608 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26610 esac
26611 case $ac_var in #(
26612 _ | IFS | as_nl) ;; #(
26613 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26614 *) { eval $ac_var=; unset $ac_var;} ;;
26615 esac ;;
26616 esac
26617 done
26619 (set) 2>&1 |
26620 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26621 *${as_nl}ac_space=\ *)
26622 # `set' does not quote correctly, so add quotes: double-quote
26623 # substitution turns \\\\ into \\, and sed turns \\ into \.
26624 sed -n \
26625 "s/'/'\\\\''/g;
26626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26627 ;; #(
26629 # `set' quotes correctly as required by POSIX, so do not add quotes.
26630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26632 esac |
26633 sort
26635 sed '
26636 /^ac_cv_env_/b end
26637 t clear
26638 :clear
26639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26640 t end
26641 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26642 :end' >>confcache
26643 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26644 if test -w "$cache_file"; then
26645 test "x$cache_file" != "x/dev/null" &&
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26647 $as_echo "$as_me: updating cache $cache_file" >&6;}
26648 cat confcache >$cache_file
26649 else
26650 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26651 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26654 rm -f confcache
26656 if test ${multilib} = yes; then
26657 multilib_arg="--enable-multilib"
26658 else
26659 multilib_arg=
26662 # Write our Makefile and spec file.
26663 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26665 cat >confcache <<\_ACEOF
26666 # This file is a shell script that caches the results of configure
26667 # tests run on this system so they can be shared between configure
26668 # scripts and configure runs, see configure's option --config-cache.
26669 # It is not useful on other systems. If it contains results you don't
26670 # want to keep, you may remove or edit it.
26672 # config.status only pays attention to the cache file if you give it
26673 # the --recheck option to rerun configure.
26675 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26676 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26677 # following values.
26679 _ACEOF
26681 # The following way of writing the cache mishandles newlines in values,
26682 # but we know of no workaround that is simple, portable, and efficient.
26683 # So, we kill variables containing newlines.
26684 # Ultrix sh set writes to stderr and can't be redirected directly,
26685 # and sets the high bit in the cache file unless we assign to the vars.
26687 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26688 eval ac_val=\$$ac_var
26689 case $ac_val in #(
26690 *${as_nl}*)
26691 case $ac_var in #(
26692 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26693 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26694 esac
26695 case $ac_var in #(
26696 _ | IFS | as_nl) ;; #(
26697 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26698 *) { eval $ac_var=; unset $ac_var;} ;;
26699 esac ;;
26700 esac
26701 done
26703 (set) 2>&1 |
26704 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26705 *${as_nl}ac_space=\ *)
26706 # `set' does not quote correctly, so add quotes: double-quote
26707 # substitution turns \\\\ into \\, and sed turns \\ into \.
26708 sed -n \
26709 "s/'/'\\\\''/g;
26710 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26711 ;; #(
26713 # `set' quotes correctly as required by POSIX, so do not add quotes.
26714 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26716 esac |
26717 sort
26719 sed '
26720 /^ac_cv_env_/b end
26721 t clear
26722 :clear
26723 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26724 t end
26725 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26726 :end' >>confcache
26727 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26728 if test -w "$cache_file"; then
26729 test "x$cache_file" != "x/dev/null" &&
26730 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26731 $as_echo "$as_me: updating cache $cache_file" >&6;}
26732 cat confcache >$cache_file
26733 else
26734 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26735 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26738 rm -f confcache
26740 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26741 # Let make expand exec_prefix.
26742 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26744 DEFS=-DHAVE_CONFIG_H
26746 ac_libobjs=
26747 ac_ltlibobjs=
26748 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26749 # 1. Remove the extension, and $U if already installed.
26750 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26751 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26752 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26753 # will be set to the directory where LIBOBJS objects are built.
26754 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26755 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26756 done
26757 LIBOBJS=$ac_libobjs
26759 LTLIBOBJS=$ac_ltlibobjs
26762 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26763 as_fn_error "conditional \"onestep\" was never defined.
26764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26766 if test -n "$EXEEXT"; then
26767 am__EXEEXT_TRUE=
26768 am__EXEEXT_FALSE='#'
26769 else
26770 am__EXEEXT_TRUE='#'
26771 am__EXEEXT_FALSE=
26774 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26775 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26778 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26779 as_fn_error "conditional \"AMDEP\" was never defined.
26780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26782 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26783 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26786 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26787 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26790 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26791 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26794 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26795 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26798 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26799 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26802 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26803 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26806 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26807 as_fn_error "conditional \"IEEE_SUPPORT\" was never defined.
26808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26811 : ${CONFIG_STATUS=./config.status}
26812 ac_write_fail=0
26813 ac_clean_files_save=$ac_clean_files
26814 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26815 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26816 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26817 as_write_fail=0
26818 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26819 #! $SHELL
26820 # Generated by $as_me.
26821 # Run this file to recreate the current configuration.
26822 # Compiler output produced by configure, useful for debugging
26823 # configure, is in config.log if it exists.
26825 debug=false
26826 ac_cs_recheck=false
26827 ac_cs_silent=false
26829 SHELL=\${CONFIG_SHELL-$SHELL}
26830 export SHELL
26831 _ASEOF
26832 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26833 ## -------------------- ##
26834 ## M4sh Initialization. ##
26835 ## -------------------- ##
26837 # Be more Bourne compatible
26838 DUALCASE=1; export DUALCASE # for MKS sh
26839 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26840 emulate sh
26841 NULLCMD=:
26842 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26843 # is contrary to our usage. Disable this feature.
26844 alias -g '${1+"$@"}'='"$@"'
26845 setopt NO_GLOB_SUBST
26846 else
26847 case `(set -o) 2>/dev/null` in #(
26848 *posix*) :
26849 set -o posix ;; #(
26850 *) :
26852 esac
26856 as_nl='
26858 export as_nl
26859 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26860 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26861 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26862 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26863 # Prefer a ksh shell builtin over an external printf program on Solaris,
26864 # but without wasting forks for bash or zsh.
26865 if test -z "$BASH_VERSION$ZSH_VERSION" \
26866 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26867 as_echo='print -r --'
26868 as_echo_n='print -rn --'
26869 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26870 as_echo='printf %s\n'
26871 as_echo_n='printf %s'
26872 else
26873 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26874 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26875 as_echo_n='/usr/ucb/echo -n'
26876 else
26877 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26878 as_echo_n_body='eval
26879 arg=$1;
26880 case $arg in #(
26881 *"$as_nl"*)
26882 expr "X$arg" : "X\\(.*\\)$as_nl";
26883 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26884 esac;
26885 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26887 export as_echo_n_body
26888 as_echo_n='sh -c $as_echo_n_body as_echo'
26890 export as_echo_body
26891 as_echo='sh -c $as_echo_body as_echo'
26894 # The user is always right.
26895 if test "${PATH_SEPARATOR+set}" != set; then
26896 PATH_SEPARATOR=:
26897 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26898 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26899 PATH_SEPARATOR=';'
26904 # IFS
26905 # We need space, tab and new line, in precisely that order. Quoting is
26906 # there to prevent editors from complaining about space-tab.
26907 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26908 # splitting by setting IFS to empty value.)
26909 IFS=" "" $as_nl"
26911 # Find who we are. Look in the path if we contain no directory separator.
26912 case $0 in #((
26913 *[\\/]* ) as_myself=$0 ;;
26914 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26915 for as_dir in $PATH
26917 IFS=$as_save_IFS
26918 test -z "$as_dir" && as_dir=.
26919 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26920 done
26921 IFS=$as_save_IFS
26924 esac
26925 # We did not find ourselves, most probably we were run as `sh COMMAND'
26926 # in which case we are not to be found in the path.
26927 if test "x$as_myself" = x; then
26928 as_myself=$0
26930 if test ! -f "$as_myself"; then
26931 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26932 exit 1
26935 # Unset variables that we do not need and which cause bugs (e.g. in
26936 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26937 # suppresses any "Segmentation fault" message there. '((' could
26938 # trigger a bug in pdksh 5.2.14.
26939 for as_var in BASH_ENV ENV MAIL MAILPATH
26940 do eval test x\${$as_var+set} = xset \
26941 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26942 done
26943 PS1='$ '
26944 PS2='> '
26945 PS4='+ '
26947 # NLS nuisances.
26948 LC_ALL=C
26949 export LC_ALL
26950 LANGUAGE=C
26951 export LANGUAGE
26953 # CDPATH.
26954 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26957 # as_fn_error ERROR [LINENO LOG_FD]
26958 # ---------------------------------
26959 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26960 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26961 # script with status $?, using 1 if that was 0.
26962 as_fn_error ()
26964 as_status=$?; test $as_status -eq 0 && as_status=1
26965 if test "$3"; then
26966 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26967 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26969 $as_echo "$as_me: error: $1" >&2
26970 as_fn_exit $as_status
26971 } # as_fn_error
26974 # as_fn_set_status STATUS
26975 # -----------------------
26976 # Set $? to STATUS, without forking.
26977 as_fn_set_status ()
26979 return $1
26980 } # as_fn_set_status
26982 # as_fn_exit STATUS
26983 # -----------------
26984 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26985 as_fn_exit ()
26987 set +e
26988 as_fn_set_status $1
26989 exit $1
26990 } # as_fn_exit
26992 # as_fn_unset VAR
26993 # ---------------
26994 # Portably unset VAR.
26995 as_fn_unset ()
26997 { eval $1=; unset $1;}
26999 as_unset=as_fn_unset
27000 # as_fn_append VAR VALUE
27001 # ----------------------
27002 # Append the text in VALUE to the end of the definition contained in VAR. Take
27003 # advantage of any shell optimizations that allow amortized linear growth over
27004 # repeated appends, instead of the typical quadratic growth present in naive
27005 # implementations.
27006 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27007 eval 'as_fn_append ()
27009 eval $1+=\$2
27011 else
27012 as_fn_append ()
27014 eval $1=\$$1\$2
27016 fi # as_fn_append
27018 # as_fn_arith ARG...
27019 # ------------------
27020 # Perform arithmetic evaluation on the ARGs, and store the result in the
27021 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27022 # must be portable across $(()) and expr.
27023 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27024 eval 'as_fn_arith ()
27026 as_val=$(( $* ))
27028 else
27029 as_fn_arith ()
27031 as_val=`expr "$@" || test $? -eq 1`
27033 fi # as_fn_arith
27036 if expr a : '\(a\)' >/dev/null 2>&1 &&
27037 test "X`expr 00001 : '.*\(...\)'`" = X001; then
27038 as_expr=expr
27039 else
27040 as_expr=false
27043 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27044 as_basename=basename
27045 else
27046 as_basename=false
27049 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27050 as_dirname=dirname
27051 else
27052 as_dirname=false
27055 as_me=`$as_basename -- "$0" ||
27056 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27057 X"$0" : 'X\(//\)$' \| \
27058 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27059 $as_echo X/"$0" |
27060 sed '/^.*\/\([^/][^/]*\)\/*$/{
27061 s//\1/
27064 /^X\/\(\/\/\)$/{
27065 s//\1/
27068 /^X\/\(\/\).*/{
27069 s//\1/
27072 s/.*/./; q'`
27074 # Avoid depending upon Character Ranges.
27075 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27076 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27077 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27078 as_cr_digits='0123456789'
27079 as_cr_alnum=$as_cr_Letters$as_cr_digits
27081 ECHO_C= ECHO_N= ECHO_T=
27082 case `echo -n x` in #(((((
27083 -n*)
27084 case `echo 'xy\c'` in
27085 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27086 xy) ECHO_C='\c';;
27087 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27088 ECHO_T=' ';;
27089 esac;;
27091 ECHO_N='-n';;
27092 esac
27094 rm -f conf$$ conf$$.exe conf$$.file
27095 if test -d conf$$.dir; then
27096 rm -f conf$$.dir/conf$$.file
27097 else
27098 rm -f conf$$.dir
27099 mkdir conf$$.dir 2>/dev/null
27101 if (echo >conf$$.file) 2>/dev/null; then
27102 if ln -s conf$$.file conf$$ 2>/dev/null; then
27103 as_ln_s='ln -s'
27104 # ... but there are two gotchas:
27105 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27106 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27107 # In both cases, we have to default to `cp -p'.
27108 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27109 as_ln_s='cp -p'
27110 elif ln conf$$.file conf$$ 2>/dev/null; then
27111 as_ln_s=ln
27112 else
27113 as_ln_s='cp -p'
27115 else
27116 as_ln_s='cp -p'
27118 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27119 rmdir conf$$.dir 2>/dev/null
27122 # as_fn_mkdir_p
27123 # -------------
27124 # Create "$as_dir" as a directory, including parents if necessary.
27125 as_fn_mkdir_p ()
27128 case $as_dir in #(
27129 -*) as_dir=./$as_dir;;
27130 esac
27131 test -d "$as_dir" || eval $as_mkdir_p || {
27132 as_dirs=
27133 while :; do
27134 case $as_dir in #(
27135 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27136 *) as_qdir=$as_dir;;
27137 esac
27138 as_dirs="'$as_qdir' $as_dirs"
27139 as_dir=`$as_dirname -- "$as_dir" ||
27140 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27141 X"$as_dir" : 'X\(//\)[^/]' \| \
27142 X"$as_dir" : 'X\(//\)$' \| \
27143 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27144 $as_echo X"$as_dir" |
27145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27146 s//\1/
27149 /^X\(\/\/\)[^/].*/{
27150 s//\1/
27153 /^X\(\/\/\)$/{
27154 s//\1/
27157 /^X\(\/\).*/{
27158 s//\1/
27161 s/.*/./; q'`
27162 test -d "$as_dir" && break
27163 done
27164 test -z "$as_dirs" || eval "mkdir $as_dirs"
27165 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
27168 } # as_fn_mkdir_p
27169 if mkdir -p . 2>/dev/null; then
27170 as_mkdir_p='mkdir -p "$as_dir"'
27171 else
27172 test -d ./-p && rmdir ./-p
27173 as_mkdir_p=false
27176 if test -x / >/dev/null 2>&1; then
27177 as_test_x='test -x'
27178 else
27179 if ls -dL / >/dev/null 2>&1; then
27180 as_ls_L_option=L
27181 else
27182 as_ls_L_option=
27184 as_test_x='
27185 eval sh -c '\''
27186 if test -d "$1"; then
27187 test -d "$1/.";
27188 else
27189 case $1 in #(
27190 -*)set "./$1";;
27191 esac;
27192 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27193 ???[sx]*):;;*)false;;esac;fi
27194 '\'' sh
27197 as_executable_p=$as_test_x
27199 # Sed expression to map a string onto a valid CPP name.
27200 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27202 # Sed expression to map a string onto a valid variable name.
27203 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27206 exec 6>&1
27207 ## ----------------------------------- ##
27208 ## Main body of $CONFIG_STATUS script. ##
27209 ## ----------------------------------- ##
27210 _ASEOF
27211 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27214 # Save the log message, to keep $0 and so on meaningful, and to
27215 # report actual input values of CONFIG_FILES etc. instead of their
27216 # values after options handling.
27217 ac_log="
27218 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27219 generated by GNU Autoconf 2.64. Invocation command line was
27221 CONFIG_FILES = $CONFIG_FILES
27222 CONFIG_HEADERS = $CONFIG_HEADERS
27223 CONFIG_LINKS = $CONFIG_LINKS
27224 CONFIG_COMMANDS = $CONFIG_COMMANDS
27225 $ $0 $@
27227 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27230 _ACEOF
27232 case $ac_config_files in *"
27233 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27234 esac
27236 case $ac_config_headers in *"
27237 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27238 esac
27241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27242 # Files that config.status was made for.
27243 config_files="$ac_config_files"
27244 config_headers="$ac_config_headers"
27245 config_commands="$ac_config_commands"
27247 _ACEOF
27249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27250 ac_cs_usage="\
27251 \`$as_me' instantiates files and other configuration actions
27252 from templates according to the current configuration. Unless the files
27253 and actions are specified as TAGs, all are instantiated by default.
27255 Usage: $0 [OPTION]... [TAG]...
27257 -h, --help print this help, then exit
27258 -V, --version print version number and configuration settings, then exit
27259 -q, --quiet, --silent
27260 do not print progress messages
27261 -d, --debug don't remove temporary files
27262 --recheck update $as_me by reconfiguring in the same conditions
27263 --file=FILE[:TEMPLATE]
27264 instantiate the configuration file FILE
27265 --header=FILE[:TEMPLATE]
27266 instantiate the configuration header FILE
27268 Configuration files:
27269 $config_files
27271 Configuration headers:
27272 $config_headers
27274 Configuration commands:
27275 $config_commands
27277 Report bugs to the package provider.
27278 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27279 General help using GNU software: <http://www.gnu.org/gethelp/>."
27281 _ACEOF
27282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27283 ac_cs_version="\\
27284 GNU Fortran Runtime Library config.status 0.3
27285 configured by $0, generated by GNU Autoconf 2.64,
27286 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27288 Copyright (C) 2009 Free Software Foundation, Inc.
27289 This config.status script is free software; the Free Software Foundation
27290 gives unlimited permission to copy, distribute and modify it."
27292 ac_pwd='$ac_pwd'
27293 srcdir='$srcdir'
27294 INSTALL='$INSTALL'
27295 MKDIR_P='$MKDIR_P'
27296 AWK='$AWK'
27297 test -n "\$AWK" || AWK=awk
27298 _ACEOF
27300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27301 # The default lists apply if the user does not specify any file.
27302 ac_need_defaults=:
27303 while test $# != 0
27305 case $1 in
27306 --*=*)
27307 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27308 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27309 ac_shift=:
27312 ac_option=$1
27313 ac_optarg=$2
27314 ac_shift=shift
27316 esac
27318 case $ac_option in
27319 # Handling of the options.
27320 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27321 ac_cs_recheck=: ;;
27322 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27323 $as_echo "$ac_cs_version"; exit ;;
27324 --debug | --debu | --deb | --de | --d | -d )
27325 debug=: ;;
27326 --file | --fil | --fi | --f )
27327 $ac_shift
27328 case $ac_optarg in
27329 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27330 esac
27331 as_fn_append CONFIG_FILES " '$ac_optarg'"
27332 ac_need_defaults=false;;
27333 --header | --heade | --head | --hea )
27334 $ac_shift
27335 case $ac_optarg in
27336 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27337 esac
27338 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27339 ac_need_defaults=false;;
27340 --he | --h)
27341 # Conflict between --help and --header
27342 as_fn_error "ambiguous option: \`$1'
27343 Try \`$0 --help' for more information.";;
27344 --help | --hel | -h )
27345 $as_echo "$ac_cs_usage"; exit ;;
27346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27347 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27348 ac_cs_silent=: ;;
27350 # This is an error.
27351 -*) as_fn_error "unrecognized option: \`$1'
27352 Try \`$0 --help' for more information." ;;
27354 *) as_fn_append ac_config_targets " $1"
27355 ac_need_defaults=false ;;
27357 esac
27358 shift
27359 done
27361 ac_configure_extra_args=
27363 if $ac_cs_silent; then
27364 exec 6>/dev/null
27365 ac_configure_extra_args="$ac_configure_extra_args --silent"
27368 _ACEOF
27369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27370 if \$ac_cs_recheck; then
27371 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27372 shift
27373 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27374 CONFIG_SHELL='$SHELL'
27375 export CONFIG_SHELL
27376 exec "\$@"
27379 _ACEOF
27380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27381 exec 5>>config.log
27383 echo
27384 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27385 ## Running $as_me. ##
27386 _ASBOX
27387 $as_echo "$ac_log"
27388 } >&5
27390 _ACEOF
27391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27393 # INIT-COMMANDS
27396 srcdir="$srcdir"
27397 host="$host"
27398 target="$target"
27399 with_multisubdir="$with_multisubdir"
27400 with_multisrctop="$with_multisrctop"
27401 with_target_subdir="$with_target_subdir"
27402 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27403 multi_basedir="$multi_basedir"
27404 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27405 CC="$CC"
27406 CXX="$CXX"
27407 GFORTRAN="$GFORTRAN"
27408 GCJ="$GCJ"
27409 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27412 # The HP-UX ksh and POSIX shell print the target directory to stdout
27413 # if CDPATH is set.
27414 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27416 sed_quote_subst='$sed_quote_subst'
27417 double_quote_subst='$double_quote_subst'
27418 delay_variable_subst='$delay_variable_subst'
27419 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27420 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27421 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27422 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27423 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27424 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27425 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27426 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27427 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27428 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27429 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27430 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27431 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27432 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27433 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27434 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27435 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27436 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27437 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27438 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27439 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27440 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27441 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27442 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27443 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27444 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27445 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27446 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27447 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27448 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27449 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27450 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27451 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27452 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27453 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27454 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27455 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27456 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27457 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27458 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27459 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27460 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27461 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27462 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27463 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27464 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27465 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27466 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27467 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
27468 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27469 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27470 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27471 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27472 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27473 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27474 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27475 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27476 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27477 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27478 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27479 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27480 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27481 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27482 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27483 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27484 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27485 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27486 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27487 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27488 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27489 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27490 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27491 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27492 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27493 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27494 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27495 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27496 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27497 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27498 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27499 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27500 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27501 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27502 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27503 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27504 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27505 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27506 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27507 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27508 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27509 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27510 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27511 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27512 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27513 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27514 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27515 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27516 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27517 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27518 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27519 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27520 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27521 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27522 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27523 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27524 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27525 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27526 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27527 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27528 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27529 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27530 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27531 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27532 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27533 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27534 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27535 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27536 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27537 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27538 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27539 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27540 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27541 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27542 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27543 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27544 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27545 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27546 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27547 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27548 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27549 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27550 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27551 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27552 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27553 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27554 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27555 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27556 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27557 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27558 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27559 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27560 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27561 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27562 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27563 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27564 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27565 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27566 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27567 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27568 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27569 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27570 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27571 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27572 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27573 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27574 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27575 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27576 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27577 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27578 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27579 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27580 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27581 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27582 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27583 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27584 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27585 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27586 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27587 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27588 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27589 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27590 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27591 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27592 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27593 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27595 LTCC='$LTCC'
27596 LTCFLAGS='$LTCFLAGS'
27597 compiler='$compiler_DEFAULT'
27599 # A function that is used when there is no print builtin or printf.
27600 func_fallback_echo ()
27602 eval 'cat <<_LTECHO_EOF
27604 _LTECHO_EOF'
27607 # Quote evaled strings.
27608 for var in SHELL \
27609 ECHO \
27610 SED \
27611 GREP \
27612 EGREP \
27613 FGREP \
27614 LD \
27615 NM \
27616 LN_S \
27617 lt_SP2NL \
27618 lt_NL2SP \
27619 reload_flag \
27620 OBJDUMP \
27621 deplibs_check_method \
27622 file_magic_cmd \
27623 AR \
27624 AR_FLAGS \
27625 STRIP \
27626 RANLIB \
27627 CC \
27628 CFLAGS \
27629 compiler \
27630 lt_cv_sys_global_symbol_pipe \
27631 lt_cv_sys_global_symbol_to_cdecl \
27632 lt_cv_sys_global_symbol_to_c_name_address \
27633 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27634 lt_prog_compiler_no_builtin_flag \
27635 lt_prog_compiler_wl \
27636 lt_prog_compiler_pic \
27637 lt_prog_compiler_static \
27638 lt_cv_prog_compiler_c_o \
27639 need_locks \
27640 DSYMUTIL \
27641 NMEDIT \
27642 LIPO \
27643 OTOOL \
27644 OTOOL64 \
27645 shrext_cmds \
27646 export_dynamic_flag_spec \
27647 whole_archive_flag_spec \
27648 compiler_needs_object \
27649 with_gnu_ld \
27650 allow_undefined_flag \
27651 no_undefined_flag \
27652 hardcode_libdir_flag_spec \
27653 hardcode_libdir_flag_spec_ld \
27654 hardcode_libdir_separator \
27655 fix_srcfile_path \
27656 exclude_expsyms \
27657 include_expsyms \
27658 file_list_spec \
27659 variables_saved_for_relink \
27660 libname_spec \
27661 library_names_spec \
27662 soname_spec \
27663 install_override_mode \
27664 finish_eval \
27665 old_striplib \
27666 striplib \
27667 compiler_lib_search_dirs \
27668 predep_objects \
27669 postdep_objects \
27670 predeps \
27671 postdeps \
27672 compiler_lib_search_path \
27673 LD_FC \
27674 reload_flag_FC \
27675 compiler_FC \
27676 lt_prog_compiler_no_builtin_flag_FC \
27677 lt_prog_compiler_wl_FC \
27678 lt_prog_compiler_pic_FC \
27679 lt_prog_compiler_static_FC \
27680 lt_cv_prog_compiler_c_o_FC \
27681 export_dynamic_flag_spec_FC \
27682 whole_archive_flag_spec_FC \
27683 compiler_needs_object_FC \
27684 with_gnu_ld_FC \
27685 allow_undefined_flag_FC \
27686 no_undefined_flag_FC \
27687 hardcode_libdir_flag_spec_FC \
27688 hardcode_libdir_flag_spec_ld_FC \
27689 hardcode_libdir_separator_FC \
27690 fix_srcfile_path_FC \
27691 exclude_expsyms_FC \
27692 include_expsyms_FC \
27693 file_list_spec_FC \
27694 compiler_lib_search_dirs_FC \
27695 predep_objects_FC \
27696 postdep_objects_FC \
27697 predeps_FC \
27698 postdeps_FC \
27699 compiler_lib_search_path_FC; do
27700 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27701 *[\\\\\\\`\\"\\\$]*)
27702 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27705 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27707 esac
27708 done
27710 # Double-quote double-evaled strings.
27711 for var in reload_cmds \
27712 old_postinstall_cmds \
27713 old_postuninstall_cmds \
27714 old_archive_cmds \
27715 extract_expsyms_cmds \
27716 old_archive_from_new_cmds \
27717 old_archive_from_expsyms_cmds \
27718 archive_cmds \
27719 archive_expsym_cmds \
27720 module_cmds \
27721 module_expsym_cmds \
27722 export_symbols_cmds \
27723 prelink_cmds \
27724 postinstall_cmds \
27725 postuninstall_cmds \
27726 finish_cmds \
27727 sys_lib_search_path_spec \
27728 sys_lib_dlsearch_path_spec \
27729 reload_cmds_FC \
27730 old_archive_cmds_FC \
27731 old_archive_from_new_cmds_FC \
27732 old_archive_from_expsyms_cmds_FC \
27733 archive_cmds_FC \
27734 archive_expsym_cmds_FC \
27735 module_cmds_FC \
27736 module_expsym_cmds_FC \
27737 export_symbols_cmds_FC \
27738 prelink_cmds_FC; do
27739 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27740 *[\\\\\\\`\\"\\\$]*)
27741 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27744 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27746 esac
27747 done
27749 ac_aux_dir='$ac_aux_dir'
27750 xsi_shell='$xsi_shell'
27751 lt_shell_append='$lt_shell_append'
27753 # See if we are running on zsh, and set the options which allow our
27754 # commands through without removal of \ escapes INIT.
27755 if test -n "\${ZSH_VERSION+set}" ; then
27756 setopt NO_GLOB_SUBST
27760 PACKAGE='$PACKAGE'
27761 VERSION='$VERSION'
27762 TIMESTAMP='$TIMESTAMP'
27763 RM='$RM'
27764 ofile='$ofile'
27771 GCC="$GCC"
27772 CC="$CC"
27773 acx_cv_header_stdint="$acx_cv_header_stdint"
27774 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27775 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27776 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27777 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27778 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27779 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27780 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27781 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27782 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27783 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27784 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27785 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27786 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27789 _ACEOF
27791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27793 # Handling of arguments.
27794 for ac_config_target in $ac_config_targets
27796 case $ac_config_target in
27797 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27798 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27799 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27800 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27801 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27802 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27803 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27805 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27806 esac
27807 done
27810 # If the user did not use the arguments to specify the items to instantiate,
27811 # then the envvar interface is used. Set only those that are not.
27812 # We use the long form for the default assignment because of an extremely
27813 # bizarre bug on SunOS 4.1.3.
27814 if $ac_need_defaults; then
27815 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27816 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27817 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27820 # Have a temporary directory for convenience. Make it in the build tree
27821 # simply because there is no reason against having it here, and in addition,
27822 # creating and moving files from /tmp can sometimes cause problems.
27823 # Hook for its removal unless debugging.
27824 # Note that there is a small window in which the directory will not be cleaned:
27825 # after its creation but before its name has been assigned to `$tmp'.
27826 $debug ||
27828 tmp=
27829 trap 'exit_status=$?
27830 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27832 trap 'as_fn_exit 1' 1 2 13 15
27834 # Create a (secure) tmp directory for tmp files.
27837 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27838 test -n "$tmp" && test -d "$tmp"
27839 } ||
27841 tmp=./conf$$-$RANDOM
27842 (umask 077 && mkdir "$tmp")
27843 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27845 # Set up the scripts for CONFIG_FILES section.
27846 # No need to generate them if there are no CONFIG_FILES.
27847 # This happens for instance with `./config.status config.h'.
27848 if test -n "$CONFIG_FILES"; then
27851 ac_cr=`echo X | tr X '\015'`
27852 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27853 # But we know of no other shell where ac_cr would be empty at this
27854 # point, so we can use a bashism as a fallback.
27855 if test "x$ac_cr" = x; then
27856 eval ac_cr=\$\'\\r\'
27858 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27859 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27860 ac_cs_awk_cr='\r'
27861 else
27862 ac_cs_awk_cr=$ac_cr
27865 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27866 _ACEOF
27870 echo "cat >conf$$subs.awk <<_ACEOF" &&
27871 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27872 echo "_ACEOF"
27873 } >conf$$subs.sh ||
27874 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27875 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27876 ac_delim='%!_!# '
27877 for ac_last_try in false false false false false :; do
27878 . ./conf$$subs.sh ||
27879 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27881 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27882 if test $ac_delim_n = $ac_delim_num; then
27883 break
27884 elif $ac_last_try; then
27885 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27886 else
27887 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27889 done
27890 rm -f conf$$subs.sh
27892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27893 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27894 _ACEOF
27895 sed -n '
27897 s/^/S["/; s/!.*/"]=/
27900 s/^[^!]*!//
27901 :repl
27902 t repl
27903 s/'"$ac_delim"'$//
27904 t delim
27907 s/\(.\{148\}\).*/\1/
27908 t more1
27909 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27912 b repl
27913 :more1
27914 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27917 s/.\{148\}//
27918 t nl
27919 :delim
27921 s/\(.\{148\}\).*/\1/
27922 t more2
27923 s/["\\]/\\&/g; s/^/"/; s/$/"/
27926 :more2
27927 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27930 s/.\{148\}//
27931 t delim
27932 ' <conf$$subs.awk | sed '
27933 /^[^""]/{
27935 s/\n//
27937 ' >>$CONFIG_STATUS || ac_write_fail=1
27938 rm -f conf$$subs.awk
27939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27940 _ACAWK
27941 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27942 for (key in S) S_is_set[key] = 1
27943 FS = "\a"
27947 line = $ 0
27948 nfields = split(line, field, "@")
27949 substed = 0
27950 len = length(field[1])
27951 for (i = 2; i < nfields; i++) {
27952 key = field[i]
27953 keylen = length(key)
27954 if (S_is_set[key]) {
27955 value = S[key]
27956 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27957 len += length(value) + length(field[++i])
27958 substed = 1
27959 } else
27960 len += 1 + keylen
27963 print line
27966 _ACAWK
27967 _ACEOF
27968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27969 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27970 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27971 else
27973 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27974 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27975 _ACEOF
27977 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27978 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27979 # trailing colons and then remove the whole line if VPATH becomes empty
27980 # (actually we leave an empty line to preserve line numbers).
27981 if test "x$srcdir" = x.; then
27982 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27983 s/:*\$(srcdir):*/:/
27984 s/:*\${srcdir}:*/:/
27985 s/:*@srcdir@:*/:/
27986 s/^\([^=]*=[ ]*\):*/\1/
27987 s/:*$//
27988 s/^[^=]*=[ ]*$//
27992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27993 fi # test -n "$CONFIG_FILES"
27995 # Set up the scripts for CONFIG_HEADERS section.
27996 # No need to generate them if there are no CONFIG_HEADERS.
27997 # This happens for instance with `./config.status Makefile'.
27998 if test -n "$CONFIG_HEADERS"; then
27999 cat >"$tmp/defines.awk" <<\_ACAWK ||
28000 BEGIN {
28001 _ACEOF
28003 # Transform confdefs.h into an awk script `defines.awk', embedded as
28004 # here-document in config.status, that substitutes the proper values into
28005 # config.h.in to produce config.h.
28007 # Create a delimiter string that does not exist in confdefs.h, to ease
28008 # handling of long lines.
28009 ac_delim='%!_!# '
28010 for ac_last_try in false false :; do
28011 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
28012 if test -z "$ac_t"; then
28013 break
28014 elif $ac_last_try; then
28015 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
28016 else
28017 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28019 done
28021 # For the awk script, D is an array of macro values keyed by name,
28022 # likewise P contains macro parameters if any. Preserve backslash
28023 # newline sequences.
28025 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28026 sed -n '
28027 s/.\{148\}/&'"$ac_delim"'/g
28028 t rset
28029 :rset
28030 s/^[ ]*#[ ]*define[ ][ ]*/ /
28031 t def
28033 :def
28034 s/\\$//
28035 t bsnl
28036 s/["\\]/\\&/g
28037 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28038 D["\1"]=" \3"/p
28039 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
28041 :bsnl
28042 s/["\\]/\\&/g
28043 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28044 D["\1"]=" \3\\\\\\n"\\/p
28045 t cont
28046 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28047 t cont
28049 :cont
28051 s/.\{148\}/&'"$ac_delim"'/g
28052 t clear
28053 :clear
28054 s/\\$//
28055 t bsnlc
28056 s/["\\]/\\&/g; s/^/"/; s/$/"/p
28058 :bsnlc
28059 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28060 b cont
28061 ' <confdefs.h | sed '
28062 s/'"$ac_delim"'/"\\\
28063 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28066 for (key in D) D_is_set[key] = 1
28067 FS = "\a"
28069 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28070 line = \$ 0
28071 split(line, arg, " ")
28072 if (arg[1] == "#") {
28073 defundef = arg[2]
28074 mac1 = arg[3]
28075 } else {
28076 defundef = substr(arg[1], 2)
28077 mac1 = arg[2]
28079 split(mac1, mac2, "(") #)
28080 macro = mac2[1]
28081 prefix = substr(line, 1, index(line, defundef) - 1)
28082 if (D_is_set[macro]) {
28083 # Preserve the white space surrounding the "#".
28084 print prefix "define", macro P[macro] D[macro]
28085 next
28086 } else {
28087 # Replace #undef with comments. This is necessary, for example,
28088 # in the case of _POSIX_SOURCE, which is predefined and required
28089 # on some systems where configure will not decide to define it.
28090 if (defundef == "undef") {
28091 print "/*", prefix defundef, macro, "*/"
28092 next
28096 { print }
28097 _ACAWK
28098 _ACEOF
28099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28100 as_fn_error "could not setup config headers machinery" "$LINENO" 5
28101 fi # test -n "$CONFIG_HEADERS"
28104 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28105 shift
28106 for ac_tag
28108 case $ac_tag in
28109 :[FHLC]) ac_mode=$ac_tag; continue;;
28110 esac
28111 case $ac_mode$ac_tag in
28112 :[FHL]*:*);;
28113 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
28114 :[FH]-) ac_tag=-:-;;
28115 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28116 esac
28117 ac_save_IFS=$IFS
28118 IFS=:
28119 set x $ac_tag
28120 IFS=$ac_save_IFS
28121 shift
28122 ac_file=$1
28123 shift
28125 case $ac_mode in
28126 :L) ac_source=$1;;
28127 :[FH])
28128 ac_file_inputs=
28129 for ac_f
28131 case $ac_f in
28132 -) ac_f="$tmp/stdin";;
28133 *) # Look for the file first in the build tree, then in the source tree
28134 # (if the path is not absolute). The absolute path cannot be DOS-style,
28135 # because $ac_f cannot contain `:'.
28136 test -f "$ac_f" ||
28137 case $ac_f in
28138 [\\/$]*) false;;
28139 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28140 esac ||
28141 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28142 esac
28143 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28144 as_fn_append ac_file_inputs " '$ac_f'"
28145 done
28147 # Let's still pretend it is `configure' which instantiates (i.e., don't
28148 # use $as_me), people would be surprised to read:
28149 # /* config.h. Generated by config.status. */
28150 configure_input='Generated from '`
28151 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28152 `' by configure.'
28153 if test x"$ac_file" != x-; then
28154 configure_input="$ac_file. $configure_input"
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28156 $as_echo "$as_me: creating $ac_file" >&6;}
28158 # Neutralize special characters interpreted by sed in replacement strings.
28159 case $configure_input in #(
28160 *\&* | *\|* | *\\* )
28161 ac_sed_conf_input=`$as_echo "$configure_input" |
28162 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28163 *) ac_sed_conf_input=$configure_input;;
28164 esac
28166 case $ac_tag in
28167 *:-:* | *:-) cat >"$tmp/stdin" \
28168 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
28169 esac
28171 esac
28173 ac_dir=`$as_dirname -- "$ac_file" ||
28174 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28175 X"$ac_file" : 'X\(//\)[^/]' \| \
28176 X"$ac_file" : 'X\(//\)$' \| \
28177 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28178 $as_echo X"$ac_file" |
28179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28180 s//\1/
28183 /^X\(\/\/\)[^/].*/{
28184 s//\1/
28187 /^X\(\/\/\)$/{
28188 s//\1/
28191 /^X\(\/\).*/{
28192 s//\1/
28195 s/.*/./; q'`
28196 as_dir="$ac_dir"; as_fn_mkdir_p
28197 ac_builddir=.
28199 case "$ac_dir" in
28200 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28202 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28203 # A ".." for each directory in $ac_dir_suffix.
28204 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28205 case $ac_top_builddir_sub in
28206 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28207 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28208 esac ;;
28209 esac
28210 ac_abs_top_builddir=$ac_pwd
28211 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28212 # for backward compatibility:
28213 ac_top_builddir=$ac_top_build_prefix
28215 case $srcdir in
28216 .) # We are building in place.
28217 ac_srcdir=.
28218 ac_top_srcdir=$ac_top_builddir_sub
28219 ac_abs_top_srcdir=$ac_pwd ;;
28220 [\\/]* | ?:[\\/]* ) # Absolute name.
28221 ac_srcdir=$srcdir$ac_dir_suffix;
28222 ac_top_srcdir=$srcdir
28223 ac_abs_top_srcdir=$srcdir ;;
28224 *) # Relative name.
28225 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28226 ac_top_srcdir=$ac_top_build_prefix$srcdir
28227 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28228 esac
28229 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28232 case $ac_mode in
28235 # CONFIG_FILE
28238 case $INSTALL in
28239 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28240 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28241 esac
28242 ac_MKDIR_P=$MKDIR_P
28243 case $MKDIR_P in
28244 [\\/$]* | ?:[\\/]* ) ;;
28245 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28246 esac
28247 _ACEOF
28249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28250 # If the template does not know about datarootdir, expand it.
28251 # FIXME: This hack should be removed a few years after 2.60.
28252 ac_datarootdir_hack=; ac_datarootdir_seen=
28253 ac_sed_dataroot='
28254 /datarootdir/ {
28258 /@datadir@/p
28259 /@docdir@/p
28260 /@infodir@/p
28261 /@localedir@/p
28262 /@mandir@/p'
28263 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28264 *datarootdir*) ac_datarootdir_seen=yes;;
28265 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28267 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28268 _ACEOF
28269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28270 ac_datarootdir_hack='
28271 s&@datadir@&$datadir&g
28272 s&@docdir@&$docdir&g
28273 s&@infodir@&$infodir&g
28274 s&@localedir@&$localedir&g
28275 s&@mandir@&$mandir&g
28276 s&\\\${datarootdir}&$datarootdir&g' ;;
28277 esac
28278 _ACEOF
28280 # Neutralize VPATH when `$srcdir' = `.'.
28281 # Shell code in configure.ac might set extrasub.
28282 # FIXME: do we really want to maintain this feature?
28283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28284 ac_sed_extra="$ac_vpsub
28285 $extrasub
28286 _ACEOF
28287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28289 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28290 s|@configure_input@|$ac_sed_conf_input|;t t
28291 s&@top_builddir@&$ac_top_builddir_sub&;t t
28292 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28293 s&@srcdir@&$ac_srcdir&;t t
28294 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28295 s&@top_srcdir@&$ac_top_srcdir&;t t
28296 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28297 s&@builddir@&$ac_builddir&;t t
28298 s&@abs_builddir@&$ac_abs_builddir&;t t
28299 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28300 s&@INSTALL@&$ac_INSTALL&;t t
28301 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28302 $ac_datarootdir_hack
28304 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28305 || as_fn_error "could not create $ac_file" "$LINENO" 5
28307 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28308 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28309 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28311 which seems to be undefined. Please make sure it is defined." >&5
28312 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28313 which seems to be undefined. Please make sure it is defined." >&2;}
28315 rm -f "$tmp/stdin"
28316 case $ac_file in
28317 -) cat "$tmp/out" && rm -f "$tmp/out";;
28318 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28319 esac \
28320 || as_fn_error "could not create $ac_file" "$LINENO" 5
28324 # CONFIG_HEADER
28326 if test x"$ac_file" != x-; then
28328 $as_echo "/* $configure_input */" \
28329 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28330 } >"$tmp/config.h" \
28331 || as_fn_error "could not create $ac_file" "$LINENO" 5
28332 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28334 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28335 else
28336 rm -f "$ac_file"
28337 mv "$tmp/config.h" "$ac_file" \
28338 || as_fn_error "could not create $ac_file" "$LINENO" 5
28340 else
28341 $as_echo "/* $configure_input */" \
28342 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28343 || as_fn_error "could not create -" "$LINENO" 5
28345 # Compute "$ac_file"'s index in $config_headers.
28346 _am_arg="$ac_file"
28347 _am_stamp_count=1
28348 for _am_header in $config_headers :; do
28349 case $_am_header in
28350 $_am_arg | $_am_arg:* )
28351 break ;;
28353 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28354 esac
28355 done
28356 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28357 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28358 X"$_am_arg" : 'X\(//\)[^/]' \| \
28359 X"$_am_arg" : 'X\(//\)$' \| \
28360 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28361 $as_echo X"$_am_arg" |
28362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28363 s//\1/
28366 /^X\(\/\/\)[^/].*/{
28367 s//\1/
28370 /^X\(\/\/\)$/{
28371 s//\1/
28374 /^X\(\/\).*/{
28375 s//\1/
28378 s/.*/./; q'`/stamp-h$_am_stamp_count
28381 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28382 $as_echo "$as_me: executing $ac_file commands" >&6;}
28384 esac
28387 case $ac_file$ac_mode in
28388 "default-1":C)
28389 # Only add multilib support code if we just rebuilt the top-level
28390 # Makefile.
28391 case " $CONFIG_FILES " in
28392 *" Makefile "*)
28393 ac_file=Makefile . ${multi_basedir}/config-ml.in
28395 esac ;;
28396 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28397 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28398 # are listed without --file. Let's play safe and only enable the eval
28399 # if we detect the quoting.
28400 case $CONFIG_FILES in
28401 *\'*) eval set x "$CONFIG_FILES" ;;
28402 *) set x $CONFIG_FILES ;;
28403 esac
28404 shift
28405 for mf
28407 # Strip MF so we end up with the name of the file.
28408 mf=`echo "$mf" | sed -e 's/:.*$//'`
28409 # Check whether this is an Automake generated Makefile or not.
28410 # We used to match only the files named `Makefile.in', but
28411 # some people rename them; so instead we look at the file content.
28412 # Grep'ing the first line is not enough: some people post-process
28413 # each Makefile.in and add a new line on top of each file to say so.
28414 # Grep'ing the whole file is not good either: AIX grep has a line
28415 # limit of 2048, but all sed's we know have understand at least 4000.
28416 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28417 dirpart=`$as_dirname -- "$mf" ||
28418 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28419 X"$mf" : 'X\(//\)[^/]' \| \
28420 X"$mf" : 'X\(//\)$' \| \
28421 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28422 $as_echo X"$mf" |
28423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28424 s//\1/
28427 /^X\(\/\/\)[^/].*/{
28428 s//\1/
28431 /^X\(\/\/\)$/{
28432 s//\1/
28435 /^X\(\/\).*/{
28436 s//\1/
28439 s/.*/./; q'`
28440 else
28441 continue
28443 # Extract the definition of DEPDIR, am__include, and am__quote
28444 # from the Makefile without running `make'.
28445 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28446 test -z "$DEPDIR" && continue
28447 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28448 test -z "am__include" && continue
28449 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28450 # When using ansi2knr, U may be empty or an underscore; expand it
28451 U=`sed -n 's/^U = //p' < "$mf"`
28452 # Find all dependency output files, they are included files with
28453 # $(DEPDIR) in their names. We invoke sed twice because it is the
28454 # simplest approach to changing $(DEPDIR) to its actual value in the
28455 # expansion.
28456 for file in `sed -n "
28457 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28458 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28459 # Make sure the directory exists.
28460 test -f "$dirpart/$file" && continue
28461 fdir=`$as_dirname -- "$file" ||
28462 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28463 X"$file" : 'X\(//\)[^/]' \| \
28464 X"$file" : 'X\(//\)$' \| \
28465 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28466 $as_echo X"$file" |
28467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28468 s//\1/
28471 /^X\(\/\/\)[^/].*/{
28472 s//\1/
28475 /^X\(\/\/\)$/{
28476 s//\1/
28479 /^X\(\/\).*/{
28480 s//\1/
28483 s/.*/./; q'`
28484 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28485 # echo "creating $dirpart/$file"
28486 echo '# dummy' > "$dirpart/$file"
28487 done
28488 done
28491 "libtool":C)
28493 # See if we are running on zsh, and set the options which allow our
28494 # commands through without removal of \ escapes.
28495 if test -n "${ZSH_VERSION+set}" ; then
28496 setopt NO_GLOB_SUBST
28499 cfgfile="${ofile}T"
28500 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28501 $RM "$cfgfile"
28503 cat <<_LT_EOF >> "$cfgfile"
28504 #! $SHELL
28506 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28507 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28508 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28509 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28511 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28512 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28513 # Written by Gordon Matzigkeit, 1996
28515 # This file is part of GNU Libtool.
28517 # GNU Libtool is free software; you can redistribute it and/or
28518 # modify it under the terms of the GNU General Public License as
28519 # published by the Free Software Foundation; either version 2 of
28520 # the License, or (at your option) any later version.
28522 # As a special exception to the GNU General Public License,
28523 # if you distribute this file as part of a program or library that
28524 # is built using GNU Libtool, you may include this file under the
28525 # same distribution terms that you use for the rest of that program.
28527 # GNU Libtool is distributed in the hope that it will be useful,
28528 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28529 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28530 # GNU General Public License for more details.
28532 # You should have received a copy of the GNU General Public License
28533 # along with GNU Libtool; see the file COPYING. If not, a copy
28534 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28535 # obtained by writing to the Free Software Foundation, Inc.,
28536 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28539 # The names of the tagged configurations supported by this script.
28540 available_tags="FC "
28542 # ### BEGIN LIBTOOL CONFIG
28544 # Which release of libtool.m4 was used?
28545 macro_version=$macro_version
28546 macro_revision=$macro_revision
28548 # Whether or not to build shared libraries.
28549 build_libtool_libs=$enable_shared
28551 # Whether or not to build static libraries.
28552 build_old_libs=$enable_static
28554 # What type of objects to build.
28555 pic_mode=$pic_mode
28557 # Whether or not to optimize for fast installation.
28558 fast_install=$enable_fast_install
28560 # Shell to use when invoking shell scripts.
28561 SHELL=$lt_SHELL
28563 # An echo program that protects backslashes.
28564 ECHO=$lt_ECHO
28566 # The host system.
28567 host_alias=$host_alias
28568 host=$host
28569 host_os=$host_os
28571 # The build system.
28572 build_alias=$build_alias
28573 build=$build
28574 build_os=$build_os
28576 # A sed program that does not truncate output.
28577 SED=$lt_SED
28579 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28580 Xsed="\$SED -e 1s/^X//"
28582 # A grep program that handles long lines.
28583 GREP=$lt_GREP
28585 # An ERE matcher.
28586 EGREP=$lt_EGREP
28588 # A literal string matcher.
28589 FGREP=$lt_FGREP
28591 # A BSD- or MS-compatible name lister.
28592 NM=$lt_NM
28594 # Whether we need soft or hard links.
28595 LN_S=$lt_LN_S
28597 # What is the maximum length of a command?
28598 max_cmd_len=$max_cmd_len
28600 # Object file suffix (normally "o").
28601 objext=$ac_objext
28603 # Executable file suffix (normally "").
28604 exeext=$exeext
28606 # whether the shell understands "unset".
28607 lt_unset=$lt_unset
28609 # turn spaces into newlines.
28610 SP2NL=$lt_lt_SP2NL
28612 # turn newlines into spaces.
28613 NL2SP=$lt_lt_NL2SP
28615 # An object symbol dumper.
28616 OBJDUMP=$lt_OBJDUMP
28618 # Method to check whether dependent libraries are shared objects.
28619 deplibs_check_method=$lt_deplibs_check_method
28621 # Command to use when deplibs_check_method == "file_magic".
28622 file_magic_cmd=$lt_file_magic_cmd
28624 # The archiver.
28625 AR=$lt_AR
28626 AR_FLAGS=$lt_AR_FLAGS
28628 # A symbol stripping program.
28629 STRIP=$lt_STRIP
28631 # Commands used to install an old-style archive.
28632 RANLIB=$lt_RANLIB
28633 old_postinstall_cmds=$lt_old_postinstall_cmds
28634 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28636 # Whether to use a lock for old archive extraction.
28637 lock_old_archive_extraction=$lock_old_archive_extraction
28639 # A C compiler.
28640 LTCC=$lt_CC
28642 # LTCC compiler flags.
28643 LTCFLAGS=$lt_CFLAGS
28645 # Take the output of nm and produce a listing of raw symbols and C names.
28646 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28648 # Transform the output of nm in a proper C declaration.
28649 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28651 # Transform the output of nm in a C name address pair.
28652 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28654 # Transform the output of nm in a C name address pair when lib prefix is needed.
28655 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28657 # The name of the directory that contains temporary libtool files.
28658 objdir=$objdir
28660 # Used to examine libraries when file_magic_cmd begins with "file".
28661 MAGIC_CMD=$MAGIC_CMD
28663 # Must we lock files when doing compilation?
28664 need_locks=$lt_need_locks
28666 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28667 DSYMUTIL=$lt_DSYMUTIL
28669 # Tool to change global to local symbols on Mac OS X.
28670 NMEDIT=$lt_NMEDIT
28672 # Tool to manipulate fat objects and archives on Mac OS X.
28673 LIPO=$lt_LIPO
28675 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28676 OTOOL=$lt_OTOOL
28678 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28679 OTOOL64=$lt_OTOOL64
28681 # Old archive suffix (normally "a").
28682 libext=$libext
28684 # Shared library suffix (normally ".so").
28685 shrext_cmds=$lt_shrext_cmds
28687 # The commands to extract the exported symbol list from a shared archive.
28688 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28690 # Variables whose values should be saved in libtool wrapper scripts and
28691 # restored at link time.
28692 variables_saved_for_relink=$lt_variables_saved_for_relink
28694 # Do we need the "lib" prefix for modules?
28695 need_lib_prefix=$need_lib_prefix
28697 # Do we need a version for libraries?
28698 need_version=$need_version
28700 # Library versioning type.
28701 version_type=$version_type
28703 # Shared library runtime path variable.
28704 runpath_var=$runpath_var
28706 # Shared library path variable.
28707 shlibpath_var=$shlibpath_var
28709 # Is shlibpath searched before the hard-coded library search path?
28710 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28712 # Format of library name prefix.
28713 libname_spec=$lt_libname_spec
28715 # List of archive names. First name is the real one, the rest are links.
28716 # The last name is the one that the linker finds with -lNAME
28717 library_names_spec=$lt_library_names_spec
28719 # The coded name of the library, if different from the real name.
28720 soname_spec=$lt_soname_spec
28722 # Permission mode override for installation of shared libraries.
28723 install_override_mode=$lt_install_override_mode
28725 # Command to use after installation of a shared archive.
28726 postinstall_cmds=$lt_postinstall_cmds
28728 # Command to use after uninstallation of a shared archive.
28729 postuninstall_cmds=$lt_postuninstall_cmds
28731 # Commands used to finish a libtool library installation in a directory.
28732 finish_cmds=$lt_finish_cmds
28734 # As "finish_cmds", except a single script fragment to be evaled but
28735 # not shown.
28736 finish_eval=$lt_finish_eval
28738 # Whether we should hardcode library paths into libraries.
28739 hardcode_into_libs=$hardcode_into_libs
28741 # Compile-time system search path for libraries.
28742 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28744 # Run-time system search path for libraries.
28745 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28747 # Whether dlopen is supported.
28748 dlopen_support=$enable_dlopen
28750 # Whether dlopen of programs is supported.
28751 dlopen_self=$enable_dlopen_self
28753 # Whether dlopen of statically linked programs is supported.
28754 dlopen_self_static=$enable_dlopen_self_static
28756 # Commands to strip libraries.
28757 old_striplib=$lt_old_striplib
28758 striplib=$lt_striplib
28761 # The linker used to build libraries.
28762 LD=$lt_LD
28764 # How to create reloadable object files.
28765 reload_flag=$lt_reload_flag
28766 reload_cmds=$lt_reload_cmds
28768 # Commands used to build an old-style archive.
28769 old_archive_cmds=$lt_old_archive_cmds
28771 # A language specific compiler.
28772 CC=$lt_compiler
28774 # Is the compiler the GNU compiler?
28775 with_gcc=$GCC
28777 # Compiler flag to turn off builtin functions.
28778 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28780 # How to pass a linker flag through the compiler.
28781 wl=$lt_lt_prog_compiler_wl
28783 # Additional compiler flags for building library objects.
28784 pic_flag=$lt_lt_prog_compiler_pic
28786 # Compiler flag to prevent dynamic linking.
28787 link_static_flag=$lt_lt_prog_compiler_static
28789 # Does compiler simultaneously support -c and -o options?
28790 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28792 # Whether or not to add -lc for building shared libraries.
28793 build_libtool_need_lc=$archive_cmds_need_lc
28795 # Whether or not to disallow shared libs when runtime libs are static.
28796 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28798 # Compiler flag to allow reflexive dlopens.
28799 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28801 # Compiler flag to generate shared objects directly from archives.
28802 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28804 # Whether the compiler copes with passing no objects directly.
28805 compiler_needs_object=$lt_compiler_needs_object
28807 # Create an old-style archive from a shared archive.
28808 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28810 # Create a temporary old-style archive to link instead of a shared archive.
28811 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28813 # Commands used to build a shared archive.
28814 archive_cmds=$lt_archive_cmds
28815 archive_expsym_cmds=$lt_archive_expsym_cmds
28817 # Commands used to build a loadable module if different from building
28818 # a shared archive.
28819 module_cmds=$lt_module_cmds
28820 module_expsym_cmds=$lt_module_expsym_cmds
28822 # Whether we are building with GNU ld or not.
28823 with_gnu_ld=$lt_with_gnu_ld
28825 # Flag that allows shared libraries with undefined symbols to be built.
28826 allow_undefined_flag=$lt_allow_undefined_flag
28828 # Flag that enforces no undefined symbols.
28829 no_undefined_flag=$lt_no_undefined_flag
28831 # Flag to hardcode \$libdir into a binary during linking.
28832 # This must work even if \$libdir does not exist
28833 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28835 # If ld is used when linking, flag to hardcode \$libdir into a binary
28836 # during linking. This must work even if \$libdir does not exist.
28837 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28839 # Whether we need a single "-rpath" flag with a separated argument.
28840 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28842 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28843 # DIR into the resulting binary.
28844 hardcode_direct=$hardcode_direct
28846 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28847 # DIR into the resulting binary and the resulting library dependency is
28848 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28849 # library is relocated.
28850 hardcode_direct_absolute=$hardcode_direct_absolute
28852 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28853 # into the resulting binary.
28854 hardcode_minus_L=$hardcode_minus_L
28856 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28857 # into the resulting binary.
28858 hardcode_shlibpath_var=$hardcode_shlibpath_var
28860 # Set to "yes" if building a shared library automatically hardcodes DIR
28861 # into the library and all subsequent libraries and executables linked
28862 # against it.
28863 hardcode_automatic=$hardcode_automatic
28865 # Set to yes if linker adds runtime paths of dependent libraries
28866 # to runtime path list.
28867 inherit_rpath=$inherit_rpath
28869 # Whether libtool must link a program against all its dependency libraries.
28870 link_all_deplibs=$link_all_deplibs
28872 # Fix the shell variable \$srcfile for the compiler.
28873 fix_srcfile_path=$lt_fix_srcfile_path
28875 # Set to "yes" if exported symbols are required.
28876 always_export_symbols=$always_export_symbols
28878 # The commands to list exported symbols.
28879 export_symbols_cmds=$lt_export_symbols_cmds
28881 # Symbols that should not be listed in the preloaded symbols.
28882 exclude_expsyms=$lt_exclude_expsyms
28884 # Symbols that must always be exported.
28885 include_expsyms=$lt_include_expsyms
28887 # Commands necessary for linking programs (against libraries) with templates.
28888 prelink_cmds=$lt_prelink_cmds
28890 # Specify filename containing input files.
28891 file_list_spec=$lt_file_list_spec
28893 # How to hardcode a shared library path into an executable.
28894 hardcode_action=$hardcode_action
28896 # The directories searched by this compiler when creating a shared library.
28897 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28899 # Dependencies to place before and after the objects being linked to
28900 # create a shared library.
28901 predep_objects=$lt_predep_objects
28902 postdep_objects=$lt_postdep_objects
28903 predeps=$lt_predeps
28904 postdeps=$lt_postdeps
28906 # The library search path used internally by the compiler when linking
28907 # a shared library.
28908 compiler_lib_search_path=$lt_compiler_lib_search_path
28910 # ### END LIBTOOL CONFIG
28912 _LT_EOF
28914 case $host_os in
28915 aix3*)
28916 cat <<\_LT_EOF >> "$cfgfile"
28917 # AIX sometimes has problems with the GCC collect2 program. For some
28918 # reason, if we set the COLLECT_NAMES environment variable, the problems
28919 # vanish in a puff of smoke.
28920 if test "X${COLLECT_NAMES+set}" != Xset; then
28921 COLLECT_NAMES=
28922 export COLLECT_NAMES
28924 _LT_EOF
28926 esac
28929 ltmain="$ac_aux_dir/ltmain.sh"
28932 # We use sed instead of cat because bash on DJGPP gets confused if
28933 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28934 # text mode, it properly converts lines to CR/LF. This bash problem
28935 # is reportedly fixed, but why not run on old versions too?
28936 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28937 || (rm -f "$cfgfile"; exit 1)
28939 case $xsi_shell in
28940 yes)
28941 cat << \_LT_EOF >> "$cfgfile"
28943 # func_dirname file append nondir_replacement
28944 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28945 # otherwise set result to NONDIR_REPLACEMENT.
28946 func_dirname ()
28948 case ${1} in
28949 */*) func_dirname_result="${1%/*}${2}" ;;
28950 * ) func_dirname_result="${3}" ;;
28951 esac
28954 # func_basename file
28955 func_basename ()
28957 func_basename_result="${1##*/}"
28960 # func_dirname_and_basename file append nondir_replacement
28961 # perform func_basename and func_dirname in a single function
28962 # call:
28963 # dirname: Compute the dirname of FILE. If nonempty,
28964 # add APPEND to the result, otherwise set result
28965 # to NONDIR_REPLACEMENT.
28966 # value returned in "$func_dirname_result"
28967 # basename: Compute filename of FILE.
28968 # value retuned in "$func_basename_result"
28969 # Implementation must be kept synchronized with func_dirname
28970 # and func_basename. For efficiency, we do not delegate to
28971 # those functions but instead duplicate the functionality here.
28972 func_dirname_and_basename ()
28974 case ${1} in
28975 */*) func_dirname_result="${1%/*}${2}" ;;
28976 * ) func_dirname_result="${3}" ;;
28977 esac
28978 func_basename_result="${1##*/}"
28981 # func_stripname prefix suffix name
28982 # strip PREFIX and SUFFIX off of NAME.
28983 # PREFIX and SUFFIX must not contain globbing or regex special
28984 # characters, hashes, percent signs, but SUFFIX may contain a leading
28985 # dot (in which case that matches only a dot).
28986 func_stripname ()
28988 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28989 # positional parameters, so assign one to ordinary parameter first.
28990 func_stripname_result=${3}
28991 func_stripname_result=${func_stripname_result#"${1}"}
28992 func_stripname_result=${func_stripname_result%"${2}"}
28995 # func_opt_split
28996 func_opt_split ()
28998 func_opt_split_opt=${1%%=*}
28999 func_opt_split_arg=${1#*=}
29002 # func_lo2o object
29003 func_lo2o ()
29005 case ${1} in
29006 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
29007 *) func_lo2o_result=${1} ;;
29008 esac
29011 # func_xform libobj-or-source
29012 func_xform ()
29014 func_xform_result=${1%.*}.lo
29017 # func_arith arithmetic-term...
29018 func_arith ()
29020 func_arith_result=$(( $* ))
29023 # func_len string
29024 # STRING may not start with a hyphen.
29025 func_len ()
29027 func_len_result=${#1}
29030 _LT_EOF
29032 *) # Bourne compatible functions.
29033 cat << \_LT_EOF >> "$cfgfile"
29035 # func_dirname file append nondir_replacement
29036 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29037 # otherwise set result to NONDIR_REPLACEMENT.
29038 func_dirname ()
29040 # Extract subdirectory from the argument.
29041 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
29042 if test "X$func_dirname_result" = "X${1}"; then
29043 func_dirname_result="${3}"
29044 else
29045 func_dirname_result="$func_dirname_result${2}"
29049 # func_basename file
29050 func_basename ()
29052 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
29056 # func_stripname prefix suffix name
29057 # strip PREFIX and SUFFIX off of NAME.
29058 # PREFIX and SUFFIX must not contain globbing or regex special
29059 # characters, hashes, percent signs, but SUFFIX may contain a leading
29060 # dot (in which case that matches only a dot).
29061 # func_strip_suffix prefix name
29062 func_stripname ()
29064 case ${2} in
29065 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29066 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29067 esac
29070 # sed scripts:
29071 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
29072 my_sed_long_arg='1s/^-[^=]*=//'
29074 # func_opt_split
29075 func_opt_split ()
29077 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29078 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29081 # func_lo2o object
29082 func_lo2o ()
29084 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
29087 # func_xform libobj-or-source
29088 func_xform ()
29090 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29093 # func_arith arithmetic-term...
29094 func_arith ()
29096 func_arith_result=`expr "$@"`
29099 # func_len string
29100 # STRING may not start with a hyphen.
29101 func_len ()
29103 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29106 _LT_EOF
29107 esac
29109 case $lt_shell_append in
29110 yes)
29111 cat << \_LT_EOF >> "$cfgfile"
29113 # func_append var value
29114 # Append VALUE to the end of shell variable VAR.
29115 func_append ()
29117 eval "$1+=\$2"
29119 _LT_EOF
29122 cat << \_LT_EOF >> "$cfgfile"
29124 # func_append var value
29125 # Append VALUE to the end of shell variable VAR.
29126 func_append ()
29128 eval "$1=\$$1\$2"
29131 _LT_EOF
29133 esac
29136 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29137 || (rm -f "$cfgfile"; exit 1)
29139 mv -f "$cfgfile" "$ofile" ||
29140 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29141 chmod +x "$ofile"
29144 cat <<_LT_EOF >> "$ofile"
29146 # ### BEGIN LIBTOOL TAG CONFIG: FC
29148 # The linker used to build libraries.
29149 LD=$lt_LD_FC
29151 # How to create reloadable object files.
29152 reload_flag=$lt_reload_flag_FC
29153 reload_cmds=$lt_reload_cmds_FC
29155 # Commands used to build an old-style archive.
29156 old_archive_cmds=$lt_old_archive_cmds_FC
29158 # A language specific compiler.
29159 CC=$lt_compiler_FC
29161 # Is the compiler the GNU compiler?
29162 with_gcc=$GCC_FC
29164 # Compiler flag to turn off builtin functions.
29165 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29167 # How to pass a linker flag through the compiler.
29168 wl=$lt_lt_prog_compiler_wl_FC
29170 # Additional compiler flags for building library objects.
29171 pic_flag=$lt_lt_prog_compiler_pic_FC
29173 # Compiler flag to prevent dynamic linking.
29174 link_static_flag=$lt_lt_prog_compiler_static_FC
29176 # Does compiler simultaneously support -c and -o options?
29177 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29179 # Whether or not to add -lc for building shared libraries.
29180 build_libtool_need_lc=$archive_cmds_need_lc_FC
29182 # Whether or not to disallow shared libs when runtime libs are static.
29183 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29185 # Compiler flag to allow reflexive dlopens.
29186 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29188 # Compiler flag to generate shared objects directly from archives.
29189 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29191 # Whether the compiler copes with passing no objects directly.
29192 compiler_needs_object=$lt_compiler_needs_object_FC
29194 # Create an old-style archive from a shared archive.
29195 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29197 # Create a temporary old-style archive to link instead of a shared archive.
29198 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29200 # Commands used to build a shared archive.
29201 archive_cmds=$lt_archive_cmds_FC
29202 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29204 # Commands used to build a loadable module if different from building
29205 # a shared archive.
29206 module_cmds=$lt_module_cmds_FC
29207 module_expsym_cmds=$lt_module_expsym_cmds_FC
29209 # Whether we are building with GNU ld or not.
29210 with_gnu_ld=$lt_with_gnu_ld_FC
29212 # Flag that allows shared libraries with undefined symbols to be built.
29213 allow_undefined_flag=$lt_allow_undefined_flag_FC
29215 # Flag that enforces no undefined symbols.
29216 no_undefined_flag=$lt_no_undefined_flag_FC
29218 # Flag to hardcode \$libdir into a binary during linking.
29219 # This must work even if \$libdir does not exist
29220 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29222 # If ld is used when linking, flag to hardcode \$libdir into a binary
29223 # during linking. This must work even if \$libdir does not exist.
29224 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29226 # Whether we need a single "-rpath" flag with a separated argument.
29227 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29229 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29230 # DIR into the resulting binary.
29231 hardcode_direct=$hardcode_direct_FC
29233 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29234 # DIR into the resulting binary and the resulting library dependency is
29235 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29236 # library is relocated.
29237 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29239 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29240 # into the resulting binary.
29241 hardcode_minus_L=$hardcode_minus_L_FC
29243 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29244 # into the resulting binary.
29245 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29247 # Set to "yes" if building a shared library automatically hardcodes DIR
29248 # into the library and all subsequent libraries and executables linked
29249 # against it.
29250 hardcode_automatic=$hardcode_automatic_FC
29252 # Set to yes if linker adds runtime paths of dependent libraries
29253 # to runtime path list.
29254 inherit_rpath=$inherit_rpath_FC
29256 # Whether libtool must link a program against all its dependency libraries.
29257 link_all_deplibs=$link_all_deplibs_FC
29259 # Fix the shell variable \$srcfile for the compiler.
29260 fix_srcfile_path=$lt_fix_srcfile_path_FC
29262 # Set to "yes" if exported symbols are required.
29263 always_export_symbols=$always_export_symbols_FC
29265 # The commands to list exported symbols.
29266 export_symbols_cmds=$lt_export_symbols_cmds_FC
29268 # Symbols that should not be listed in the preloaded symbols.
29269 exclude_expsyms=$lt_exclude_expsyms_FC
29271 # Symbols that must always be exported.
29272 include_expsyms=$lt_include_expsyms_FC
29274 # Commands necessary for linking programs (against libraries) with templates.
29275 prelink_cmds=$lt_prelink_cmds_FC
29277 # Specify filename containing input files.
29278 file_list_spec=$lt_file_list_spec_FC
29280 # How to hardcode a shared library path into an executable.
29281 hardcode_action=$hardcode_action_FC
29283 # The directories searched by this compiler when creating a shared library.
29284 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29286 # Dependencies to place before and after the objects being linked to
29287 # create a shared library.
29288 predep_objects=$lt_predep_objects_FC
29289 postdep_objects=$lt_postdep_objects_FC
29290 predeps=$lt_predeps_FC
29291 postdeps=$lt_postdeps_FC
29293 # The library search path used internally by the compiler when linking
29294 # a shared library.
29295 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29297 # ### END LIBTOOL TAG CONFIG: FC
29298 _LT_EOF
29301 "gstdint.h":C)
29302 if test "$GCC" = yes; then
29303 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29304 else
29305 echo "/* generated for $CC */" > tmp-stdint.h
29308 sed 's/^ *//' >> tmp-stdint.h <<EOF
29310 #ifndef GCC_GENERATED_STDINT_H
29311 #define GCC_GENERATED_STDINT_H 1
29313 #include <sys/types.h>
29316 if test "$acx_cv_header_stdint" != stdint.h; then
29317 echo "#include <stddef.h>" >> tmp-stdint.h
29319 if test "$acx_cv_header_stdint" != stddef.h; then
29320 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29323 sed 's/^ *//' >> tmp-stdint.h <<EOF
29324 /* glibc uses these symbols as guards to prevent redefinitions. */
29325 #ifdef __int8_t_defined
29326 #define _INT8_T
29327 #define _INT16_T
29328 #define _INT32_T
29329 #endif
29330 #ifdef __uint32_t_defined
29331 #define _UINT32_T
29332 #endif
29336 # ----------------- done header, emit basic int types -------------
29337 if test "$acx_cv_header_stdint" = stddef.h; then
29338 sed 's/^ *//' >> tmp-stdint.h <<EOF
29340 #ifndef _UINT8_T
29341 #define _UINT8_T
29342 #ifndef __uint8_t_defined
29343 #define __uint8_t_defined
29344 #ifndef uint8_t
29345 typedef unsigned $acx_cv_type_int8_t uint8_t;
29346 #endif
29347 #endif
29348 #endif
29350 #ifndef _UINT16_T
29351 #define _UINT16_T
29352 #ifndef __uint16_t_defined
29353 #define __uint16_t_defined
29354 #ifndef uint16_t
29355 typedef unsigned $acx_cv_type_int16_t uint16_t;
29356 #endif
29357 #endif
29358 #endif
29360 #ifndef _UINT32_T
29361 #define _UINT32_T
29362 #ifndef __uint32_t_defined
29363 #define __uint32_t_defined
29364 #ifndef uint32_t
29365 typedef unsigned $acx_cv_type_int32_t uint32_t;
29366 #endif
29367 #endif
29368 #endif
29370 #ifndef _INT8_T
29371 #define _INT8_T
29372 #ifndef __int8_t_defined
29373 #define __int8_t_defined
29374 #ifndef int8_t
29375 typedef $acx_cv_type_int8_t int8_t;
29376 #endif
29377 #endif
29378 #endif
29380 #ifndef _INT16_T
29381 #define _INT16_T
29382 #ifndef __int16_t_defined
29383 #define __int16_t_defined
29384 #ifndef int16_t
29385 typedef $acx_cv_type_int16_t int16_t;
29386 #endif
29387 #endif
29388 #endif
29390 #ifndef _INT32_T
29391 #define _INT32_T
29392 #ifndef __int32_t_defined
29393 #define __int32_t_defined
29394 #ifndef int32_t
29395 typedef $acx_cv_type_int32_t int32_t;
29396 #endif
29397 #endif
29398 #endif
29400 elif test "$ac_cv_type_u_int32_t" = yes; then
29401 sed 's/^ *//' >> tmp-stdint.h <<EOF
29403 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29404 #ifndef _INT8_T
29405 #define _INT8_T
29406 #endif
29407 #ifndef _INT16_T
29408 #define _INT16_T
29409 #endif
29410 #ifndef _INT32_T
29411 #define _INT32_T
29412 #endif
29414 #ifndef _UINT8_T
29415 #define _UINT8_T
29416 #ifndef __uint8_t_defined
29417 #define __uint8_t_defined
29418 #ifndef uint8_t
29419 typedef u_int8_t uint8_t;
29420 #endif
29421 #endif
29422 #endif
29424 #ifndef _UINT16_T
29425 #define _UINT16_T
29426 #ifndef __uint16_t_defined
29427 #define __uint16_t_defined
29428 #ifndef uint16_t
29429 typedef u_int16_t uint16_t;
29430 #endif
29431 #endif
29432 #endif
29434 #ifndef _UINT32_T
29435 #define _UINT32_T
29436 #ifndef __uint32_t_defined
29437 #define __uint32_t_defined
29438 #ifndef uint32_t
29439 typedef u_int32_t uint32_t;
29440 #endif
29441 #endif
29442 #endif
29444 else
29445 sed 's/^ *//' >> tmp-stdint.h <<EOF
29447 /* Some systems have guard macros to prevent redefinitions, define them. */
29448 #ifndef _INT8_T
29449 #define _INT8_T
29450 #endif
29451 #ifndef _INT16_T
29452 #define _INT16_T
29453 #endif
29454 #ifndef _INT32_T
29455 #define _INT32_T
29456 #endif
29457 #ifndef _UINT8_T
29458 #define _UINT8_T
29459 #endif
29460 #ifndef _UINT16_T
29461 #define _UINT16_T
29462 #endif
29463 #ifndef _UINT32_T
29464 #define _UINT32_T
29465 #endif
29469 # ------------- done basic int types, emit int64_t types ------------
29470 if test "$ac_cv_type_uint64_t" = yes; then
29471 sed 's/^ *//' >> tmp-stdint.h <<EOF
29473 /* system headers have good uint64_t and int64_t */
29474 #ifndef _INT64_T
29475 #define _INT64_T
29476 #endif
29477 #ifndef _UINT64_T
29478 #define _UINT64_T
29479 #endif
29481 elif test "$ac_cv_type_u_int64_t" = yes; then
29482 sed 's/^ *//' >> tmp-stdint.h <<EOF
29484 /* system headers have an u_int64_t (and int64_t) */
29485 #ifndef _INT64_T
29486 #define _INT64_T
29487 #endif
29488 #ifndef _UINT64_T
29489 #define _UINT64_T
29490 #ifndef __uint64_t_defined
29491 #define __uint64_t_defined
29492 #ifndef uint64_t
29493 typedef u_int64_t uint64_t;
29494 #endif
29495 #endif
29496 #endif
29498 elif test -n "$acx_cv_type_int64_t"; then
29499 sed 's/^ *//' >> tmp-stdint.h <<EOF
29501 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29502 #ifndef _INT64_T
29503 #define _INT64_T
29504 #ifndef int64_t
29505 typedef $acx_cv_type_int64_t int64_t;
29506 #endif
29507 #endif
29508 #ifndef _UINT64_T
29509 #define _UINT64_T
29510 #ifndef __uint64_t_defined
29511 #define __uint64_t_defined
29512 #ifndef uint64_t
29513 typedef unsigned $acx_cv_type_int64_t uint64_t;
29514 #endif
29515 #endif
29516 #endif
29518 else
29519 sed 's/^ *//' >> tmp-stdint.h <<EOF
29521 /* some common heuristics for int64_t, using compiler-specific tests */
29522 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29523 #ifndef _INT64_T
29524 #define _INT64_T
29525 #ifndef __int64_t_defined
29526 #ifndef int64_t
29527 typedef long long int64_t;
29528 #endif
29529 #endif
29530 #endif
29531 #ifndef _UINT64_T
29532 #define _UINT64_T
29533 #ifndef uint64_t
29534 typedef unsigned long long uint64_t;
29535 #endif
29536 #endif
29538 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29539 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29540 does not implement __extension__. But that compiler doesn't define
29541 __GNUC_MINOR__. */
29542 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29543 # define __extension__
29544 # endif
29546 # ifndef _INT64_T
29547 # define _INT64_T
29548 # ifndef int64_t
29549 __extension__ typedef long long int64_t;
29550 # endif
29551 # endif
29552 # ifndef _UINT64_T
29553 # define _UINT64_T
29554 # ifndef uint64_t
29555 __extension__ typedef unsigned long long uint64_t;
29556 # endif
29557 # endif
29559 #elif !defined __STRICT_ANSI__
29560 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29562 # ifndef _INT64_T
29563 # define _INT64_T
29564 # ifndef int64_t
29565 typedef __int64 int64_t;
29566 # endif
29567 # endif
29568 # ifndef _UINT64_T
29569 # define _UINT64_T
29570 # ifndef uint64_t
29571 typedef unsigned __int64 uint64_t;
29572 # endif
29573 # endif
29574 # endif /* compiler */
29576 #endif /* ANSI version */
29580 # ------------- done int64_t types, emit intptr types ------------
29581 if test "$ac_cv_type_uintptr_t" != yes; then
29582 sed 's/^ *//' >> tmp-stdint.h <<EOF
29584 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29585 #ifndef __uintptr_t_defined
29586 #ifndef uintptr_t
29587 typedef u$acx_cv_type_intptr_t uintptr_t;
29588 #endif
29589 #endif
29590 #ifndef __intptr_t_defined
29591 #ifndef intptr_t
29592 typedef $acx_cv_type_intptr_t intptr_t;
29593 #endif
29594 #endif
29598 # ------------- done intptr types, emit int_least types ------------
29599 if test "$ac_cv_type_int_least32_t" != yes; then
29600 sed 's/^ *//' >> tmp-stdint.h <<EOF
29602 /* Define int_least types */
29603 typedef int8_t int_least8_t;
29604 typedef int16_t int_least16_t;
29605 typedef int32_t int_least32_t;
29606 #ifdef _INT64_T
29607 typedef int64_t int_least64_t;
29608 #endif
29610 typedef uint8_t uint_least8_t;
29611 typedef uint16_t uint_least16_t;
29612 typedef uint32_t uint_least32_t;
29613 #ifdef _UINT64_T
29614 typedef uint64_t uint_least64_t;
29615 #endif
29619 # ------------- done intptr types, emit int_fast types ------------
29620 if test "$ac_cv_type_int_fast32_t" != yes; then
29621 sed 's/^ *//' >> tmp-stdint.h <<EOF
29623 /* Define int_fast types. short is often slow */
29624 typedef int8_t int_fast8_t;
29625 typedef int int_fast16_t;
29626 typedef int32_t int_fast32_t;
29627 #ifdef _INT64_T
29628 typedef int64_t int_fast64_t;
29629 #endif
29631 typedef uint8_t uint_fast8_t;
29632 typedef unsigned int uint_fast16_t;
29633 typedef uint32_t uint_fast32_t;
29634 #ifdef _UINT64_T
29635 typedef uint64_t uint_fast64_t;
29636 #endif
29640 if test "$ac_cv_type_uintmax_t" != yes; then
29641 sed 's/^ *//' >> tmp-stdint.h <<EOF
29643 /* Define intmax based on what we found */
29644 #ifndef intmax_t
29645 #ifdef _INT64_T
29646 typedef int64_t intmax_t;
29647 #else
29648 typedef long intmax_t;
29649 #endif
29650 #endif
29651 #ifndef uintmax_t
29652 #ifdef _UINT64_T
29653 typedef uint64_t uintmax_t;
29654 #else
29655 typedef unsigned long uintmax_t;
29656 #endif
29657 #endif
29661 sed 's/^ *//' >> tmp-stdint.h <<EOF
29663 #endif /* GCC_GENERATED_STDINT_H */
29666 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29667 rm -f tmp-stdint.h
29668 else
29669 mv -f tmp-stdint.h gstdint.h
29674 esac
29675 done # for ac_tag
29678 as_fn_exit 0
29679 _ACEOF
29680 ac_clean_files=$ac_clean_files_save
29682 test $ac_write_fail = 0 ||
29683 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29686 # configure is writing to config.log, and then calls config.status.
29687 # config.status does its own redirection, appending to config.log.
29688 # Unfortunately, on DOS this fails, as config.log is still kept open
29689 # by configure, so config.status won't be able to write to it; its
29690 # output is simply discarded. So we exec the FD to /dev/null,
29691 # effectively closing config.log, so it can be properly (re)opened and
29692 # appended to by config.status. When coming back to configure, we
29693 # need to make the FD available again.
29694 if test "$no_create" != yes; then
29695 ac_cs_success=:
29696 ac_config_status_args=
29697 test "$silent" = yes &&
29698 ac_config_status_args="$ac_config_status_args --quiet"
29699 exec 5>/dev/null
29700 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29701 exec 5>>config.log
29702 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29703 # would make configure fail if this is the last instruction.
29704 $ac_cs_success || as_fn_exit $?
29706 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29708 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}